@treasuredata/tdx 2026.3.18 → 2026.3.19
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/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/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 a187_0x5600(_0x736312,_0x1e6325){_0x736312=_0x736312-0x88;const _0x48bc26=a187_0x48bc();let _0x56003f=_0x48bc26[_0x736312];return _0x56003f;}(function(_0x55fd15,_0x1dd0ef){const _0x586403=a187_0x5600,_0x40cc4d=_0x55fd15();while(!![]){try{const _0x406e20=-parseInt(_0x586403(0x93))/0x1+parseInt(_0x586403(0x8f))/0x2*(-parseInt(_0x586403(0x89))/0x3)+parseInt(_0x586403(0x88))/0x4*(-parseInt(_0x586403(0x8e))/0x5)+-parseInt(_0x586403(0x91))/0x6*(-parseInt(_0x586403(0x8c))/0x7)+parseInt(_0x586403(0x8b))/0x8+parseInt(_0x586403(0x92))/0x9+parseInt(_0x586403(0x8a))/0xa;if(_0x406e20===_0x1dd0ef)break;else _0x40cc4d['push'](_0x40cc4d['shift']());}catch(_0x4b6ba6){_0x40cc4d['push'](_0x40cc4d['shift']());}}}(a187_0x48bc,0x90461));function a187_0x48bc(){const _0xbf1ecf=['15923810vWIxYM','8015328iBdyPZ','23443rDqgaj','map','108505GeFpfG','1094wOdvup','slice','180vyFett','188901OCCusR','1058787cxNUeV','push','124HuiZDO','2157zgzcGB'];a187_0x48bc=function(){return _0xbf1ecf;};return a187_0x48bc();}export async function batchAsync(_0x13415b,_0x4bba6b,_0xd58f5c=0xa){const _0x50a620=a187_0x5600,_0x58353f=[];for(let _0x337b55=0x0;_0x337b55<_0x13415b['length'];_0x337b55+=_0xd58f5c){const _0x129411=_0x13415b[_0x50a620(0x90)](_0x337b55,_0x337b55+_0xd58f5c),_0x26e781=await Promise['all'](_0x129411[_0x50a620(0x8d)](_0x4bba6b));_0x58353f[_0x50a620(0x94)](..._0x26e781);}return _0x58353f;}
|
package/dist/utils/colors.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a188_0x3310(_0x3ea167,_0x1e1c8c){_0x3ea167=_0x3ea167-0x83;const _0x58ce3d=a188_0x58ce();let _0x33109d=_0x58ce3d[_0x3ea167];return _0x33109d;}(function(_0x1dc701,_0xa13441){const _0x5af8a9=a188_0x3310,_0x331839=_0x1dc701();while(!![]){try{const _0x3aa0d6=parseInt(_0x5af8a9(0x91))/0x1+parseInt(_0x5af8a9(0x99))/0x2*(parseInt(_0x5af8a9(0x86))/0x3)+-parseInt(_0x5af8a9(0x93))/0x4+parseInt(_0x5af8a9(0x8d))/0x5*(parseInt(_0x5af8a9(0x8b))/0x6)+-parseInt(_0x5af8a9(0x87))/0x7*(-parseInt(_0x5af8a9(0x83))/0x8)+-parseInt(_0x5af8a9(0x96))/0x9+parseInt(_0x5af8a9(0x95))/0xa*(parseInt(_0x5af8a9(0x89))/0xb);if(_0x3aa0d6===_0xa13441)break;else _0x331839['push'](_0x331839['shift']());}catch(_0xd1d372){_0x331839['push'](_0x331839['shift']());}}}(a188_0x58ce,0x21be9));import*as a188_0x10eff0 from'chalk';const Chalk=a188_0x10eff0['Chalk'];function a188_0x58ce(){const _0x3109bd=['repeat','object','noColor','map','111032wxtRuw','string','color','6JYIZEH','14aMUHpD','green','358391fAUANI','join','24966oBTCgu','isArray','35ypontf','null','stdout','length','26581zMkgjQ','number','194620AQfoNj','entries','10ubDGWd','482445KYLWuq','yellow','boolean','124430CkgqxL','stringify','isTTY','blue'];a188_0x58ce=function(){return _0x3109bd;};return a188_0x58ce();}export function shouldUseColor(_0x7ce193={}){const _0x36211b=a188_0x3310;if(_0x7ce193[_0x36211b(0x9f)]===!![])return![];if(_0x7ce193[_0x36211b(0x85)]===!![])return!![];if(process.env.NO_COLOR!==undefined)return![];return process[_0x36211b(0x8f)][_0x36211b(0x9b)]??![];}export function getChalk(_0x34c58b={}){if(shouldUseColor(_0x34c58b))return new Chalk({'level':0x3});return new Chalk({'level':0x0});}export function colorBorder(_0xc1f9e9,_0x5562a3={}){return getChalk(_0x5562a3)['dim'](_0xc1f9e9);}export function colorHeader(_0x5b0825,_0x477f18={}){return getChalk(_0x477f18)['cyan'](_0x5b0825);}export function colorType(_0x20ebcd,_0x2295aa={}){return getChalk(_0x2295aa)['dim'](_0x20ebcd);}export function colorJSONKey(_0x3d5262,_0x50ffcb={}){const _0x48ba4c=a188_0x3310;return getChalk(_0x50ffcb)[_0x48ba4c(0x9c)](_0x3d5262);}export function colorJSONString(_0x1d6a65,_0x53ca0e={}){const _0x5489c6=a188_0x3310;return getChalk(_0x53ca0e)[_0x5489c6(0x88)](_0x1d6a65);}export function colorJSONNumber(_0x51e56c,_0x4709a9={}){return getChalk(_0x4709a9)['cyan'](_0x51e56c);}export function colorJSONBoolean(_0x48f2f3,_0x483876={}){const _0x1d4b27=a188_0x3310;return getChalk(_0x483876)[_0x1d4b27(0x97)](_0x48f2f3);}export function colorJSONNull(_0xaa26de,_0x22bc25={}){return getChalk(_0x22bc25)['dim'](_0xaa26de);}export function colorizeJSONCompact(_0x33c02b,_0x42017f={}){const _0x553b8c=a188_0x3310;if(!shouldUseColor(_0x42017f))return JSON['stringify'](_0x33c02b);if(_0x33c02b===null)return colorJSONNull(_0x553b8c(0x8e),_0x42017f);if(typeof _0x33c02b===_0x553b8c(0x98))return colorJSONBoolean(String(_0x33c02b),_0x42017f);if(typeof _0x33c02b===_0x553b8c(0x92))return colorJSONNumber(String(_0x33c02b),_0x42017f);if(typeof _0x33c02b===_0x553b8c(0x84))return colorJSONString(JSON[_0x553b8c(0x9a)](_0x33c02b),_0x42017f);if(Array['isArray'](_0x33c02b)){if(_0x33c02b[_0x553b8c(0x90)]===0x0)return'[]';const _0x4bc0b7=_0x33c02b['map'](_0x2e1a72=>colorizeJSONCompact(_0x2e1a72,_0x42017f));return'['+_0x4bc0b7[_0x553b8c(0x8a)](',')+']';}if(typeof _0x33c02b===_0x553b8c(0x9e)){const _0x4c2b0f=Object[_0x553b8c(0x94)](_0x33c02b);if(_0x4c2b0f[_0x553b8c(0x90)]===0x0)return'{}';const _0x2a125e=_0x4c2b0f['map'](([_0x2a69bb,_0x4d8402])=>{const _0x12e9d3=_0x553b8c,_0x594945=colorJSONKey(JSON[_0x12e9d3(0x9a)](_0x2a69bb),_0x42017f),_0x461231=colorizeJSONCompact(_0x4d8402,_0x42017f);return _0x594945+':'+_0x461231;});return'{'+_0x2a125e['join'](',')+'}';}return String(_0x33c02b);}export function colorizeJSON(_0x36e83d,_0xe04eb5={},_0x20a0e4=0x0){const _0x162a43=a188_0x3310;if(!shouldUseColor(_0xe04eb5))return JSON['stringify'](_0x36e83d,null,0x2);const _0xb9eb3f='\x20'[_0x162a43(0x9d)](_0x20a0e4),_0x28b444=_0x20a0e4+0x2;if(_0x36e83d===null)return colorJSONNull(_0x162a43(0x8e),_0xe04eb5);if(typeof _0x36e83d===_0x162a43(0x98))return colorJSONBoolean(String(_0x36e83d),_0xe04eb5);if(typeof _0x36e83d===_0x162a43(0x92))return colorJSONNumber(String(_0x36e83d),_0xe04eb5);if(typeof _0x36e83d===_0x162a43(0x84))return colorJSONString(JSON[_0x162a43(0x9a)](_0x36e83d),_0xe04eb5);if(Array[_0x162a43(0x8c)](_0x36e83d)){if(_0x36e83d['length']===0x0)return'[]';const _0x6f629a=_0x36e83d['map'](_0x884440=>{const _0x4d86d2=_0x162a43,_0x542385=colorizeJSON(_0x884440,_0xe04eb5,_0x28b444);return''+'\x20'[_0x4d86d2(0x9d)](_0x28b444)+_0x542385;});return'[\x0a'+_0x6f629a[_0x162a43(0x8a)](',\x0a')+('\x0a'+_0xb9eb3f+']');}if(typeof _0x36e83d===_0x162a43(0x9e)){const _0x193bff=Object[_0x162a43(0x94)](_0x36e83d);if(_0x193bff[_0x162a43(0x90)]===0x0)return'{}';const _0x8e71b5=_0x193bff[_0x162a43(0xa0)](([_0x5b51e4,_0x3ee648])=>{const _0x1c587d=_0x162a43,_0x30cbfa=colorJSONKey(JSON[_0x1c587d(0x9a)](_0x5b51e4),_0xe04eb5),_0x1483b2=colorizeJSON(_0x3ee648,_0xe04eb5,_0x28b444);return''+'\x20'[_0x1c587d(0x9d)](_0x28b444)+_0x30cbfa+':\x20'+_0x1483b2;});return'{\x0a'+_0x8e71b5[_0x162a43(0x8a)](',\x0a')+('\x0a'+_0xb9eb3f+'}');}return String(_0x36e83d);}
|
package/dist/utils/diff.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2e1ef1,_0x3d009e){const _0x32972e=a189_0x513a,_0x3e77c2=_0x2e1ef1();while(!![]){try{const _0x1cb128=parseInt(_0x32972e(0x116))/0x1+parseInt(_0x32972e(0x119))/0x2*(-parseInt(_0x32972e(0x127))/0x3)+parseInt(_0x32972e(0x10e))/0x4+-parseInt(_0x32972e(0x11a))/0x5*(parseInt(_0x32972e(0x10d))/0x6)+parseInt(_0x32972e(0x118))/0x7+-parseInt(_0x32972e(0x121))/0x8+-parseInt(_0x32972e(0x11b))/0x9*(-parseInt(_0x32972e(0x125))/0xa);if(_0x1cb128===_0x3d009e)break;else _0x3e77c2['push'](_0x3e77c2['shift']());}catch(_0x81780c){_0x3e77c2['push'](_0x3e77c2['shift']());}}}(a189_0x1a2d,0xc76de));function a189_0x1a2d(){const _0x2b284b=['2HmYZww','125fTgISN','9JmiCYM','add','unshift','\x20-\x20','dim','new','697448NQpUJJ','type','max','unchanged','7709290hJiifd','removed','3821643uQobxt','size','cyan','join','map','repeat','green','forEach','old','content','push','148134jpALZZ','5677100fRbRjW','added','min','length','padStart','\x20+\x20','fill','split','23523QAZYTq','\x20\x20\x20','4069954thoQRy'];a189_0x1a2d=function(){return _0x2b284b;};return a189_0x1a2d();}function a189_0x513a(_0x6ee27c,_0x318337){_0x6ee27c=_0x6ee27c-0x108;const _0x1a2dcd=a189_0x1a2d();let _0x513a18=_0x1a2dcd[_0x6ee27c];return _0x513a18;}import a189_0x535dc7 from'chalk';export function generateDiff(_0x1b2fa1,_0xb6519d){const _0x201e34=a189_0x513a,_0x18e422=_0x1b2fa1['split']('\x0a'),_0x36b725=_0xb6519d[_0x201e34(0x115)]('\x0a'),_0x28a80d=[],_0x1b660e=computeLCS(_0x18e422,_0x36b725);let _0x318b44=0x0,_0x2139de=0x0,_0x1433eb=0x0;while(_0x318b44<_0x18e422[_0x201e34(0x111)]||_0x2139de<_0x36b725[_0x201e34(0x111)]){if(_0x1433eb<_0x1b660e[_0x201e34(0x111)]&&_0x318b44<_0x18e422[_0x201e34(0x111)]&&_0x18e422[_0x318b44]===_0x1b660e[_0x1433eb])_0x2139de<_0x36b725[_0x201e34(0x111)]&&_0x36b725[_0x2139de]===_0x1b660e[_0x1433eb]?(_0x28a80d[_0x201e34(0x10c)]({'type':_0x201e34(0x124),'content':_0x18e422[_0x318b44]}),_0x318b44++,_0x2139de++,_0x1433eb++):(_0x28a80d[_0x201e34(0x10c)]({'type':_0x201e34(0x10f),'content':_0x36b725[_0x2139de]}),_0x2139de++);else{if(_0x1433eb<_0x1b660e[_0x201e34(0x111)]&&_0x2139de<_0x36b725[_0x201e34(0x111)]&&_0x36b725[_0x2139de]===_0x1b660e[_0x1433eb])_0x28a80d[_0x201e34(0x10c)]({'type':_0x201e34(0x126),'content':_0x18e422[_0x318b44]}),_0x318b44++;else{if(_0x318b44<_0x18e422[_0x201e34(0x111)]&&(_0x1433eb>=_0x1b660e['length']||_0x18e422[_0x318b44]!==_0x1b660e[_0x1433eb]))_0x28a80d[_0x201e34(0x10c)]({'type':'removed','content':_0x18e422[_0x318b44]}),_0x318b44++;else _0x2139de<_0x36b725[_0x201e34(0x111)]&&(_0x28a80d[_0x201e34(0x10c)]({'type':_0x201e34(0x10f),'content':_0x36b725[_0x2139de]}),_0x2139de++);}}}return _0x28a80d;}function computeLCS(_0x453be1,_0x824fd2){const _0x13f2a2=a189_0x513a,_0x26cede=_0x453be1[_0x13f2a2(0x111)],_0x12d2dc=_0x824fd2[_0x13f2a2(0x111)],_0x3f4355=Array(_0x26cede+0x1)[_0x13f2a2(0x114)](null)[_0x13f2a2(0x12b)](()=>Array(_0x12d2dc+0x1)[_0x13f2a2(0x114)](0x0));for(let _0x1852ec=0x1;_0x1852ec<=_0x26cede;_0x1852ec++){for(let _0x37d4d7=0x1;_0x37d4d7<=_0x12d2dc;_0x37d4d7++){_0x453be1[_0x1852ec-0x1]===_0x824fd2[_0x37d4d7-0x1]?_0x3f4355[_0x1852ec][_0x37d4d7]=_0x3f4355[_0x1852ec-0x1][_0x37d4d7-0x1]+0x1:_0x3f4355[_0x1852ec][_0x37d4d7]=Math[_0x13f2a2(0x123)](_0x3f4355[_0x1852ec-0x1][_0x37d4d7],_0x3f4355[_0x1852ec][_0x37d4d7-0x1]);}}const _0x529d11=[];let _0x5c4cf1=_0x26cede,_0x50feb1=_0x12d2dc;while(_0x5c4cf1>0x0&&_0x50feb1>0x0){if(_0x453be1[_0x5c4cf1-0x1]===_0x824fd2[_0x50feb1-0x1])_0x529d11[_0x13f2a2(0x11d)](_0x453be1[_0x5c4cf1-0x1]),_0x5c4cf1--,_0x50feb1--;else _0x3f4355[_0x5c4cf1-0x1][_0x50feb1]>_0x3f4355[_0x5c4cf1][_0x50feb1-0x1]?_0x5c4cf1--:_0x50feb1--;}return _0x529d11;}export function formatDiffWithColors(_0x35cf5c,_0x278129=0x3){const _0x230077=a189_0x513a,_0x2ecfd6=new Set();_0x35cf5c[_0x230077(0x109)]((_0xf9adb,_0x4a42dc)=>{const _0x339a1c=_0x230077;_0xf9adb[_0x339a1c(0x122)]!==_0x339a1c(0x124)&&_0x2ecfd6[_0x339a1c(0x11c)](_0x4a42dc);});if(_0x2ecfd6[_0x230077(0x128)]===0x0)return'';const _0xc3ec83=new Set();for(const _0xf3e0d of _0x2ecfd6){for(let _0x3c3351=Math[_0x230077(0x123)](0x0,_0xf3e0d-_0x278129);_0x3c3351<=Math[_0x230077(0x110)](_0x35cf5c[_0x230077(0x111)]-0x1,_0xf3e0d+_0x278129);_0x3c3351++){_0xc3ec83[_0x230077(0x11c)](_0x3c3351);}}const _0x423050=[];let _0x1c7646=-0x1;const _0x1c02a0=_0x35cf5c[_0x230077(0x111)],_0x3731bb=Math[_0x230077(0x123)](0x3,String(_0x1c02a0)['length']),_0x3c1f08=[];let _0x2dd2d4=0x0,_0x50c5ae=0x0;for(const _0x48ebbf of _0x35cf5c){if(_0x48ebbf[_0x230077(0x122)]===_0x230077(0x126))_0x2dd2d4++,_0x3c1f08[_0x230077(0x10c)]({'old':_0x2dd2d4,'new':0x0});else _0x48ebbf[_0x230077(0x122)]===_0x230077(0x10f)?(_0x50c5ae++,_0x3c1f08[_0x230077(0x10c)]({'old':0x0,'new':_0x50c5ae})):(_0x2dd2d4++,_0x50c5ae++,_0x3c1f08[_0x230077(0x10c)]({'old':_0x2dd2d4,'new':_0x50c5ae}));}for(let _0x45ad35=0x0;_0x45ad35<_0x35cf5c[_0x230077(0x111)];_0x45ad35++){if(!_0xc3ec83['has'](_0x45ad35))continue;_0x1c7646!==-0x1&&_0x45ad35>_0x1c7646+0x1&&_0x423050['push'](a189_0x535dc7[_0x230077(0x129)]('\x20\x20...'));_0x1c7646=_0x45ad35;const _0x50474b=_0x35cf5c[_0x45ad35],_0x1ac121=_0x3c1f08[_0x45ad35],_0x35aaec=_0x1ac121[_0x230077(0x10a)]>0x0?String(_0x1ac121['old'])[_0x230077(0x112)](_0x3731bb):'\x20'[_0x230077(0x12c)](_0x3731bb),_0x173f29=_0x1ac121[_0x230077(0x120)]>0x0?String(_0x1ac121[_0x230077(0x120)])['padStart'](_0x3731bb):'\x20'[_0x230077(0x12c)](_0x3731bb);switch(_0x50474b[_0x230077(0x122)]){case _0x230077(0x126):_0x423050[_0x230077(0x10c)](a189_0x535dc7['red'](_0x35aaec+'\x20'+_0x173f29+_0x230077(0x11e)+_0x50474b[_0x230077(0x10b)]));break;case'added':_0x423050[_0x230077(0x10c)](a189_0x535dc7[_0x230077(0x108)](_0x35aaec+'\x20'+_0x173f29+_0x230077(0x113)+_0x50474b[_0x230077(0x10b)]));break;default:_0x423050[_0x230077(0x10c)](a189_0x535dc7[_0x230077(0x11f)](_0x35aaec+'\x20'+_0x173f29+_0x230077(0x117)+_0x50474b[_0x230077(0x10b)]));break;}}return _0x423050[_0x230077(0x12a)]('\x0a');}export function hasChanges(_0x4591ff){const _0x2dafeb=a189_0x513a;return _0x4591ff['some'](_0x50d02e=>_0x50d02e[_0x2dafeb(0x122)]!==_0x2dafeb(0x124));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x39708e,_0x544c82){const _0x5340c2=a190_0x1d2e,_0x1f67c5=_0x39708e();while(!![]){try{const _0x48357e=-parseInt(_0x5340c2(0x1dd))/0x1+-parseInt(_0x5340c2(0x1e8))/0x2+-parseInt(_0x5340c2(0x1e3))/0x3*(parseInt(_0x5340c2(0x1e1))/0x4)+parseInt(_0x5340c2(0x1ea))/0x5+parseInt(_0x5340c2(0x1e0))/0x6+-parseInt(_0x5340c2(0x1da))/0x7+parseInt(_0x5340c2(0x1dc))/0x8*(parseInt(_0x5340c2(0x1ec))/0x9);if(_0x48357e===_0x544c82)break;else _0x1f67c5['push'](_0x1f67c5['shift']());}catch(_0x2d4903){_0x1f67c5['push'](_0x1f67c5['shift']());}}}(a190_0x1b8a,0xe19c5));import*as a190_0x47cec8 from'node:fs';import*as a190_0x25493a from'node:path';function a190_0x1b8a(){const _0x28c4c6=['1366542wBABPy','\x20has\x20insecure\x20permissions\x20(','5884185sBKSXM','chmodSync','8603667NTuPrm','Warning:\x20','toString','810824BUwtIb','mode','24dmCEsh','1032602uVdVXo','warn','mkdirSync','56772azHpMV','865588jjPSnN','writeFileSync','18eysiPi',').\x20','existsSync','Should\x20be\x200600\x20or\x20more\x20restrictive.','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'];a190_0x1b8a=function(){return _0x28c4c6;};return a190_0x1b8a();}function a190_0x1d2e(_0x2cb0ea,_0x2d8caa){_0x2cb0ea=_0x2cb0ea-0x1da;const _0x1b8a59=a190_0x1b8a();let _0x1d2e56=_0x1b8a59[_0x2cb0ea];return _0x1d2e56;}export function setSecureFilePermissions(_0x1e82b9){const _0x17fd6d=a190_0x1d2e;try{a190_0x47cec8[_0x17fd6d(0x1eb)](_0x1e82b9,0x180);}catch{console[_0x17fd6d(0x1de)]('Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'+_0x1e82b9);}}export function setSecureDirectoryPermissions(_0x2f83db){const _0x2994c9=a190_0x1d2e;try{a190_0x47cec8[_0x2994c9(0x1eb)](_0x2f83db,0x1c0);}catch{console['warn'](_0x2994c9(0x1e7)+_0x2f83db);}}export function createSecureDirectory(_0x49c7a5){const _0x5959a2=a190_0x1d2e;!a190_0x47cec8[_0x5959a2(0x1e5)](_0x49c7a5)&&(a190_0x47cec8[_0x5959a2(0x1df)](_0x49c7a5,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x49c7a5));}export function validateSecureFilePermissions(_0x487402){const _0x2c91fb=a190_0x1d2e;try{const _0x1d3d14=a190_0x47cec8['statSync'](_0x487402),_0x49dfb8=_0x1d3d14[_0x2c91fb(0x1db)]&0x1ff,_0x48925f=(_0x49dfb8&0x3f)!==0x0;if(_0x48925f)return console[_0x2c91fb(0x1de)](_0x2c91fb(0x1ed)+_0x487402+_0x2c91fb(0x1e9)+_0x49dfb8[_0x2c91fb(0x1ee)](0x8)+_0x2c91fb(0x1e4)+_0x2c91fb(0x1e6)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x2d0b1d,_0x2f0d30){const _0x3f8529=a190_0x1d2e,_0x3ace57=a190_0x25493a['dirname'](_0x2d0b1d);createSecureDirectory(_0x3ace57),a190_0x47cec8[_0x3f8529(0x1e2)](_0x2d0b1d,_0x2f0d30,{'mode':0x180}),setSecureFilePermissions(_0x2d0b1d);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x33d56a,_0x392fbf){const _0x4a955f=a191_0x53f4,_0x47cc09=_0x33d56a();while(!![]){try{const _0x58195b=-parseInt(_0x4a955f(0x9a))/0x1*(parseInt(_0x4a955f(0xa4))/0x2)+parseInt(_0x4a955f(0x9c))/0x3*(parseInt(_0x4a955f(0x9e))/0x4)+parseInt(_0x4a955f(0x95))/0x5+-parseInt(_0x4a955f(0xa2))/0x6+parseInt(_0x4a955f(0x93))/0x7+-parseInt(_0x4a955f(0xa1))/0x8+parseInt(_0x4a955f(0x9d))/0x9;if(_0x58195b===_0x392fbf)break;else _0x47cc09['push'](_0x47cc09['shift']());}catch(_0xb13131){_0x47cc09['push'](_0x47cc09['shift']());}}}(a191_0x899d,0xd3b92));import{readFileSync}from'fs';import{SDKError,ErrorCode}from'../sdk/errors.js';function a191_0x899d(){const _0x33d6ba=['EACCES','10258264XEYNnA','9232554zbdihQ','\x27:\x20','410588CvGLJm','10572268eqrmlX','utf-8','7100225nEPVtu','\x27\x20not\x20found','PERMISSION_DENIED','File\x20\x27','Error\x20reading\x20file\x20\x27','7bltkVy','code','6HlXgjn','19257759TCzwQI','110396XwIssh','NOT_FOUND'];a191_0x899d=function(){return _0x33d6ba;};return a191_0x899d();}function a191_0x53f4(_0x38f2f0,_0x43da51){_0x38f2f0=_0x38f2f0-0x93;const _0x899d3e=a191_0x899d();let _0x53f466=_0x899d3e[_0x38f2f0];return _0x53f466;}export function readFileContent(_0x5675b6){const _0x1c6fc1=a191_0x53f4;try{return readFileSync(_0x5675b6,_0x1c6fc1(0x94));}catch(_0x4bcf7b){const _0x248336=_0x4bcf7b[_0x1c6fc1(0x9b)];if(_0x248336==='ENOENT')throw new SDKError(ErrorCode[_0x1c6fc1(0x9f)],_0x1c6fc1(0x98)+_0x5675b6+_0x1c6fc1(0x96),_0x4bcf7b);else{if(_0x248336===_0x1c6fc1(0xa0))throw new SDKError(ErrorCode[_0x1c6fc1(0x97)],'Permission\x20denied\x20reading\x20file\x20\x27'+_0x5675b6+'\x27',_0x4bcf7b);else throw new SDKError(ErrorCode['INTERNAL'],_0x1c6fc1(0x99)+_0x5675b6+_0x1c6fc1(0xa3)+_0x4bcf7b['message'],_0x4bcf7b);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x56007b,_0x16a4da){const _0x3db7d4=a192_0x30dd,_0x2f69d9=_0x56007b();while(!![]){try{const _0x64d5fb=-parseInt(_0x3db7d4(0x16a))/0x1+-parseInt(_0x3db7d4(0x168))/0x2*(-parseInt(_0x3db7d4(0x165))/0x3)+parseInt(_0x3db7d4(0x16e))/0x4+-parseInt(_0x3db7d4(0x160))/0x5*(-parseInt(_0x3db7d4(0x163))/0x6)+-parseInt(_0x3db7d4(0x15d))/0x7*(parseInt(_0x3db7d4(0x158))/0x8)+parseInt(_0x3db7d4(0x161))/0x9+-parseInt(_0x3db7d4(0x151))/0xa*(parseInt(_0x3db7d4(0x16d))/0xb);if(_0x64d5fb===_0x16a4da)break;else _0x2f69d9['push'](_0x2f69d9['shift']());}catch(_0x8a1e23){_0x2f69d9['push'](_0x2f69d9['shift']());}}}(a192_0x32d1,0x32c69));import*as a192_0x52518d from'node:https';function a192_0x30dd(_0x54cc66,_0x2d6382){_0x54cc66=_0x54cc66-0x150;const _0x32d1e6=a192_0x32d1();let _0x30dd98=_0x32d1e6[_0x54cc66];return _0x30dd98;}const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x4e9512,_0x19587d,_0x137dd1){const _0x2dc35f=a192_0x30dd,_0x566b32=_0x4e9512+'/'+_0x19587d,_0xecafb9=cache[_0x2dc35f(0x157)](_0x566b32);if(_0xecafb9&&Date['now']()-_0xecafb9[_0x2dc35f(0x152)]<CACHE_TTL_MS)return Promise[_0x2dc35f(0x16b)](_0xecafb9[_0x2dc35f(0x162)]);return new Promise((_0x3260a0,_0x40a4fa)=>{const _0x198eb5=_0x2dc35f,_0x5a5433={'hostname':_0x198eb5(0x150),'path':_0x198eb5(0x15f)+_0x4e9512+'/'+_0x19587d+_0x198eb5(0x155),'headers':{'User-Agent':_0x137dd1,'Accept':'application/vnd.github+json'},'timeout':REQUEST_TIMEOUT_MS},_0x350005=a192_0x52518d['get'](_0x5a5433,_0x1963da=>{const _0x4fb73e=_0x198eb5;let _0x14744f='';_0x1963da['on']('data',_0x4115a8=>{_0x14744f+=_0x4115a8['toString']();}),_0x1963da['on'](_0x4fb73e(0x159),()=>{const _0x37475c=_0x4fb73e;if(_0x1963da[_0x37475c(0x166)]!==0xc8){_0x40a4fa(new Error(_0x37475c(0x15b)+_0x1963da[_0x37475c(0x166)]+':\x20'+_0x14744f[_0x37475c(0x167)](0x0,0xc8)));return;}try{const _0x1b6df3=JSON[_0x37475c(0x156)](_0x14744f);cache[_0x37475c(0x16f)](_0x566b32,{'releases':_0x1b6df3,'fetchedAt':Date['now']()}),_0x3260a0(_0x1b6df3);}catch(_0x3cb1cb){_0x40a4fa(_0x3cb1cb);}});});_0x350005['on'](_0x198eb5(0x153),()=>{const _0x51e31a=_0x198eb5;_0x350005[_0x51e31a(0x15c)](),_0x40a4fa(new Error(_0x51e31a(0x169)+REQUEST_TIMEOUT_MS+'ms'));}),_0x350005['on'](_0x198eb5(0x164),_0x40a4fa);});}export async function resolveReleaseTag(_0x47d9e0,_0x203ad4,_0x39d716,_0x227fc4){const _0x43111e=a192_0x30dd,_0x1cf53b=await fetchGitHubReleases(_0x203ad4,_0x39d716,_0x227fc4);if(_0x1cf53b[_0x43111e(0x154)]===0x0)return null;if(_0x47d9e0===_0x43111e(0x15e))return _0x1cf53b[0x0][_0x43111e(0x15a)];const _0x57392e=_0x1cf53b[_0x43111e(0x16c)](_0x57df8d=>!_0x57df8d['prerelease']);return _0x57392e?_0x57392e[_0x43111e(0x15a)]:null;}function a192_0x32d1(){const _0x59cf91=['error','49143WjmCpf','statusCode','slice','30BzlEKg','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','31409vbndXJ','resolve','find','11gkfKvl','283472AeQOwK','set','api.github.com','1161430wEurtr','fetchedAt','timeout','length','/releases?per_page=20','parse','get','8DRNQXC','end','tag_name','GitHub\x20API\x20returned\x20','destroy','899780iHCJIa','next','/repos/','10qEzKOy','736866ZTfKbW','releases','256836vaUIhN'];a192_0x32d1=function(){return _0x59cf91;};return a192_0x32d1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x21205e,_0x3e4047){const _0x2381af=a193_0x4d47,_0x2e87a7=_0x21205e();while(!![]){try{const _0x121268=-parseInt(_0x2381af(0x84))/0x1*(-parseInt(_0x2381af(0x7b))/0x2)+-parseInt(_0x2381af(0x75))/0x3*(parseInt(_0x2381af(0x81))/0x4)+-parseInt(_0x2381af(0x72))/0x5*(-parseInt(_0x2381af(0x71))/0x6)+-parseInt(_0x2381af(0x80))/0x7*(-parseInt(_0x2381af(0x7a))/0x8)+-parseInt(_0x2381af(0x74))/0x9+-parseInt(_0x2381af(0x85))/0xa*(-parseInt(_0x2381af(0x83))/0xb)+-parseInt(_0x2381af(0x7d))/0xc;if(_0x121268===_0x3e4047)break;else _0x2e87a7['push'](_0x2e87a7['shift']());}catch(_0x34764f){_0x2e87a7['push'](_0x2e87a7['shift']());}}}(a193_0x42ee,0x19169));function a193_0x42ee(){const _0x13e525=['default','147WUYjNW','310672prAhtW','set','77EWVOtC','9302CNlgNI','196040crWnri','parse','get','36HmGKMs','150710SlbQvH','{profile}','898218iUeWZi','3ViwCJT','.cache','replace','tdx','trim','66928ssmDje','18DVURJF','\x22,\x20cannot\x20register\x20for\x20\x22','3567036OCYZTg','utf-8'];a193_0x42ee=function(){return _0x13e525;};return a193_0x42ee();}import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';function a193_0x4d47(_0x25840b,_0x5c4a74){_0x25840b=_0x25840b-0x70;const _0x42ee0e=a193_0x42ee();let _0x4d478b=_0x42ee0e[_0x25840b];return _0x4d478b;}export function getGlobalCacheDir(){const _0x1d4d5a=a193_0x4d47;return process.env.TDX_CACHE_DIR||join(homedir(),_0x1d4d5a(0x76),_0x1d4d5a(0x78));}const registry=new Map();export function registerGlobalCacheKey(_0x525f05,_0x2e5697){const _0x3d5258=a193_0x4d47,_0x5dee73=registry[_0x3d5258(0x70)](_0x525f05);if(_0x5dee73&&_0x5dee73!==_0x2e5697)throw new Error('Global\x20cache\x20key\x20\x22'+_0x525f05+'\x22\x20already\x20registered\x20by\x20\x22'+_0x5dee73+_0x3d5258(0x7c)+_0x2e5697+'\x22');registry[_0x3d5258(0x82)](_0x525f05,_0x2e5697);}export function getGlobalCachePath(_0x3ea063){return join(getGlobalCacheDir(),_0x3ea063);}function ensureGlobalCacheDir(){const _0x27558c=getGlobalCacheDir();!existsSync(_0x27558c)&&mkdirSync(_0x27558c,{'recursive':!![]});}function readCacheJson(_0x59f80c){const _0x5e55d4=a193_0x4d47,_0x1c5f1f=getGlobalCachePath(_0x59f80c);if(!existsSync(_0x1c5f1f))return undefined;try{const _0x563379=readFileSync(_0x1c5f1f,'utf-8');return JSON[_0x5e55d4(0x86)](_0x563379);}catch{return undefined;}}function writeCacheJson(_0x54a877,_0x256aa9){const _0x35e339=a193_0x4d47;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x54a877),JSON['stringify'](_0x256aa9,null,0x2),_0x35e339(0x7e));}function readCacheText(_0x194a36){const _0x5a213a=a193_0x4d47,_0x4351d9=getGlobalCachePath(_0x194a36);if(!existsSync(_0x4351d9))return undefined;try{return readFileSync(_0x4351d9,_0x5a213a(0x7e));}catch{return undefined;}}function writeCacheText(_0x1c22ad,_0x5b67f8){const _0x127f46=a193_0x4d47;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x1c22ad),_0x5b67f8,_0x127f46(0x7e));}function clearCache(_0x541cae){const _0x99fb16=getGlobalCachePath(_0x541cae);if(existsSync(_0x99fb16))try{unlinkSync(_0x99fb16);}catch{}}function cacheExists(_0xf77ecf){return existsSync(getGlobalCachePath(_0xf77ecf));}export function createGlobalCache(_0x123f73,_0x48e560){return registerGlobalCacheKey(_0x123f73,_0x48e560),{'read':()=>readCacheJson(_0x123f73),'write':_0x28efb6=>writeCacheJson(_0x123f73,_0x28efb6),'clear':()=>clearCache(_0x123f73),'exists':()=>cacheExists(_0x123f73),'path':()=>getGlobalCachePath(_0x123f73)};}export function createGlobalTextCache(_0x335b82,_0x17693e){const _0x338367=a193_0x4d47;return registerGlobalCacheKey(_0x335b82,_0x17693e),{'read':()=>readCacheText(_0x335b82)?.[_0x338367(0x79)]()||undefined,'write':_0x5eea43=>writeCacheText(_0x335b82,_0x5eea43),'clear':()=>clearCache(_0x335b82),'exists':()=>cacheExists(_0x335b82),'path':()=>getGlobalCachePath(_0x335b82)};}export function createProfileCache(_0x44679c,_0x40d6ee){const _0x401a61=_0x345905=>{const _0x3e8011=a193_0x4d47,_0x3ebb2a=_0x345905||_0x3e8011(0x7f);return _0x44679c[_0x3e8011(0x77)](_0x3e8011(0x73),_0x3ebb2a);};return{'read':_0xb8a359=>{const _0x245316=_0x401a61(_0xb8a359);return registerGlobalCacheKey(_0x245316,_0x40d6ee),readCacheJson(_0x245316);},'write':(_0x4eee2b,_0x4166b2)=>{const _0x8c9792=_0x401a61(_0x4eee2b);registerGlobalCacheKey(_0x8c9792,_0x40d6ee),writeCacheJson(_0x8c9792,_0x4166b2);},'clear':_0x231456=>{const _0x24cb44=_0x401a61(_0x231456);clearCache(_0x24cb44);},'exists':_0x5dc8b3=>{const _0x5b2dc6=_0x401a61(_0x5dc8b3);return cacheExists(_0x5b2dc6);},'path':_0x3b5c56=>{const _0x1b941d=_0x401a61(_0x3b5c56);return getGlobalCachePath(_0x1b941d);}};}export function createOptionalProfileCache(_0x503520,_0x2a581d,_0x14cf77={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x14cf77,_0x58061e=_0x1ce404=>{return _0x1ce404?''+_0x503520+profileSeparator+_0x1ce404+suffix:''+_0x503520+suffix;};return{'read':_0x5409ec=>{const _0x40f9f0=_0x58061e(_0x5409ec);return registerGlobalCacheKey(_0x40f9f0,_0x2a581d),readCacheJson(_0x40f9f0);},'write':(_0x456ded,_0x4960cd)=>{const _0x3b376e=_0x58061e(_0x4960cd);registerGlobalCacheKey(_0x3b376e,_0x2a581d),writeCacheJson(_0x3b376e,_0x456ded);},'clear':_0x1dd05e=>{const _0x4d9de7=_0x58061e(_0x1dd05e);clearCache(_0x4d9de7);},'exists':_0x13d09a=>{const _0x419a0c=_0x58061e(_0x13d09a);return cacheExists(_0x419a0c);},'path':_0x122d0c=>{const _0x3948fb=_0x58061e(_0x122d0c);return getGlobalCachePath(_0x3948fb);}};}export function clearGlobalRegistry(){registry['clear']();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0xab2d68,_0x5056a6){const _0x4e4da9=a194_0x5a6d,_0x3320d6=_0xab2d68();while(!![]){try{const _0xd79631=-parseInt(_0x4e4da9(0x16c))/0x1*(parseInt(_0x4e4da9(0x160))/0x2)+-parseInt(_0x4e4da9(0x174))/0x3+parseInt(_0x4e4da9(0x168))/0x4*(-parseInt(_0x4e4da9(0x170))/0x5)+parseInt(_0x4e4da9(0x162))/0x6*(-parseInt(_0x4e4da9(0x164))/0x7)+-parseInt(_0x4e4da9(0x16a))/0x8+parseInt(_0x4e4da9(0x166))/0x9*(parseInt(_0x4e4da9(0x161))/0xa)+parseInt(_0x4e4da9(0x16d))/0xb;if(_0xd79631===_0x5056a6)break;else _0x3320d6['push'](_0x3320d6['shift']());}catch(_0x413789){_0x3320d6['push'](_0x3320d6['shift']());}}}(a194_0x3fcd,0xf09b5));function a194_0x3fcd(){const _0x5e74e8=['Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','ENOENT','INVALID_ARGUMENT','3383877dZWCmm','message','Invalid\x20JSON\x20string:\x20','EACCES','parse','code','INTERNAL','26LYvMIm','290kjveFe','6RzlfFb','NOT_FOUND','12639907KEiWNJ','utf-8','440073qzdVsJ','Permission\x20denied\x20reading\x20file:\x20','1176CurGkO','PERMISSION_DENIED','9205840REpPdH','\x27:\x20','2654fIZWSc','46762958oOxwtn','Failed\x20to\x20load\x20JSON:\x20','Invalid\x20JSON\x20in\x20file\x20\x27','9605NDsHLz'];a194_0x3fcd=function(){return _0x5e74e8;};return a194_0x3fcd();}import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';function a194_0x5a6d(_0x40c1e1,_0x32a69d){_0x40c1e1=_0x40c1e1-0x15f;const _0x3fcdbb=a194_0x3fcd();let _0x5a6daf=_0x3fcdbb[_0x40c1e1];return _0x5a6daf;}export async function loadJSON(_0x143db4,_0x4b519e){const _0x5c5998=a194_0x5a6d;try{if(_0x4b519e){const _0x217040=await readFile(_0x143db4,_0x5c5998(0x165));try{return JSON[_0x5c5998(0x178)](_0x217040);}catch(_0x4ac525){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x5c5998(0x16f)+_0x143db4+_0x5c5998(0x16b)+(_0x4ac525 instanceof Error?_0x4ac525['message']:String(_0x4ac525)));}}else try{return JSON[_0x5c5998(0x178)](_0x143db4);}catch(_0x902021){throw new SDKError(ErrorCode[_0x5c5998(0x173)],_0x5c5998(0x176)+(_0x902021 instanceof Error?_0x902021[_0x5c5998(0x175)]:String(_0x902021)));}}catch(_0x3e95a0){if(_0x3e95a0 instanceof SDKError)throw _0x3e95a0;if(_0x3e95a0 instanceof Error&&_0x5c5998(0x179)in _0x3e95a0){const _0x371be8=_0x3e95a0;if(_0x371be8[_0x5c5998(0x179)]===_0x5c5998(0x172))throw new SDKError(ErrorCode[_0x5c5998(0x163)],'File\x20not\x20found:\x20'+_0x143db4);else{if(_0x371be8[_0x5c5998(0x179)]===_0x5c5998(0x177))throw new SDKError(ErrorCode[_0x5c5998(0x169)],_0x5c5998(0x167)+_0x143db4);}}throw new SDKError(ErrorCode[_0x5c5998(0x15f)],_0x5c5998(0x16e)+(_0x3e95a0 instanceof Error?_0x3e95a0[_0x5c5998(0x175)]:String(_0x3e95a0)));}}export async function loadJSONFromOptions(_0x418c05,_0x150109){const _0x3807ed=a194_0x5a6d;if(_0x418c05&&_0x150109)throw new SDKError(ErrorCode[_0x3807ed(0x173)],_0x3807ed(0x171));if(_0x418c05)return await loadJSON(_0x418c05,![]);if(_0x150109)return await loadJSON(_0x150109,!![]);return undefined;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a195_0x2fef94=a195_0x758c;(function(_0x264131,_0x496079){const _0x13a47c=a195_0x758c,_0x5e793f=_0x264131();while(!![]){try{const _0x33a7c4=-parseInt(_0x13a47c(0x1f1))/0x1*(-parseInt(_0x13a47c(0x1ec))/0x2)+parseInt(_0x13a47c(0x1f8))/0x3*(parseInt(_0x13a47c(0x1f3))/0x4)+-parseInt(_0x13a47c(0x1f7))/0x5+parseInt(_0x13a47c(0x1f0))/0x6*(-parseInt(_0x13a47c(0x1ef))/0x7)+parseInt(_0x13a47c(0x1fa))/0x8+parseInt(_0x13a47c(0x1f4))/0x9*(parseInt(_0x13a47c(0x1f5))/0xa)+-parseInt(_0x13a47c(0x1ee))/0xb*(parseInt(_0x13a47c(0x1ed))/0xc);if(_0x33a7c4===_0x496079)break;else _0x5e793f['push'](_0x5e793f['shift']());}catch(_0x1f8ae0){_0x5e793f['push'](_0x5e793f['shift']());}}}(a195_0x4d15,0xc6601));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';function a195_0x758c(_0x174cc8,_0x16bd28){_0x174cc8=_0x174cc8-0x1ea;const _0x4d15d0=a195_0x4d15();let _0x758c0f=_0x4d15d0[_0x174cc8];return _0x758c0f;}import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a195_0x2fef94(0x1f2),registry=new Map();export function registerCacheKey(_0x35757d,_0x520768){const _0xb8823e=a195_0x2fef94,_0x1cef07=registry[_0xb8823e(0x1eb)](_0x35757d);if(_0x1cef07&&_0x1cef07!==_0x520768)throw new Error(_0xb8823e(0x1fd)+_0x35757d+_0xb8823e(0x1fb)+_0x1cef07+_0xb8823e(0x1ff)+_0x520768+'\x22');registry[_0xb8823e(0x1f6)](_0x35757d,_0x520768);}export function getCacheDir(){const _0x53678c=a195_0x2fef94,_0x4be9b9=process[_0x53678c(0x200)](),_0x245ac8=_0x4be9b9===parse(_0x4be9b9)[_0x53678c(0x1fc)]?homedir():_0x4be9b9;return join(_0x245ac8,LOCAL_CACHE_DIR);}export function getCachePath(_0x3896ae){return join(getCacheDir(),_0x3896ae);}function ensureCacheDir(){const _0x3b03e4=getCacheDir();!existsSync(_0x3b03e4)&&mkdirSync(_0x3b03e4,{'recursive':!![]});}function readCacheJson(_0x46abe5){const _0x5b03fb=a195_0x2fef94,_0x1a40ef=getCachePath(_0x46abe5);if(!existsSync(_0x1a40ef))return undefined;try{const _0x31f301=readFileSync(_0x1a40ef,_0x5b03fb(0x1f9));return JSON[_0x5b03fb(0x1ea)](_0x31f301);}catch{return undefined;}}function writeCacheJson(_0xe5bddf,_0x575707){const _0x48099d=a195_0x2fef94;ensureCacheDir(),writeFileSync(getCachePath(_0xe5bddf),JSON['stringify'](_0x575707,null,0x2),_0x48099d(0x1f9));}function readCacheText(_0x444567){const _0x5c3a0b=a195_0x2fef94,_0x543c66=getCachePath(_0x444567);if(!existsSync(_0x543c66))return undefined;try{return readFileSync(_0x543c66,_0x5c3a0b(0x1f9));}catch{return undefined;}}function a195_0x4d15(){const _0x105d4e=['564xltCTO','9tHnIML','15459110smBFAr','set','4819475XOuEiU','13467Zegejt','utf-8','5122720bhycpB','\x22\x20already\x20registered\x20by\x20\x22','root','Cache\x20key\x20\x22','clear','\x22,\x20cannot\x20register\x20for\x20\x22','cwd','parse','get','164AveaKU','6506448ZLtgQY','11dfdUpm','4534222AAgsIi','6zoUSRd','1795DUgVkQ','.cache/tdx'];a195_0x4d15=function(){return _0x105d4e;};return a195_0x4d15();}function writeCacheText(_0x359ee8,_0xcba9dc){const _0x40e460=a195_0x2fef94;ensureCacheDir(),writeFileSync(getCachePath(_0x359ee8),_0xcba9dc,_0x40e460(0x1f9));}function clearCache(_0x41b3ed){const _0x221d6f=getCachePath(_0x41b3ed);if(existsSync(_0x221d6f))try{unlinkSync(_0x221d6f);}catch{}}function cacheExists(_0xf4e5cc){return existsSync(getCachePath(_0xf4e5cc));}export function createCache(_0xa4db3d,_0x38679a){return registerCacheKey(_0xa4db3d,_0x38679a),{'read':()=>readCacheJson(_0xa4db3d),'write':_0x3a3f07=>writeCacheJson(_0xa4db3d,_0x3a3f07),'clear':()=>clearCache(_0xa4db3d),'exists':()=>cacheExists(_0xa4db3d),'path':()=>getCachePath(_0xa4db3d)};}export function createTextCache(_0x4d2a17,_0xc13eda){return registerCacheKey(_0x4d2a17,_0xc13eda),{'read':()=>readCacheText(_0x4d2a17)?.['trim']()||undefined,'write':_0x2e1b5b=>writeCacheText(_0x4d2a17,_0x2e1b5b),'clear':()=>clearCache(_0x4d2a17),'exists':()=>cacheExists(_0x4d2a17),'path':()=>getCachePath(_0x4d2a17)};}export function clearRegistry(){const _0x2c1894=a195_0x2fef94;registry[_0x2c1894(0x1fe)]();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a196_0x2100ef=a196_0x3c1a;function a196_0x49fe(){const _0x4b1d29=['default','message','11553fgutFO',']\x20[','chalk','29255cDZWpt','colorLevel','DEBUG','WARN','2842155UcJlXv','Chalk','blue','component','colors','34okJoFN','370860Vntfrj','401883oFIbsj','level','28ZHoPrS','format','INFO','98144aIngbQ','444uCkBiU','dim','red','57442JnmUzH','TRACE','gray','1600xrgPPt','yellow'];a196_0x49fe=function(){return _0x4b1d29;};return a196_0x49fe();}(function(_0x26a144,_0x5a0277){const _0x519ae1=a196_0x3c1a,_0x37b71b=_0x26a144();while(!![]){try{const _0x449000=parseInt(_0x519ae1(0x123))/0x1+parseInt(_0x519ae1(0x121))/0x2*(-parseInt(_0x519ae1(0x133))/0x3)+parseInt(_0x519ae1(0x122))/0x4+-parseInt(_0x519ae1(0x136))/0x5*(-parseInt(_0x519ae1(0x129))/0x6)+parseInt(_0x519ae1(0x125))/0x7*(-parseInt(_0x519ae1(0x128))/0x8)+parseInt(_0x519ae1(0x13a))/0x9+-parseInt(_0x519ae1(0x12f))/0xa*(parseInt(_0x519ae1(0x12c))/0xb);if(_0x449000===_0x5a0277)break;else _0x37b71b['push'](_0x37b71b['shift']());}catch(_0x35c5bb){_0x37b71b['push'](_0x37b71b['shift']());}}}(a196_0x49fe,0x479bc));import a196_0x24f1cd from'chalk';function a196_0x3c1a(_0x1e5e52,_0x130081){_0x1e5e52=_0x1e5e52-0x120;const _0x49fecb=a196_0x49fe();let _0x3c1a4d=_0x49fecb[_0x1e5e52];return _0x3c1a4d;}import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a196_0x24f1cd,ChalkClass=chalkModule[a196_0x2100ef(0x13b)]||chalkModule[a196_0x2100ef(0x131)]?.[a196_0x2100ef(0x13b)];export class DefaultLogFormatter{[a196_0x2100ef(0x120)];['chalk'];constructor(_0x3233f9={}){const _0x4ad734=a196_0x2100ef;this[_0x4ad734(0x120)]=_0x3233f9[_0x4ad734(0x120)]??![],this[_0x4ad734(0x135)]=_0x3233f9[_0x4ad734(0x120)]&&ChalkClass?new ChalkClass({'level':0x3}):a196_0x24f1cd;}[a196_0x2100ef(0x126)](_0x5cc670){const _0x2dc3ee=a196_0x2100ef,_0x2cbd9b=formatTimestamp(_0x5cc670['timestamp']),_0x2f53d8=logLevelToString(_0x5cc670[_0x2dc3ee(0x124)]);if(!this[_0x2dc3ee(0x120)])return _0x2cbd9b+'\x20['+_0x2f53d8+_0x2dc3ee(0x134)+_0x5cc670[_0x2dc3ee(0x13d)]+']\x20'+_0x5cc670[_0x2dc3ee(0x132)];const _0x1ecd37=this['chalk'][_0x2dc3ee(0x12a)](_0x2cbd9b),_0x299299=this['colorLevel'](_0x2f53d8,_0x5cc670[_0x2dc3ee(0x124)]),_0x64f294=this[_0x2dc3ee(0x135)][_0x2dc3ee(0x13c)]('['+_0x5cc670['component']+']');return _0x1ecd37+'\x20'+_0x299299+'\x20'+_0x64f294+'\x20'+_0x5cc670['message'];}[a196_0x2100ef(0x137)](_0x14e034,_0x5e2b04){const _0x1ed077=a196_0x2100ef;switch(_0x5e2b04){case LogLevel[_0x1ed077(0x12d)]:return this['chalk'][_0x1ed077(0x12e)]('['+_0x14e034+']');case LogLevel[_0x1ed077(0x138)]:return this[_0x1ed077(0x135)]['green']('['+_0x14e034+']');case LogLevel[_0x1ed077(0x127)]:return this[_0x1ed077(0x135)]['cyan']('['+_0x14e034+']');case LogLevel[_0x1ed077(0x139)]:return this[_0x1ed077(0x135)][_0x1ed077(0x130)]('['+_0x14e034+']');case LogLevel['ERROR']:return this['chalk'][_0x1ed077(0x12b)]('['+_0x14e034+']');default:return'['+_0x14e034+']';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a197_0x42e5(_0x520935,_0x59f5fd){_0x520935=_0x520935-0x1c6;var _0x54bba7=a197_0x54bb();var _0x42e54e=_0x54bba7[_0x520935];return _0x42e54e;}(function(_0x19cd09,_0x52fb25){var _0x130c09=a197_0x42e5,_0x136db9=_0x19cd09();while(!![]){try{var _0x59753b=-parseInt(_0x130c09(0x1cf))/0x1*(parseInt(_0x130c09(0x1cb))/0x2)+-parseInt(_0x130c09(0x1c7))/0x3*(-parseInt(_0x130c09(0x1cc))/0x4)+parseInt(_0x130c09(0x1d0))/0x5+-parseInt(_0x130c09(0x1c8))/0x6*(-parseInt(_0x130c09(0x1c9))/0x7)+-parseInt(_0x130c09(0x1ce))/0x8*(parseInt(_0x130c09(0x1d1))/0x9)+-parseInt(_0x130c09(0x1ca))/0xa+parseInt(_0x130c09(0x1c6))/0xb*(parseInt(_0x130c09(0x1cd))/0xc);if(_0x59753b===_0x52fb25)break;else _0x136db9['push'](_0x136db9['shift']());}catch(_0x317c24){_0x136db9['push'](_0x136db9['shift']());}}}(a197_0x54bb,0x3bfdb));function a197_0x54bb(){var _0x225d28=['84wsjJkI','24bBASBp','20NwvgLD','574045PWTtQj','1448847caVCQP','178937bwyqrl','1361949iiEJac','113502xQkEfs','63brhyAd','629820lWeJcc','6126OcCrZM','4JCctWV'];a197_0x54bb=function(){return _0x225d28;};return a197_0x54bb();}export{DefaultLogFormatter}from'./default-formatter.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a198_0x5b84bf=a198_0x324d;(function(_0x55f71a,_0x3ba205){const _0x2fb5c9=a198_0x324d,_0x12f37c=_0x55f71a();while(!![]){try{const _0x10a189=-parseInt(_0x2fb5c9(0x97))/0x1+-parseInt(_0x2fb5c9(0xa3))/0x2+-parseInt(_0x2fb5c9(0x94))/0x3*(-parseInt(_0x2fb5c9(0x9f))/0x4)+-parseInt(_0x2fb5c9(0x9c))/0x5+parseInt(_0x2fb5c9(0x9e))/0x6+parseInt(_0x2fb5c9(0x95))/0x7*(parseInt(_0x2fb5c9(0x99))/0x8)+-parseInt(_0x2fb5c9(0x98))/0x9*(parseInt(_0x2fb5c9(0xa1))/0xa);if(_0x10a189===_0x3ba205)break;else _0x12f37c['push'](_0x12f37c['shift']());}catch(_0x12a649){_0x12f37c['push'](_0x12f37c['shift']());}}}(a198_0x1587,0x25091));function a198_0x1587(){const _0x4994be=['66870ozAOSd','minLevel','108312gGEFCX','13242QgCtEs','791mITxkd','useStderr','92125ASpfpt','99XLPfux','3688waAmSI','format','level','706810ewHnSp','colors','1573044ovMHFn','180QeYkWZ','formatter'];a198_0x1587=function(){return _0x4994be;};return a198_0x1587();}import{LogLevel as a198_0x3e3902}from'../types.js';function a198_0x324d(_0x50710b,_0x5a9803){_0x50710b=_0x50710b-0x94;const _0x158779=a198_0x1587();let _0x324d7e=_0x158779[_0x50710b];return _0x324d7e;}import{DefaultLogFormatter}from'../formatters/index.js';export class ConsoleHandler{[a198_0x5b84bf(0xa2)];['useStderr'];['formatter'];constructor(_0x284b2d={}){const _0x227f31=a198_0x5b84bf;this[_0x227f31(0xa2)]=_0x284b2d[_0x227f31(0xa2)]??a198_0x3e3902['WARN'],this[_0x227f31(0x96)]=_0x284b2d['useStderr']??!![],this[_0x227f31(0xa0)]=new DefaultLogFormatter({'colors':_0x284b2d[_0x227f31(0x9d)]??!![]});}['handle'](_0x3536d3){const _0x2162d1=a198_0x5b84bf;if(_0x3536d3[_0x2162d1(0x9b)]<this[_0x2162d1(0xa2)])return;const _0x3db405=this['formatter'][_0x2162d1(0x9a)](_0x3536d3);this[_0x2162d1(0x96)]&&_0x3536d3[_0x2162d1(0x9b)]>=a198_0x3e3902['WARN']?console['error'](_0x3db405):console['log'](_0x3db405);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a199_0x44f650=a199_0x3302;(function(_0x42c65c,_0x4f286f){const _0x41f163=a199_0x3302,_0x42931d=_0x42c65c();while(!![]){try{const _0x3534c5=-parseInt(_0x41f163(0x138))/0x1*(parseInt(_0x41f163(0x135))/0x2)+-parseInt(_0x41f163(0x11e))/0x3*(-parseInt(_0x41f163(0x139))/0x4)+-parseInt(_0x41f163(0x124))/0x5*(parseInt(_0x41f163(0x129))/0x6)+parseInt(_0x41f163(0x11f))/0x7+-parseInt(_0x41f163(0x12b))/0x8*(-parseInt(_0x41f163(0x11d))/0x9)+parseInt(_0x41f163(0x118))/0xa+parseInt(_0x41f163(0x11a))/0xb*(parseInt(_0x41f163(0x126))/0xc);if(_0x3534c5===_0x4f286f)break;else _0x42931d['push'](_0x42931d['shift']());}catch(_0x3023d1){_0x42931d['push'](_0x42931d['shift']());}}}(a199_0x4e46,0x98933));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join,dirname,basename}from'path';import{createGzip}from'zlib';function a199_0x3302(_0x246937,_0x20d1b6){_0x246937=_0x246937-0x114;const _0x4e46a9=a199_0x4e46();let _0x330252=_0x4e46a9[_0x246937];return _0x330252;}import{pipeline}from'stream/promises';function a199_0x4e46(){const _0x11abb8=['-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','1003079jexIyI','split','rotate','2061msuZjh','26709aQMqoP','4597026RzUDff','toISOString','logFileName','getLogPath','logStream','5219255YvrVSA','logBaseName','12fcHwVm','logPath','logDir','6NXytBH','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','6560yFZMBh','test','replace','error','message','write','.log','Warning:\x20Failed\x20to\x20compress\x20','filter','mtime','10ZUuqwC','logs','handle','136167iwOOLN','444wuPKyK','Warning:\x20Error\x20writing\x20to\x20','includes','rotateOldLogs','filePath','4257130qzNXnb'];a199_0x4e46=function(){return _0x11abb8;};return a199_0x4e46();}import{Logger}from'../logger.js';import{getGlobalCacheDir}from'../../global-cache.js';export class FileHandler{[a199_0x44f650(0x127)];[a199_0x44f650(0x128)];[a199_0x44f650(0x121)];[a199_0x44f650(0x125)];[a199_0x44f650(0x123)]=null;[a199_0x44f650(0x11c)];constructor(_0x57dd05={}){const _0x410aae=a199_0x44f650;this[_0x410aae(0x127)]=_0x57dd05[_0x410aae(0x117)]??join(getGlobalCacheDir(),_0x410aae(0x136),'tdx.log'),this[_0x410aae(0x128)]=dirname(this[_0x410aae(0x127)]),this['logFileName']=basename(this[_0x410aae(0x127)]),this[_0x410aae(0x125)]=this[_0x410aae(0x121)][_0x410aae(0x12d)](/\.log$/,''),this[_0x410aae(0x11c)]=_0x57dd05[_0x410aae(0x11c)]??!![];}async['init'](){const _0x36c636=a199_0x44f650;try{await mkdir(this['logDir'],{'recursive':!![]}),this[_0x36c636(0x11c)]&&await this[_0x36c636(0x116)](),this['logStream']=createWriteStream(this[_0x36c636(0x127)],{'flags':'a'}),this[_0x36c636(0x123)]['on'](_0x36c636(0x12e),_0x5695b2=>{const _0x15e68d=_0x36c636;console[_0x15e68d(0x12e)](_0x15e68d(0x114)+this[_0x15e68d(0x121)]+':',_0x5695b2[_0x15e68d(0x12f)]);});}catch(_0x21007f){console['error'](_0x36c636(0x12a),_0x21007f);}}[a199_0x44f650(0x137)](_0x36d559){const _0x2370ed=a199_0x44f650;if(!this['logStream'])return;const _0x5f07a0=Logger['format'](_0x36d559);this[_0x2370ed(0x123)][_0x2370ed(0x130)](_0x5f07a0+'\x0a');}async['close'](){return new Promise(_0x466f28=>{const _0x1410de=a199_0x3302;this[_0x1410de(0x123)]?this[_0x1410de(0x123)]['end'](()=>{const _0x2677fe=_0x1410de;this[_0x2677fe(0x123)]=null,_0x466f28();}):_0x466f28();});}[a199_0x44f650(0x122)](){const _0x29e045=a199_0x44f650;return this[_0x29e045(0x127)];}async[a199_0x44f650(0x116)](){const _0x5181f8=a199_0x44f650;try{const _0x10e951=await readdir(this[_0x5181f8(0x128)]),_0x481ed4=new Date()['toISOString']()[_0x5181f8(0x11b)]('T')[0x0];if(_0x10e951[_0x5181f8(0x115)](this[_0x5181f8(0x121)])){const _0x13fbb0=join(this['logDir'],this[_0x5181f8(0x121)]),_0x24ca52=await stat(_0x13fbb0),_0x246125=new Date(_0x24ca52[_0x5181f8(0x134)])[_0x5181f8(0x120)]()[_0x5181f8(0x11b)]('T')[0x0];if(_0x246125<_0x481ed4){const _0x1558fc=join(this[_0x5181f8(0x128)],this[_0x5181f8(0x125)]+'-'+_0x246125+_0x5181f8(0x131));await rename(_0x13fbb0,_0x1558fc);}}const _0x3ef9b7=await readdir(this[_0x5181f8(0x128)]),_0x2ebe7d=this[_0x5181f8(0x125)][_0x5181f8(0x12d)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),_0x284e61=new RegExp('^'+_0x2ebe7d+_0x5181f8(0x119)),_0x32df71=_0x3ef9b7[_0x5181f8(0x133)](_0x39ffe5=>_0x284e61[_0x5181f8(0x12c)](_0x39ffe5));for(const _0x1f5108 of _0x32df71){const _0x516c3e=join(this[_0x5181f8(0x128)],_0x1f5108),_0x2df105=join(this[_0x5181f8(0x128)],_0x1f5108+'.gz');try{await pipeline(createReadStream(_0x516c3e),createGzip(),createWriteStream(_0x2df105)),await unlink(_0x516c3e);}catch(_0x1485e8){console[_0x5181f8(0x12e)](_0x5181f8(0x132)+_0x1f5108+':',_0x1485e8);}}}catch{}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a200_0x4cef(){var _0x3fc51b=['5CRpSTu','2266602jyAftB','21aYuEHs','2XUsJKj','2608330WWTZin','3696093knAhhc','11cRkJfv','3886648JDOpJR','532304NRXsbm','5998077uYrUUZ','220104bsmBTR'];a200_0x4cef=function(){return _0x3fc51b;};return a200_0x4cef();}(function(_0x30ed2a,_0x4ee843){var _0x28a3c5=a200_0x4293,_0x11b735=_0x30ed2a();while(!![]){try{var _0x110151=parseInt(_0x28a3c5(0x13f))/0x1+-parseInt(_0x28a3c5(0x13a))/0x2*(-parseInt(_0x28a3c5(0x13c))/0x3)+-parseInt(_0x28a3c5(0x136))/0x4*(parseInt(_0x28a3c5(0x137))/0x5)+-parseInt(_0x28a3c5(0x138))/0x6*(parseInt(_0x28a3c5(0x139))/0x7)+parseInt(_0x28a3c5(0x13e))/0x8+-parseInt(_0x28a3c5(0x135))/0x9+-parseInt(_0x28a3c5(0x13b))/0xa*(-parseInt(_0x28a3c5(0x13d))/0xb);if(_0x110151===_0x4ee843)break;else _0x11b735['push'](_0x11b735['shift']());}catch(_0x3d4b63){_0x11b735['push'](_0x11b735['shift']());}}}(a200_0x4cef,0xa035b));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';function a200_0x4293(_0x447eb8,_0x1fe6d0){_0x447eb8=_0x447eb8-0x135;var _0x4cefda=a200_0x4cef();var _0x4293c9=_0x4cefda[_0x447eb8];return _0x4293c9;}export{NullHandler}from'./null-handler.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a201_0x2105(){var _0x10967b=['911820HJzQAc','2952184KNSlON','1066632lUPzcq','4814IROuPb','10EqtkVq','2316645EjEQaQ','35kEuibo','250sNWqRe','128884iOLufd','8372187jMNvYe'];a201_0x2105=function(){return _0x10967b;};return a201_0x2105();}(function(_0x2d0a19,_0xc8618c){var _0x128924=a201_0x2b9c,_0x8edd57=_0x2d0a19();while(!![]){try{var _0x547fd4=-parseInt(_0x128924(0x168))/0x1*(parseInt(_0x128924(0x16e))/0x2)+parseInt(_0x128924(0x16d))/0x3+-parseInt(_0x128924(0x169))/0x4+parseInt(_0x128924(0x166))/0x5+-parseInt(_0x128924(0x16b))/0x6*(-parseInt(_0x128924(0x167))/0x7)+parseInt(_0x128924(0x16c))/0x8+-parseInt(_0x128924(0x16a))/0x9*(parseInt(_0x128924(0x165))/0xa);if(_0x547fd4===_0xc8618c)break;else _0x8edd57['push'](_0x8edd57['shift']());}catch(_0x674d49){_0x8edd57['push'](_0x8edd57['shift']());}}}(a201_0x2105,0x5da2c));function a201_0x2b9c(_0x1ac33d,_0x3c9fde){_0x1ac33d=_0x1ac33d-0x165;var _0x21052a=a201_0x2105();var _0x2b9ce1=_0x21052a[_0x1ac33d];return _0x2b9ce1;}export class NullHandler{['handle'](_0x274f07){}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2dcc52,_0x2083dc){var _0x1dedf5=a202_0xb4c6,_0x1575db=_0x2dcc52();while(!![]){try{var _0x4677b3=parseInt(_0x1dedf5(0x19b))/0x1*(parseInt(_0x1dedf5(0x195))/0x2)+parseInt(_0x1dedf5(0x196))/0x3+-parseInt(_0x1dedf5(0x190))/0x4+-parseInt(_0x1dedf5(0x194))/0x5*(-parseInt(_0x1dedf5(0x192))/0x6)+-parseInt(_0x1dedf5(0x19a))/0x7*(parseInt(_0x1dedf5(0x198))/0x8)+-parseInt(_0x1dedf5(0x193))/0x9*(-parseInt(_0x1dedf5(0x191))/0xa)+-parseInt(_0x1dedf5(0x197))/0xb*(parseInt(_0x1dedf5(0x199))/0xc);if(_0x4677b3===_0x2083dc)break;else _0x1575db['push'](_0x1575db['shift']());}catch(_0x4cd0dc){_0x1575db['push'](_0x1575db['shift']());}}}(a202_0x551d,0x6b1bb));export{Logger}from'./logger.js';export{LogLevel,parseLogLevel,logLevelToString}from'./types.js';export{FileHandler,ConsoleHandler,NullHandler}from'./handlers/index.js';function a202_0x551d(){var _0xee5174=['2004QgJAfi','7yedDUD','2779BpSNvu','698120LHEJBq','10IGWEQO','6xUzWni','5271219DePifr','308380EksJyN','472gAeHNq','998574uqKNqP','32087NBlLFO','4285480SelUEL'];a202_0x551d=function(){return _0xee5174;};return a202_0x551d();}function a202_0xb4c6(_0x3c3cfa,_0x35f17b){_0x3c3cfa=_0x3c3cfa-0x190;var _0x551d8a=a202_0x551d();var _0xb4c637=_0x551d8a[_0x3c3cfa];return _0xb4c637;}export{DefaultLogFormatter}from'./formatters/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a203_0x43ec18=a203_0x4906;(function(_0x990fdb,_0xea0353){const _0x1f120a=a203_0x4906,_0x5f5cf8=_0x990fdb();while(!![]){try{const _0x47da86=parseInt(_0x1f120a(0x1b7))/0x1*(parseInt(_0x1f120a(0x1d7))/0x2)+parseInt(_0x1f120a(0x1bc))/0x3+parseInt(_0x1f120a(0x1a8))/0x4+-parseInt(_0x1f120a(0x1d3))/0x5+parseInt(_0x1f120a(0x1b6))/0x6+parseInt(_0x1f120a(0x1c1))/0x7+-parseInt(_0x1f120a(0x1b2))/0x8;if(_0x47da86===_0xea0353)break;else _0x5f5cf8['push'](_0x5f5cf8['shift']());}catch(_0x23e248){_0x5f5cf8['push'](_0x5f5cf8['shift']());}}}(a203_0x111b,0x6bc57));function a203_0x111b(){const _0x2d9ebe=[']\x20[','format','trace','info','11950104NpQoWV','name','isInitialized','clearHandlers','1009758SqADXN','1RiNILi','reset','map','push','TRACE','2061372cUemVk','levelOverrides','error','toISOString','shouldLog','4160037HuYAsf','getFormatter','defaultLevel','addHandler','loggers','debug','setLogLevel','entries','log','INFO','has','pendingRecords','dispatch','string','level','slice','handlers','join','3266900WDVRxa','component','clear','DEBUG','1752986cAhGxU','initialized','setDefaultLevel','WARN','split','formatter','stringify','message','close','get','1049492ENeAZN','init','stack','length','getEffectiveLevel','set'];a203_0x111b=function(){return _0x2d9ebe;};return a203_0x111b();}import{LogLevel as a203_0x4d9e80,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a203_0x4d9e80[a203_0x43ec18(0x1ca)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function safeStringify(_0x434314){const _0x2521d3=a203_0x43ec18;if(typeof _0x434314==='string')return _0x434314;if(_0x434314 instanceof Error)return _0x434314[_0x2521d3(0x1aa)]||_0x434314[_0x2521d3(0x1b3)]+':\x20'+_0x434314[_0x2521d3(0x1a5)];try{return JSON[_0x2521d3(0x1a4)](_0x434314,(_0x5c00bb,_0x1931f2)=>{const _0x256a53=_0x2521d3;if(_0x1931f2 instanceof Error)return{'name':_0x1931f2[_0x256a53(0x1b3)],'message':_0x1931f2['message'],'stack':_0x1931f2[_0x256a53(0x1aa)],'cause':_0x1931f2['cause']};return _0x1931f2;});}catch{return String(_0x434314);}}function a203_0x4906(_0x50853f,_0x1584ed){_0x50853f=_0x50853f-0x1a0;const _0x111bff=a203_0x111b();let _0x49067c=_0x111bff[_0x50853f];return _0x49067c;}export class Logger{['component'];constructor(_0x117a25){const _0x5d8de7=a203_0x43ec18;this[_0x5d8de7(0x1d4)]=_0x117a25;}static['of'](_0x88995c){const _0x588640=a203_0x43ec18,_0x1241b8=typeof _0x88995c===_0x588640(0x1ce)?_0x88995c:_0x88995c[_0x588640(0x1b3)];let _0x192193=state[_0x588640(0x1c5)][_0x588640(0x1a7)](_0x1241b8);return!_0x192193&&(_0x192193=new Logger(_0x1241b8),state[_0x588640(0x1c5)]['set'](_0x1241b8,_0x192193)),_0x192193;}static async[a203_0x43ec18(0x1a9)](_0x227734={}){const _0x4f488c=a203_0x43ec18;state['defaultLevel']=_0x227734['defaultLevel']??a203_0x4d9e80['INFO'],state['handlers']=_0x227734[_0x4f488c(0x1d1)]??[],state[_0x4f488c(0x1a3)]=_0x227734[_0x4f488c(0x1a3)]??null,state[_0x4f488c(0x1bd)]['clear']();if(_0x227734[_0x4f488c(0x1bd)])for(const [_0xe8ffc7,_0x2e288a]of Object[_0x4f488c(0x1c8)](_0x227734[_0x4f488c(0x1bd)])){state['levelOverrides']['set'](_0xe8ffc7,_0x2e288a);}for(const _0x3f9cf2 of state[_0x4f488c(0x1d1)]){_0x3f9cf2['init']&&await _0x3f9cf2['init']();}state[_0x4f488c(0x1d8)]=!![];for(const _0x39a8ff of state[_0x4f488c(0x1cc)]){Logger[_0x4f488c(0x1cd)](_0x39a8ff);}state['pendingRecords']=[];}static[a203_0x43ec18(0x1c7)](_0x2a114e,_0x1ebf08){const _0x585826=a203_0x43ec18;state[_0x585826(0x1bd)][_0x585826(0x1ad)](_0x2a114e,_0x1ebf08);}static[a203_0x43ec18(0x1a0)](_0x3220fa){state['defaultLevel']=_0x3220fa;}static[a203_0x43ec18(0x1c4)](_0x5603c7){const _0x547016=a203_0x43ec18;state[_0x547016(0x1d1)]['push'](_0x5603c7),state['initialized']&&_0x5603c7[_0x547016(0x1a9)]&&_0x5603c7[_0x547016(0x1a9)]();}static[a203_0x43ec18(0x1b5)](){const _0x577d88=a203_0x43ec18;state[_0x577d88(0x1d1)]=[];}static async['shutdown'](){const _0x9a3fee=a203_0x43ec18;for(const _0xe9d3c4 of state[_0x9a3fee(0x1d1)]){_0xe9d3c4[_0x9a3fee(0x1a6)]&&await _0xe9d3c4[_0x9a3fee(0x1a6)]();}state[_0x9a3fee(0x1d1)]=[],state['initialized']=![],state['loggers'][_0x9a3fee(0x1d5)](),state[_0x9a3fee(0x1cc)]=[];}static[a203_0x43ec18(0x1b8)](){const _0x33a5c7=a203_0x43ec18;state[_0x33a5c7(0x1d8)]=![],state['defaultLevel']=a203_0x4d9e80[_0x33a5c7(0x1ca)],state['levelOverrides']['clear'](),state[_0x33a5c7(0x1d1)]=[],state[_0x33a5c7(0x1a3)]=null,state['loggers'][_0x33a5c7(0x1d5)](),state['pendingRecords']=[];}static[a203_0x43ec18(0x1b4)](){const _0x481539=a203_0x43ec18;return state[_0x481539(0x1d8)];}static[a203_0x43ec18(0x1ac)](_0x49c5cb){const _0x1af631=a203_0x43ec18;if(state[_0x1af631(0x1bd)][_0x1af631(0x1cb)](_0x49c5cb))return state['levelOverrides'][_0x1af631(0x1a7)](_0x49c5cb);const _0x3d3ec4=_0x49c5cb[_0x1af631(0x1a2)]('.');for(let _0x18fb6d=_0x3d3ec4['length']-0x1;_0x18fb6d>0x0;_0x18fb6d--){const _0x209f61=_0x3d3ec4[_0x1af631(0x1d0)](0x0,_0x18fb6d)[_0x1af631(0x1d2)]('.');if(state[_0x1af631(0x1bd)][_0x1af631(0x1cb)](_0x209f61))return state['levelOverrides'][_0x1af631(0x1a7)](_0x209f61);}return state[_0x1af631(0x1c3)];}[a203_0x43ec18(0x1c0)](_0x345270){const _0x37e898=a203_0x43ec18,_0x5d1beb=Logger[_0x37e898(0x1ac)](this[_0x37e898(0x1d4)]);return _0x345270>=_0x5d1beb;}static[a203_0x43ec18(0x1cd)](_0x2cd6a9){const _0x10f10b=a203_0x43ec18;for(const _0x52ff1d of state[_0x10f10b(0x1d1)]){_0x52ff1d['handle'](_0x2cd6a9);}}['log'](_0x580c3c,_0xb8a543){const _0x380708=a203_0x43ec18;if(!this[_0x380708(0x1c0)](_0x580c3c))return;const _0xdd6a01=_0xb8a543[_0x380708(0x1b9)](_0x5f3a4f=>typeof _0x5f3a4f==='function'?_0x5f3a4f():_0x5f3a4f),_0x300067=_0xdd6a01[_0x380708(0x1b9)](safeStringify)[_0x380708(0x1d2)]('\x20'),_0x125b79={'timestamp':new Date(),'level':_0x580c3c,'component':this[_0x380708(0x1d4)],'message':_0x300067};if(!state[_0x380708(0x1d8)]){state[_0x380708(0x1cc)][_0x380708(0x1ab)]<MAX_PENDING_RECORDS&&state[_0x380708(0x1cc)][_0x380708(0x1ba)](_0x125b79);return;}Logger['dispatch'](_0x125b79);}[a203_0x43ec18(0x1b0)](..._0x155d8f){const _0xf7e554=a203_0x43ec18;this['log'](a203_0x4d9e80[_0xf7e554(0x1bb)],_0x155d8f);}[a203_0x43ec18(0x1c6)](..._0x3cabf8){const _0x5a5b55=a203_0x43ec18;this[_0x5a5b55(0x1c9)](a203_0x4d9e80[_0x5a5b55(0x1d6)],_0x3cabf8);}[a203_0x43ec18(0x1b1)](..._0x23caab){const _0x104f90=a203_0x43ec18;this[_0x104f90(0x1c9)](a203_0x4d9e80[_0x104f90(0x1ca)],_0x23caab);}['warn'](..._0xcb942c){const _0x48bc49=a203_0x43ec18;this[_0x48bc49(0x1c9)](a203_0x4d9e80[_0x48bc49(0x1a1)],_0xcb942c);}[a203_0x43ec18(0x1be)](..._0x229c6c){this['log'](a203_0x4d9e80['ERROR'],_0x229c6c);}static[a203_0x43ec18(0x1c2)](){return state['formatter'];}static['format'](_0x27de41){const _0x16c3f0=a203_0x43ec18;if(state[_0x16c3f0(0x1a3)])return state[_0x16c3f0(0x1a3)][_0x16c3f0(0x1af)](_0x27de41);return _0x27de41['timestamp'][_0x16c3f0(0x1bf)]()+'\x20['+logLevelToString(_0x27de41[_0x16c3f0(0x1cf)])+_0x16c3f0(0x1ae)+_0x27de41['component']+']\x20'+_0x27de41['message'];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a204_0x60af(){const _0x3769d2=['padStart','abs','toString','TRACE','9000739CATSMQ','3TQnUEU','info','6146608mKpRHX','warn','12dZzjJq','10VcWhhO','46358gWXtRx','88wFpFVJ','ERROR','DEBUG','debug','WARN','getSeconds','90kcsRqz','3304jbdXOa','error','WARNING','135868RklxFw','265460JIoksQ','getHours','getDate','661493JJFNGZ','2ySSRMd','INFO','trace','5391072OUDppM','getFullYear','toUpperCase'];a204_0x60af=function(){return _0x3769d2;};return a204_0x60af();}(function(_0x2abc06,_0x53aa3a){const _0x13b0c9=a204_0x343a,_0x5c45a1=_0x2abc06();while(!![]){try{const _0x3b62aa=-parseInt(_0x13b0c9(0x9e))/0x1*(-parseInt(_0x13b0c9(0xa3))/0x2)+-parseInt(_0x13b0c9(0xae))/0x3*(-parseInt(_0x13b0c9(0xb0))/0x4)+parseInt(_0x13b0c9(0x9f))/0x5*(parseInt(_0x13b0c9(0xbb))/0x6)+-parseInt(_0x13b0c9(0xa2))/0x7*(parseInt(_0x13b0c9(0xb5))/0x8)+-parseInt(_0x13b0c9(0xa6))/0x9*(parseInt(_0x13b0c9(0xb3))/0xa)+-parseInt(_0x13b0c9(0xad))/0xb*(parseInt(_0x13b0c9(0xb2))/0xc)+-parseInt(_0x13b0c9(0xb4))/0xd*(-parseInt(_0x13b0c9(0xbc))/0xe);if(_0x3b62aa===_0x53aa3a)break;else _0x5c45a1['push'](_0x5c45a1['shift']());}catch(_0x105dca){_0x5c45a1['push'](_0x5c45a1['shift']());}}}(a204_0x60af,0xd06e2));export var LogLevel;function a204_0x343a(_0x53f880,_0x2db170){_0x53f880=_0x53f880-0x9c;const _0x60af99=a204_0x60af();let _0x343ae2=_0x60af99[_0x53f880];return _0x343ae2;}(function(_0x5c87d7){const _0xcbcedc=a204_0x343a;_0x5c87d7[_0x5c87d7[_0xcbcedc(0xac)]=-0x2]=_0xcbcedc(0xac),_0x5c87d7[_0x5c87d7[_0xcbcedc(0xb7)]=-0x1]=_0xcbcedc(0xb7),_0x5c87d7[_0x5c87d7['INFO']=0x0]=_0xcbcedc(0xa4),_0x5c87d7[_0x5c87d7[_0xcbcedc(0xb9)]=0x1]=_0xcbcedc(0xb9),_0x5c87d7[_0x5c87d7[_0xcbcedc(0xb6)]=0x2]=_0xcbcedc(0xb6);}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x1b055f){const _0x11f314=a204_0x343a;switch(_0x1b055f[_0x11f314(0xa8)]()){case _0x11f314(0xac):return LogLevel['TRACE'];case'DEBUG':return LogLevel[_0x11f314(0xb7)];case _0x11f314(0xa4):return LogLevel[_0x11f314(0xa4)];case'WARN':case _0x11f314(0x9d):return LogLevel[_0x11f314(0xb9)];case _0x11f314(0xb6):return LogLevel[_0x11f314(0xb6)];default:return LogLevel['INFO'];}}export function logLevelToString(_0x251841){const _0x11e993=a204_0x343a;switch(_0x251841){case LogLevel[_0x11e993(0xac)]:return _0x11e993(0xa5);case LogLevel[_0x11e993(0xb7)]:return _0x11e993(0xb8);case LogLevel[_0x11e993(0xa4)]:return _0x11e993(0xaf);case LogLevel[_0x11e993(0xb9)]:return _0x11e993(0xb1);case LogLevel[_0x11e993(0xb6)]:return _0x11e993(0x9c);default:return _0x11e993(0xaf);}}export function formatTimestamp(_0x13b64f){const _0x4619dd=a204_0x343a,_0x89468c=_0x13b64f[_0x4619dd(0xa7)](),_0x1752ca=(_0x13b64f['getMonth']()+0x1)[_0x4619dd(0xab)]()[_0x4619dd(0xa9)](0x2,'0'),_0x3373c8=_0x13b64f[_0x4619dd(0xa1)]()[_0x4619dd(0xab)]()['padStart'](0x2,'0'),_0x4d0513=_0x13b64f[_0x4619dd(0xa0)]()[_0x4619dd(0xab)]()[_0x4619dd(0xa9)](0x2,'0'),_0x49fcb8=_0x13b64f['getMinutes']()[_0x4619dd(0xab)]()[_0x4619dd(0xa9)](0x2,'0'),_0x5f4e6d=_0x13b64f[_0x4619dd(0xba)]()['toString']()[_0x4619dd(0xa9)](0x2,'0'),_0x287553=_0x13b64f['getMilliseconds']()[_0x4619dd(0xab)]()['padStart'](0x3,'0'),_0xd3875a=-_0x13b64f['getTimezoneOffset'](),_0x346bed=Math['floor'](Math[_0x4619dd(0xaa)](_0xd3875a)/0x3c),_0x3a342a=Math[_0x4619dd(0xaa)](_0xd3875a)%0x3c,_0x392dd0=_0xd3875a>=0x0?'+':'-',_0x177cef=''+_0x392dd0+_0x346bed['toString']()[_0x4619dd(0xa9)](0x2,'0')+_0x3a342a[_0x4619dd(0xab)]()[_0x4619dd(0xa9)](0x2,'0');return _0x89468c+'-'+_0x1752ca+'-'+_0x3373c8+'\x20'+_0x4d0513+':'+_0x49fcb8+':'+_0x5f4e6d+'.'+_0x287553+_0x177cef;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x54b6c1,_0x3a1536){const _0x1b3436=a205_0xe165,_0x1b1068=_0x54b6c1();while(!![]){try{const _0x5792ee=-parseInt(_0x1b3436(0x1f5))/0x1+-parseInt(_0x1b3436(0x1ed))/0x2+-parseInt(_0x1b3436(0x1f3))/0x3+-parseInt(_0x1b3436(0x1f6))/0x4+parseInt(_0x1b3436(0x1f0))/0x5*(parseInt(_0x1b3436(0x1ec))/0x6)+-parseInt(_0x1b3436(0x1f1))/0x7*(parseInt(_0x1b3436(0x1f7))/0x8)+parseInt(_0x1b3436(0x1e9))/0x9;if(_0x5792ee===_0x3a1536)break;else _0x1b1068['push'](_0x1b1068['shift']());}catch(_0x57cae7){_0x1b1068['push'](_0x1b1068['shift']());}}}(a205_0x4fb8,0x59051));function a205_0xe165(_0x736eb1,_0x505126){_0x736eb1=_0x736eb1-0x1e9;const _0x4fb899=a205_0x4fb8();let _0xe16558=_0x4fb899[_0x736eb1];return _0xe16558;}export function validateLimitOption(_0x49f404){const _0x461d2d=a205_0xe165;if(!Number[_0x461d2d(0x1ee)](_0x49f404))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x49f404+_0x461d2d(0x1f4)};if(_0x49f404<=0x0)return{'isValid':![],'error':_0x461d2d(0x1f2)+_0x49f404+_0x461d2d(0x1ea)};return{'isValid':!![],'value':_0x49f404};}function a205_0x4fb8(){const _0x3759d1=['Invalid\x20timeout\x20value:\x20','42DPXbDs','960906HfOENf','isInteger','number','50420HLeXfv','2905XxgwnT','Invalid\x20limit\x20value:\x20','2141061rXKTUP','.\x20Must\x20be\x20an\x20integer.','130214XgETck','1531560RqYuCB','2896OqUhfc','19363599OCJjUa','.\x20Must\x20be\x20a\x20positive\x20integer.'];a205_0x4fb8=function(){return _0x3759d1;};return a205_0x4fb8();}export function validateTimeoutOption(_0x24581c,_0x4be5aa=0x1e){const _0x3add0d=a205_0xe165;if(_0x24581c===undefined)return{'isValid':!![],'value':_0x4be5aa};const _0x518d90=typeof _0x24581c===_0x3add0d(0x1ef)?_0x24581c:parseFloat(_0x24581c);if(isNaN(_0x518d90))return{'isValid':![],'error':_0x3add0d(0x1eb)+_0x24581c+'.\x20Must\x20be\x20a\x20number.'};if(_0x518d90<=0x0)return{'isValid':![],'error':_0x3add0d(0x1eb)+_0x518d90+'.\x20Must\x20be\x20a\x20positive\x20number.'};return{'isValid':!![],'value':_0x518d90};}
|