@treasuredata/tdx 0.29.5 → 2026.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +3 -3
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/cli.js.map +1 -1
  7. package/dist/commands/activations.js +1 -1
  8. package/dist/commands/agent-command.js +1 -1
  9. package/dist/commands/agent-test-command.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/auth-command.js +1 -1
  12. package/dist/commands/chat-command.js +1 -1
  13. package/dist/commands/claude-command.js +1 -1
  14. package/dist/commands/claude-statusline-command.js +1 -1
  15. package/dist/commands/claude-usage-command.js +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/connection-command.js +1 -1
  18. package/dist/commands/databases.d.ts.map +1 -1
  19. package/dist/commands/databases.js +1 -1
  20. package/dist/commands/databases.js.map +1 -1
  21. package/dist/commands/delivery-command.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/engage-campaign-pull-command.js +1 -1
  24. package/dist/commands/engage-campaign-push-command.js +1 -1
  25. package/dist/commands/engage-campaign-validate-command.js +1 -1
  26. package/dist/commands/engage-command.d.ts +97 -1
  27. package/dist/commands/engage-command.d.ts.map +1 -1
  28. package/dist/commands/engage-command.js +1 -1
  29. package/dist/commands/engage-command.js.map +1 -1
  30. package/dist/commands/engage-template-pull-command.js +1 -1
  31. package/dist/commands/engage-template-push-command.js +1 -1
  32. package/dist/commands/engage-template-validate-command.js +1 -1
  33. package/dist/commands/job-command.d.ts.map +1 -1
  34. package/dist/commands/job-command.js +1 -1
  35. package/dist/commands/job-command.js.map +1 -1
  36. package/dist/commands/journey-command.js +1 -1
  37. package/dist/commands/journey-validate-command.js +1 -1
  38. package/dist/commands/llm-command.js +1 -1
  39. package/dist/commands/mcp-command.js +1 -1
  40. package/dist/commands/parent-segment-command.js +1 -1
  41. package/dist/commands/profile-command.js +1 -1
  42. package/dist/commands/profiles-command.js +1 -1
  43. package/dist/commands/query-command.js +1 -1
  44. package/dist/commands/schedule-command.js +1 -1
  45. package/dist/commands/segment-command.js +1 -1
  46. package/dist/commands/segment-create-command.js +1 -1
  47. package/dist/commands/segment-fields-command.js +1 -1
  48. package/dist/commands/segment-pull-command.js +1 -1
  49. package/dist/commands/segment-push-command.js +1 -1
  50. package/dist/commands/segment-update-command.js +1 -1
  51. package/dist/commands/segment-use-command.js +1 -1
  52. package/dist/commands/segment-validate-command.js +1 -1
  53. package/dist/commands/segments.js +1 -1
  54. package/dist/commands/show.js +1 -1
  55. package/dist/commands/status-command.js +1 -1
  56. package/dist/commands/tables.d.ts.map +1 -1
  57. package/dist/commands/tables.js +1 -1
  58. package/dist/commands/tables.js.map +1 -1
  59. package/dist/commands/unset-command.js +1 -1
  60. package/dist/commands/upgrade-command.js +1 -1
  61. package/dist/commands/use-command.js +1 -1
  62. package/dist/commands/user-command.js +1 -1
  63. package/dist/commands/workflow-command.js +1 -1
  64. package/dist/core/auth.d.ts +8 -5
  65. package/dist/core/auth.d.ts.map +1 -1
  66. package/dist/core/auth.js +1 -1
  67. package/dist/core/auth.js.map +1 -1
  68. package/dist/core/command-output.js +1 -1
  69. package/dist/core/config.d.ts +38 -6
  70. package/dist/core/config.d.ts.map +1 -1
  71. package/dist/core/config.js +1 -1
  72. package/dist/core/config.js.map +1 -1
  73. package/dist/core/connection-cache.js +1 -1
  74. package/dist/core/constants.js +1 -1
  75. package/dist/core/credential-cache.js +1 -1
  76. package/dist/core/global-context.d.ts +1 -0
  77. package/dist/core/global-context.d.ts.map +1 -1
  78. package/dist/core/global-context.js +1 -1
  79. package/dist/core/global-context.js.map +1 -1
  80. package/dist/core/keychain.js +1 -1
  81. package/dist/core/profile.js +1 -1
  82. package/dist/core/project-config.js +1 -1
  83. package/dist/core/session.js +1 -1
  84. package/dist/core/user-cache.js +1 -1
  85. package/dist/core/version.d.ts +3 -3
  86. package/dist/core/version.js +1 -1
  87. package/dist/index.js +1 -1
  88. package/dist/mcp/server.js +1 -1
  89. package/dist/mcp/tools/index.js +1 -1
  90. package/dist/mcp/tools/tdx-run.js +1 -1
  91. package/dist/mcp/tools/tdx-search.js +1 -1
  92. package/dist/mcp/utils.js +1 -1
  93. package/dist/proxy/claude-usage-tracker.js +1 -1
  94. package/dist/proxy/passthrough-server.js +1 -1
  95. package/dist/proxy/sse-usage-parser.js +1 -1
  96. package/dist/sdk/agent/agent-config.js +1 -1
  97. package/dist/sdk/agent/agent-ref-parser.js +1 -1
  98. package/dist/sdk/agent/agent-yaml.js +1 -1
  99. package/dist/sdk/agent/test/evaluator.js +1 -1
  100. package/dist/sdk/agent/test/executor.js +1 -1
  101. package/dist/sdk/agent/test/index.js +1 -1
  102. package/dist/sdk/agent/test/output.js +1 -1
  103. package/dist/sdk/agent/test/parser.js +1 -1
  104. package/dist/sdk/agent/tool-target-registry.js +1 -1
  105. package/dist/sdk/api.js +1 -1
  106. package/dist/sdk/api.js.map +1 -1
  107. package/dist/sdk/client/cdp-api-client.js +1 -1
  108. package/dist/sdk/client/cdp-api-client.js.map +1 -1
  109. package/dist/sdk/client/delivery-api-client.js +1 -1
  110. package/dist/sdk/client/delivery-api-client.js.map +1 -1
  111. package/dist/sdk/client/endpoints.d.ts +16 -0
  112. package/dist/sdk/client/endpoints.d.ts.map +1 -1
  113. package/dist/sdk/client/endpoints.js +1 -1
  114. package/dist/sdk/client/endpoints.js.map +1 -1
  115. package/dist/sdk/client/engage-api-client.d.ts +47 -1
  116. package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
  117. package/dist/sdk/client/engage-api-client.js +1 -1
  118. package/dist/sdk/client/engage-api-client.js.map +1 -1
  119. package/dist/sdk/client/http-client.js +1 -1
  120. package/dist/sdk/client/llm-api-client.js +1 -1
  121. package/dist/sdk/client/llm-api-client.js.map +1 -1
  122. package/dist/sdk/client/rate-limiter.js +1 -1
  123. package/dist/sdk/client/td-api-client.js +1 -1
  124. package/dist/sdk/client/td-api-client.js.map +1 -1
  125. package/dist/sdk/client/trino-api-client.js +1 -1
  126. package/dist/sdk/client/trino-api-client.js.map +1 -1
  127. package/dist/sdk/client/workflow-client.js +1 -1
  128. package/dist/sdk/client/workflow-client.js.map +1 -1
  129. package/dist/sdk/connection-validator.js +1 -1
  130. package/dist/sdk/connection.js +1 -1
  131. package/dist/sdk/delivery.js +1 -1
  132. package/dist/sdk/engage/campaign-pull.js +1 -1
  133. package/dist/sdk/engage/campaign-push.js +1 -1
  134. package/dist/sdk/engage/campaign-validator.js +1 -1
  135. package/dist/sdk/engage/campaign-yaml.js +1 -1
  136. package/dist/sdk/engage/template-pull.js +1 -1
  137. package/dist/sdk/engage/template-push.js +1 -1
  138. package/dist/sdk/engage/template-validator.js +1 -1
  139. package/dist/sdk/engage/template-yaml.js +1 -1
  140. package/dist/sdk/engage/types/campaign-def.js +1 -1
  141. package/dist/sdk/engage/types/campaign-schema.js +1 -1
  142. package/dist/sdk/engage/types/template-schema.js +1 -1
  143. package/dist/sdk/engage.d.ts +95 -4
  144. package/dist/sdk/engage.d.ts.map +1 -1
  145. package/dist/sdk/engage.js +1 -1
  146. package/dist/sdk/engage.js.map +1 -1
  147. package/dist/sdk/errors.js +1 -1
  148. package/dist/sdk/index.d.ts +10 -0
  149. package/dist/sdk/index.d.ts.map +1 -1
  150. package/dist/sdk/index.js +1 -1
  151. package/dist/sdk/index.js.map +1 -1
  152. package/dist/sdk/io/index.js +1 -1
  153. package/dist/sdk/io/node-filesystem.js +1 -1
  154. package/dist/sdk/job.js +1 -1
  155. package/dist/sdk/journey.d.ts +2 -0
  156. package/dist/sdk/journey.d.ts.map +1 -1
  157. package/dist/sdk/journey.js +1 -1
  158. package/dist/sdk/journey.js.map +1 -1
  159. package/dist/sdk/llm/chat-cache.js +1 -1
  160. package/dist/sdk/llm/index.js +1 -1
  161. package/dist/sdk/llm/llm-backup-utils.js +1 -1
  162. package/dist/sdk/llm/model-factors.js +1 -1
  163. package/dist/sdk/personalization.js +1 -1
  164. package/dist/sdk/personalization.js.map +1 -1
  165. package/dist/sdk/query/index.js +1 -1
  166. package/dist/sdk/query/sql-parser.js +1 -1
  167. package/dist/sdk/realtime.js +1 -1
  168. package/dist/sdk/realtime.js.map +1 -1
  169. package/dist/sdk/schedule.js +1 -1
  170. package/dist/sdk/segment/child-segment-yaml.js +1 -1
  171. package/dist/sdk/segment/fields-display.js +1 -1
  172. package/dist/sdk/segment/file-discovery.js +1 -1
  173. package/dist/sdk/segment/journey-utils.js +1 -1
  174. package/dist/sdk/segment/journey-validator.js +1 -1
  175. package/dist/sdk/segment/journey-yaml.js +1 -1
  176. package/dist/sdk/segment/parent-segment-preview.js +1 -1
  177. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  178. package/dist/sdk/segment/parent-segment-yaml.js.map +1 -1
  179. package/dist/sdk/segment/pull-workflow.js +1 -1
  180. package/dist/sdk/segment/push-recovery.js +1 -1
  181. package/dist/sdk/segment/push-workflow.js +1 -1
  182. package/dist/sdk/segment/resolution-context.js +1 -1
  183. package/dist/sdk/segment/segment-path-parser.js +1 -1
  184. package/dist/sdk/segment/segment-ref-parser.js +1 -1
  185. package/dist/sdk/segment/segment-validator.js +1 -1
  186. package/dist/sdk/segment/target-resolution.js +1 -1
  187. package/dist/sdk/segment/tdx-config.js +1 -1
  188. package/dist/sdk/segment/types/activation-schema.js +1 -1
  189. package/dist/sdk/segment/types/journey-def.js +1 -1
  190. package/dist/sdk/segment/types/journey-schema.js +1 -1
  191. package/dist/sdk/segment/types/segment-def.js +1 -1
  192. package/dist/sdk/segment/types/segment-schema.js +1 -1
  193. package/dist/sdk/segment/validate-files.js +1 -1
  194. package/dist/sdk/segment/yaml-validator.js +1 -1
  195. package/dist/sdk/segment.js +1 -1
  196. package/dist/sdk/types/engage.d.ts +119 -0
  197. package/dist/sdk/types/engage.d.ts.map +1 -1
  198. package/dist/sdk/types/index.d.ts +1 -1
  199. package/dist/sdk/types/index.d.ts.map +1 -1
  200. package/dist/sdk/types/index.js +1 -1
  201. package/dist/sdk/types/index.js.map +1 -1
  202. package/dist/sdk/types/progress.js +1 -1
  203. package/dist/sdk/user.js +1 -1
  204. package/dist/sdk/util/format-detector.js +1 -1
  205. package/dist/sdk/util/formatters.js +1 -1
  206. package/dist/sdk/util/index.d.ts +1 -0
  207. package/dist/sdk/util/index.d.ts.map +1 -1
  208. package/dist/sdk/util/index.js +1 -1
  209. package/dist/sdk/util/index.js.map +1 -1
  210. package/dist/sdk/util/paginate.d.ts +18 -0
  211. package/dist/sdk/util/paginate.d.ts.map +1 -0
  212. package/dist/sdk/util/paginate.js +1 -0
  213. package/dist/sdk/util/paginate.js.map +1 -0
  214. package/dist/sdk/util/tree-formatter.js +1 -1
  215. package/dist/sdk/workflow/archive-validation.js +1 -1
  216. package/dist/sdk/workflow/clone-workflow.js +1 -1
  217. package/dist/sdk/workflow/index.d.ts.map +1 -1
  218. package/dist/sdk/workflow/index.js +1 -1
  219. package/dist/sdk/workflow/index.js.map +1 -1
  220. package/dist/sdk/workflow/pull-workflow.js +1 -1
  221. package/dist/sdk/workflow/push-workflow.js +1 -1
  222. package/dist/sdk/workflow/tdx-config.js +1 -1
  223. package/dist/sdk/workflow/workflow-utils.js +1 -1
  224. package/dist/test-utils/command-runner.js +1 -1
  225. package/dist/test-utils/factories.js +1 -1
  226. package/dist/test-utils/fixtures.js +1 -1
  227. package/dist/test-utils/http-mock.js +1 -1
  228. package/dist/test-utils/index.js +1 -1
  229. package/dist/utils/async.js +1 -1
  230. package/dist/utils/colors.js +1 -1
  231. package/dist/utils/diff.js +1 -1
  232. package/dist/utils/file-permissions.js +1 -1
  233. package/dist/utils/file-reader.js +1 -1
  234. package/dist/utils/github-releases.js +1 -1
  235. package/dist/utils/global-cache.js +1 -1
  236. package/dist/utils/json-loader.js +1 -1
  237. package/dist/utils/local-cache.js +1 -1
  238. package/dist/utils/logger/formatters/default-formatter.js +1 -1
  239. package/dist/utils/logger/formatters/index.js +1 -1
  240. package/dist/utils/logger/handlers/console-handler.js +1 -1
  241. package/dist/utils/logger/handlers/file-handler.js +1 -1
  242. package/dist/utils/logger/handlers/index.js +1 -1
  243. package/dist/utils/logger/handlers/null-handler.js +1 -1
  244. package/dist/utils/logger/index.js +1 -1
  245. package/dist/utils/logger/logger.js +1 -1
  246. package/dist/utils/logger/types.js +1 -1
  247. package/dist/utils/option-validation.js +1 -1
  248. package/dist/utils/process.js +1 -1
  249. package/dist/utils/prompt.js +1 -1
  250. package/dist/utils/spinner.js +1 -1
  251. package/dist/utils/sse-parser.js +1 -1
  252. package/dist/utils/string-utils.js +1 -1
  253. package/dist/utils/table-ref-parser.js +1 -1
  254. package/dist/utils/tdx-logger.js +1 -1
  255. package/dist/utils/version-check.js +1 -1
  256. package/package.json +2 -1
@@ -1 +1 @@
1
- function a184_0x5ac2(_0x1d55ed,_0x434b44){_0x1d55ed=_0x1d55ed-0x14c;const _0x13e2e1=a184_0x13e2();let _0x5ac249=_0x13e2e1[_0x1d55ed];return _0x5ac249;}(function(_0x2fd74d,_0x52f702){const _0x588c5e=a184_0x5ac2,_0x5a157a=_0x2fd74d();while(!![]){try{const _0x390fe0=-parseInt(_0x588c5e(0x163))/0x1+parseInt(_0x588c5e(0x15a))/0x2*(parseInt(_0x588c5e(0x157))/0x3)+parseInt(_0x588c5e(0x16a))/0x4*(-parseInt(_0x588c5e(0x152))/0x5)+parseInt(_0x588c5e(0x14c))/0x6+-parseInt(_0x588c5e(0x156))/0x7*(-parseInt(_0x588c5e(0x160))/0x8)+-parseInt(_0x588c5e(0x14d))/0x9+parseInt(_0x588c5e(0x166))/0xa;if(_0x390fe0===_0x52f702)break;else _0x5a157a['push'](_0x5a157a['shift']());}catch(_0x44063d){_0x5a157a['push'](_0x5a157a['shift']());}}}(a184_0x13e2,0x72245));import a184_0x55f452 from'chalk';function a184_0x13e2(){const _0x5330a8=['3VdAETY','content','push','1392622rXQUnH','fill','size','old','min','repeat','592jojiRu','length','cyan','358866TizTYM','split','green','6697260yRJvXr','max','unchanged','some','8lyoUKL','join','removed','unshift','new','1352520EZDOLv','7793010bcxfSf','has','type','added','padStart','453160titHYT','add','red','\x20-\x20','26684oJKyan'];a184_0x13e2=function(){return _0x5330a8;};return a184_0x13e2();}export function generateDiff(_0x51d0a0,_0x3cca93){const _0x2d1c74=a184_0x5ac2,_0x1e9cf4=_0x51d0a0['split']('\x0a'),_0x3ea85e=_0x3cca93[_0x2d1c74(0x164)]('\x0a'),_0x1df189=[],_0x18a833=computeLCS(_0x1e9cf4,_0x3ea85e);let _0x478966=0x0,_0x2f0fb0=0x0,_0x2c1169=0x0;while(_0x478966<_0x1e9cf4[_0x2d1c74(0x161)]||_0x2f0fb0<_0x3ea85e[_0x2d1c74(0x161)]){if(_0x2c1169<_0x18a833[_0x2d1c74(0x161)]&&_0x478966<_0x1e9cf4[_0x2d1c74(0x161)]&&_0x1e9cf4[_0x478966]===_0x18a833[_0x2c1169])_0x2f0fb0<_0x3ea85e['length']&&_0x3ea85e[_0x2f0fb0]===_0x18a833[_0x2c1169]?(_0x1df189[_0x2d1c74(0x159)]({'type':_0x2d1c74(0x168),'content':_0x1e9cf4[_0x478966]}),_0x478966++,_0x2f0fb0++,_0x2c1169++):(_0x1df189[_0x2d1c74(0x159)]({'type':_0x2d1c74(0x150),'content':_0x3ea85e[_0x2f0fb0]}),_0x2f0fb0++);else{if(_0x2c1169<_0x18a833[_0x2d1c74(0x161)]&&_0x2f0fb0<_0x3ea85e[_0x2d1c74(0x161)]&&_0x3ea85e[_0x2f0fb0]===_0x18a833[_0x2c1169])_0x1df189[_0x2d1c74(0x159)]({'type':_0x2d1c74(0x16c),'content':_0x1e9cf4[_0x478966]}),_0x478966++;else{if(_0x478966<_0x1e9cf4[_0x2d1c74(0x161)]&&(_0x2c1169>=_0x18a833[_0x2d1c74(0x161)]||_0x1e9cf4[_0x478966]!==_0x18a833[_0x2c1169]))_0x1df189[_0x2d1c74(0x159)]({'type':_0x2d1c74(0x16c),'content':_0x1e9cf4[_0x478966]}),_0x478966++;else _0x2f0fb0<_0x3ea85e[_0x2d1c74(0x161)]&&(_0x1df189[_0x2d1c74(0x159)]({'type':_0x2d1c74(0x150),'content':_0x3ea85e[_0x2f0fb0]}),_0x2f0fb0++);}}}return _0x1df189;}function computeLCS(_0x4899b1,_0x52ecca){const _0x562f65=a184_0x5ac2,_0x1d4df6=_0x4899b1[_0x562f65(0x161)],_0x2d6a0e=_0x52ecca['length'],_0x5bf1ed=Array(_0x1d4df6+0x1)[_0x562f65(0x15b)](null)['map'](()=>Array(_0x2d6a0e+0x1)['fill'](0x0));for(let _0x37615f=0x1;_0x37615f<=_0x1d4df6;_0x37615f++){for(let _0x2e2acd=0x1;_0x2e2acd<=_0x2d6a0e;_0x2e2acd++){_0x4899b1[_0x37615f-0x1]===_0x52ecca[_0x2e2acd-0x1]?_0x5bf1ed[_0x37615f][_0x2e2acd]=_0x5bf1ed[_0x37615f-0x1][_0x2e2acd-0x1]+0x1:_0x5bf1ed[_0x37615f][_0x2e2acd]=Math[_0x562f65(0x167)](_0x5bf1ed[_0x37615f-0x1][_0x2e2acd],_0x5bf1ed[_0x37615f][_0x2e2acd-0x1]);}}const _0x2983ca=[];let _0x52dc4f=_0x1d4df6,_0x261b01=_0x2d6a0e;while(_0x52dc4f>0x0&&_0x261b01>0x0){if(_0x4899b1[_0x52dc4f-0x1]===_0x52ecca[_0x261b01-0x1])_0x2983ca[_0x562f65(0x16d)](_0x4899b1[_0x52dc4f-0x1]),_0x52dc4f--,_0x261b01--;else _0x5bf1ed[_0x52dc4f-0x1][_0x261b01]>_0x5bf1ed[_0x52dc4f][_0x261b01-0x1]?_0x52dc4f--:_0x261b01--;}return _0x2983ca;}export function formatDiffWithColors(_0x5291ae,_0x586039=0x3){const _0x5e59c7=a184_0x5ac2,_0x3c6c75=new Set();_0x5291ae['forEach']((_0x1eb33f,_0x44db9b)=>{const _0x190156=a184_0x5ac2;_0x1eb33f[_0x190156(0x14f)]!==_0x190156(0x168)&&_0x3c6c75[_0x190156(0x153)](_0x44db9b);});if(_0x3c6c75[_0x5e59c7(0x15c)]===0x0)return'';const _0x53d617=new Set();for(const _0x1e0538 of _0x3c6c75){for(let _0x51b7d1=Math[_0x5e59c7(0x167)](0x0,_0x1e0538-_0x586039);_0x51b7d1<=Math[_0x5e59c7(0x15e)](_0x5291ae[_0x5e59c7(0x161)]-0x1,_0x1e0538+_0x586039);_0x51b7d1++){_0x53d617['add'](_0x51b7d1);}}const _0x45ca16=[];let _0x5de49e=-0x1;const _0xeb4e68=_0x5291ae[_0x5e59c7(0x161)],_0x3e205f=Math['max'](0x3,String(_0xeb4e68)[_0x5e59c7(0x161)]),_0x208468=[];let _0x5b60e6=0x0,_0x3a460b=0x0;for(const _0x273657 of _0x5291ae){if(_0x273657[_0x5e59c7(0x14f)]===_0x5e59c7(0x16c))_0x5b60e6++,_0x208468['push']({'old':_0x5b60e6,'new':0x0});else _0x273657[_0x5e59c7(0x14f)]===_0x5e59c7(0x150)?(_0x3a460b++,_0x208468[_0x5e59c7(0x159)]({'old':0x0,'new':_0x3a460b})):(_0x5b60e6++,_0x3a460b++,_0x208468['push']({'old':_0x5b60e6,'new':_0x3a460b}));}for(let _0x7bdf6b=0x0;_0x7bdf6b<_0x5291ae[_0x5e59c7(0x161)];_0x7bdf6b++){if(!_0x53d617[_0x5e59c7(0x14e)](_0x7bdf6b))continue;_0x5de49e!==-0x1&&_0x7bdf6b>_0x5de49e+0x1&&_0x45ca16[_0x5e59c7(0x159)](a184_0x55f452[_0x5e59c7(0x162)]('\x20\x20...'));_0x5de49e=_0x7bdf6b;const _0xbfd498=_0x5291ae[_0x7bdf6b],_0x4ac897=_0x208468[_0x7bdf6b],_0x1c19da=_0x4ac897[_0x5e59c7(0x15d)]>0x0?String(_0x4ac897['old'])['padStart'](_0x3e205f):'\x20'[_0x5e59c7(0x15f)](_0x3e205f),_0x187592=_0x4ac897[_0x5e59c7(0x16e)]>0x0?String(_0x4ac897[_0x5e59c7(0x16e)])[_0x5e59c7(0x151)](_0x3e205f):'\x20'[_0x5e59c7(0x15f)](_0x3e205f);switch(_0xbfd498[_0x5e59c7(0x14f)]){case'removed':_0x45ca16[_0x5e59c7(0x159)](a184_0x55f452[_0x5e59c7(0x154)](_0x1c19da+'\x20'+_0x187592+_0x5e59c7(0x155)+_0xbfd498[_0x5e59c7(0x158)]));break;case _0x5e59c7(0x150):_0x45ca16['push'](a184_0x55f452[_0x5e59c7(0x165)](_0x1c19da+'\x20'+_0x187592+'\x20+\x20'+_0xbfd498[_0x5e59c7(0x158)]));break;default:_0x45ca16[_0x5e59c7(0x159)](a184_0x55f452['dim'](_0x1c19da+'\x20'+_0x187592+'\x20\x20\x20'+_0xbfd498['content']));break;}}return _0x45ca16[_0x5e59c7(0x16b)]('\x0a');}export function hasChanges(_0x381e91){const _0x1f49b9=a184_0x5ac2;return _0x381e91[_0x1f49b9(0x169)](_0x1fd2f0=>_0x1fd2f0[_0x1f49b9(0x14f)]!==_0x1f49b9(0x168));}
1
+ (function(_0x1fa527,_0x3c8097){const _0x535c0c=a185_0x5a60,_0x3cdf5a=_0x1fa527();while(!![]){try{const _0x4de82c=parseInt(_0x535c0c(0x14c))/0x1+parseInt(_0x535c0c(0x148))/0x2*(parseInt(_0x535c0c(0x15f))/0x3)+-parseInt(_0x535c0c(0x160))/0x4+parseInt(_0x535c0c(0x158))/0x5+-parseInt(_0x535c0c(0x153))/0x6*(-parseInt(_0x535c0c(0x155))/0x7)+-parseInt(_0x535c0c(0x15a))/0x8+-parseInt(_0x535c0c(0x163))/0x9*(parseInt(_0x535c0c(0x15d))/0xa);if(_0x4de82c===_0x3c8097)break;else _0x3cdf5a['push'](_0x3cdf5a['shift']());}catch(_0x1eeb72){_0x3cdf5a['push'](_0x3cdf5a['shift']());}}}(a185_0x5346,0x55c2a));import a185_0x5016e2 from'chalk';function a185_0x5a60(_0x5650f7,_0x3cf978){_0x5650f7=_0x5650f7-0x147;const _0x53468f=a185_0x5346();let _0x5a609e=_0x53468f[_0x5650f7];return _0x5a609e;}export function generateDiff(_0x3a42c7,_0xd3ee50){const _0x40b732=a185_0x5a60,_0x380db9=_0x3a42c7[_0x40b732(0x147)]('\x0a'),_0x185958=_0xd3ee50[_0x40b732(0x147)]('\x0a'),_0x247d82=[],_0x2befee=computeLCS(_0x380db9,_0x185958);let _0xd92c5a=0x0,_0x260bfb=0x0,_0x342097=0x0;while(_0xd92c5a<_0x380db9[_0x40b732(0x14d)]||_0x260bfb<_0x185958[_0x40b732(0x14d)]){if(_0x342097<_0x2befee[_0x40b732(0x14d)]&&_0xd92c5a<_0x380db9[_0x40b732(0x14d)]&&_0x380db9[_0xd92c5a]===_0x2befee[_0x342097])_0x260bfb<_0x185958['length']&&_0x185958[_0x260bfb]===_0x2befee[_0x342097]?(_0x247d82[_0x40b732(0x156)]({'type':_0x40b732(0x14f),'content':_0x380db9[_0xd92c5a]}),_0xd92c5a++,_0x260bfb++,_0x342097++):(_0x247d82['push']({'type':_0x40b732(0x159),'content':_0x185958[_0x260bfb]}),_0x260bfb++);else{if(_0x342097<_0x2befee[_0x40b732(0x14d)]&&_0x260bfb<_0x185958[_0x40b732(0x14d)]&&_0x185958[_0x260bfb]===_0x2befee[_0x342097])_0x247d82[_0x40b732(0x156)]({'type':_0x40b732(0x154),'content':_0x380db9[_0xd92c5a]}),_0xd92c5a++;else{if(_0xd92c5a<_0x380db9['length']&&(_0x342097>=_0x2befee[_0x40b732(0x14d)]||_0x380db9[_0xd92c5a]!==_0x2befee[_0x342097]))_0x247d82[_0x40b732(0x156)]({'type':_0x40b732(0x154),'content':_0x380db9[_0xd92c5a]}),_0xd92c5a++;else _0x260bfb<_0x185958[_0x40b732(0x14d)]&&(_0x247d82['push']({'type':_0x40b732(0x159),'content':_0x185958[_0x260bfb]}),_0x260bfb++);}}}return _0x247d82;}function computeLCS(_0x79fb58,_0x509789){const _0x28e5d5=a185_0x5a60,_0x557f20=_0x79fb58[_0x28e5d5(0x14d)],_0x109e13=_0x509789[_0x28e5d5(0x14d)],_0x3fe4ba=Array(_0x557f20+0x1)['fill'](null)[_0x28e5d5(0x15b)](()=>Array(_0x109e13+0x1)['fill'](0x0));for(let _0x3c284f=0x1;_0x3c284f<=_0x557f20;_0x3c284f++){for(let _0x42d3f4=0x1;_0x42d3f4<=_0x109e13;_0x42d3f4++){_0x79fb58[_0x3c284f-0x1]===_0x509789[_0x42d3f4-0x1]?_0x3fe4ba[_0x3c284f][_0x42d3f4]=_0x3fe4ba[_0x3c284f-0x1][_0x42d3f4-0x1]+0x1:_0x3fe4ba[_0x3c284f][_0x42d3f4]=Math['max'](_0x3fe4ba[_0x3c284f-0x1][_0x42d3f4],_0x3fe4ba[_0x3c284f][_0x42d3f4-0x1]);}}const _0xd58fe8=[];let _0x1408df=_0x557f20,_0x4c0878=_0x109e13;while(_0x1408df>0x0&&_0x4c0878>0x0){if(_0x79fb58[_0x1408df-0x1]===_0x509789[_0x4c0878-0x1])_0xd58fe8[_0x28e5d5(0x157)](_0x79fb58[_0x1408df-0x1]),_0x1408df--,_0x4c0878--;else _0x3fe4ba[_0x1408df-0x1][_0x4c0878]>_0x3fe4ba[_0x1408df][_0x4c0878-0x1]?_0x1408df--:_0x4c0878--;}return _0xd58fe8;}export function formatDiffWithColors(_0x1a9b5c,_0x390fde=0x3){const _0x8b4d24=a185_0x5a60,_0x3cf646=new Set();_0x1a9b5c['forEach']((_0x2e63bd,_0x48aa84)=>{const _0x11ef70=a185_0x5a60;_0x2e63bd[_0x11ef70(0x14e)]!==_0x11ef70(0x14f)&&_0x3cf646['add'](_0x48aa84);});if(_0x3cf646[_0x8b4d24(0x14b)]===0x0)return'';const _0xdf66d8=new Set();for(const _0xe842f6 of _0x3cf646){for(let _0x424b6f=Math['max'](0x0,_0xe842f6-_0x390fde);_0x424b6f<=Math['min'](_0x1a9b5c[_0x8b4d24(0x14d)]-0x1,_0xe842f6+_0x390fde);_0x424b6f++){_0xdf66d8[_0x8b4d24(0x150)](_0x424b6f);}}const _0x47fad4=[];let _0x39eae7=-0x1;const _0x798d31=_0x1a9b5c['length'],_0x5355f4=Math[_0x8b4d24(0x15c)](0x3,String(_0x798d31)[_0x8b4d24(0x14d)]),_0x18ded8=[];let _0x3f2c25=0x0,_0x3d9a6e=0x0;for(const _0x2cd5cc of _0x1a9b5c){if(_0x2cd5cc['type']===_0x8b4d24(0x154))_0x3f2c25++,_0x18ded8[_0x8b4d24(0x156)]({'old':_0x3f2c25,'new':0x0});else _0x2cd5cc[_0x8b4d24(0x14e)]===_0x8b4d24(0x159)?(_0x3d9a6e++,_0x18ded8[_0x8b4d24(0x156)]({'old':0x0,'new':_0x3d9a6e})):(_0x3f2c25++,_0x3d9a6e++,_0x18ded8[_0x8b4d24(0x156)]({'old':_0x3f2c25,'new':_0x3d9a6e}));}for(let _0x4d5e9f=0x0;_0x4d5e9f<_0x1a9b5c['length'];_0x4d5e9f++){if(!_0xdf66d8[_0x8b4d24(0x162)](_0x4d5e9f))continue;_0x39eae7!==-0x1&&_0x4d5e9f>_0x39eae7+0x1&&_0x47fad4[_0x8b4d24(0x156)](a185_0x5016e2[_0x8b4d24(0x161)](_0x8b4d24(0x15e)));_0x39eae7=_0x4d5e9f;const _0x216d40=_0x1a9b5c[_0x4d5e9f],_0x2861db=_0x18ded8[_0x4d5e9f],_0x22ccff=_0x2861db[_0x8b4d24(0x149)]>0x0?String(_0x2861db[_0x8b4d24(0x149)])[_0x8b4d24(0x164)](_0x5355f4):'\x20'[_0x8b4d24(0x151)](_0x5355f4),_0x56725f=_0x2861db['new']>0x0?String(_0x2861db['new'])[_0x8b4d24(0x164)](_0x5355f4):'\x20'['repeat'](_0x5355f4);switch(_0x216d40[_0x8b4d24(0x14e)]){case _0x8b4d24(0x154):_0x47fad4[_0x8b4d24(0x156)](a185_0x5016e2['red'](_0x22ccff+'\x20'+_0x56725f+'\x20-\x20'+_0x216d40[_0x8b4d24(0x14a)]));break;case'added':_0x47fad4['push'](a185_0x5016e2[_0x8b4d24(0x152)](_0x22ccff+'\x20'+_0x56725f+'\x20+\x20'+_0x216d40[_0x8b4d24(0x14a)]));break;default:_0x47fad4[_0x8b4d24(0x156)](a185_0x5016e2['dim'](_0x22ccff+'\x20'+_0x56725f+'\x20\x20\x20'+_0x216d40['content']));break;}}return _0x47fad4['join']('\x0a');}export function hasChanges(_0xf69881){const _0x4566c6=a185_0x5a60;return _0xf69881['some'](_0x48ee5e=>_0x48ee5e[_0x4566c6(0x14e)]!==_0x4566c6(0x14f));}function a185_0x5346(){const _0x9f3f87=['max','190Rrpwsn','\x20\x20...','916881ASzOeD','1409956UxznpG','cyan','has','58104BcRWJB','padStart','split','2xZAHDK','old','content','size','600099AKlbUe','length','type','unchanged','add','repeat','green','612888eVwxJQ','removed','7TZBWUv','push','unshift','1228300RwomXO','added','3416856ObbxMG','map'];a185_0x5346=function(){return _0x9f3f87;};return a185_0x5346();}
@@ -1 +1 @@
1
- function a185_0x58ae(){const _0xcdb1bd=['chmodSync','mkdirSync','dirname','27LYZuDU','3368992qOwqPV','Warning:\x20','6472536OnOXNA','existsSync','513032GuARXl','987285FRKaWF','5PTfPJi','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20','warn',').\x20','6077232GaslkJ','statSync','5884304oLyHBY','796911fUCvoh','Should\x20be\x200600\x20or\x20more\x20restrictive.'];a185_0x58ae=function(){return _0xcdb1bd;};return a185_0x58ae();}(function(_0x15ca1c,_0x5033a0){const _0x5be627=a185_0x4e5a,_0x48382d=_0x15ca1c();while(!![]){try{const _0x2a663b=-parseInt(_0x5be627(0x161))/0x1+-parseInt(_0x5be627(0x158))/0x2+parseInt(_0x5be627(0x159))/0x3+-parseInt(_0x5be627(0x154))/0x4*(parseInt(_0x5be627(0x15a))/0x5)+-parseInt(_0x5be627(0x15e))/0x6+parseInt(_0x5be627(0x156))/0x7+-parseInt(_0x5be627(0x160))/0x8*(-parseInt(_0x5be627(0x153))/0x9);if(_0x2a663b===_0x5033a0)break;else _0x48382d['push'](_0x48382d['shift']());}catch(_0x91d3c4){_0x48382d['push'](_0x48382d['shift']());}}}(a185_0x58ae,0x86b82));import*as a185_0x592d8a from'node:fs';import*as a185_0x102c49 from'node:path';function a185_0x4e5a(_0xe60f7a,_0x4d4633){_0xe60f7a=_0xe60f7a-0x152;const _0x58aefb=a185_0x58ae();let _0x4e5a8a=_0x58aefb[_0xe60f7a];return _0x4e5a8a;}export function setSecureFilePermissions(_0x50865b){const _0x14d265=a185_0x4e5a;try{a185_0x592d8a[_0x14d265(0x163)](_0x50865b,0x180);}catch{console['warn'](_0x14d265(0x15b)+_0x50865b);}}export function setSecureDirectoryPermissions(_0x6e8908){const _0x2ca1a9=a185_0x4e5a;try{a185_0x592d8a[_0x2ca1a9(0x163)](_0x6e8908,0x1c0);}catch{console[_0x2ca1a9(0x15c)]('Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20'+_0x6e8908);}}export function createSecureDirectory(_0x22a72b){const _0xdbf228=a185_0x4e5a;!a185_0x592d8a[_0xdbf228(0x157)](_0x22a72b)&&(a185_0x592d8a[_0xdbf228(0x164)](_0x22a72b,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x22a72b));}export function validateSecureFilePermissions(_0x38237e){const _0x8fdc0f=a185_0x4e5a;try{const _0x2f114b=a185_0x592d8a[_0x8fdc0f(0x15f)](_0x38237e),_0x4d0ed4=_0x2f114b['mode']&0x1ff,_0x3c135c=(_0x4d0ed4&0x3f)!==0x0;if(_0x3c135c)return console[_0x8fdc0f(0x15c)](_0x8fdc0f(0x155)+_0x38237e+'\x20has\x20insecure\x20permissions\x20('+_0x4d0ed4['toString'](0x8)+_0x8fdc0f(0x15d)+_0x8fdc0f(0x162)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0x209aa6,_0x5e5457){const _0x40ae93=a185_0x4e5a,_0x55d63e=a185_0x102c49[_0x40ae93(0x152)](_0x209aa6);createSecureDirectory(_0x55d63e),a185_0x592d8a['writeFileSync'](_0x209aa6,_0x5e5457,{'mode':0x180}),setSecureFilePermissions(_0x209aa6);}
1
+ (function(_0x5c98d6,_0x30bce2){const _0x5b1f83=a186_0x49fb,_0xed5080=_0x5c98d6();while(!![]){try{const _0x564188=parseInt(_0x5b1f83(0x83))/0x1*(-parseInt(_0x5b1f83(0x86))/0x2)+-parseInt(_0x5b1f83(0x82))/0x3+-parseInt(_0x5b1f83(0x7a))/0x4*(parseInt(_0x5b1f83(0x7f))/0x5)+parseInt(_0x5b1f83(0x89))/0x6*(parseInt(_0x5b1f83(0x87))/0x7)+-parseInt(_0x5b1f83(0x79))/0x8*(parseInt(_0x5b1f83(0x77))/0x9)+parseInt(_0x5b1f83(0x80))/0xa+parseInt(_0x5b1f83(0x75))/0xb;if(_0x564188===_0x30bce2)break;else _0xed5080['push'](_0xed5080['shift']());}catch(_0x37c4c0){_0xed5080['push'](_0xed5080['shift']());}}}(a186_0x1341,0xd76f1));import*as a186_0x41a26d from'node:fs';import*as a186_0x11bf06 from'node:path';export function setSecureFilePermissions(_0x337b82){const _0x159c62=a186_0x49fb;try{a186_0x41a26d['chmodSync'](_0x337b82,0x180);}catch{console[_0x159c62(0x74)](_0x159c62(0x7b)+_0x337b82);}}function a186_0x49fb(_0x1f8e40,_0x246ca4){_0x1f8e40=_0x1f8e40-0x73;const _0x1341bf=a186_0x1341();let _0x49fb97=_0x1341bf[_0x1f8e40];return _0x49fb97;}export function setSecureDirectoryPermissions(_0x27865d){const _0x32f01d=a186_0x49fb;try{a186_0x41a26d[_0x32f01d(0x84)](_0x27865d,0x1c0);}catch{console[_0x32f01d(0x74)](_0x32f01d(0x7b)+_0x27865d);}}function a186_0x1341(){const _0x4375ee=['3399918NZXSsk','1mkGbnM','chmodSync','Should\x20be\x200600\x20or\x20more\x20restrictive.','3350494fkbkyY','1958600LjCYWB','existsSync','24EMnlUX','mkdirSync','writeFileSync','warn','22324115NNukBn','dirname','45PUUqiZ','toString','1178344usmeNC','2332omGBxJ','Warning:\x20Could\x20not\x20set\x20secure\x20permissions\x20on\x20',').\x20','\x20has\x20insecure\x20permissions\x20(','Warning:\x20','3545dVIhWw','16921170Kizncj','mode'];a186_0x1341=function(){return _0x4375ee;};return a186_0x1341();}export function createSecureDirectory(_0x6fc003){const _0x56c355=a186_0x49fb;!a186_0x41a26d[_0x56c355(0x88)](_0x6fc003)&&(a186_0x41a26d[_0x56c355(0x8a)](_0x6fc003,{'recursive':!![],'mode':0x1c0}),setSecureDirectoryPermissions(_0x6fc003));}export function validateSecureFilePermissions(_0x3f85be){const _0x2db4a9=a186_0x49fb;try{const _0x11e989=a186_0x41a26d['statSync'](_0x3f85be),_0x50083b=_0x11e989[_0x2db4a9(0x81)]&0x1ff,_0x58943c=(_0x50083b&0x3f)!==0x0;if(_0x58943c)return console[_0x2db4a9(0x74)](_0x2db4a9(0x7e)+_0x3f85be+_0x2db4a9(0x7d)+_0x50083b[_0x2db4a9(0x78)](0x8)+_0x2db4a9(0x7c)+_0x2db4a9(0x85)),![];return!![];}catch{return!![];}}export function writeSecureFile(_0xebeae9,_0x288a78){const _0x5b2b45=a186_0x49fb,_0x1ee8c9=a186_0x11bf06[_0x5b2b45(0x76)](_0xebeae9);createSecureDirectory(_0x1ee8c9),a186_0x41a26d[_0x5b2b45(0x73)](_0xebeae9,_0x288a78,{'mode':0x180}),setSecureFilePermissions(_0xebeae9);}
@@ -1 +1 @@
1
- (function(_0x250d17,_0x6a42ab){const _0x163c85=a186_0x492d,_0x46f207=_0x250d17();while(!![]){try{const _0x5ddde5=parseInt(_0x163c85(0x9e))/0x1+-parseInt(_0x163c85(0xab))/0x2+parseInt(_0x163c85(0xa2))/0x3+-parseInt(_0x163c85(0x99))/0x4*(-parseInt(_0x163c85(0x9f))/0x5)+-parseInt(_0x163c85(0xa8))/0x6*(parseInt(_0x163c85(0x9c))/0x7)+-parseInt(_0x163c85(0xa5))/0x8+-parseInt(_0x163c85(0xa6))/0x9;if(_0x5ddde5===_0x6a42ab)break;else _0x46f207['push'](_0x46f207['shift']());}catch(_0x5249c7){_0x46f207['push'](_0x46f207['shift']());}}}(a186_0x5e02,0x80c16));function a186_0x5e02(){const _0x2bd53c=['message','1414016KmRuWh','5220810lxyfqy','utf-8','330294NykHaj','\x27:\x20','EACCES','810884vsnIJR','Error\x20reading\x20file\x20\x27','356308yNVlja','PERMISSION_DENIED','NOT_FOUND','49OWWqZy','ENOENT','1046557OELJDx','25ZtStkV','\x27\x20not\x20found','File\x20\x27','1749201HAslbs','Permission\x20denied\x20reading\x20file\x20\x27'];a186_0x5e02=function(){return _0x2bd53c;};return a186_0x5e02();}import{readFileSync}from'fs';function a186_0x492d(_0x3dcf78,_0x35bf20){_0x3dcf78=_0x3dcf78-0x99;const _0x5e0200=a186_0x5e02();let _0x492dfd=_0x5e0200[_0x3dcf78];return _0x492dfd;}import{SDKError,ErrorCode}from'../sdk/errors.js';export function readFileContent(_0x3487c3){const _0x4c26d7=a186_0x492d;try{return readFileSync(_0x3487c3,_0x4c26d7(0xa7));}catch(_0x184480){const _0xfa259b=_0x184480['code'];if(_0xfa259b===_0x4c26d7(0x9d))throw new SDKError(ErrorCode[_0x4c26d7(0x9b)],_0x4c26d7(0xa1)+_0x3487c3+_0x4c26d7(0xa0),_0x184480);else{if(_0xfa259b===_0x4c26d7(0xaa))throw new SDKError(ErrorCode[_0x4c26d7(0x9a)],_0x4c26d7(0xa3)+_0x3487c3+'\x27',_0x184480);else throw new SDKError(ErrorCode['INTERNAL'],_0x4c26d7(0xac)+_0x3487c3+_0x4c26d7(0xa9)+_0x184480[_0x4c26d7(0xa4)],_0x184480);}}}
1
+ (function(_0x5d358e,_0x920eae){const _0x3fc7d1=a187_0x2b1b,_0x46a40e=_0x5d358e();while(!![]){try{const _0x144baa=-parseInt(_0x3fc7d1(0x18c))/0x1*(-parseInt(_0x3fc7d1(0x18d))/0x2)+-parseInt(_0x3fc7d1(0x192))/0x3+parseInt(_0x3fc7d1(0x191))/0x4+parseInt(_0x3fc7d1(0x18f))/0x5*(parseInt(_0x3fc7d1(0x18e))/0x6)+-parseInt(_0x3fc7d1(0x18b))/0x7*(-parseInt(_0x3fc7d1(0x190))/0x8)+-parseInt(_0x3fc7d1(0x198))/0x9+-parseInt(_0x3fc7d1(0x195))/0xa;if(_0x144baa===_0x920eae)break;else _0x46a40e['push'](_0x46a40e['shift']());}catch(_0x29ac57){_0x46a40e['push'](_0x46a40e['shift']());}}}(a187_0x4ff5,0xecd24));import{readFileSync}from'fs';function a187_0x4ff5(){const _0x2478a4=['287635cvMQMg','8ZGlqUZ','1408968AlnLUJ','2142888KLkOCv','\x27:\x20','Error\x20reading\x20file\x20\x27','16362610UTyKpA','utf-8','EACCES','11903868zAktiX','PERMISSION_DENIED','INTERNAL','\x27\x20not\x20found','Permission\x20denied\x20reading\x20file\x20\x27','8630867indJRl','1274669AWXLlb','2qplVZx','186yborde'];a187_0x4ff5=function(){return _0x2478a4;};return a187_0x4ff5();}function a187_0x2b1b(_0x5d299f,_0xa8f4cd){_0x5d299f=_0x5d299f-0x187;const _0x4ff527=a187_0x4ff5();let _0x2b1bbf=_0x4ff527[_0x5d299f];return _0x2b1bbf;}import{SDKError,ErrorCode}from'../sdk/errors.js';export function readFileContent(_0x1bd124){const _0x448ae8=a187_0x2b1b;try{return readFileSync(_0x1bd124,_0x448ae8(0x196));}catch(_0x3d9f80){const _0x1ea23b=_0x3d9f80['code'];if(_0x1ea23b==='ENOENT')throw new SDKError(ErrorCode['NOT_FOUND'],'File\x20\x27'+_0x1bd124+_0x448ae8(0x189),_0x3d9f80);else{if(_0x1ea23b===_0x448ae8(0x197))throw new SDKError(ErrorCode[_0x448ae8(0x187)],_0x448ae8(0x18a)+_0x1bd124+'\x27',_0x3d9f80);else throw new SDKError(ErrorCode[_0x448ae8(0x188)],_0x448ae8(0x194)+_0x1bd124+_0x448ae8(0x193)+_0x3d9f80['message'],_0x3d9f80);}}}
@@ -1 +1 @@
1
- function a187_0x4ef0(_0x27eb6b,_0x564df1){_0x27eb6b=_0x27eb6b-0x1a6;const _0x5dc312=a187_0x5dc3();let _0x4ef01b=_0x5dc312[_0x27eb6b];return _0x4ef01b;}(function(_0x1f73a6,_0xbbb3ae){const _0x13263a=a187_0x4ef0,_0x37a84b=_0x1f73a6();while(!![]){try{const _0x32cb2c=-parseInt(_0x13263a(0x1b9))/0x1+-parseInt(_0x13263a(0x1bd))/0x2+parseInt(_0x13263a(0x1b1))/0x3+parseInt(_0x13263a(0x1b5))/0x4+-parseInt(_0x13263a(0x1a7))/0x5*(-parseInt(_0x13263a(0x1b0))/0x6)+parseInt(_0x13263a(0x1a8))/0x7+-parseInt(_0x13263a(0x1a9))/0x8;if(_0x32cb2c===_0xbbb3ae)break;else _0x37a84b['push'](_0x37a84b['shift']());}catch(_0x4fe7ad){_0x37a84b['push'](_0x37a84b['shift']());}}}(a187_0x5dc3,0x80e0d));import*as a187_0xb92266 from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x3ceb80,_0x4c08b2,_0xecf532){const _0x2b47ef=a187_0x4ef0,_0x1b419a=_0x3ceb80+'/'+_0x4c08b2,_0x5527b2=cache['get'](_0x1b419a);if(_0x5527b2&&Date[_0x2b47ef(0x1b3)]()-_0x5527b2[_0x2b47ef(0x1ba)]<CACHE_TTL_MS)return Promise['resolve'](_0x5527b2[_0x2b47ef(0x1b6)]);return new Promise((_0x365c5d,_0x4cd35e)=>{const _0x1f0f08=_0x2b47ef,_0x4f2435={'hostname':_0x1f0f08(0x1ad),'path':_0x1f0f08(0x1ae)+_0x3ceb80+'/'+_0x4c08b2+'/releases?per_page=20','headers':{'User-Agent':_0xecf532,'Accept':'application/vnd.github+json'},'timeout':REQUEST_TIMEOUT_MS},_0x30c172=a187_0xb92266['get'](_0x4f2435,_0x47fdbf=>{let _0x413904='';_0x47fdbf['on']('data',_0x2e9138=>{_0x413904+=_0x2e9138['toString']();}),_0x47fdbf['on']('end',()=>{const _0x46dfe0=a187_0x4ef0;if(_0x47fdbf['statusCode']!==0xc8){_0x4cd35e(new Error(_0x46dfe0(0x1b8)+_0x47fdbf['statusCode']+':\x20'+_0x413904[_0x46dfe0(0x1bc)](0x0,0xc8)));return;}try{const _0x563807=JSON[_0x46dfe0(0x1aa)](_0x413904);cache[_0x46dfe0(0x1a6)](_0x1b419a,{'releases':_0x563807,'fetchedAt':Date[_0x46dfe0(0x1b3)]()}),_0x365c5d(_0x563807);}catch(_0x10eb6b){_0x4cd35e(_0x10eb6b);}});});_0x30c172['on'](_0x1f0f08(0x1b4),()=>{const _0x439d72=_0x1f0f08;_0x30c172['destroy'](),_0x4cd35e(new Error(_0x439d72(0x1ab)+REQUEST_TIMEOUT_MS+'ms'));}),_0x30c172['on'](_0x1f0f08(0x1ac),_0x4cd35e);});}function a187_0x5dc3(){const _0x4ff880=['3128100kxYJyk','releases','length','GitHub\x20API\x20returned\x20','651807dnbRWU','fetchedAt','tag_name','slice','493928nVljRl','set','50WUbiDF','2394280PtgxYP','9867640ZAEngx','parse','GitHub\x20API\x20request\x20timed\x20out\x20after\x20','error','api.github.com','/repos/','find','617622VehdAz','1520028NBigNw','next','now','timeout'];a187_0x5dc3=function(){return _0x4ff880;};return a187_0x5dc3();}export async function resolveReleaseTag(_0x3e69a3,_0x26ece2,_0x530faa,_0x5e14d5){const _0x447349=a187_0x4ef0,_0x5b27d9=await fetchGitHubReleases(_0x26ece2,_0x530faa,_0x5e14d5);if(_0x5b27d9[_0x447349(0x1b7)]===0x0)return null;if(_0x3e69a3===_0x447349(0x1b2))return _0x5b27d9[0x0][_0x447349(0x1bb)];const _0x51c187=_0x5b27d9[_0x447349(0x1af)](_0x305333=>!_0x305333['prerelease']);return _0x51c187?_0x51c187[_0x447349(0x1bb)]:null;}
1
+ (function(_0x3145bd,_0x459446){const _0x101fb8=a188_0x86e5,_0x1568ac=_0x3145bd();while(!![]){try{const _0x2dbe05=parseInt(_0x101fb8(0x9c))/0x1+-parseInt(_0x101fb8(0x91))/0x2+parseInt(_0x101fb8(0x90))/0x3+-parseInt(_0x101fb8(0x96))/0x4*(-parseInt(_0x101fb8(0xad))/0x5)+-parseInt(_0x101fb8(0xa7))/0x6+-parseInt(_0x101fb8(0xaa))/0x7*(parseInt(_0x101fb8(0x9a))/0x8)+parseInt(_0x101fb8(0x92))/0x9*(parseInt(_0x101fb8(0xa1))/0xa);if(_0x2dbe05===_0x459446)break;else _0x1568ac['push'](_0x1568ac['shift']());}catch(_0xf8c840){_0x1568ac['push'](_0x1568ac['shift']());}}}(a188_0x10ec,0x84efc));import*as a188_0x28d623 from'node:https';const REQUEST_TIMEOUT_MS=0x2710,CACHE_TTL_MS=0x5*0x3c*0x3e8,cache=new Map();export function fetchGitHubReleases(_0x1645c4,_0x5b4575,_0x111b3d){const _0x111cc0=a188_0x86e5,_0x5a077b=_0x1645c4+'/'+_0x5b4575,_0x107618=cache['get'](_0x5a077b);if(_0x107618&&Date[_0x111cc0(0xa4)]()-_0x107618['fetchedAt']<CACHE_TTL_MS)return Promise[_0x111cc0(0xa3)](_0x107618[_0x111cc0(0xa2)]);return new Promise((_0x14c3c0,_0x34be05)=>{const _0x1c726f=_0x111cc0,_0x4cb0c6={'hostname':_0x1c726f(0xa0),'path':_0x1c726f(0xa9)+_0x1645c4+'/'+_0x5b4575+_0x1c726f(0x93),'headers':{'User-Agent':_0x111b3d,'Accept':_0x1c726f(0x97)},'timeout':REQUEST_TIMEOUT_MS},_0x161fe5=a188_0x28d623[_0x1c726f(0x9b)](_0x4cb0c6,_0x155857=>{const _0x1d73dc=_0x1c726f;let _0x1784b8='';_0x155857['on']('data',_0x2500bb=>{_0x1784b8+=_0x2500bb['toString']();}),_0x155857['on'](_0x1d73dc(0xa6),()=>{const _0x37e611=_0x1d73dc;if(_0x155857[_0x37e611(0xae)]!==0xc8){_0x34be05(new Error(_0x37e611(0x9f)+_0x155857[_0x37e611(0xae)]+':\x20'+_0x1784b8[_0x37e611(0xa5)](0x0,0xc8)));return;}try{const _0x535df6=JSON[_0x37e611(0x9e)](_0x1784b8);cache[_0x37e611(0x9d)](_0x5a077b,{'releases':_0x535df6,'fetchedAt':Date[_0x37e611(0xa4)]()}),_0x14c3c0(_0x535df6);}catch(_0x2804ef){_0x34be05(_0x2804ef);}});});_0x161fe5['on'](_0x1c726f(0x95),()=>{const _0x1e26e5=_0x1c726f;_0x161fe5[_0x1e26e5(0xab)](),_0x34be05(new Error('GitHub\x20API\x20request\x20timed\x20out\x20after\x20'+REQUEST_TIMEOUT_MS+'ms'));}),_0x161fe5['on'](_0x1c726f(0x99),_0x34be05);});}export async function resolveReleaseTag(_0x4c457b,_0x3c924c,_0x784cc8,_0x10dafc){const _0x361158=a188_0x86e5,_0xbf8901=await fetchGitHubReleases(_0x3c924c,_0x784cc8,_0x10dafc);if(_0xbf8901[_0x361158(0xac)]===0x0)return null;if(_0x4c457b===_0x361158(0x94))return _0xbf8901[0x0][_0x361158(0xaf)];const _0x137d87=_0xbf8901[_0x361158(0x98)](_0x5f205b=>!_0x5f205b[_0x361158(0xa8)]);return _0x137d87?_0x137d87['tag_name']:null;}function a188_0x86e5(_0x2ecc66,_0x3fb5bf){_0x2ecc66=_0x2ecc66-0x90;const _0x10ec7e=a188_0x10ec();let _0x86e5e9=_0x10ec7e[_0x2ecc66];return _0x86e5e9;}function a188_0x10ec(){const _0x487a9f=['1670578rxOXRp','destroy','length','1259535WdLBwE','statusCode','tag_name','2572131fKoDqv','1894944hDBKoZ','5607522pMOXXf','/releases?per_page=20','next','timeout','4pKJPUh','application/vnd.github+json','find','error','8iWPVZD','get','7642etLeQG','set','parse','GitHub\x20API\x20returned\x20','api.github.com','20lJnfXY','releases','resolve','now','slice','end','3794448MJCzjY','prerelease','/repos/'];a188_0x10ec=function(){return _0x487a9f;};return a188_0x10ec();}
@@ -1 +1 @@
1
- (function(_0x3d827b,_0x19e931){const _0x4cb127=a188_0x416c,_0x2b0cf4=_0x3d827b();while(!![]){try{const _0x526d33=parseInt(_0x4cb127(0xc2))/0x1+-parseInt(_0x4cb127(0xb4))/0x2+parseInt(_0x4cb127(0xc0))/0x3+-parseInt(_0x4cb127(0xbb))/0x4+parseInt(_0x4cb127(0xbf))/0x5+parseInt(_0x4cb127(0xb8))/0x6+-parseInt(_0x4cb127(0xc1))/0x7;if(_0x526d33===_0x19e931)break;else _0x2b0cf4['push'](_0x2b0cf4['shift']());}catch(_0x37783c){_0x2b0cf4['push'](_0x2b0cf4['shift']());}}}(a188_0x30e9,0xbb5a5));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x568bb6=a188_0x416c;return process.env.TDX_CACHE_DIR||join(homedir(),_0x568bb6(0xbc),'tdx');}const registry=new Map();export function registerGlobalCacheKey(_0x16fe46,_0x5ba0f6){const _0x5201df=a188_0x416c,_0x4d1a0a=registry[_0x5201df(0xba)](_0x16fe46);if(_0x4d1a0a&&_0x4d1a0a!==_0x5ba0f6)throw new Error('Global\x20cache\x20key\x20\x22'+_0x16fe46+_0x5201df(0xb7)+_0x4d1a0a+_0x5201df(0xbe)+_0x5ba0f6+'\x22');registry[_0x5201df(0xb2)](_0x16fe46,_0x5ba0f6);}export function getGlobalCachePath(_0x414bee){return join(getGlobalCacheDir(),_0x414bee);}function ensureGlobalCacheDir(){const _0x4d44ad=getGlobalCacheDir();!existsSync(_0x4d44ad)&&mkdirSync(_0x4d44ad,{'recursive':!![]});}function readCacheJson(_0x378a62){const _0xb9ed68=a188_0x416c,_0x514252=getGlobalCachePath(_0x378a62);if(!existsSync(_0x514252))return undefined;try{const _0x561fc6=readFileSync(_0x514252,_0xb9ed68(0xb3));return JSON[_0xb9ed68(0xb5)](_0x561fc6);}catch{return undefined;}}function writeCacheJson(_0x15ada4,_0x18f460){const _0x5cb0b1=a188_0x416c;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x15ada4),JSON[_0x5cb0b1(0xb6)](_0x18f460,null,0x2),_0x5cb0b1(0xb3));}function readCacheText(_0x51bd01){const _0x1d9c40=getGlobalCachePath(_0x51bd01);if(!existsSync(_0x1d9c40))return undefined;try{return readFileSync(_0x1d9c40,'utf-8');}catch{return undefined;}}function writeCacheText(_0xc3ecbf,_0x8aa309){ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0xc3ecbf),_0x8aa309,'utf-8');}function clearCache(_0x349fdc){const _0x2e07bc=getGlobalCachePath(_0x349fdc);if(existsSync(_0x2e07bc))try{unlinkSync(_0x2e07bc);}catch{}}function cacheExists(_0x20bf0a){return existsSync(getGlobalCachePath(_0x20bf0a));}export function createGlobalCache(_0x2f25f6,_0x627fb2){return registerGlobalCacheKey(_0x2f25f6,_0x627fb2),{'read':()=>readCacheJson(_0x2f25f6),'write':_0x67c241=>writeCacheJson(_0x2f25f6,_0x67c241),'clear':()=>clearCache(_0x2f25f6),'exists':()=>cacheExists(_0x2f25f6),'path':()=>getGlobalCachePath(_0x2f25f6)};}export function createGlobalTextCache(_0x56a3d1,_0x8cf691){const _0x80f61f=a188_0x416c;return registerGlobalCacheKey(_0x56a3d1,_0x8cf691),{'read':()=>readCacheText(_0x56a3d1)?.[_0x80f61f(0xb9)]()||undefined,'write':_0x20c4a7=>writeCacheText(_0x56a3d1,_0x20c4a7),'clear':()=>clearCache(_0x56a3d1),'exists':()=>cacheExists(_0x56a3d1),'path':()=>getGlobalCachePath(_0x56a3d1)};}export function createProfileCache(_0x3b7632,_0xb4f152){const _0x1dfb80=_0x5a7904=>{const _0x2176b9=a188_0x416c,_0x2ad164=_0x5a7904||_0x2176b9(0xb1);return _0x3b7632['replace']('{profile}',_0x2ad164);};return{'read':_0x311642=>{const _0x535261=_0x1dfb80(_0x311642);return registerGlobalCacheKey(_0x535261,_0xb4f152),readCacheJson(_0x535261);},'write':(_0x5093ec,_0x1d3b9b)=>{const _0x5dd5c0=_0x1dfb80(_0x5093ec);registerGlobalCacheKey(_0x5dd5c0,_0xb4f152),writeCacheJson(_0x5dd5c0,_0x1d3b9b);},'clear':_0x5d1d6a=>{const _0x1860a2=_0x1dfb80(_0x5d1d6a);clearCache(_0x1860a2);},'exists':_0x69e99c=>{const _0x385e92=_0x1dfb80(_0x69e99c);return cacheExists(_0x385e92);},'path':_0xeb53f6=>{const _0x5b1000=_0x1dfb80(_0xeb53f6);return getGlobalCachePath(_0x5b1000);}};}export function createOptionalProfileCache(_0x39ec4c,_0x3b6337,_0x566fa5={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x566fa5,_0x2b7ac1=_0x3f3537=>{return _0x3f3537?''+_0x39ec4c+profileSeparator+_0x3f3537+suffix:''+_0x39ec4c+suffix;};return{'read':_0x184f5f=>{const _0x4c5862=_0x2b7ac1(_0x184f5f);return registerGlobalCacheKey(_0x4c5862,_0x3b6337),readCacheJson(_0x4c5862);},'write':(_0x1c907f,_0x315132)=>{const _0xcfd84a=_0x2b7ac1(_0x315132);registerGlobalCacheKey(_0xcfd84a,_0x3b6337),writeCacheJson(_0xcfd84a,_0x1c907f);},'clear':_0xb97078=>{const _0x56f13e=_0x2b7ac1(_0xb97078);clearCache(_0x56f13e);},'exists':_0x2ad349=>{const _0x37f7b8=_0x2b7ac1(_0x2ad349);return cacheExists(_0x37f7b8);},'path':_0x193401=>{const _0x168cd8=_0x2b7ac1(_0x193401);return getGlobalCachePath(_0x168cd8);}};}function a188_0x416c(_0x3656b3,_0x41bfcb){_0x3656b3=_0x3656b3-0xb1;const _0x30e999=a188_0x30e9();let _0x416ce2=_0x30e999[_0x3656b3];return _0x416ce2;}export function clearGlobalRegistry(){const _0x543df6=a188_0x416c;registry[_0x543df6(0xbd)]();}function a188_0x30e9(){const _0x42b901=['clear','\x22,\x20cannot\x20register\x20for\x20\x22','6655600SyFMRJ','2402511Dmsxyq','11081938jSiRGp','1438652NeziRS','default','set','utf-8','2780876juagDv','parse','stringify','\x22\x20already\x20registered\x20by\x20\x22','7309770kbVCDP','trim','get','4191740BdfiHc','.cache'];a188_0x30e9=function(){return _0x42b901;};return a188_0x30e9();}
1
+ (function(_0x35fbae,_0x1f3c33){const _0xa035f6=a189_0x5e36,_0x1edeb2=_0x35fbae();while(!![]){try{const _0x306738=-parseInt(_0xa035f6(0xb1))/0x1+-parseInt(_0xa035f6(0xaa))/0x2+parseInt(_0xa035f6(0xb4))/0x3+-parseInt(_0xa035f6(0xb2))/0x4+parseInt(_0xa035f6(0xb0))/0x5*(-parseInt(_0xa035f6(0xa3))/0x6)+-parseInt(_0xa035f6(0xa4))/0x7+-parseInt(_0xa035f6(0xa8))/0x8*(-parseInt(_0xa035f6(0xb6))/0x9);if(_0x306738===_0x1f3c33)break;else _0x1edeb2['push'](_0x1edeb2['shift']());}catch(_0x32bfb8){_0x1edeb2['push'](_0x1edeb2['shift']());}}}(a189_0x27e5,0x61e99));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join}from'path';import{homedir}from'os';export function getGlobalCacheDir(){const _0x350c8f=a189_0x5e36;return process.env.TDX_CACHE_DIR||join(homedir(),_0x350c8f(0xa6),_0x350c8f(0xb7));}const registry=new Map();export function registerGlobalCacheKey(_0xcb04f9,_0x3b0f34){const _0x3f7fa9=a189_0x5e36,_0x5ac664=registry[_0x3f7fa9(0xaf)](_0xcb04f9);if(_0x5ac664&&_0x5ac664!==_0x3b0f34)throw new Error(_0x3f7fa9(0xa5)+_0xcb04f9+_0x3f7fa9(0xb5)+_0x5ac664+_0x3f7fa9(0xad)+_0x3b0f34+'\x22');registry[_0x3f7fa9(0xab)](_0xcb04f9,_0x3b0f34);}export function getGlobalCachePath(_0x16fa64){return join(getGlobalCacheDir(),_0x16fa64);}function a189_0x27e5(){const _0x1bc946=['.cache','utf-8','216BVUcrv','parse','327306sQOBwz','set','replace','\x22,\x20cannot\x20register\x20for\x20\x22','trim','get','5JPmQhR','413196ZILqip','1406976iTilfm','stringify','1014414ZLrkcg','\x22\x20already\x20registered\x20by\x20\x22','448875cgaFZB','tdx','clear','{profile}','874254trNOmL','1465884WamBub','Global\x20cache\x20key\x20\x22'];a189_0x27e5=function(){return _0x1bc946;};return a189_0x27e5();}function ensureGlobalCacheDir(){const _0x8995d=getGlobalCacheDir();!existsSync(_0x8995d)&&mkdirSync(_0x8995d,{'recursive':!![]});}function readCacheJson(_0x423a4d){const _0x26767b=a189_0x5e36,_0x1dd57f=getGlobalCachePath(_0x423a4d);if(!existsSync(_0x1dd57f))return undefined;try{const _0x4522d8=readFileSync(_0x1dd57f,_0x26767b(0xa7));return JSON[_0x26767b(0xa9)](_0x4522d8);}catch{return undefined;}}function writeCacheJson(_0x2dcd94,_0x4c7271){const _0x19be0b=a189_0x5e36;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x2dcd94),JSON[_0x19be0b(0xb3)](_0x4c7271,null,0x2),_0x19be0b(0xa7));}function readCacheText(_0x317571){const _0x1bb098=a189_0x5e36,_0x2c1cde=getGlobalCachePath(_0x317571);if(!existsSync(_0x2c1cde))return undefined;try{return readFileSync(_0x2c1cde,_0x1bb098(0xa7));}catch{return undefined;}}function writeCacheText(_0x7c150,_0x16a6c2){const _0x247f8d=a189_0x5e36;ensureGlobalCacheDir(),writeFileSync(getGlobalCachePath(_0x7c150),_0x16a6c2,_0x247f8d(0xa7));}function a189_0x5e36(_0x398c91,_0x3bf7ea){_0x398c91=_0x398c91-0xa3;const _0x27e558=a189_0x27e5();let _0x5e3685=_0x27e558[_0x398c91];return _0x5e3685;}function clearCache(_0x4ecaad){const _0x20c888=getGlobalCachePath(_0x4ecaad);if(existsSync(_0x20c888))try{unlinkSync(_0x20c888);}catch{}}function cacheExists(_0x127a85){return existsSync(getGlobalCachePath(_0x127a85));}export function createGlobalCache(_0x2ad387,_0x425d8d){return registerGlobalCacheKey(_0x2ad387,_0x425d8d),{'read':()=>readCacheJson(_0x2ad387),'write':_0x3b9e6e=>writeCacheJson(_0x2ad387,_0x3b9e6e),'clear':()=>clearCache(_0x2ad387),'exists':()=>cacheExists(_0x2ad387),'path':()=>getGlobalCachePath(_0x2ad387)};}export function createGlobalTextCache(_0x498959,_0x3e3de8){const _0x33235f=a189_0x5e36;return registerGlobalCacheKey(_0x498959,_0x3e3de8),{'read':()=>readCacheText(_0x498959)?.[_0x33235f(0xae)]()||undefined,'write':_0x426692=>writeCacheText(_0x498959,_0x426692),'clear':()=>clearCache(_0x498959),'exists':()=>cacheExists(_0x498959),'path':()=>getGlobalCachePath(_0x498959)};}export function createProfileCache(_0xf7be2d,_0x3a4dab){const _0x34ec1e=_0xaee84c=>{const _0x18fa27=a189_0x5e36,_0xeb48da=_0xaee84c||'default';return _0xf7be2d[_0x18fa27(0xac)](_0x18fa27(0xb9),_0xeb48da);};return{'read':_0x22e463=>{const _0x25dea2=_0x34ec1e(_0x22e463);return registerGlobalCacheKey(_0x25dea2,_0x3a4dab),readCacheJson(_0x25dea2);},'write':(_0x34ce2e,_0x308c5c)=>{const _0x3ff6c9=_0x34ec1e(_0x34ce2e);registerGlobalCacheKey(_0x3ff6c9,_0x3a4dab),writeCacheJson(_0x3ff6c9,_0x308c5c);},'clear':_0x357b63=>{const _0x42170b=_0x34ec1e(_0x357b63);clearCache(_0x42170b);},'exists':_0x24d666=>{const _0x2e49e3=_0x34ec1e(_0x24d666);return cacheExists(_0x2e49e3);},'path':_0x4bfb2b=>{const _0x202d34=_0x34ec1e(_0x4bfb2b);return getGlobalCachePath(_0x202d34);}};}export function createOptionalProfileCache(_0x3f0032,_0x184d96,_0x22d7fb={}){const {profileSeparator:profileSeparator='.',suffix:suffix=''}=_0x22d7fb,_0x50d639=_0x1844a4=>{return _0x1844a4?''+_0x3f0032+profileSeparator+_0x1844a4+suffix:''+_0x3f0032+suffix;};return{'read':_0x29d387=>{const _0x53aafa=_0x50d639(_0x29d387);return registerGlobalCacheKey(_0x53aafa,_0x184d96),readCacheJson(_0x53aafa);},'write':(_0x4e7d02,_0x380164)=>{const _0x4c105b=_0x50d639(_0x380164);registerGlobalCacheKey(_0x4c105b,_0x184d96),writeCacheJson(_0x4c105b,_0x4e7d02);},'clear':_0x51343d=>{const _0x5554da=_0x50d639(_0x51343d);clearCache(_0x5554da);},'exists':_0x442d04=>{const _0x1ac211=_0x50d639(_0x442d04);return cacheExists(_0x1ac211);},'path':_0x151aed=>{const _0x54d926=_0x50d639(_0x151aed);return getGlobalCachePath(_0x54d926);}};}export function clearGlobalRegistry(){const _0x4dc09e=a189_0x5e36;registry[_0x4dc09e(0xb8)]();}
@@ -1 +1 @@
1
- (function(_0x20814b,_0x36eb03){const _0x3485fe=a189_0x5128,_0x533e79=_0x20814b();while(!![]){try{const _0x4d45b9=parseInt(_0x3485fe(0x19d))/0x1+parseInt(_0x3485fe(0x1a2))/0x2+parseInt(_0x3485fe(0x1a5))/0x3*(-parseInt(_0x3485fe(0x19b))/0x4)+-parseInt(_0x3485fe(0x194))/0x5*(parseInt(_0x3485fe(0x18e))/0x6)+parseInt(_0x3485fe(0x199))/0x7*(-parseInt(_0x3485fe(0x196))/0x8)+parseInt(_0x3485fe(0x19e))/0x9+-parseInt(_0x3485fe(0x191))/0xa*(-parseInt(_0x3485fe(0x190))/0xb);if(_0x4d45b9===_0x36eb03)break;else _0x533e79['push'](_0x533e79['shift']());}catch(_0x47ad13){_0x533e79['push'](_0x533e79['shift']());}}}(a189_0x45f2,0x5f324));function a189_0x45f2(){const _0x2bdbeb=['utf-8','78784zNrxlE','Invalid\x20JSON\x20string:\x20','428322ojXEbW','807831WbzTFB','EACCES','message','parse','927066hpHTdA','code','\x27:\x20','69YDGuXX','8598tKFjeV','INVALID_ARGUMENT','231IRHEis','220930YTPEqj','NOT_FOUND','Invalid\x20JSON\x20in\x20file\x20\x27','205utRyuw','Permission\x20denied\x20reading\x20file:\x20','16YRDLhA','INTERNAL','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','1903587BPBNsX'];a189_0x45f2=function(){return _0x2bdbeb;};return a189_0x45f2();}import{readFile}from'fs/promises';function a189_0x5128(_0x126208,_0x2989bc){_0x126208=_0x126208-0x18e;const _0x45f29a=a189_0x45f2();let _0x512856=_0x45f29a[_0x126208];return _0x512856;}import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x56c015,_0x1d1514){const _0x20ea59=a189_0x5128;try{if(_0x1d1514){const _0x21b541=await readFile(_0x56c015,_0x20ea59(0x19a));try{return JSON[_0x20ea59(0x1a1)](_0x21b541);}catch(_0x2de952){throw new SDKError(ErrorCode[_0x20ea59(0x18f)],_0x20ea59(0x193)+_0x56c015+_0x20ea59(0x1a4)+(_0x2de952 instanceof Error?_0x2de952[_0x20ea59(0x1a0)]:String(_0x2de952)));}}else try{return JSON['parse'](_0x56c015);}catch(_0x3d553e){throw new SDKError(ErrorCode[_0x20ea59(0x18f)],_0x20ea59(0x19c)+(_0x3d553e instanceof Error?_0x3d553e[_0x20ea59(0x1a0)]:String(_0x3d553e)));}}catch(_0x2a90ae){if(_0x2a90ae instanceof SDKError)throw _0x2a90ae;if(_0x2a90ae instanceof Error&&_0x20ea59(0x1a3)in _0x2a90ae){const _0x37043b=_0x2a90ae;if(_0x37043b[_0x20ea59(0x1a3)]==='ENOENT')throw new SDKError(ErrorCode[_0x20ea59(0x192)],'File\x20not\x20found:\x20'+_0x56c015);else{if(_0x37043b[_0x20ea59(0x1a3)]===_0x20ea59(0x19f))throw new SDKError(ErrorCode['PERMISSION_DENIED'],_0x20ea59(0x195)+_0x56c015);}}throw new SDKError(ErrorCode[_0x20ea59(0x197)],'Failed\x20to\x20load\x20JSON:\x20'+(_0x2a90ae instanceof Error?_0x2a90ae[_0x20ea59(0x1a0)]:String(_0x2a90ae)));}}export async function loadJSONFromOptions(_0x229967,_0x173edd){const _0x2c0866=a189_0x5128;if(_0x229967&&_0x173edd)throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2c0866(0x198));if(_0x229967)return await loadJSON(_0x229967,![]);if(_0x173edd)return await loadJSON(_0x173edd,!![]);return undefined;}
1
+ (function(_0x18384f,_0x401f7f){const _0x85a99=a190_0x5e80,_0x1bbdad=_0x18384f();while(!![]){try{const _0x54a0bd=-parseInt(_0x85a99(0x1f7))/0x1*(parseInt(_0x85a99(0x1fb))/0x2)+-parseInt(_0x85a99(0x1ec))/0x3*(-parseInt(_0x85a99(0x1f4))/0x4)+parseInt(_0x85a99(0x200))/0x5*(parseInt(_0x85a99(0x1fe))/0x6)+parseInt(_0x85a99(0x1fa))/0x7+-parseInt(_0x85a99(0x1f2))/0x8+parseInt(_0x85a99(0x1fc))/0x9*(parseInt(_0x85a99(0x1e7))/0xa)+-parseInt(_0x85a99(0x1eb))/0xb;if(_0x54a0bd===_0x401f7f)break;else _0x1bbdad['push'](_0x1bbdad['shift']());}catch(_0x1c5273){_0x1bbdad['push'](_0x1bbdad['shift']());}}}(a190_0x4dda,0x6f990));import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x210aa9,_0x3d5486){const _0x590681=a190_0x5e80;try{if(_0x3d5486){const _0x262dda=await readFile(_0x210aa9,_0x590681(0x1ef));try{return JSON['parse'](_0x262dda);}catch(_0x28b6d5){throw new SDKError(ErrorCode[_0x590681(0x1f8)],_0x590681(0x1ed)+_0x210aa9+_0x590681(0x1f1)+(_0x28b6d5 instanceof Error?_0x28b6d5[_0x590681(0x1e8)]:String(_0x28b6d5)));}}else try{return JSON['parse'](_0x210aa9);}catch(_0x55f946){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x590681(0x1ff)+(_0x55f946 instanceof Error?_0x55f946[_0x590681(0x1e8)]:String(_0x55f946)));}}catch(_0x280131){if(_0x280131 instanceof SDKError)throw _0x280131;if(_0x280131 instanceof Error&&_0x590681(0x1f3)in _0x280131){const _0x3de87b=_0x280131;if(_0x3de87b['code']===_0x590681(0x1f0))throw new SDKError(ErrorCode[_0x590681(0x1f5)],_0x590681(0x1e6)+_0x210aa9);else{if(_0x3de87b['code']===_0x590681(0x1f6))throw new SDKError(ErrorCode[_0x590681(0x1ee)],_0x590681(0x1ea)+_0x210aa9);}}throw new SDKError(ErrorCode[_0x590681(0x1e9)],_0x590681(0x1f9)+(_0x280131 instanceof Error?_0x280131[_0x590681(0x1e8)]:String(_0x280131)));}}function a190_0x5e80(_0x20fb31,_0x5b2939){_0x20fb31=_0x20fb31-0x1e6;const _0x4ddab2=a190_0x4dda();let _0x5e8046=_0x4ddab2[_0x20fb31];return _0x5e8046;}function a190_0x4dda(){const _0x26ede9=['984032UfxuHX','6wweVuO','9ZxKEqC','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','46128llniAQ','Invalid\x20JSON\x20string:\x20','345haIiBc','File\x20not\x20found:\x20','6273760FJUKCO','message','INTERNAL','Permission\x20denied\x20reading\x20file:\x20','228294fxwuFE','30771kIabQi','Invalid\x20JSON\x20in\x20file\x20\x27','PERMISSION_DENIED','utf-8','ENOENT','\x27:\x20','5171088mrylRM','code','52lPMTnH','NOT_FOUND','EACCES','102507yqaKbh','INVALID_ARGUMENT','Failed\x20to\x20load\x20JSON:\x20'];a190_0x4dda=function(){return _0x26ede9;};return a190_0x4dda();}export async function loadJSONFromOptions(_0x5b3db5,_0x9c590c){const _0xad6301=a190_0x5e80;if(_0x5b3db5&&_0x9c590c)throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0xad6301(0x1fd));if(_0x5b3db5)return await loadJSON(_0x5b3db5,![]);if(_0x9c590c)return await loadJSON(_0x9c590c,!![]);return undefined;}
@@ -1 +1 @@
1
- const a190_0x5abbcc=a190_0x1c58;(function(_0x515034,_0x3104d1){const _0x1fa989=a190_0x1c58,_0xefab8f=_0x515034();while(!![]){try{const _0x71acc5=parseInt(_0x1fa989(0x85))/0x1*(-parseInt(_0x1fa989(0x79))/0x2)+parseInt(_0x1fa989(0x88))/0x3+-parseInt(_0x1fa989(0x74))/0x4*(parseInt(_0x1fa989(0x76))/0x5)+parseInt(_0x1fa989(0x82))/0x6*(-parseInt(_0x1fa989(0x87))/0x7)+-parseInt(_0x1fa989(0x7b))/0x8*(parseInt(_0x1fa989(0x7a))/0x9)+parseInt(_0x1fa989(0x7d))/0xa+-parseInt(_0x1fa989(0x7f))/0xb*(-parseInt(_0x1fa989(0x73))/0xc);if(_0x71acc5===_0x3104d1)break;else _0xefab8f['push'](_0xefab8f['shift']());}catch(_0x3c7d11){_0xefab8f['push'](_0xefab8f['shift']());}}}(a190_0x3ca2,0x6afea));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';const LOCAL_CACHE_DIR=a190_0x5abbcc(0x84),registry=new Map();export function registerCacheKey(_0x573834,_0x87caff){const _0x317adc=a190_0x5abbcc,_0x1c8ca8=registry[_0x317adc(0x86)](_0x573834);if(_0x1c8ca8&&_0x1c8ca8!==_0x87caff)throw new Error(_0x317adc(0x75)+_0x573834+_0x317adc(0x77)+_0x1c8ca8+_0x317adc(0x80)+_0x87caff+'\x22');registry[_0x317adc(0x83)](_0x573834,_0x87caff);}export function getCacheDir(){const _0x5a09e9=a190_0x5abbcc,_0x58a030=process[_0x5a09e9(0x7e)](),_0x24c6aa=_0x58a030===parse(_0x58a030)[_0x5a09e9(0x7c)]?homedir():_0x58a030;return join(_0x24c6aa,LOCAL_CACHE_DIR);}function a190_0x1c58(_0xb615c7,_0x1c3bc5){_0xb615c7=_0xb615c7-0x73;const _0x3ca253=a190_0x3ca2();let _0x1c58ef=_0x3ca253[_0xb615c7];return _0x1c58ef;}export function getCachePath(_0x529b14){return join(getCacheDir(),_0x529b14);}function a190_0x3ca2(){const _0x2f7346=['.cache/tdx','33481TMJwEE','get','861805kUhDoh','19338CNRZIG','2324412UkjVgz','1637084AyXWIc','Cache\x20key\x20\x22','5yViDlC','\x22\x20already\x20registered\x20by\x20\x22','utf-8','44lRmVWp','45EzfaCJ','585904JZTwjl','root','938380gpdgTH','cwd','154LDdcOI','\x22,\x20cannot\x20register\x20for\x20\x22','trim','42cRGMPi','set'];a190_0x3ca2=function(){return _0x2f7346;};return a190_0x3ca2();}function ensureCacheDir(){const _0x1b85fa=getCacheDir();!existsSync(_0x1b85fa)&&mkdirSync(_0x1b85fa,{'recursive':!![]});}function readCacheJson(_0x3a32ea){const _0x35113f=a190_0x5abbcc,_0x1e32b3=getCachePath(_0x3a32ea);if(!existsSync(_0x1e32b3))return undefined;try{const _0x1a30cb=readFileSync(_0x1e32b3,_0x35113f(0x78));return JSON['parse'](_0x1a30cb);}catch{return undefined;}}function writeCacheJson(_0x11971e,_0x24b815){const _0x451b39=a190_0x5abbcc;ensureCacheDir(),writeFileSync(getCachePath(_0x11971e),JSON['stringify'](_0x24b815,null,0x2),_0x451b39(0x78));}function readCacheText(_0x3b3fbe){const _0x21e033=a190_0x5abbcc,_0x585d82=getCachePath(_0x3b3fbe);if(!existsSync(_0x585d82))return undefined;try{return readFileSync(_0x585d82,_0x21e033(0x78));}catch{return undefined;}}function writeCacheText(_0x4d4d99,_0x576193){ensureCacheDir(),writeFileSync(getCachePath(_0x4d4d99),_0x576193,'utf-8');}function clearCache(_0x47ac43){const _0x1326a3=getCachePath(_0x47ac43);if(existsSync(_0x1326a3))try{unlinkSync(_0x1326a3);}catch{}}function cacheExists(_0x591ec0){return existsSync(getCachePath(_0x591ec0));}export function createCache(_0x236e29,_0x4fddbe){return registerCacheKey(_0x236e29,_0x4fddbe),{'read':()=>readCacheJson(_0x236e29),'write':_0x454d1e=>writeCacheJson(_0x236e29,_0x454d1e),'clear':()=>clearCache(_0x236e29),'exists':()=>cacheExists(_0x236e29),'path':()=>getCachePath(_0x236e29)};}export function createTextCache(_0x5a42ea,_0x3489db){const _0x2c5dac=a190_0x5abbcc;return registerCacheKey(_0x5a42ea,_0x3489db),{'read':()=>readCacheText(_0x5a42ea)?.[_0x2c5dac(0x81)]()||undefined,'write':_0x3536f3=>writeCacheText(_0x5a42ea,_0x3536f3),'clear':()=>clearCache(_0x5a42ea),'exists':()=>cacheExists(_0x5a42ea),'path':()=>getCachePath(_0x5a42ea)};}export function clearRegistry(){registry['clear']();}
1
+ const a191_0x3ae7bf=a191_0x5f5b;(function(_0x2c0896,_0x3024c9){const _0x543762=a191_0x5f5b,_0x5b19d5=_0x2c0896();while(!![]){try{const _0x48b064=parseInt(_0x543762(0x1a8))/0x1+-parseInt(_0x543762(0x1a4))/0x2+-parseInt(_0x543762(0x198))/0x3+parseInt(_0x543762(0x1a9))/0x4+parseInt(_0x543762(0x19a))/0x5+-parseInt(_0x543762(0x19d))/0x6*(parseInt(_0x543762(0x1a1))/0x7)+parseInt(_0x543762(0x19f))/0x8*(parseInt(_0x543762(0x1a5))/0x9);if(_0x48b064===_0x3024c9)break;else _0x5b19d5['push'](_0x5b19d5['shift']());}catch(_0x44aaa9){_0x5b19d5['push'](_0x5b19d5['shift']());}}}(a191_0x815f,0xa2cf3));import{existsSync,mkdirSync,readFileSync,writeFileSync,unlinkSync}from'fs';import{join,parse}from'path';import{homedir}from'os';function a191_0x815f(){const _0x8f63f7=['9eGfrUe','clear','get','1072711PwXVyA','763824PaMlwp','set','cwd','995802mXDYsZ','.cache/tdx','2659585oxgqtZ','Cache\x20key\x20\x22','\x22\x20already\x20registered\x20by\x20\x22','180MAyFNs','stringify','539088nhIvub','utf-8','170695xhvclp','root','\x22,\x20cannot\x20register\x20for\x20\x22','265238HAilWG'];a191_0x815f=function(){return _0x8f63f7;};return a191_0x815f();}const LOCAL_CACHE_DIR=a191_0x3ae7bf(0x199),registry=new Map();export function registerCacheKey(_0x5a84de,_0x2b93ec){const _0x19271a=a191_0x3ae7bf,_0x556193=registry[_0x19271a(0x1a7)](_0x5a84de);if(_0x556193&&_0x556193!==_0x2b93ec)throw new Error(_0x19271a(0x19b)+_0x5a84de+_0x19271a(0x19c)+_0x556193+_0x19271a(0x1a3)+_0x2b93ec+'\x22');registry[_0x19271a(0x1aa)](_0x5a84de,_0x2b93ec);}export function getCacheDir(){const _0x2d3a9b=a191_0x3ae7bf,_0x4f7fdb=process[_0x2d3a9b(0x1ab)](),_0x1c6795=_0x4f7fdb===parse(_0x4f7fdb)[_0x2d3a9b(0x1a2)]?homedir():_0x4f7fdb;return join(_0x1c6795,LOCAL_CACHE_DIR);}export function getCachePath(_0x2116fa){return join(getCacheDir(),_0x2116fa);}function ensureCacheDir(){const _0x542459=getCacheDir();!existsSync(_0x542459)&&mkdirSync(_0x542459,{'recursive':!![]});}function readCacheJson(_0x3f90fd){const _0x2efe75=a191_0x3ae7bf,_0x26b8bd=getCachePath(_0x3f90fd);if(!existsSync(_0x26b8bd))return undefined;try{const _0x39d430=readFileSync(_0x26b8bd,_0x2efe75(0x1a0));return JSON['parse'](_0x39d430);}catch{return undefined;}}function a191_0x5f5b(_0x38cd19,_0x5af8ce){_0x38cd19=_0x38cd19-0x198;const _0x815f06=a191_0x815f();let _0x5f5bd7=_0x815f06[_0x38cd19];return _0x5f5bd7;}function writeCacheJson(_0x591844,_0x3083fd){const _0x5e5605=a191_0x3ae7bf;ensureCacheDir(),writeFileSync(getCachePath(_0x591844),JSON[_0x5e5605(0x19e)](_0x3083fd,null,0x2),'utf-8');}function readCacheText(_0x1cf455){const _0x2d6125=a191_0x3ae7bf,_0x4aac31=getCachePath(_0x1cf455);if(!existsSync(_0x4aac31))return undefined;try{return readFileSync(_0x4aac31,_0x2d6125(0x1a0));}catch{return undefined;}}function writeCacheText(_0x312b49,_0x59bd8c){ensureCacheDir(),writeFileSync(getCachePath(_0x312b49),_0x59bd8c,'utf-8');}function clearCache(_0x5f2df0){const _0x484771=getCachePath(_0x5f2df0);if(existsSync(_0x484771))try{unlinkSync(_0x484771);}catch{}}function cacheExists(_0x1deb31){return existsSync(getCachePath(_0x1deb31));}export function createCache(_0x161fd5,_0x38705c){return registerCacheKey(_0x161fd5,_0x38705c),{'read':()=>readCacheJson(_0x161fd5),'write':_0x4e48cd=>writeCacheJson(_0x161fd5,_0x4e48cd),'clear':()=>clearCache(_0x161fd5),'exists':()=>cacheExists(_0x161fd5),'path':()=>getCachePath(_0x161fd5)};}export function createTextCache(_0x4234b8,_0x1d84c9){return registerCacheKey(_0x4234b8,_0x1d84c9),{'read':()=>readCacheText(_0x4234b8)?.['trim']()||undefined,'write':_0x295978=>writeCacheText(_0x4234b8,_0x295978),'clear':()=>clearCache(_0x4234b8),'exists':()=>cacheExists(_0x4234b8),'path':()=>getCachePath(_0x4234b8)};}export function clearRegistry(){const _0x552e6c=a191_0x3ae7bf;registry[_0x552e6c(0x1a6)]();}
@@ -1 +1 @@
1
- const a191_0x4a7595=a191_0x5417;(function(_0x206e4e,_0x537a30){const _0x39a5fa=a191_0x5417,_0x3192c4=_0x206e4e();while(!![]){try{const _0x110e9b=parseInt(_0x39a5fa(0x19c))/0x1*(-parseInt(_0x39a5fa(0x19a))/0x2)+-parseInt(_0x39a5fa(0x18e))/0x3*(parseInt(_0x39a5fa(0x184))/0x4)+parseInt(_0x39a5fa(0x197))/0x5+-parseInt(_0x39a5fa(0x181))/0x6*(parseInt(_0x39a5fa(0x18f))/0x7)+-parseInt(_0x39a5fa(0x19f))/0x8+parseInt(_0x39a5fa(0x187))/0x9*(-parseInt(_0x39a5fa(0x19b))/0xa)+parseInt(_0x39a5fa(0x19d))/0xb;if(_0x110e9b===_0x537a30)break;else _0x3192c4['push'](_0x3192c4['shift']());}catch(_0x1809f5){_0x3192c4['push'](_0x3192c4['shift']());}}}(a191_0x3382,0xb8453));import a191_0x11ccf8 from'chalk';import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';function a191_0x3382(){const _0x28013d=['30TmvcbU','1CJLDFU','22965393LSHsYT','message','404200rDkSCQ','2126694CXFrhF','WARN',']\x20[','2813268GpOdMH','colorLevel','colors','2210643eAqdmv','ERROR','blue','INFO','gray','component','dim','3gUEsuC','7PtwrXv','level','chalk','yellow','green','DEBUG','Chalk','default','4392090aHgTBc','red','TRACE','732476CDKUhb'];a191_0x3382=function(){return _0x28013d;};return a191_0x3382();}const chalkModule=a191_0x11ccf8,ChalkClass=chalkModule[a191_0x4a7595(0x195)]||chalkModule[a191_0x4a7595(0x196)]?.[a191_0x4a7595(0x195)];function a191_0x5417(_0x1a5af0,_0x24fe84){_0x1a5af0=_0x1a5af0-0x181;const _0x3382bf=a191_0x3382();let _0x54174c=_0x3382bf[_0x1a5af0];return _0x54174c;}export class DefaultLogFormatter{[a191_0x4a7595(0x186)];['chalk'];constructor(_0x653fbb={}){const _0x5b18d4=a191_0x4a7595;this[_0x5b18d4(0x186)]=_0x653fbb[_0x5b18d4(0x186)]??![],this[_0x5b18d4(0x191)]=_0x653fbb[_0x5b18d4(0x186)]&&ChalkClass?new ChalkClass({'level':0x3}):a191_0x11ccf8;}['format'](_0x3aebac){const _0x5ceadd=a191_0x4a7595,_0x2c8e23=formatTimestamp(_0x3aebac['timestamp']),_0x1a6d91=logLevelToString(_0x3aebac[_0x5ceadd(0x190)]);if(!this[_0x5ceadd(0x186)])return _0x2c8e23+'\x20['+_0x1a6d91+_0x5ceadd(0x183)+_0x3aebac[_0x5ceadd(0x18c)]+']\x20'+_0x3aebac[_0x5ceadd(0x19e)];const _0x1a6627=this['chalk'][_0x5ceadd(0x18d)](_0x2c8e23),_0x2ef9f=this[_0x5ceadd(0x185)](_0x1a6d91,_0x3aebac[_0x5ceadd(0x190)]),_0x518f90=this[_0x5ceadd(0x191)][_0x5ceadd(0x189)]('['+_0x3aebac[_0x5ceadd(0x18c)]+']');return _0x1a6627+'\x20'+_0x2ef9f+'\x20'+_0x518f90+'\x20'+_0x3aebac[_0x5ceadd(0x19e)];}[a191_0x4a7595(0x185)](_0x440dd0,_0x1b5919){const _0x32d074=a191_0x4a7595;switch(_0x1b5919){case LogLevel[_0x32d074(0x199)]:return this[_0x32d074(0x191)][_0x32d074(0x18b)]('['+_0x440dd0+']');case LogLevel[_0x32d074(0x194)]:return this[_0x32d074(0x191)][_0x32d074(0x193)]('['+_0x440dd0+']');case LogLevel[_0x32d074(0x18a)]:return this[_0x32d074(0x191)]['cyan']('['+_0x440dd0+']');case LogLevel[_0x32d074(0x182)]:return this['chalk'][_0x32d074(0x192)]('['+_0x440dd0+']');case LogLevel[_0x32d074(0x188)]:return this[_0x32d074(0x191)][_0x32d074(0x198)]('['+_0x440dd0+']');default:return'['+_0x440dd0+']';}}}
1
+ const a192_0x4c3a0f=a192_0x1638;(function(_0x649a77,_0x220909){const _0xcfc5e0=a192_0x1638,_0x2ce97e=_0x649a77();while(!![]){try{const _0x17c440=-parseInt(_0xcfc5e0(0x83))/0x1+parseInt(_0xcfc5e0(0x7e))/0x2+parseInt(_0xcfc5e0(0x85))/0x3*(-parseInt(_0xcfc5e0(0x81))/0x4)+parseInt(_0xcfc5e0(0x7f))/0x5*(-parseInt(_0xcfc5e0(0x92))/0x6)+-parseInt(_0xcfc5e0(0x93))/0x7*(-parseInt(_0xcfc5e0(0x88))/0x8)+parseInt(_0xcfc5e0(0x87))/0x9*(-parseInt(_0xcfc5e0(0x7d))/0xa)+parseInt(_0xcfc5e0(0x8d))/0xb;if(_0x17c440===_0x220909)break;else _0x2ce97e['push'](_0x2ce97e['shift']());}catch(_0x483795){_0x2ce97e['push'](_0x2ce97e['shift']());}}}(a192_0xd99d,0xde461));function a192_0x1638(_0x13aa70,_0x111b2a){_0x13aa70=_0x13aa70-0x7c;const _0xd99d67=a192_0xd99d();let _0x163897=_0xd99d67[_0x13aa70];return _0x163897;}import a192_0x339494 from'chalk';function a192_0xd99d(){const _0x4c9126=['colors','792368tgPLfS','blue','1357733wqdoFE','level','24XMsAfO','TRACE','2619WcjTva','8MfvCNf','chalk','colorLevel','default',']\x20[','24922073BCBZNF','Chalk','yellow','cyan','message','975210KYYLud','10167787cszIfL','WARN','component','red','17540RIgNZd','2265474LSytnV','15JpVoKh'];a192_0xd99d=function(){return _0x4c9126;};return a192_0xd99d();}import{LogLevel,logLevelToString,formatTimestamp}from'../types.js';const chalkModule=a192_0x339494,ChalkClass=chalkModule['Chalk']||chalkModule[a192_0x4c3a0f(0x8b)]?.[a192_0x4c3a0f(0x8e)];export class DefaultLogFormatter{[a192_0x4c3a0f(0x80)];[a192_0x4c3a0f(0x89)];constructor(_0x5baba4={}){const _0x1a92d1=a192_0x4c3a0f;this[_0x1a92d1(0x80)]=_0x5baba4[_0x1a92d1(0x80)]??![],this[_0x1a92d1(0x89)]=_0x5baba4['colors']&&ChalkClass?new ChalkClass({'level':0x3}):a192_0x339494;}['format'](_0x3e1226){const _0x56dde0=a192_0x4c3a0f,_0x3849bc=formatTimestamp(_0x3e1226['timestamp']),_0x27310e=logLevelToString(_0x3e1226[_0x56dde0(0x84)]);if(!this['colors'])return _0x3849bc+'\x20['+_0x27310e+_0x56dde0(0x8c)+_0x3e1226[_0x56dde0(0x95)]+']\x20'+_0x3e1226[_0x56dde0(0x91)];const _0x136e82=this[_0x56dde0(0x89)]['dim'](_0x3849bc),_0x379256=this[_0x56dde0(0x8a)](_0x27310e,_0x3e1226[_0x56dde0(0x84)]),_0x48accd=this['chalk'][_0x56dde0(0x82)]('['+_0x3e1226[_0x56dde0(0x95)]+']');return _0x136e82+'\x20'+_0x379256+'\x20'+_0x48accd+'\x20'+_0x3e1226[_0x56dde0(0x91)];}[a192_0x4c3a0f(0x8a)](_0x19f8e6,_0x437ab5){const _0x45e9c8=a192_0x4c3a0f;switch(_0x437ab5){case LogLevel[_0x45e9c8(0x86)]:return this[_0x45e9c8(0x89)]['gray']('['+_0x19f8e6+']');case LogLevel['DEBUG']:return this[_0x45e9c8(0x89)]['green']('['+_0x19f8e6+']');case LogLevel['INFO']:return this['chalk'][_0x45e9c8(0x90)]('['+_0x19f8e6+']');case LogLevel[_0x45e9c8(0x94)]:return this[_0x45e9c8(0x89)][_0x45e9c8(0x8f)]('['+_0x19f8e6+']');case LogLevel['ERROR']:return this[_0x45e9c8(0x89)][_0x45e9c8(0x7c)]('['+_0x19f8e6+']');default:return'['+_0x19f8e6+']';}}}
@@ -1 +1 @@
1
- function a192_0x27ae(){var _0x485d06=['2010qkhMIp','7168YawZtC','1244172yPXqwR','480080pBCCaL','554rQlwRk','3002502aySNpj','855yQldbm','11hxKfEa','18psuEBw','14avBTnu','2964512adepbV','189320NqYWfA'];a192_0x27ae=function(){return _0x485d06;};return a192_0x27ae();}function a192_0x5d2e(_0x2fa143,_0x2daa99){_0x2fa143=_0x2fa143-0xdf;var _0x27aee9=a192_0x27ae();var _0x5d2e0a=_0x27aee9[_0x2fa143];return _0x5d2e0a;}(function(_0x3ef192,_0x2aadd4){var _0x31ed65=a192_0x5d2e,_0x332388=_0x3ef192();while(!![]){try{var _0x19fdfd=-parseInt(_0x31ed65(0xe6))/0x1+parseInt(_0x31ed65(0xe7))/0x2*(-parseInt(_0x31ed65(0xe3))/0x3)+-parseInt(_0x31ed65(0xe4))/0x4*(parseInt(_0x31ed65(0xe9))/0x5)+parseInt(_0x31ed65(0xe8))/0x6*(parseInt(_0x31ed65(0xe0))/0x7)+parseInt(_0x31ed65(0xe1))/0x8+parseInt(_0x31ed65(0xdf))/0x9*(parseInt(_0x31ed65(0xe2))/0xa)+parseInt(_0x31ed65(0xea))/0xb*(parseInt(_0x31ed65(0xe5))/0xc);if(_0x19fdfd===_0x2aadd4)break;else _0x332388['push'](_0x332388['shift']());}catch(_0x1e13f0){_0x332388['push'](_0x332388['shift']());}}}(a192_0x27ae,0x840a9));export{DefaultLogFormatter}from'./default-formatter.js';
1
+ function a193_0x21da(){var _0x111660=['386vYKLEu','9931817ZDpNjz','4901416iBgvtp','22681440kZVzia','5093785rnZyRq','3409732DJVPyI','982033UNGvgi','6zyXFSk','8187hvZMPW'];a193_0x21da=function(){return _0x111660;};return a193_0x21da();}(function(_0x534774,_0x42c211){var _0x132ca6=a193_0x1c5e,_0x719be1=_0x534774();while(!![]){try{var _0x58a267=parseInt(_0x132ca6(0x73))/0x1+-parseInt(_0x132ca6(0x76))/0x2*(parseInt(_0x132ca6(0x75))/0x3)+parseInt(_0x132ca6(0x72))/0x4+parseInt(_0x132ca6(0x71))/0x5*(-parseInt(_0x132ca6(0x74))/0x6)+-parseInt(_0x132ca6(0x77))/0x7+-parseInt(_0x132ca6(0x6f))/0x8+parseInt(_0x132ca6(0x70))/0x9;if(_0x58a267===_0x42c211)break;else _0x719be1['push'](_0x719be1['shift']());}catch(_0x4600ec){_0x719be1['push'](_0x719be1['shift']());}}}(a193_0x21da,0xbddc0));function a193_0x1c5e(_0x13d3a5,_0x57abaf){_0x13d3a5=_0x13d3a5-0x6f;var _0x21daf7=a193_0x21da();var _0x1c5e21=_0x21daf7[_0x13d3a5];return _0x1c5e21;}export{DefaultLogFormatter}from'./default-formatter.js';
@@ -1 +1 @@
1
- const a193_0x27edf1=a193_0x3139;(function(_0xefb0af,_0x1d48fd){const _0x10f86e=a193_0x3139,_0x4db32=_0xefb0af();while(!![]){try{const _0x22512c=parseInt(_0x10f86e(0xc0))/0x1+-parseInt(_0x10f86e(0xc7))/0x2*(-parseInt(_0x10f86e(0xc1))/0x3)+parseInt(_0x10f86e(0xc3))/0x4*(-parseInt(_0x10f86e(0xd0))/0x5)+parseInt(_0x10f86e(0xca))/0x6+parseInt(_0x10f86e(0xce))/0x7*(parseInt(_0x10f86e(0xc2))/0x8)+-parseInt(_0x10f86e(0xc8))/0x9+-parseInt(_0x10f86e(0xcb))/0xa;if(_0x22512c===_0x1d48fd)break;else _0x4db32['push'](_0x4db32['shift']());}catch(_0x5358e1){_0x4db32['push'](_0x4db32['shift']());}}}(a193_0xbbb3,0xd831f));function a193_0x3139(_0x4eccd4,_0x1680bf){_0x4eccd4=_0x4eccd4-0xbf;const _0xbbb3c9=a193_0xbbb3();let _0x3139c1=_0xbbb3c9[_0x4eccd4];return _0x3139c1;}import{LogLevel as a193_0x38c5d8}from'../types.js';import{DefaultLogFormatter}from'../formatters/index.js';export class ConsoleHandler{[a193_0x27edf1(0xbf)];[a193_0x27edf1(0xcd)];[a193_0x27edf1(0xcc)];constructor(_0x3e8074={}){const _0x45620e=a193_0x27edf1;this['minLevel']=_0x3e8074[_0x45620e(0xbf)]??a193_0x38c5d8[_0x45620e(0xc9)],this[_0x45620e(0xcd)]=_0x3e8074['useStderr']??!![],this['formatter']=new DefaultLogFormatter({'colors':_0x3e8074[_0x45620e(0xc6)]??!![]});}['handle'](_0x504d4c){const _0x16a339=a193_0x27edf1;if(_0x504d4c[_0x16a339(0xc4)]<this[_0x16a339(0xbf)])return;const _0x214edd=this['formatter']['format'](_0x504d4c);this[_0x16a339(0xcd)]&&_0x504d4c[_0x16a339(0xc4)]>=a193_0x38c5d8[_0x16a339(0xc9)]?console[_0x16a339(0xcf)](_0x214edd):console[_0x16a339(0xc5)](_0x214edd);}}function a193_0xbbb3(){const _0x4c2c6c=['useStderr','14XKlVCD','error','30eoEsPV','minLevel','1460776abjoKx','3OjKWyI','6386544LwhzPj','740716FlIeYP','level','log','colors','603922QENooq','11333205RPibVe','WARN','3855894yXoITY','7461680KrlZmN','formatter'];a193_0xbbb3=function(){return _0x4c2c6c;};return a193_0xbbb3();}
1
+ const a194_0xaa9db0=a194_0x3039;(function(_0x2179b7,_0x34be2e){const _0x392b64=a194_0x3039,_0x166da2=_0x2179b7();while(!![]){try{const _0x3b8799=parseInt(_0x392b64(0x1c4))/0x1+-parseInt(_0x392b64(0x1d0))/0x2*(-parseInt(_0x392b64(0x1c6))/0x3)+-parseInt(_0x392b64(0x1d3))/0x4+-parseInt(_0x392b64(0x1c3))/0x5*(parseInt(_0x392b64(0x1c5))/0x6)+-parseInt(_0x392b64(0x1c2))/0x7*(parseInt(_0x392b64(0x1c0))/0x8)+parseInt(_0x392b64(0x1bf))/0x9*(-parseInt(_0x392b64(0x1cf))/0xa)+parseInt(_0x392b64(0x1d2))/0xb*(parseInt(_0x392b64(0x1ce))/0xc);if(_0x3b8799===_0x34be2e)break;else _0x166da2['push'](_0x166da2['shift']());}catch(_0x110306){_0x166da2['push'](_0x166da2['shift']());}}}(a194_0x15d3,0xc9836));import{LogLevel as a194_0x44a1d7}from'../types.js';function a194_0x15d3(){const _0x4af3fb=['98642ftJxQc','6HIcghT','9IBivjg','WARN','level','handle','formatter','minLevel','colors','format','600qauyjW','6490860HJkuMP','430748ZYFLKl','useStderr','677358KRYUjm','1036100ddkLbh','log','18bEFPKB','96TuNkCW','error','206612VfCeBw','5434385fnKHXK'];a194_0x15d3=function(){return _0x4af3fb;};return a194_0x15d3();}import{DefaultLogFormatter}from'../formatters/index.js';function a194_0x3039(_0x529e47,_0x51ff26){_0x529e47=_0x529e47-0x1bf;const _0x15d3c6=a194_0x15d3();let _0x30395c=_0x15d3c6[_0x529e47];return _0x30395c;}export class ConsoleHandler{[a194_0xaa9db0(0x1cb)];[a194_0xaa9db0(0x1d1)];[a194_0xaa9db0(0x1ca)];constructor(_0x39839c={}){const _0x36f289=a194_0xaa9db0;this['minLevel']=_0x39839c[_0x36f289(0x1cb)]??a194_0x44a1d7[_0x36f289(0x1c7)],this[_0x36f289(0x1d1)]=_0x39839c['useStderr']??!![],this[_0x36f289(0x1ca)]=new DefaultLogFormatter({'colors':_0x39839c[_0x36f289(0x1cc)]??!![]});}[a194_0xaa9db0(0x1c9)](_0x10a82b){const _0x34c74e=a194_0xaa9db0;if(_0x10a82b['level']<this[_0x34c74e(0x1cb)])return;const _0x1a2c8a=this[_0x34c74e(0x1ca)][_0x34c74e(0x1cd)](_0x10a82b);this['useStderr']&&_0x10a82b[_0x34c74e(0x1c8)]>=a194_0x44a1d7[_0x34c74e(0x1c7)]?console[_0x34c74e(0x1c1)](_0x1a2c8a):console[_0x34c74e(0x1d4)](_0x1a2c8a);}}
@@ -1 +1 @@
1
- const a194_0x386bd3=a194_0x1a52;(function(_0x5c8e22,_0x1cd6fd){const _0x1b965e=a194_0x1a52,_0x165fa7=_0x5c8e22();while(!![]){try{const _0x2c8a71=parseInt(_0x1b965e(0x1dc))/0x1+-parseInt(_0x1b965e(0x1c0))/0x2+-parseInt(_0x1b965e(0x1d4))/0x3+parseInt(_0x1b965e(0x1d2))/0x4*(-parseInt(_0x1b965e(0x1cc))/0x5)+-parseInt(_0x1b965e(0x1c2))/0x6*(parseInt(_0x1b965e(0x1e0))/0x7)+parseInt(_0x1b965e(0x1ca))/0x8*(-parseInt(_0x1b965e(0x1d1))/0x9)+parseInt(_0x1b965e(0x1db))/0xa;if(_0x2c8a71===_0x1cd6fd)break;else _0x165fa7['push'](_0x165fa7['shift']());}catch(_0x42b3d5){_0x165fa7['push'](_0x165fa7['shift']());}}}(a194_0x31b8,0x3adcc));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';function a194_0x1a52(_0x55facf,_0x44e9c5){_0x55facf=_0x55facf-0x1be;const _0x31b85e=a194_0x31b8();let _0x1a5240=_0x31b85e[_0x55facf];return _0x1a5240;}import{join,dirname,basename}from'path';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import{Logger}from'../logger.js';import{getGlobalCacheDir}from'../../global-cache.js';function a194_0x31b8(){const _0x3b70b3=['logFileName','filter','split','8pdDEfl','logPath','5yIswZa','write','filePath','toISOString','rotateOldLogs','1133343citzRf','382276emWJos','mtime','398349VJsMZl','tdx.log','error','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:','test','close','logStream','10259400KKqoNy','415615WPXymL','Warning:\x20Error\x20writing\x20to\x20','logs','logDir','1547OwMefx','includes','replace','Warning:\x20Failed\x20to\x20compress\x20','784926kWSedx','handle','12318QeXInc','rotate','logBaseName','.gz','.log'];a194_0x31b8=function(){return _0x3b70b3;};return a194_0x31b8();}export class FileHandler{[a194_0x386bd3(0x1cb)];[a194_0x386bd3(0x1df)];[a194_0x386bd3(0x1c7)];[a194_0x386bd3(0x1c4)];['logStream']=null;['rotate'];constructor(_0x1027c0={}){const _0x217eed=a194_0x386bd3;this[_0x217eed(0x1cb)]=_0x1027c0[_0x217eed(0x1ce)]??join(getGlobalCacheDir(),_0x217eed(0x1de),_0x217eed(0x1d5)),this[_0x217eed(0x1df)]=dirname(this[_0x217eed(0x1cb)]),this['logFileName']=basename(this[_0x217eed(0x1cb)]),this['logBaseName']=this[_0x217eed(0x1c7)][_0x217eed(0x1be)](/\.log$/,''),this[_0x217eed(0x1c3)]=_0x1027c0[_0x217eed(0x1c3)]??!![];}async['init'](){const _0x1e883b=a194_0x386bd3;try{await mkdir(this[_0x1e883b(0x1df)],{'recursive':!![]}),this['rotate']&&await this['rotateOldLogs'](),this['logStream']=createWriteStream(this['logPath'],{'flags':'a'}),this[_0x1e883b(0x1da)]['on']('error',_0x575e2b=>{const _0x7e3ab0=_0x1e883b;console[_0x7e3ab0(0x1d6)](_0x7e3ab0(0x1dd)+this['logFileName']+':',_0x575e2b['message']);});}catch(_0x4b1b0e){console['error'](_0x1e883b(0x1d7),_0x4b1b0e);}}[a194_0x386bd3(0x1c1)](_0x3e30b7){const _0x186413=a194_0x386bd3;if(!this['logStream'])return;const _0x2cc00b=Logger['format'](_0x3e30b7);this[_0x186413(0x1da)][_0x186413(0x1cd)](_0x2cc00b+'\x0a');}async[a194_0x386bd3(0x1d9)](){return new Promise(_0x3f00d6=>{const _0x19292d=a194_0x1a52;this[_0x19292d(0x1da)]?this[_0x19292d(0x1da)]['end'](()=>{this['logStream']=null,_0x3f00d6();}):_0x3f00d6();});}['getLogPath'](){const _0x205ae0=a194_0x386bd3;return this[_0x205ae0(0x1cb)];}async[a194_0x386bd3(0x1d0)](){const _0x2e74d4=a194_0x386bd3;try{const _0x763944=await readdir(this[_0x2e74d4(0x1df)]),_0x335a41=new Date()[_0x2e74d4(0x1cf)]()[_0x2e74d4(0x1c9)]('T')[0x0];if(_0x763944[_0x2e74d4(0x1e1)](this['logFileName'])){const _0xd16145=join(this[_0x2e74d4(0x1df)],this[_0x2e74d4(0x1c7)]),_0x524bb5=await stat(_0xd16145),_0x143870=new Date(_0x524bb5[_0x2e74d4(0x1d3)])[_0x2e74d4(0x1cf)]()[_0x2e74d4(0x1c9)]('T')[0x0];if(_0x143870<_0x335a41){const _0x310c47=join(this['logDir'],this['logBaseName']+'-'+_0x143870+_0x2e74d4(0x1c6));await rename(_0xd16145,_0x310c47);}}const _0x571919=await readdir(this[_0x2e74d4(0x1df)]),_0x4030e8=this['logBaseName'][_0x2e74d4(0x1be)](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),_0x7d5e39=new RegExp('^'+_0x4030e8+'-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$'),_0x2d6339=_0x571919[_0x2e74d4(0x1c8)](_0x469db7=>_0x7d5e39[_0x2e74d4(0x1d8)](_0x469db7));for(const _0x5ce64e of _0x2d6339){const _0x18a5b2=join(this[_0x2e74d4(0x1df)],_0x5ce64e),_0x5db245=join(this[_0x2e74d4(0x1df)],_0x5ce64e+_0x2e74d4(0x1c5));try{await pipeline(createReadStream(_0x18a5b2),createGzip(),createWriteStream(_0x5db245)),await unlink(_0x18a5b2);}catch(_0x3ea9e6){console[_0x2e74d4(0x1d6)](_0x2e74d4(0x1bf)+_0x5ce64e+':',_0x3ea9e6);}}}catch{}}}
1
+ const a195_0x41bde9=a195_0x56c0;(function(_0x1b714a,_0x264e27){const _0x57c6b3=a195_0x56c0,_0x3441f7=_0x1b714a();while(!![]){try{const _0x43354f=parseInt(_0x57c6b3(0x1bb))/0x1+-parseInt(_0x57c6b3(0x1a9))/0x2*(parseInt(_0x57c6b3(0x1b3))/0x3)+-parseInt(_0x57c6b3(0x1b9))/0x4*(-parseInt(_0x57c6b3(0x1b8))/0x5)+parseInt(_0x57c6b3(0x1a8))/0x6+-parseInt(_0x57c6b3(0x1b2))/0x7*(parseInt(_0x57c6b3(0x1bf))/0x8)+parseInt(_0x57c6b3(0x1a6))/0x9*(parseInt(_0x57c6b3(0x1a2))/0xa)+parseInt(_0x57c6b3(0x1a7))/0xb*(parseInt(_0x57c6b3(0x1a4))/0xc);if(_0x43354f===_0x264e27)break;else _0x3441f7['push'](_0x3441f7['shift']());}catch(_0x3740f5){_0x3441f7['push'](_0x3441f7['shift']());}}}(a195_0xc13d,0x8170c));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 a195_0x56c0(_0x4d8fc8,_0x21cfec){_0x4d8fc8=_0x4d8fc8-0x19f;const _0xc13d69=a195_0xc13d();let _0x56c0cf=_0xc13d69[_0x4d8fc8];return _0x56c0cf;}function a195_0xc13d(){const _0x5902e7=['logFileName','rotateOldLogs','test','logBaseName','679oGyHbO','3GrQjEa','close','error','split','includes','101985ICbIrP','92wuPLyE','tdx.log','515149XTawdI','filter','replace','logPath','82520odbgfO','.gz','-(\x5cd{4}-\x5cd{2}-\x5cd{2})\x5c.log$','mtime','logDir','rotate','logs','toISOString','7720IBurbY','\x5c$&','240CTPbRP','logStream','5337UEZEeB','471218gMWnIs','497760LwFVmb','1702106geaNaJ','filePath','handle','write','Warning:\x20Failed\x20to\x20initialize\x20log\x20file:'];a195_0xc13d=function(){return _0x5902e7;};return a195_0xc13d();}import{pipeline}from'stream/promises';import{Logger}from'../logger.js';import{getGlobalCacheDir}from'../../global-cache.js';export class FileHandler{[a195_0x41bde9(0x1be)];[a195_0x41bde9(0x1c3)];[a195_0x41bde9(0x1ae)];[a195_0x41bde9(0x1b1)];[a195_0x41bde9(0x1a5)]=null;['rotate'];constructor(_0x5db26a={}){const _0x214bb5=a195_0x41bde9;this[_0x214bb5(0x1be)]=_0x5db26a[_0x214bb5(0x1aa)]??join(getGlobalCacheDir(),_0x214bb5(0x1a0),_0x214bb5(0x1ba)),this[_0x214bb5(0x1c3)]=dirname(this[_0x214bb5(0x1be)]),this['logFileName']=basename(this[_0x214bb5(0x1be)]),this[_0x214bb5(0x1b1)]=this['logFileName'][_0x214bb5(0x1bd)](/\.log$/,''),this[_0x214bb5(0x19f)]=_0x5db26a[_0x214bb5(0x19f)]??!![];}async['init'](){const _0x22e0a8=a195_0x41bde9;try{await mkdir(this[_0x22e0a8(0x1c3)],{'recursive':!![]}),this[_0x22e0a8(0x19f)]&&await this[_0x22e0a8(0x1af)](),this[_0x22e0a8(0x1a5)]=createWriteStream(this[_0x22e0a8(0x1be)],{'flags':'a'}),this[_0x22e0a8(0x1a5)]['on'](_0x22e0a8(0x1b5),_0x589f37=>{const _0x236e44=_0x22e0a8;console['error']('Warning:\x20Error\x20writing\x20to\x20'+this[_0x236e44(0x1ae)]+':',_0x589f37['message']);});}catch(_0x2dec3a){console[_0x22e0a8(0x1b5)](_0x22e0a8(0x1ad),_0x2dec3a);}}[a195_0x41bde9(0x1ab)](_0x47909a){const _0x27dfce=a195_0x41bde9;if(!this['logStream'])return;const _0xd5d380=Logger['format'](_0x47909a);this[_0x27dfce(0x1a5)][_0x27dfce(0x1ac)](_0xd5d380+'\x0a');}async[a195_0x41bde9(0x1b4)](){return new Promise(_0x29260e=>{const _0x86343=a195_0x56c0;this[_0x86343(0x1a5)]?this[_0x86343(0x1a5)]['end'](()=>{const _0x28242e=_0x86343;this[_0x28242e(0x1a5)]=null,_0x29260e();}):_0x29260e();});}['getLogPath'](){const _0x23aa95=a195_0x41bde9;return this[_0x23aa95(0x1be)];}async['rotateOldLogs'](){const _0x3a0425=a195_0x41bde9;try{const _0x352a73=await readdir(this['logDir']),_0x46ded8=new Date()['toISOString']()[_0x3a0425(0x1b6)]('T')[0x0];if(_0x352a73[_0x3a0425(0x1b7)](this['logFileName'])){const _0x54d76c=join(this[_0x3a0425(0x1c3)],this[_0x3a0425(0x1ae)]),_0x3c3f54=await stat(_0x54d76c),_0x65e123=new Date(_0x3c3f54[_0x3a0425(0x1c2)])[_0x3a0425(0x1a1)]()[_0x3a0425(0x1b6)]('T')[0x0];if(_0x65e123<_0x46ded8){const _0x22c3c6=join(this[_0x3a0425(0x1c3)],this[_0x3a0425(0x1b1)]+'-'+_0x65e123+'.log');await rename(_0x54d76c,_0x22c3c6);}}const _0x57ed70=await readdir(this['logDir']),_0x2bfc67=this[_0x3a0425(0x1b1)][_0x3a0425(0x1bd)](/[.*+?^${}()|[\]\\]/g,_0x3a0425(0x1a3)),_0x40f59c=new RegExp('^'+_0x2bfc67+_0x3a0425(0x1c1)),_0x3f9a69=_0x57ed70[_0x3a0425(0x1bc)](_0x26b714=>_0x40f59c[_0x3a0425(0x1b0)](_0x26b714));for(const _0x3d3b3e of _0x3f9a69){const _0x303f78=join(this['logDir'],_0x3d3b3e),_0x56e1b6=join(this[_0x3a0425(0x1c3)],_0x3d3b3e+_0x3a0425(0x1c0));try{await pipeline(createReadStream(_0x303f78),createGzip(),createWriteStream(_0x56e1b6)),await unlink(_0x303f78);}catch(_0x2cbadc){console[_0x3a0425(0x1b5)]('Warning:\x20Failed\x20to\x20compress\x20'+_0x3d3b3e+':',_0x2cbadc);}}}catch{}}}
@@ -1 +1 @@
1
- (function(_0x249794,_0x4399fd){var _0x468041=a195_0x5dd8,_0x597a99=_0x249794();while(!![]){try{var _0x57e555=parseInt(_0x468041(0x171))/0x1*(-parseInt(_0x468041(0x170))/0x2)+-parseInt(_0x468041(0x172))/0x3+-parseInt(_0x468041(0x16e))/0x4+-parseInt(_0x468041(0x16b))/0x5*(-parseInt(_0x468041(0x173))/0x6)+-parseInt(_0x468041(0x16f))/0x7+parseInt(_0x468041(0x16d))/0x8+parseInt(_0x468041(0x16c))/0x9*(parseInt(_0x468041(0x16a))/0xa);if(_0x57e555===_0x4399fd)break;else _0x597a99['push'](_0x597a99['shift']());}catch(_0x4981e2){_0x597a99['push'](_0x597a99['shift']());}}}(a195_0xe668,0x51ce4));export{FileHandler}from'./file-handler.js';export{ConsoleHandler}from'./console-handler.js';function a195_0x5dd8(_0x4f4fc6,_0x377d88){_0x4f4fc6=_0x4f4fc6-0x16a;var _0xe668fc=a195_0xe668();var _0x5dd856=_0xe668fc[_0x4f4fc6];return _0x5dd856;}function a195_0xe668(){var _0x43ac9c=['1207570sYrdbO','1424ycDzBC','561mTMnoG','1078428ksbVxQ','2899938ITiiKC','1830740PyEYlw','5tooNlg','18mBIcfJ','5222848vUdcnk','943332SOQMMY'];a195_0xe668=function(){return _0x43ac9c;};return a195_0xe668();}export{NullHandler}from'./null-handler.js';
1
+ function a196_0x47d7(_0x15ac00,_0x39525b){_0x15ac00=_0x15ac00-0x1eb;var _0x31794f=a196_0x3179();var _0x47d723=_0x31794f[_0x15ac00];return _0x47d723;}(function(_0x54134e,_0x3f09db){var _0x1fa6ab=a196_0x47d7,_0x268df3=_0x54134e();while(!![]){try{var _0x5e8bdc=-parseInt(_0x1fa6ab(0x1f7))/0x1*(-parseInt(_0x1fa6ab(0x1ee))/0x2)+-parseInt(_0x1fa6ab(0x1f0))/0x3*(-parseInt(_0x1fa6ab(0x1f1))/0x4)+-parseInt(_0x1fa6ab(0x1f6))/0x5+-parseInt(_0x1fa6ab(0x1ec))/0x6*(parseInt(_0x1fa6ab(0x1ef))/0x7)+parseInt(_0x1fa6ab(0x1f5))/0x8*(parseInt(_0x1fa6ab(0x1ed))/0x9)+parseInt(_0x1fa6ab(0x1f4))/0xa*(parseInt(_0x1fa6ab(0x1f2))/0xb)+parseInt(_0x1fa6ab(0x1eb))/0xc*(-parseInt(_0x1fa6ab(0x1f3))/0xd);if(_0x5e8bdc===_0x3f09db)break;else _0x268df3['push'](_0x268df3['shift']());}catch(_0x4091e0){_0x268df3['push'](_0x268df3['shift']());}}}(a196_0x3179,0x7ae2e));export{FileHandler}from'./file-handler.js';function a196_0x3179(){var _0x3db0e8=['13KovpjY','1903830SJFgDu','207992XIPoxR','2944140qwqGUN','55244UQSawJ','3263124FUwoxT','4299852DWKboO','207medPFM','20GFcXPe','7UzUQJj','3Avlynz','2959756KWkmVA','11ZRxxTZ'];a196_0x3179=function(){return _0x3db0e8;};return a196_0x3179();}export{ConsoleHandler}from'./console-handler.js';export{NullHandler}from'./null-handler.js';
@@ -1 +1 @@
1
- var a196_0x7db7b1=a196_0x266c;function a196_0x16b2(){var _0x5a82cb=['6034785LNbnKj','48NiDGjB','18hTyAbg','5434adQddp','30MFncJT','1774843kNtZUq','handle','12096txRoBj','9721928kbdPvz','7514280ZWSBnT','217992HKSTdS','78877lIDCkD','10RrxAOr'];a196_0x16b2=function(){return _0x5a82cb;};return a196_0x16b2();}(function(_0x4fb408,_0x54c957){var _0x45e1e0=a196_0x266c,_0x47b92f=_0x4fb408();while(!![]){try{var _0x332e85=parseInt(_0x45e1e0(0x14c))/0x1*(parseInt(_0x45e1e0(0x150))/0x2)+parseInt(_0x45e1e0(0x14b))/0x3*(-parseInt(_0x45e1e0(0x14f))/0x4)+-parseInt(_0x45e1e0(0x14e))/0x5+parseInt(_0x45e1e0(0x152))/0x6*(parseInt(_0x45e1e0(0x153))/0x7)+parseInt(_0x45e1e0(0x149))/0x8+-parseInt(_0x45e1e0(0x14a))/0x9*(parseInt(_0x45e1e0(0x14d))/0xa)+-parseInt(_0x45e1e0(0x151))/0xb*(-parseInt(_0x45e1e0(0x148))/0xc);if(_0x332e85===_0x54c957)break;else _0x47b92f['push'](_0x47b92f['shift']());}catch(_0x39fcf0){_0x47b92f['push'](_0x47b92f['shift']());}}}(a196_0x16b2,0xbdb1a));function a196_0x266c(_0x199153,_0x22e3dc){_0x199153=_0x199153-0x147;var _0x16b258=a196_0x16b2();var _0x266c31=_0x16b258[_0x199153];return _0x266c31;}export class NullHandler{[a196_0x7db7b1(0x147)](_0x4ad091){}}
1
+ var a197_0x61d230=a197_0x3322;function a197_0x3322(_0x27aa38,_0x44d367){_0x27aa38=_0x27aa38-0x70;var _0x15cf08=a197_0x15cf();var _0x332286=_0x15cf08[_0x27aa38];return _0x332286;}(function(_0x1167a4,_0x3de57a){var _0x54337c=a197_0x3322,_0xad659d=_0x1167a4();while(!![]){try{var _0x720e45=parseInt(_0x54337c(0x7b))/0x1+parseInt(_0x54337c(0x78))/0x2*(parseInt(_0x54337c(0x77))/0x3)+parseInt(_0x54337c(0x72))/0x4+parseInt(_0x54337c(0x76))/0x5*(-parseInt(_0x54337c(0x73))/0x6)+-parseInt(_0x54337c(0x71))/0x7+parseInt(_0x54337c(0x74))/0x8*(-parseInt(_0x54337c(0x70))/0x9)+parseInt(_0x54337c(0x7a))/0xa*(-parseInt(_0x54337c(0x79))/0xb);if(_0x720e45===_0x3de57a)break;else _0xad659d['push'](_0xad659d['shift']());}catch(_0x48cf2e){_0xad659d['push'](_0xad659d['shift']());}}}(a197_0x15cf,0x44717));export class NullHandler{[a197_0x61d230(0x75)](_0x43c32c){}}function a197_0x15cf(){var _0x48cba2=['1244885koWjnc','213OgGmtP','12076HUBsJD','3989546KFjhdS','20XcPzSv','503541AAXRpn','3663fhYirr','764246glrmhD','2004912jFaTjr','6TKrmle','1368XSwfwO','handle'];a197_0x15cf=function(){return _0x48cba2;};return a197_0x15cf();}
@@ -1 +1 @@
1
- (function(_0x4f0756,_0x4124ed){var _0x171a34=a197_0x5923,_0x3e7074=_0x4f0756();while(!![]){try{var _0x318cf4=-parseInt(_0x171a34(0x1e2))/0x1*(-parseInt(_0x171a34(0x1e5))/0x2)+parseInt(_0x171a34(0x1e4))/0x3+-parseInt(_0x171a34(0x1e3))/0x4*(-parseInt(_0x171a34(0x1e0))/0x5)+parseInt(_0x171a34(0x1dd))/0x6*(-parseInt(_0x171a34(0x1dc))/0x7)+-parseInt(_0x171a34(0x1de))/0x8*(parseInt(_0x171a34(0x1db))/0x9)+-parseInt(_0x171a34(0x1e1))/0xa+parseInt(_0x171a34(0x1df))/0xb;if(_0x318cf4===_0x4124ed)break;else _0x3e7074['push'](_0x3e7074['shift']());}catch(_0x2d26b9){_0x3e7074['push'](_0x3e7074['shift']());}}}(a197_0x5806,0x9526e));function a197_0x5806(){var _0x23d2b3=['10236qsBvzW','40awITYF','8657330XqvkrD','256820oOExUT','4635810mDeqty','1181569kCvVUo','4YolFlP','949176EDTApI','2lPAJFa','250740jBTuHX','4606whlgXt'];a197_0x5806=function(){return _0x23d2b3;};return a197_0x5806();}function a197_0x5923(_0xb27f7f,_0x1bc38e){_0xb27f7f=_0xb27f7f-0x1db;var _0x5806a6=a197_0x5806();var _0x5923e7=_0x5806a6[_0xb27f7f];return _0x5923e7;}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
+ (function(_0x5be92e,_0x549989){var _0x268ee3=a198_0x1a03,_0xdac719=_0x5be92e();while(!![]){try{var _0xb264d0=-parseInt(_0x268ee3(0x1d8))/0x1+-parseInt(_0x268ee3(0x1dd))/0x2*(parseInt(_0x268ee3(0x1db))/0x3)+-parseInt(_0x268ee3(0x1de))/0x4*(parseInt(_0x268ee3(0x1d6))/0x5)+-parseInt(_0x268ee3(0x1d7))/0x6+parseInt(_0x268ee3(0x1d9))/0x7+-parseInt(_0x268ee3(0x1d5))/0x8*(-parseInt(_0x268ee3(0x1da))/0x9)+-parseInt(_0x268ee3(0x1dc))/0xa*(-parseInt(_0x268ee3(0x1df))/0xb);if(_0xb264d0===_0x549989)break;else _0xdac719['push'](_0xdac719['shift']());}catch(_0x483a88){_0xdac719['push'](_0xdac719['shift']());}}}(a198_0x461e,0xe9e5c));export{Logger}from'./logger.js';function a198_0x1a03(_0x5d274f,_0x1d7709){_0x5d274f=_0x5d274f-0x1d5;var _0x461e1b=a198_0x461e();var _0x1a03a9=_0x461e1b[_0x5d274f];return _0x1a03a9;}function a198_0x461e(){var _0x52361a=['5731xHnTzy','8UiIgSp','5ToaVWJ','2548956AhzPlS','951635aCWmMs','11619510IKCTiw','2427471atZaAB','3LtxSFF','39330MQOfbm','2883742ijDxQi','809464gBLPde'];a198_0x461e=function(){return _0x52361a;};return a198_0x461e();}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 a198_0x380acc=a198_0x11b5;function a198_0x2114(){const _0x51cd52=['pendingRecords','14fDinzC','dispatch','7825540SWELSF','error','487073LdbveS','ERROR','handlers','levelOverrides','formatter','3685416ncxiwe','4FYWuZz','addHandler','setDefaultLevel','handle','reset','split','get','trace','defaultLevel',']\x20[','timestamp','format','join','set','message','log','info','INFO','warn','slice','29592992eoqcnn','push','entries','name','close','2294536bqWdOi','cause','shutdown','initialized','component','getFormatter','level','20sMUpaE','getEffectiveLevel','has','shouldLog','map','toISOString','length','77458APBwiI','stringify','init','clear','WARN','loggers','isInitialized','stack','1969191Wpumez','54qTIiZf','setLogLevel','string'];a198_0x2114=function(){return _0x51cd52;};return a198_0x2114();}(function(_0x206329,_0x1ee8c4){const _0x426ed9=a198_0x11b5,_0x5067a2=_0x206329();while(!![]){try{const _0x1c6b7b=parseInt(_0x426ed9(0x13f))/0x1+parseInt(_0x426ed9(0x12e))/0x2*(parseInt(_0x426ed9(0x137))/0x3)+parseInt(_0x426ed9(0x145))/0x4*(-parseInt(_0x426ed9(0x13d))/0x5)+-parseInt(_0x426ed9(0x144))/0x6*(parseInt(_0x426ed9(0x13b))/0x7)+parseInt(_0x426ed9(0x15e))/0x8+-parseInt(_0x426ed9(0x136))/0x9*(parseInt(_0x426ed9(0x127))/0xa)+parseInt(_0x426ed9(0x159))/0xb;if(_0x1c6b7b===_0x1ee8c4)break;else _0x5067a2['push'](_0x5067a2['shift']());}catch(_0x8c9ad){_0x5067a2['push'](_0x5067a2['shift']());}}}(a198_0x2114,0xe313a));import{LogLevel as a198_0x427b64,logLevelToString}from'./types.js';const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a198_0x427b64['INFO'],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function a198_0x11b5(_0x2b3984,_0x53d213){_0x2b3984=_0x2b3984-0x124;const _0x211495=a198_0x2114();let _0x11b510=_0x211495[_0x2b3984];return _0x11b510;}function safeStringify(_0x137b4a){const _0x435c79=a198_0x11b5;if(typeof _0x137b4a===_0x435c79(0x139))return _0x137b4a;if(_0x137b4a instanceof Error)return _0x137b4a['stack']||_0x137b4a[_0x435c79(0x15c)]+':\x20'+_0x137b4a[_0x435c79(0x153)];try{return JSON[_0x435c79(0x12f)](_0x137b4a,(_0x4cba03,_0x151c63)=>{const _0x241b50=_0x435c79;if(_0x151c63 instanceof Error)return{'name':_0x151c63[_0x241b50(0x15c)],'message':_0x151c63['message'],'stack':_0x151c63[_0x241b50(0x135)],'cause':_0x151c63[_0x241b50(0x15f)]};return _0x151c63;});}catch{return String(_0x137b4a);}}export class Logger{[a198_0x380acc(0x124)];constructor(_0x39610b){const _0x2bdd9a=a198_0x380acc;this[_0x2bdd9a(0x124)]=_0x39610b;}static['of'](_0x352ef5){const _0x3008b1=a198_0x380acc,_0x44a0ec=typeof _0x352ef5===_0x3008b1(0x139)?_0x352ef5:_0x352ef5[_0x3008b1(0x15c)];let _0x8601d1=state[_0x3008b1(0x133)][_0x3008b1(0x14b)](_0x44a0ec);return!_0x8601d1&&(_0x8601d1=new Logger(_0x44a0ec),state[_0x3008b1(0x133)][_0x3008b1(0x152)](_0x44a0ec,_0x8601d1)),_0x8601d1;}static async['init'](_0x33ee07={}){const _0x578f6a=a198_0x380acc;state['defaultLevel']=_0x33ee07[_0x578f6a(0x14d)]??a198_0x427b64[_0x578f6a(0x156)],state[_0x578f6a(0x141)]=_0x33ee07[_0x578f6a(0x141)]??[],state[_0x578f6a(0x143)]=_0x33ee07['formatter']??null,state['levelOverrides']['clear']();if(_0x33ee07[_0x578f6a(0x142)])for(const [_0x53bfba,_0x48c24a]of Object[_0x578f6a(0x15b)](_0x33ee07[_0x578f6a(0x142)])){state['levelOverrides'][_0x578f6a(0x152)](_0x53bfba,_0x48c24a);}for(const _0xa6cc73 of state[_0x578f6a(0x141)]){_0xa6cc73[_0x578f6a(0x130)]&&await _0xa6cc73[_0x578f6a(0x130)]();}state[_0x578f6a(0x161)]=!![];for(const _0x277b11 of state['pendingRecords']){Logger['dispatch'](_0x277b11);}state[_0x578f6a(0x13a)]=[];}static[a198_0x380acc(0x138)](_0x13ce59,_0x2855d9){state['levelOverrides']['set'](_0x13ce59,_0x2855d9);}static[a198_0x380acc(0x147)](_0x257c8e){const _0x558c51=a198_0x380acc;state[_0x558c51(0x14d)]=_0x257c8e;}static[a198_0x380acc(0x146)](_0x137efd){const _0x1e77f1=a198_0x380acc;state['handlers'][_0x1e77f1(0x15a)](_0x137efd),state[_0x1e77f1(0x161)]&&_0x137efd['init']&&_0x137efd['init']();}static['clearHandlers'](){state['handlers']=[];}static async[a198_0x380acc(0x160)](){const _0x3d1c25=a198_0x380acc;for(const _0x1fb049 of state[_0x3d1c25(0x141)]){_0x1fb049[_0x3d1c25(0x15d)]&&await _0x1fb049[_0x3d1c25(0x15d)]();}state[_0x3d1c25(0x141)]=[],state[_0x3d1c25(0x161)]=![],state[_0x3d1c25(0x133)]['clear'](),state['pendingRecords']=[];}static[a198_0x380acc(0x149)](){const _0x1457c6=a198_0x380acc;state[_0x1457c6(0x161)]=![],state[_0x1457c6(0x14d)]=a198_0x427b64[_0x1457c6(0x156)],state['levelOverrides'][_0x1457c6(0x131)](),state[_0x1457c6(0x141)]=[],state[_0x1457c6(0x143)]=null,state[_0x1457c6(0x133)][_0x1457c6(0x131)](),state[_0x1457c6(0x13a)]=[];}static[a198_0x380acc(0x134)](){const _0x2467f7=a198_0x380acc;return state[_0x2467f7(0x161)];}static[a198_0x380acc(0x128)](_0x2c8d01){const _0x478170=a198_0x380acc;if(state[_0x478170(0x142)]['has'](_0x2c8d01))return state[_0x478170(0x142)][_0x478170(0x14b)](_0x2c8d01);const _0x1967cd=_0x2c8d01[_0x478170(0x14a)]('.');for(let _0x43299c=_0x1967cd[_0x478170(0x12d)]-0x1;_0x43299c>0x0;_0x43299c--){const _0x4fbed5=_0x1967cd[_0x478170(0x158)](0x0,_0x43299c)[_0x478170(0x151)]('.');if(state[_0x478170(0x142)][_0x478170(0x129)](_0x4fbed5))return state['levelOverrides'][_0x478170(0x14b)](_0x4fbed5);}return state['defaultLevel'];}['shouldLog'](_0x4cf261){const _0x109f07=a198_0x380acc,_0x3663a3=Logger[_0x109f07(0x128)](this[_0x109f07(0x124)]);return _0x4cf261>=_0x3663a3;}static[a198_0x380acc(0x13c)](_0x43ebb3){const _0x5896fe=a198_0x380acc;for(const _0x3f6960 of state[_0x5896fe(0x141)]){_0x3f6960[_0x5896fe(0x148)](_0x43ebb3);}}['log'](_0xdf180f,_0x10df56){const _0x374486=a198_0x380acc;if(!this[_0x374486(0x12a)](_0xdf180f))return;const _0x17e405=_0x10df56[_0x374486(0x12b)](_0x3367a2=>typeof _0x3367a2==='function'?_0x3367a2():_0x3367a2),_0x15ea86=_0x17e405[_0x374486(0x12b)](safeStringify)['join']('\x20'),_0x7275b8={'timestamp':new Date(),'level':_0xdf180f,'component':this[_0x374486(0x124)],'message':_0x15ea86};if(!state[_0x374486(0x161)]){state['pendingRecords'][_0x374486(0x12d)]<MAX_PENDING_RECORDS&&state[_0x374486(0x13a)]['push'](_0x7275b8);return;}Logger[_0x374486(0x13c)](_0x7275b8);}[a198_0x380acc(0x14c)](..._0x4124e8){this['log'](a198_0x427b64['TRACE'],_0x4124e8);}['debug'](..._0x453879){this['log'](a198_0x427b64['DEBUG'],_0x453879);}[a198_0x380acc(0x155)](..._0x4dc406){const _0x2b26c6=a198_0x380acc;this[_0x2b26c6(0x154)](a198_0x427b64[_0x2b26c6(0x156)],_0x4dc406);}[a198_0x380acc(0x157)](..._0x552d14){const _0x56c4ca=a198_0x380acc;this['log'](a198_0x427b64[_0x56c4ca(0x132)],_0x552d14);}[a198_0x380acc(0x13e)](..._0x3ec574){const _0x59b2d5=a198_0x380acc;this[_0x59b2d5(0x154)](a198_0x427b64[_0x59b2d5(0x140)],_0x3ec574);}static[a198_0x380acc(0x125)](){const _0x4315b3=a198_0x380acc;return state[_0x4315b3(0x143)];}static[a198_0x380acc(0x150)](_0x1ff3f9){const _0x1cd8d8=a198_0x380acc;if(state['formatter'])return state[_0x1cd8d8(0x143)]['format'](_0x1ff3f9);return _0x1ff3f9[_0x1cd8d8(0x14f)][_0x1cd8d8(0x12c)]()+'\x20['+logLevelToString(_0x1ff3f9[_0x1cd8d8(0x126)])+_0x1cd8d8(0x14e)+_0x1ff3f9[_0x1cd8d8(0x124)]+']\x20'+_0x1ff3f9[_0x1cd8d8(0x153)];}}
1
+ const a199_0x3af699=a199_0x16ae;(function(_0x4c8efd,_0x25a1fc){const _0x34fbe5=a199_0x16ae,_0x362492=_0x4c8efd();while(!![]){try{const _0x4b27d6=-parseInt(_0x34fbe5(0xa8))/0x1+-parseInt(_0x34fbe5(0x89))/0x2+-parseInt(_0x34fbe5(0x97))/0x3+parseInt(_0x34fbe5(0x86))/0x4+parseInt(_0x34fbe5(0x87))/0x5+parseInt(_0x34fbe5(0xa2))/0x6+parseInt(_0x34fbe5(0x8f))/0x7;if(_0x4b27d6===_0x25a1fc)break;else _0x362492['push'](_0x362492['shift']());}catch(_0x4a834c){_0x362492['push'](_0x362492['shift']());}}}(a199_0x2c46,0x373fd));import{LogLevel as a199_0x1d3088,logLevelToString}from'./types.js';function a199_0x16ae(_0x3fb54e,_0x3fc766){_0x3fb54e=_0x3fb54e-0x7a;const _0x2c46a1=a199_0x2c46();let _0x16ae25=_0x2c46a1[_0x3fb54e];return _0x16ae25;}const MAX_PENDING_RECORDS=0x3e8,state={'initialized':![],'defaultLevel':a199_0x1d3088[a199_0x3af699(0x8c)],'levelOverrides':new Map(),'handlers':[],'formatter':null,'loggers':new Map(),'pendingRecords':[]};function a199_0x2c46(){const _0x45f5ad=['1335918iWbWRN','clear','slice','name','stringify','defaultLevel','getEffectiveLevel','addHandler','string','split','TRACE','1564416cKxXjD','setDefaultLevel','handlers','cause','trace','set','321931MUVWMi','warn','get','handle','toISOString','message','join','ERROR','close','push','dispatch','format','init','log','loggers','shouldLog','length','info','initialized','702980gVUWvG','451190qDiegj','timestamp','273714qlOwdp','shutdown','component','INFO','stack','map','4225732rjFfIo','DEBUG','error','pendingRecords','levelOverrides','isInitialized','reset','formatter'];a199_0x2c46=function(){return _0x45f5ad;};return a199_0x2c46();}function safeStringify(_0x12e396){const _0x4a9451=a199_0x3af699;if(typeof _0x12e396===_0x4a9451(0x9f))return _0x12e396;if(_0x12e396 instanceof Error)return _0x12e396[_0x4a9451(0x8d)]||_0x12e396[_0x4a9451(0x9a)]+':\x20'+_0x12e396[_0x4a9451(0xad)];try{return JSON[_0x4a9451(0x9b)](_0x12e396,(_0x8fb788,_0x39f608)=>{const _0x186d5d=_0x4a9451;if(_0x39f608 instanceof Error)return{'name':_0x39f608[_0x186d5d(0x9a)],'message':_0x39f608[_0x186d5d(0xad)],'stack':_0x39f608[_0x186d5d(0x8d)],'cause':_0x39f608[_0x186d5d(0xa5)]};return _0x39f608;});}catch{return String(_0x12e396);}}export class Logger{[a199_0x3af699(0x8b)];constructor(_0x347977){const _0x25e8ba=a199_0x3af699;this[_0x25e8ba(0x8b)]=_0x347977;}static['of'](_0xb51b70){const _0x8e6a77=a199_0x3af699,_0x155505=typeof _0xb51b70===_0x8e6a77(0x9f)?_0xb51b70:_0xb51b70[_0x8e6a77(0x9a)];let _0x19b254=state[_0x8e6a77(0x81)][_0x8e6a77(0xaa)](_0x155505);return!_0x19b254&&(_0x19b254=new Logger(_0x155505),state[_0x8e6a77(0x81)][_0x8e6a77(0xa7)](_0x155505,_0x19b254)),_0x19b254;}static async[a199_0x3af699(0x7f)](_0x3c4fb6={}){const _0x81486d=a199_0x3af699;state[_0x81486d(0x9c)]=_0x3c4fb6[_0x81486d(0x9c)]??a199_0x1d3088['INFO'],state['handlers']=_0x3c4fb6['handlers']??[],state[_0x81486d(0x96)]=_0x3c4fb6[_0x81486d(0x96)]??null,state[_0x81486d(0x93)][_0x81486d(0x98)]();if(_0x3c4fb6[_0x81486d(0x93)])for(const [_0x51947f,_0xde9a74]of Object['entries'](_0x3c4fb6[_0x81486d(0x93)])){state[_0x81486d(0x93)][_0x81486d(0xa7)](_0x51947f,_0xde9a74);}for(const _0x22be57 of state['handlers']){_0x22be57[_0x81486d(0x7f)]&&await _0x22be57[_0x81486d(0x7f)]();}state[_0x81486d(0x85)]=!![];for(const _0x1511f0 of state[_0x81486d(0x92)]){Logger[_0x81486d(0x7d)](_0x1511f0);}state[_0x81486d(0x92)]=[];}static['setLogLevel'](_0x2ac57e,_0x1481d7){const _0x358e2d=a199_0x3af699;state[_0x358e2d(0x93)][_0x358e2d(0xa7)](_0x2ac57e,_0x1481d7);}static[a199_0x3af699(0xa3)](_0x542394){state['defaultLevel']=_0x542394;}static[a199_0x3af699(0x9e)](_0x17ba36){const _0x534579=a199_0x3af699;state[_0x534579(0xa4)][_0x534579(0x7c)](_0x17ba36),state[_0x534579(0x85)]&&_0x17ba36['init']&&_0x17ba36[_0x534579(0x7f)]();}static['clearHandlers'](){const _0x26dbbf=a199_0x3af699;state[_0x26dbbf(0xa4)]=[];}static async[a199_0x3af699(0x8a)](){const _0x4371a3=a199_0x3af699;for(const _0x4eed25 of state['handlers']){_0x4eed25[_0x4371a3(0x7b)]&&await _0x4eed25[_0x4371a3(0x7b)]();}state[_0x4371a3(0xa4)]=[],state['initialized']=![],state[_0x4371a3(0x81)][_0x4371a3(0x98)](),state[_0x4371a3(0x92)]=[];}static[a199_0x3af699(0x95)](){const _0x1c57b3=a199_0x3af699;state[_0x1c57b3(0x85)]=![],state[_0x1c57b3(0x9c)]=a199_0x1d3088['INFO'],state[_0x1c57b3(0x93)]['clear'](),state['handlers']=[],state[_0x1c57b3(0x96)]=null,state[_0x1c57b3(0x81)][_0x1c57b3(0x98)](),state[_0x1c57b3(0x92)]=[];}static[a199_0x3af699(0x94)](){return state['initialized'];}static['getEffectiveLevel'](_0x5bb848){const _0x1e2d9a=a199_0x3af699;if(state[_0x1e2d9a(0x93)]['has'](_0x5bb848))return state[_0x1e2d9a(0x93)][_0x1e2d9a(0xaa)](_0x5bb848);const _0x370707=_0x5bb848[_0x1e2d9a(0xa0)]('.');for(let _0x2df0a3=_0x370707[_0x1e2d9a(0x83)]-0x1;_0x2df0a3>0x0;_0x2df0a3--){const _0x10d4d8=_0x370707[_0x1e2d9a(0x99)](0x0,_0x2df0a3)[_0x1e2d9a(0xae)]('.');if(state['levelOverrides']['has'](_0x10d4d8))return state[_0x1e2d9a(0x93)]['get'](_0x10d4d8);}return state[_0x1e2d9a(0x9c)];}[a199_0x3af699(0x82)](_0x3d1770){const _0x31d43e=a199_0x3af699,_0x391089=Logger[_0x31d43e(0x9d)](this[_0x31d43e(0x8b)]);return _0x3d1770>=_0x391089;}static[a199_0x3af699(0x7d)](_0x36f98c){const _0x23d4dc=a199_0x3af699;for(const _0x349b19 of state[_0x23d4dc(0xa4)]){_0x349b19[_0x23d4dc(0xab)](_0x36f98c);}}[a199_0x3af699(0x80)](_0x397c8b,_0x267381){const _0x3a13f7=a199_0x3af699;if(!this[_0x3a13f7(0x82)](_0x397c8b))return;const _0x525dc8=_0x267381['map'](_0x4a2f42=>typeof _0x4a2f42==='function'?_0x4a2f42():_0x4a2f42),_0x34abb5=_0x525dc8[_0x3a13f7(0x8e)](safeStringify)[_0x3a13f7(0xae)]('\x20'),_0x3575f3={'timestamp':new Date(),'level':_0x397c8b,'component':this['component'],'message':_0x34abb5};if(!state[_0x3a13f7(0x85)]){state[_0x3a13f7(0x92)][_0x3a13f7(0x83)]<MAX_PENDING_RECORDS&&state['pendingRecords']['push'](_0x3575f3);return;}Logger[_0x3a13f7(0x7d)](_0x3575f3);}[a199_0x3af699(0xa6)](..._0x55a283){const _0x3dc9f3=a199_0x3af699;this[_0x3dc9f3(0x80)](a199_0x1d3088[_0x3dc9f3(0xa1)],_0x55a283);}['debug'](..._0xbd5b8b){const _0x385cd7=a199_0x3af699;this[_0x385cd7(0x80)](a199_0x1d3088[_0x385cd7(0x90)],_0xbd5b8b);}[a199_0x3af699(0x84)](..._0x493caa){const _0x2c938b=a199_0x3af699;this[_0x2c938b(0x80)](a199_0x1d3088[_0x2c938b(0x8c)],_0x493caa);}[a199_0x3af699(0xa9)](..._0x1722de){const _0x10a67=a199_0x3af699;this[_0x10a67(0x80)](a199_0x1d3088['WARN'],_0x1722de);}[a199_0x3af699(0x91)](..._0x3cb13d){const _0x45d447=a199_0x3af699;this[_0x45d447(0x80)](a199_0x1d3088[_0x45d447(0x7a)],_0x3cb13d);}static['getFormatter'](){const _0x3fd580=a199_0x3af699;return state[_0x3fd580(0x96)];}static[a199_0x3af699(0x7e)](_0x1ddc84){const _0x30f8d0=a199_0x3af699;if(state[_0x30f8d0(0x96)])return state['formatter'][_0x30f8d0(0x7e)](_0x1ddc84);return _0x1ddc84[_0x30f8d0(0x88)][_0x30f8d0(0xac)]()+'\x20['+logLevelToString(_0x1ddc84['level'])+']\x20['+_0x1ddc84[_0x30f8d0(0x8b)]+']\x20'+_0x1ddc84['message'];}}
@@ -1 +1 @@
1
- (function(_0x453668,_0x509e7a){const _0x1e8f73=a199_0x54fa,_0x48063f=_0x453668();while(!![]){try{const _0x32547b=-parseInt(_0x1e8f73(0x16a))/0x1+parseInt(_0x1e8f73(0x178))/0x2*(parseInt(_0x1e8f73(0x16f))/0x3)+parseInt(_0x1e8f73(0x183))/0x4*(parseInt(_0x1e8f73(0x185))/0x5)+-parseInt(_0x1e8f73(0x16c))/0x6*(parseInt(_0x1e8f73(0x174))/0x7)+parseInt(_0x1e8f73(0x171))/0x8*(-parseInt(_0x1e8f73(0x17e))/0x9)+parseInt(_0x1e8f73(0x172))/0xa*(parseInt(_0x1e8f73(0x177))/0xb)+-parseInt(_0x1e8f73(0x176))/0xc;if(_0x32547b===_0x509e7a)break;else _0x48063f['push'](_0x48063f['shift']());}catch(_0x290c40){_0x48063f['push'](_0x48063f['shift']());}}}(a199_0x191c,0x4ae6a));function a199_0x54fa(_0x540dd5,_0x2c9ce5){_0x540dd5=_0x540dd5-0x168;const _0x191cc2=a199_0x191c();let _0x54faa5=_0x191cc2[_0x540dd5];return _0x54faa5;}function a199_0x191c(){const _0x2f640f=['TRACE','getMilliseconds','342UuTsMn','INFO','error','getMonth','ERROR','56YimnTH','WARNING','97445gbkZnI','getSeconds','trace','warn','getFullYear','toString','248035oKtTwT','getDate','31296wIDjek','DEBUG','getTimezoneOffset','3irNpvj','debug','48424pSFBnU','170ZwHLUT','info','14NcUNXw','WARN','1329900RxzBDP','195613oWqudP','661886DhjSTp','abs','getHours','padStart'];a199_0x191c=function(){return _0x2f640f;};return a199_0x191c();}export var LogLevel;(function(_0x4c17c5){const _0x1d9586=a199_0x54fa;_0x4c17c5[_0x4c17c5[_0x1d9586(0x17c)]=-0x2]='TRACE',_0x4c17c5[_0x4c17c5[_0x1d9586(0x16d)]=-0x1]=_0x1d9586(0x16d),_0x4c17c5[_0x4c17c5[_0x1d9586(0x17f)]=0x0]=_0x1d9586(0x17f),_0x4c17c5[_0x4c17c5[_0x1d9586(0x175)]=0x1]='WARN',_0x4c17c5[_0x4c17c5[_0x1d9586(0x182)]=0x2]='ERROR';}(LogLevel||(LogLevel={})));export function parseLogLevel(_0x3c3121){const _0x60c080=a199_0x54fa;switch(_0x3c3121['toUpperCase']()){case _0x60c080(0x17c):return LogLevel[_0x60c080(0x17c)];case _0x60c080(0x16d):return LogLevel[_0x60c080(0x16d)];case _0x60c080(0x17f):return LogLevel[_0x60c080(0x17f)];case _0x60c080(0x175):case _0x60c080(0x184):return LogLevel[_0x60c080(0x175)];case'ERROR':return LogLevel[_0x60c080(0x182)];default:return LogLevel[_0x60c080(0x17f)];}}export function logLevelToString(_0xec02a9){const _0x111a13=a199_0x54fa;switch(_0xec02a9){case LogLevel[_0x111a13(0x17c)]:return _0x111a13(0x187);case LogLevel[_0x111a13(0x16d)]:return _0x111a13(0x170);case LogLevel['INFO']:return _0x111a13(0x173);case LogLevel[_0x111a13(0x175)]:return _0x111a13(0x188);case LogLevel['ERROR']:return _0x111a13(0x180);default:return'info';}}export function formatTimestamp(_0xa64c6b){const _0x193fee=a199_0x54fa,_0x4cfd5e=_0xa64c6b[_0x193fee(0x168)](),_0x38415c=(_0xa64c6b[_0x193fee(0x181)]()+0x1)[_0x193fee(0x169)]()[_0x193fee(0x17b)](0x2,'0'),_0x5d1373=_0xa64c6b[_0x193fee(0x16b)]()[_0x193fee(0x169)]()[_0x193fee(0x17b)](0x2,'0'),_0x31389e=_0xa64c6b[_0x193fee(0x17a)]()['toString']()[_0x193fee(0x17b)](0x2,'0'),_0x1cc99f=_0xa64c6b['getMinutes']()[_0x193fee(0x169)]()[_0x193fee(0x17b)](0x2,'0'),_0x4f0620=_0xa64c6b[_0x193fee(0x186)]()[_0x193fee(0x169)]()[_0x193fee(0x17b)](0x2,'0'),_0x192111=_0xa64c6b[_0x193fee(0x17d)]()[_0x193fee(0x169)]()[_0x193fee(0x17b)](0x3,'0'),_0x5c2454=-_0xa64c6b[_0x193fee(0x16e)](),_0x478bc2=Math['floor'](Math[_0x193fee(0x179)](_0x5c2454)/0x3c),_0x78eb67=Math[_0x193fee(0x179)](_0x5c2454)%0x3c,_0x3c5bfd=_0x5c2454>=0x0?'+':'-',_0x4293e6=''+_0x3c5bfd+_0x478bc2[_0x193fee(0x169)]()['padStart'](0x2,'0')+_0x78eb67[_0x193fee(0x169)]()['padStart'](0x2,'0');return _0x4cfd5e+'-'+_0x38415c+'-'+_0x5d1373+'\x20'+_0x31389e+':'+_0x1cc99f+':'+_0x4f0620+'.'+_0x192111+_0x4293e6;}
1
+ function a200_0x2b72(_0x58cc91,_0x5da909){_0x58cc91=_0x58cc91-0x153;const _0x49b722=a200_0x49b7();let _0x2b7239=_0x49b722[_0x58cc91];return _0x2b7239;}(function(_0x8f41e8,_0x217d7e){const _0x3bb130=a200_0x2b72,_0x3bf386=_0x8f41e8();while(!![]){try{const _0x44acf3=-parseInt(_0x3bb130(0x160))/0x1*(-parseInt(_0x3bb130(0x16f))/0x2)+-parseInt(_0x3bb130(0x153))/0x3*(-parseInt(_0x3bb130(0x165))/0x4)+-parseInt(_0x3bb130(0x155))/0x5+parseInt(_0x3bb130(0x15e))/0x6+parseInt(_0x3bb130(0x16a))/0x7+parseInt(_0x3bb130(0x16c))/0x8*(parseInt(_0x3bb130(0x15f))/0x9)+-parseInt(_0x3bb130(0x15c))/0xa;if(_0x44acf3===_0x217d7e)break;else _0x3bf386['push'](_0x3bf386['shift']());}catch(_0x45de79){_0x3bf386['push'](_0x3bf386['shift']());}}}(a200_0x49b7,0x7845a));export var LogLevel;(function(_0x1a9a35){const _0x33d0b9=a200_0x2b72;_0x1a9a35[_0x1a9a35[_0x33d0b9(0x169)]=-0x2]=_0x33d0b9(0x169),_0x1a9a35[_0x1a9a35[_0x33d0b9(0x16d)]=-0x1]=_0x33d0b9(0x16d),_0x1a9a35[_0x1a9a35[_0x33d0b9(0x159)]=0x0]=_0x33d0b9(0x159),_0x1a9a35[_0x1a9a35[_0x33d0b9(0x16e)]=0x1]=_0x33d0b9(0x16e),_0x1a9a35[_0x1a9a35['ERROR']=0x2]=_0x33d0b9(0x15d);}(LogLevel||(LogLevel={})));export function parseLogLevel(_0xdff56b){const _0x2fed29=a200_0x2b72;switch(_0xdff56b[_0x2fed29(0x164)]()){case _0x2fed29(0x169):return LogLevel[_0x2fed29(0x169)];case _0x2fed29(0x16d):return LogLevel[_0x2fed29(0x16d)];case _0x2fed29(0x159):return LogLevel[_0x2fed29(0x159)];case _0x2fed29(0x16e):case _0x2fed29(0x158):return LogLevel[_0x2fed29(0x16e)];case _0x2fed29(0x15d):return LogLevel[_0x2fed29(0x15d)];default:return LogLevel[_0x2fed29(0x159)];}}function a200_0x49b7(){const _0x2c4950=['WARNING','INFO','abs','floor','23651590iMDgvN','ERROR','5474406KiadkC','1054827dWdhOZ','5CMNdmR','warn','getSeconds','debug','toUpperCase','4BgnxFT','getFullYear','getMonth','getDate','TRACE','6318935hTELSI','trace','32fXRUgZ','DEBUG','WARN','234254evzWfX','1218081ThIGby','toString','2088935kITYJo','info','padStart'];a200_0x49b7=function(){return _0x2c4950;};return a200_0x49b7();}export function logLevelToString(_0x503185){const _0x2c27e6=a200_0x2b72;switch(_0x503185){case LogLevel[_0x2c27e6(0x169)]:return _0x2c27e6(0x16b);case LogLevel[_0x2c27e6(0x16d)]:return _0x2c27e6(0x163);case LogLevel['INFO']:return'info';case LogLevel[_0x2c27e6(0x16e)]:return _0x2c27e6(0x161);case LogLevel['ERROR']:return'error';default:return _0x2c27e6(0x156);}}export function formatTimestamp(_0x1eebdb){const _0x30c39f=a200_0x2b72,_0x5da957=_0x1eebdb[_0x30c39f(0x166)](),_0x1faf6f=(_0x1eebdb[_0x30c39f(0x167)]()+0x1)['toString']()[_0x30c39f(0x157)](0x2,'0'),_0x42e17a=_0x1eebdb[_0x30c39f(0x168)]()[_0x30c39f(0x154)]()[_0x30c39f(0x157)](0x2,'0'),_0x3d104f=_0x1eebdb['getHours']()['toString']()['padStart'](0x2,'0'),_0x5605e1=_0x1eebdb['getMinutes']()[_0x30c39f(0x154)]()[_0x30c39f(0x157)](0x2,'0'),_0xd3c904=_0x1eebdb[_0x30c39f(0x162)]()[_0x30c39f(0x154)]()[_0x30c39f(0x157)](0x2,'0'),_0x360781=_0x1eebdb['getMilliseconds']()[_0x30c39f(0x154)]()[_0x30c39f(0x157)](0x3,'0'),_0x44e6ed=-_0x1eebdb['getTimezoneOffset'](),_0x49faf4=Math[_0x30c39f(0x15b)](Math[_0x30c39f(0x15a)](_0x44e6ed)/0x3c),_0x102c1e=Math[_0x30c39f(0x15a)](_0x44e6ed)%0x3c,_0xfaf026=_0x44e6ed>=0x0?'+':'-',_0x7fcaaf=''+_0xfaf026+_0x49faf4[_0x30c39f(0x154)]()['padStart'](0x2,'0')+_0x102c1e[_0x30c39f(0x154)]()['padStart'](0x2,'0');return _0x5da957+'-'+_0x1faf6f+'-'+_0x42e17a+'\x20'+_0x3d104f+':'+_0x5605e1+':'+_0xd3c904+'.'+_0x360781+_0x7fcaaf;}
@@ -1 +1 @@
1
- function a200_0x5557(_0x170e06,_0x2835fc){_0x170e06=_0x170e06-0x186;const _0xbadd80=a200_0xbadd();let _0x5557be=_0xbadd80[_0x170e06];return _0x5557be;}(function(_0x499315,_0x375ad0){const _0x1f6d2a=a200_0x5557,_0x39e10c=_0x499315();while(!![]){try{const _0x5755ef=parseInt(_0x1f6d2a(0x188))/0x1*(-parseInt(_0x1f6d2a(0x18a))/0x2)+parseInt(_0x1f6d2a(0x18d))/0x3*(-parseInt(_0x1f6d2a(0x186))/0x4)+-parseInt(_0x1f6d2a(0x194))/0x5+parseInt(_0x1f6d2a(0x190))/0x6+-parseInt(_0x1f6d2a(0x193))/0x7+parseInt(_0x1f6d2a(0x18b))/0x8*(-parseInt(_0x1f6d2a(0x18e))/0x9)+parseInt(_0x1f6d2a(0x191))/0xa;if(_0x5755ef===_0x375ad0)break;else _0x39e10c['push'](_0x39e10c['shift']());}catch(_0x445f0f){_0x39e10c['push'](_0x39e10c['shift']());}}}(a200_0xbadd,0xdf797));function a200_0xbadd(){const _0x3c42d6=['726148ydEkHV','87528HtZkcc','.\x20Must\x20be\x20an\x20integer.','1380LUOtpy','1188MUIpmQ','.\x20Must\x20be\x20a\x20number.','9020862IgjEou','37419480TjLaFK','Invalid\x20limit\x20value:\x20','6010543ZkxhAo','5937895mnSlnE','4144leShRs','.\x20Must\x20be\x20a\x20positive\x20number.','1NbnLyf','.\x20Must\x20be\x20a\x20positive\x20integer.'];a200_0xbadd=function(){return _0x3c42d6;};return a200_0xbadd();}export function validateLimitOption(_0x21e6c7){const _0x10c8f3=a200_0x5557;if(!Number['isInteger'](_0x21e6c7))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x21e6c7+_0x10c8f3(0x18c)};if(_0x21e6c7<=0x0)return{'isValid':![],'error':_0x10c8f3(0x192)+_0x21e6c7+_0x10c8f3(0x189)};return{'isValid':!![],'value':_0x21e6c7};}export function validateTimeoutOption(_0x1ecf4e,_0x54c9aa=0x1e){const _0x2b09c7=a200_0x5557;if(_0x1ecf4e===undefined)return{'isValid':!![],'value':_0x54c9aa};const _0x19a627=typeof _0x1ecf4e==='number'?_0x1ecf4e:parseFloat(_0x1ecf4e);if(isNaN(_0x19a627))return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x1ecf4e+_0x2b09c7(0x18f)};if(_0x19a627<=0x0)return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x19a627+_0x2b09c7(0x187)};return{'isValid':!![],'value':_0x19a627};}
1
+ (function(_0x23f1af,_0x48f18a){const _0x217849=a201_0x21f8,_0x3eddb4=_0x23f1af();while(!![]){try{const _0x3e8cb1=parseInt(_0x217849(0x6f))/0x1+parseInt(_0x217849(0x70))/0x2*(parseInt(_0x217849(0x72))/0x3)+parseInt(_0x217849(0x7b))/0x4*(-parseInt(_0x217849(0x79))/0x5)+-parseInt(_0x217849(0x7c))/0x6*(parseInt(_0x217849(0x77))/0x7)+parseInt(_0x217849(0x7f))/0x8*(-parseInt(_0x217849(0x74))/0x9)+parseInt(_0x217849(0x7a))/0xa+parseInt(_0x217849(0x80))/0xb*(-parseInt(_0x217849(0x78))/0xc);if(_0x3e8cb1===_0x48f18a)break;else _0x3eddb4['push'](_0x3eddb4['shift']());}catch(_0xea9c13){_0x3eddb4['push'](_0x3eddb4['shift']());}}}(a201_0x5f08,0xb5735));export function validateLimitOption(_0x3587dc){const _0x171924=a201_0x21f8;if(!Number[_0x171924(0x7d)](_0x3587dc))return{'isValid':![],'error':_0x171924(0x75)+_0x3587dc+_0x171924(0x76)};if(_0x3587dc<=0x0)return{'isValid':![],'error':_0x171924(0x75)+_0x3587dc+_0x171924(0x71)};return{'isValid':!![],'value':_0x3587dc};}function a201_0x21f8(_0x4134a8,_0x428d07){_0x4134a8=_0x4134a8-0x6f;const _0x5f0828=a201_0x5f08();let _0x21f8bd=_0x5f0828[_0x4134a8];return _0x21f8bd;}function a201_0x5f08(){const _0x6c6f21=['2AfMRTi','.\x20Must\x20be\x20a\x20positive\x20integer.','4306398IMbCfl','number','1746567bZrIiH','Invalid\x20limit\x20value:\x20','.\x20Must\x20be\x20an\x20integer.','385868XKRaul','10932omcCeO','401965gyjJCD','10938980MiasSm','48UjkznC','138dlSHiT','isInteger','Invalid\x20timeout\x20value:\x20','8xHjjOm','3036WCjTwP','.\x20Must\x20be\x20a\x20positive\x20number.','891924KcIFTl'];a201_0x5f08=function(){return _0x6c6f21;};return a201_0x5f08();}export function validateTimeoutOption(_0x43c717,_0x586af2=0x1e){const _0x29f6de=a201_0x21f8;if(_0x43c717===undefined)return{'isValid':!![],'value':_0x586af2};const _0x22f558=typeof _0x43c717===_0x29f6de(0x73)?_0x43c717:parseFloat(_0x43c717);if(isNaN(_0x22f558))return{'isValid':![],'error':_0x29f6de(0x7e)+_0x43c717+'.\x20Must\x20be\x20a\x20number.'};if(_0x22f558<=0x0)return{'isValid':![],'error':_0x29f6de(0x7e)+_0x22f558+_0x29f6de(0x81)};return{'isValid':!![],'value':_0x22f558};}
@@ -1 +1 @@
1
- const a201_0x5244eb=a201_0xe758;function a201_0x1d5b(){const _0x2838fd=['start','243608JNbTnd','http:','map','win32','zsh','6MyVoxL','\x22\x20|\x20Select-Object\x20-Property\x20ParentProcessId,Name\x20|\x20ForEach-Object\x20{\x20\x22$($_.ParentProcessId),$($_.Name)\x22\x20}','href','1303505ivulWY','platform','replace','isInteger','ppid','claude','37457RTuZqX','open','trim','treasure\x20studio','electron','code','toString','protocol','ps\x20-p\x20','pwsh','121euDNKR','powershell','stdout','dash','131067LkKQPO','pipe','comm','data','Get-CimInstance\x20Win32_Process\x20-Filter\x20\x22ProcessId=','darwin','stderr','utf-8','which','8SqDNRK','86972piPRpB','317250fYhKYJ','join','split','cmd.exe','\x20-o\x20ppid=,comm=','ion','toLowerCase','has','4355748CTEGRL','kill','unref','cursor','fish','exit','https:','186vwggMA','error','pid','Unsupported\x20protocol:\x20','where.exe','ignore','261SHGNoz'];a201_0x1d5b=function(){return _0x2838fd;};return a201_0x1d5b();}(function(_0x544d90,_0x39e9a3){const _0x692c45=a201_0xe758,_0x194f7e=_0x544d90();while(!![]){try{const _0x16d02a=-parseInt(_0x692c45(0x103))/0x1+-parseInt(_0x692c45(0x120))/0x2*(-parseInt(_0x692c45(0xf9))/0x3)+parseInt(_0x692c45(0x102))/0x4*(parseInt(_0x692c45(0xe5))/0x5)+-parseInt(_0x692c45(0x113))/0x6*(parseInt(_0x692c45(0xeb))/0x7)+-parseInt(_0x692c45(0x11b))/0x8*(-parseInt(_0x692c45(0x119))/0x9)+parseInt(_0x692c45(0x104))/0xa*(-parseInt(_0x692c45(0xf5))/0xb)+-parseInt(_0x692c45(0x10c))/0xc;if(_0x16d02a===_0x39e9a3)break;else _0x194f7e['push'](_0x194f7e['shift']());}catch(_0x4d7357){_0x194f7e['push'](_0x194f7e['shift']());}}}(a201_0x1d5b,0x8b575));import{execSync,spawn}from'node:child_process';const SHELL_NAMES=new Set(['bash',a201_0x5244eb(0x11f),'sh',a201_0x5244eb(0x110),'ksh','tcsh','csh',a201_0x5244eb(0xf8),a201_0x5244eb(0xf4),a201_0x5244eb(0xf6),'nu',a201_0x5244eb(0x109),'elvish','xonsh']),EPHEMERAL_SHELL_SPAWNERS=new Set([a201_0x5244eb(0xea),a201_0x5244eb(0xf0),a201_0x5244eb(0x10f),a201_0x5244eb(0xef),a201_0x5244eb(0xee)]);function getProcessInfoWindows(_0x4ed941){const _0x92309f=a201_0x5244eb;try{if(!Number[_0x92309f(0xe8)](_0x4ed941)||_0x4ed941<=0x0)return null;const _0x4a69a9=_0x92309f(0xfd)+_0x4ed941+_0x92309f(0x121),_0x2e65b6=execSync('powershell.exe\x20-NoProfile\x20-NonInteractive\x20-Command\x20\x22'+_0x4a69a9+'\x22',{'encoding':'utf-8','windowsHide':!![],'stdio':[_0x92309f(0xfa),_0x92309f(0xfa),_0x92309f(0xfa)]})[_0x92309f(0xed)]();if(!_0x2e65b6)return null;const [_0x2bae09,..._0x2d8291]=_0x2e65b6[_0x92309f(0x106)](','),_0x5b8847=parseInt(_0x2bae09,0xa),_0x3834a2=_0x2d8291['join'](',')[_0x92309f(0xed)]();if(isNaN(_0x5b8847)||!_0x3834a2)return null;return{'pid':_0x4ed941,'ppid':_0x5b8847,'comm':_0x3834a2['replace'](/\.exe$/i,'')};}catch{return null;}}function a201_0xe758(_0x4e6597,_0x58d2e2){_0x4e6597=_0x4e6597-0xe4;const _0x1d5b99=a201_0x1d5b();let _0xe75866=_0x1d5b99[_0x4e6597];return _0xe75866;}function getProcessInfoPosix(_0x3f7389){const _0x281143=a201_0x5244eb;try{const _0x2fd9da=0x400000;if(!Number[_0x281143(0xe8)](_0x3f7389)||_0x3f7389<=0x0||_0x3f7389>_0x2fd9da)return null;const _0x3d3cf6=execSync(_0x281143(0xf3)+_0x3f7389+_0x281143(0x108),{'encoding':_0x281143(0x100),'stdio':_0x281143(0xfa)})[_0x281143(0xed)](),[_0x420484,..._0x33432c]=_0x3d3cf6['split'](/\s+/),_0x3061ac=parseInt(_0x420484,0xa),_0x29153c=_0x33432c[_0x281143(0x105)]('\x20');if(isNaN(_0x3061ac))return null;return{'pid':_0x3f7389,'ppid':_0x3061ac,'comm':_0x29153c};}catch{return null;}}function getProcessInfo(_0x3be12e){const _0x30508f=a201_0x5244eb;if(process[_0x30508f(0xe6)]===_0x30508f(0x11e))return getProcessInfoWindows(_0x3be12e);return getProcessInfoPosix(_0x3be12e);}function getBasename(_0x95d91d){const _0x32dfdd=a201_0x5244eb;return _0x95d91d[_0x32dfdd(0xe7)](/^-/,'')[_0x32dfdd(0x106)]('/')['pop']()?.[_0x32dfdd(0x10a)]()||'';}function isShell(_0x3359da){const _0x3b0278=a201_0x5244eb;return SHELL_NAMES[_0x3b0278(0x10b)](getBasename(_0x3359da));}function isEphemeralShellSpawner(_0xa76ebc){const _0x1c6a18=a201_0x5244eb;return EPHEMERAL_SHELL_SPAWNERS[_0x1c6a18(0x10b)](getBasename(_0xa76ebc));}let cachedShellPID;function findShellPID(){const _0x881b25=a201_0x5244eb;if(process['ppid']===undefined)return process[_0x881b25(0x115)];let _0x29f751=process[_0x881b25(0xe9)];const _0xdd93b2=0xa;let _0x5edf51=0x0;while(_0x5edf51<_0xdd93b2){const _0x202c1f=getProcessInfo(_0x29f751);if(!_0x202c1f)break;if(isShell(_0x202c1f[_0x881b25(0xfb)])){const _0x51f8e2=getProcessInfo(_0x202c1f['ppid']);if(_0x51f8e2&&isEphemeralShellSpawner(_0x51f8e2[_0x881b25(0xfb)])){_0x29f751=_0x202c1f[_0x881b25(0xe9)],_0x5edf51++;continue;}return _0x202c1f['pid'];}if(_0x202c1f['ppid']===0x0||_0x202c1f['ppid']===0x1){if(isShell(_0x202c1f[_0x881b25(0xfb)]))return _0x202c1f[_0x881b25(0x115)];break;}_0x29f751=_0x202c1f[_0x881b25(0xe9)],_0x5edf51++;}return process['ppid']!==undefined?process[_0x881b25(0xe9)]:process[_0x881b25(0x115)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x4baf31){const _0x6113c4=a201_0x5244eb;if(!Number['isInteger'](_0x4baf31)||_0x4baf31<=0x0)return![];try{return process[_0x6113c4(0x10d)](_0x4baf31,0x0),!![];}catch{return![];}}export function openBrowser(_0x3b467e){const _0x5c42a5=a201_0x5244eb;let _0x392a6a;try{_0x392a6a=new URL(_0x3b467e);}catch{throw new Error('Invalid\x20URL:\x20'+_0x3b467e);}if(_0x392a6a[_0x5c42a5(0xf2)]!==_0x5c42a5(0x11c)&&_0x392a6a[_0x5c42a5(0xf2)]!==_0x5c42a5(0x112))throw new Error(_0x5c42a5(0x116)+_0x392a6a[_0x5c42a5(0xf2)]);const _0x488ddf=_0x392a6a[_0x5c42a5(0xe4)],_0x591f3c=process[_0x5c42a5(0xe6)];if(_0x591f3c===_0x5c42a5(0x11e))spawn(_0x5c42a5(0x107),['/c',_0x5c42a5(0x11a),'',_0x488ddf],{'detached':!![],'stdio':'ignore'})[_0x5c42a5(0x10e)]();else{const _0x3e1f2b=_0x591f3c===_0x5c42a5(0xfe)?_0x5c42a5(0xec):'xdg-open';spawn(_0x3e1f2b,[_0x488ddf],{'detached':!![],'stdio':_0x5c42a5(0x118)})[_0x5c42a5(0x10e)]();}}export function isWindows(){const _0xc8dc06=a201_0x5244eb;return process[_0xc8dc06(0xe6)]==='win32';}export function getCrossSpawnOptions(_0x24309d){return{..._0x24309d??{},'shell':isWindows()};}export function escapeWindowsArg(_0x2e2d36){const _0x129721=a201_0x5244eb;if(!/[ \t"&|<>^%!`\r\n]/['test'](_0x2e2d36))return _0x2e2d36;const _0x341d60=_0x2e2d36[_0x129721(0xe7)](/"/g,'\x22\x22');return'\x22'+_0x341d60+'\x22';}export function crossSpawn(_0x33d048,_0x350ce1,_0x773c4f){const _0x20fb3e=a201_0x5244eb;if(isWindows()){const _0xa60838=escapeWindowsArg(_0x33d048),_0x4b5fd=_0x350ce1[_0x20fb3e(0x11d)](escapeWindowsArg),_0x35daef=[_0xa60838,..._0x4b5fd]['join']('\x20');return spawn(_0x35daef,[],{..._0x773c4f,'shell':!![]});}return spawn(_0x33d048,_0x350ce1,{..._0x773c4f,'shell':![]});}export function gracefulExit(_0x242b02=0x0){const _0x29a6b1=a201_0x5244eb;isWindows()?setImmediate(()=>process[_0x29a6b1(0x111)](_0x242b02)):process[_0x29a6b1(0x111)](_0x242b02);}export function findExecutable(_0x3b00a3,_0x3a2a8e=0x1388){return new Promise(_0x199159=>{const _0x2f6416=a201_0xe758,_0x3619c1=isWindows()?_0x2f6416(0x117):_0x2f6416(0x101);let _0x24ad41=![];const _0x4f0430=crossSpawn(_0x3619c1,[_0x3b00a3],{'stdio':'pipe','shell':isWindows()}),_0x55d5e1=setTimeout(()=>{const _0x371827=_0x2f6416;!_0x24ad41&&(_0x24ad41=!![],_0x4f0430[_0x371827(0x10d)](),_0x199159(null));},_0x3a2a8e);let _0x2a5622='';_0x4f0430[_0x2f6416(0xf7)]?.['on']('data',_0x1a55a6=>{const _0x151c46=_0x2f6416;_0x2a5622+=_0x1a55a6[_0x151c46(0xf1)]();}),_0x4f0430[_0x2f6416(0xff)]?.['on'](_0x2f6416(0xfc),()=>{}),_0x4f0430['on'](_0x2f6416(0x111),_0x39de3e=>{const _0x5a239a=_0x2f6416;if(_0x24ad41)return;_0x24ad41=!![],clearTimeout(_0x55d5e1);if(_0x39de3e===0x0&&_0x2a5622['trim']()){const _0x1da053=_0x2a5622['trim']()[_0x5a239a(0x106)](/\r?\n/)[0x0];_0x199159(_0x1da053);}else _0x199159(null);}),_0x4f0430['on'](_0x2f6416(0x114),()=>{if(_0x24ad41)return;_0x24ad41=!![],clearTimeout(_0x55d5e1),_0x199159(null);});});}
1
+ const a202_0x3cfb62=a202_0x25c1;(function(_0x1af2ba,_0x5036f8){const _0x25283e=a202_0x25c1,_0x2139d5=_0x1af2ba();while(!![]){try{const _0x5ed8a5=-parseInt(_0x25283e(0xed))/0x1+-parseInt(_0x25283e(0xf3))/0x2*(-parseInt(_0x25283e(0xe1))/0x3)+-parseInt(_0x25283e(0xd2))/0x4*(-parseInt(_0x25283e(0xee))/0x5)+-parseInt(_0x25283e(0xdf))/0x6+-parseInt(_0x25283e(0xb9))/0x7+-parseInt(_0x25283e(0xf0))/0x8+-parseInt(_0x25283e(0xbf))/0x9*(-parseInt(_0x25283e(0xf4))/0xa);if(_0x5ed8a5===_0x5036f8)break;else _0x2139d5['push'](_0x2139d5['shift']());}catch(_0x46df94){_0x2139d5['push'](_0x2139d5['shift']());}}}(a202_0x391e,0x9306a));import{execSync,spawn}from'node:child_process';const SHELL_NAMES=new Set([a202_0x3cfb62(0xf1),a202_0x3cfb62(0xd9),'sh',a202_0x3cfb62(0xbe),'ksh',a202_0x3cfb62(0xe6),a202_0x3cfb62(0xcd),'dash','pwsh',a202_0x3cfb62(0xc3),'nu',a202_0x3cfb62(0xe8),a202_0x3cfb62(0xdd),a202_0x3cfb62(0xca)]),EPHEMERAL_SHELL_SPAWNERS=new Set([a202_0x3cfb62(0xeb),'code',a202_0x3cfb62(0xbc),a202_0x3cfb62(0xd8),'treasure\x20studio']);function a202_0x25c1(_0x5a87ba,_0x31766d){_0x5a87ba=_0x5a87ba-0xb9;const _0x391e12=a202_0x391e();let _0x25c104=_0x391e12[_0x5a87ba];return _0x25c104;}function getProcessInfoWindows(_0x3a5d3c){const _0x2caa33=a202_0x3cfb62;try{if(!Number[_0x2caa33(0xea)](_0x3a5d3c)||_0x3a5d3c<=0x0)return null;const _0x5129e9=_0x2caa33(0xce)+_0x3a5d3c+'\x22\x20|\x20Select-Object\x20-Property\x20ParentProcessId,Name\x20|\x20ForEach-Object\x20{\x20\x22$($_.ParentProcessId),$($_.Name)\x22\x20}',_0xea8db8=execSync(_0x2caa33(0xd0)+_0x5129e9+'\x22',{'encoding':_0x2caa33(0xc7),'windowsHide':!![],'stdio':['pipe',_0x2caa33(0xe3),_0x2caa33(0xe3)]})[_0x2caa33(0xc5)]();if(!_0xea8db8)return null;const [_0x42fbba,..._0x468f62]=_0xea8db8['split'](','),_0xd85343=parseInt(_0x42fbba,0xa),_0x5966cf=_0x468f62[_0x2caa33(0xde)](',')[_0x2caa33(0xc5)]();if(isNaN(_0xd85343)||!_0x5966cf)return null;return{'pid':_0x3a5d3c,'ppid':_0xd85343,'comm':_0x5966cf[_0x2caa33(0xc0)](/\.exe$/i,'')};}catch{return null;}}function getProcessInfoPosix(_0x13bf78){const _0x34963b=a202_0x3cfb62;try{const _0x2d36b5=0x400000;if(!Number[_0x34963b(0xea)](_0x13bf78)||_0x13bf78<=0x0||_0x13bf78>_0x2d36b5)return null;const _0xfdfccb=execSync(_0x34963b(0xda)+_0x13bf78+_0x34963b(0xe0),{'encoding':_0x34963b(0xc7),'stdio':_0x34963b(0xe3)})[_0x34963b(0xc5)](),[_0x51ccf2,..._0x3f00c8]=_0xfdfccb['split'](/\s+/),_0x1ad3ba=parseInt(_0x51ccf2,0xa),_0x19cfce=_0x3f00c8[_0x34963b(0xde)]('\x20');if(isNaN(_0x1ad3ba))return null;return{'pid':_0x13bf78,'ppid':_0x1ad3ba,'comm':_0x19cfce};}catch{return null;}}function getProcessInfo(_0x41964b){const _0x1e9ea0=a202_0x3cfb62;if(process[_0x1e9ea0(0xd6)]==='win32')return getProcessInfoWindows(_0x41964b);return getProcessInfoPosix(_0x41964b);}function getBasename(_0x39e3eb){const _0x234219=a202_0x3cfb62;return _0x39e3eb[_0x234219(0xc0)](/^-/,'')[_0x234219(0xbb)]('/')['pop']()?.[_0x234219(0xbd)]()||'';}function isShell(_0x26c847){const _0x26515c=a202_0x3cfb62;return SHELL_NAMES[_0x26515c(0xd7)](getBasename(_0x26c847));}function isEphemeralShellSpawner(_0x4530f2){const _0x8764f4=a202_0x3cfb62;return EPHEMERAL_SHELL_SPAWNERS[_0x8764f4(0xd7)](getBasename(_0x4530f2));}let cachedShellPID;function findShellPID(){const _0x2f05fc=a202_0x3cfb62;if(process[_0x2f05fc(0xd1)]===undefined)return process[_0x2f05fc(0xba)];let _0x177e19=process['ppid'];const _0x2aacbd=0xa;let _0x1d83eb=0x0;while(_0x1d83eb<_0x2aacbd){const _0x1995d0=getProcessInfo(_0x177e19);if(!_0x1995d0)break;if(isShell(_0x1995d0[_0x2f05fc(0xe9)])){const _0x18714d=getProcessInfo(_0x1995d0['ppid']);if(_0x18714d&&isEphemeralShellSpawner(_0x18714d[_0x2f05fc(0xe9)])){_0x177e19=_0x1995d0[_0x2f05fc(0xd1)],_0x1d83eb++;continue;}return _0x1995d0['pid'];}if(_0x1995d0[_0x2f05fc(0xd1)]===0x0||_0x1995d0[_0x2f05fc(0xd1)]===0x1){if(isShell(_0x1995d0[_0x2f05fc(0xe9)]))return _0x1995d0[_0x2f05fc(0xba)];break;}_0x177e19=_0x1995d0[_0x2f05fc(0xd1)],_0x1d83eb++;}return process[_0x2f05fc(0xd1)]!==undefined?process['ppid']:process['pid'];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x3785f5){const _0x19531c=a202_0x3cfb62;if(!Number[_0x19531c(0xea)](_0x3785f5)||_0x3785f5<=0x0)return![];try{return process[_0x19531c(0xc6)](_0x3785f5,0x0),!![];}catch{return![];}}export function openBrowser(_0x58eff0){const _0x333eb9=a202_0x3cfb62;let _0x28a544;try{_0x28a544=new URL(_0x58eff0);}catch{throw new Error(_0x333eb9(0xc8)+_0x58eff0);}if(_0x28a544[_0x333eb9(0xcc)]!==_0x333eb9(0xd3)&&_0x28a544[_0x333eb9(0xcc)]!=='https:')throw new Error(_0x333eb9(0xc9)+_0x28a544[_0x333eb9(0xcc)]);const _0x1c26cc=_0x28a544[_0x333eb9(0xec)],_0x4a3678=process[_0x333eb9(0xd6)];if(_0x4a3678===_0x333eb9(0xdc))spawn(_0x333eb9(0xcf),['/c',_0x333eb9(0xc2),'',_0x1c26cc],{'detached':!![],'stdio':_0x333eb9(0xe2)})[_0x333eb9(0xef)]();else{const _0x2991ef=_0x4a3678===_0x333eb9(0xc4)?'open':_0x333eb9(0xe5);spawn(_0x2991ef,[_0x1c26cc],{'detached':!![],'stdio':_0x333eb9(0xe2)})[_0x333eb9(0xef)]();}}export function isWindows(){const _0x1908c9=a202_0x3cfb62;return process[_0x1908c9(0xd6)]==='win32';}export function getCrossSpawnOptions(_0x3d726a){return{..._0x3d726a??{},'shell':isWindows()};}export function escapeWindowsArg(_0x302525){const _0x5a9480=a202_0x3cfb62;if(!/[ \t"&|<>^%!`\r\n]/[_0x5a9480(0xf2)](_0x302525))return _0x302525;const _0xdcb76b=_0x302525[_0x5a9480(0xc0)](/"/g,'\x22\x22');return'\x22'+_0xdcb76b+'\x22';}export function crossSpawn(_0x32d6d4,_0x1ae115,_0x96b0a5){if(isWindows()){const _0x59b7e8=escapeWindowsArg(_0x32d6d4),_0x458f25=_0x1ae115['map'](escapeWindowsArg),_0x582f6c=[_0x59b7e8,..._0x458f25]['join']('\x20');return spawn(_0x582f6c,[],{..._0x96b0a5,'shell':!![]});}return spawn(_0x32d6d4,_0x1ae115,{..._0x96b0a5,'shell':![]});}export function gracefulExit(_0x47c634=0x0){const _0x594c09=a202_0x3cfb62;isWindows()?setImmediate(()=>process[_0x594c09(0xe7)](_0x47c634)):process['exit'](_0x47c634);}function a202_0x391e(){const _0x3d447a=['toLowerCase','fish','3933yxwqwq','replace','error','start','powershell','darwin','trim','kill','utf-8','Invalid\x20URL:\x20','Unsupported\x20protocol:\x20','xonsh','stderr','protocol','csh','Get-CimInstance\x20Win32_Process\x20-Filter\x20\x22ProcessId=','cmd.exe','powershell.exe\x20-NoProfile\x20-NonInteractive\x20-Command\x20\x22','ppid','1432dLAaFp','http:','which','toString','platform','has','electron','zsh','ps\x20-p\x20','stdout','win32','elvish','join','2328762ifchzf','\x20-o\x20ppid=,comm=','3rtBqYK','ignore','pipe','data','xdg-open','tcsh','exit','ion','comm','isInteger','claude','href','249080kbfCPk','8565CXBada','unref','5538504xrxqHC','bash','test','862030NacMjw','21620NlTsWN','401275MFgNWH','pid','split','cursor'];a202_0x391e=function(){return _0x3d447a;};return a202_0x391e();}export function findExecutable(_0x32c986,_0x2618cc=0x1388){return new Promise(_0x36d3a9=>{const _0xf58a8d=a202_0x25c1,_0xa53c5d=isWindows()?'where.exe':_0xf58a8d(0xd4);let _0x9254cd=![];const _0x5b7c2b=crossSpawn(_0xa53c5d,[_0x32c986],{'stdio':'pipe','shell':isWindows()}),_0x33599d=setTimeout(()=>{const _0x3ef6df=_0xf58a8d;!_0x9254cd&&(_0x9254cd=!![],_0x5b7c2b[_0x3ef6df(0xc6)](),_0x36d3a9(null));},_0x2618cc);let _0x500818='';_0x5b7c2b[_0xf58a8d(0xdb)]?.['on']('data',_0x57ae3a=>{const _0x4b52bc=_0xf58a8d;_0x500818+=_0x57ae3a[_0x4b52bc(0xd5)]();}),_0x5b7c2b[_0xf58a8d(0xcb)]?.['on'](_0xf58a8d(0xe4),()=>{}),_0x5b7c2b['on']('exit',_0x1d591b=>{const _0x5a3acf=_0xf58a8d;if(_0x9254cd)return;_0x9254cd=!![],clearTimeout(_0x33599d);if(_0x1d591b===0x0&&_0x500818[_0x5a3acf(0xc5)]()){const _0x50b607=_0x500818[_0x5a3acf(0xc5)]()[_0x5a3acf(0xbb)](/\r?\n/)[0x0];_0x36d3a9(_0x50b607);}else _0x36d3a9(null);}),_0x5b7c2b['on'](_0xf58a8d(0xc1),()=>{if(_0x9254cd)return;_0x9254cd=!![],clearTimeout(_0x33599d),_0x36d3a9(null);});});}
@@ -1 +1 @@
1
- function a202_0x12e8(_0x543e5d,_0x3ede3a){_0x543e5d=_0x543e5d-0x126;const _0x32fdb4=a202_0x32fd();let _0x12e808=_0x32fdb4[_0x543e5d];return _0x12e808;}(function(_0xfa00b9,_0x430faf){const _0x5d246d=a202_0x12e8,_0x170508=_0xfa00b9();while(!![]){try{const _0x2f546d=parseInt(_0x5d246d(0x13c))/0x1+parseInt(_0x5d246d(0x138))/0x2+-parseInt(_0x5d246d(0x132))/0x3+-parseInt(_0x5d246d(0x129))/0x4+-parseInt(_0x5d246d(0x13e))/0x5*(parseInt(_0x5d246d(0x130))/0x6)+-parseInt(_0x5d246d(0x12d))/0x7*(parseInt(_0x5d246d(0x13b))/0x8)+-parseInt(_0x5d246d(0x12c))/0x9*(-parseInt(_0x5d246d(0x126))/0xa);if(_0x2f546d===_0x430faf)break;else _0x170508['push'](_0x170508['shift']());}catch(_0x39b285){_0x170508['push'](_0x170508['shift']());}}}(a202_0x32fd,0x9fea6));import*as a202_0x2fb85d from'readline';export function isInteractive(){const _0x345157=a202_0x12e8;return process[_0x345157(0x128)][_0x345157(0x12e)]===!![];}export async function confirm(_0x38c2a0){const _0x4d8055=a202_0x12e8,_0x4525a6=a202_0x2fb85d['createInterface']({'input':process[_0x4d8055(0x128)],'output':process[_0x4d8055(0x13d)]});return new Promise(_0xbac6f1=>{const _0x4e2446=_0x4d8055;_0x4525a6[_0x4e2446(0x134)](_0x38c2a0+_0x4e2446(0x137),_0x3820f2=>{const _0x3f82fb=_0x4e2446;_0x4525a6[_0x3f82fb(0x136)](),_0xbac6f1(_0x3820f2[_0x3f82fb(0x135)]()==='y'||_0x3820f2[_0x3f82fb(0x135)]()===_0x3f82fb(0x13a));});});}function a202_0x32fd(){const _0x14b92c=['write','10093610rvevZk','setRawMode','stdin','1622524huXIrZ','resume','data','9YBcysH','7CzbZIm','isTTY','\x20[y/N]\x20','2802YIWlDg','exit','609438Jkzfah','stderr','question','toLowerCase','close','\x20(y/N):\x20','993182FHEcYa','utf8','yes','5251616aLvDmZ','883626aEqQmT','stdout','5025gDNDho','removeListener'];a202_0x32fd=function(){return _0x14b92c;};return a202_0x32fd();}export async function confirmKey(_0x30bea3){const _0x114ae2=a202_0x12e8;if(!process[_0x114ae2(0x128)][_0x114ae2(0x12e)])return![];return process[_0x114ae2(0x133)]['write'](_0x30bea3+_0x114ae2(0x12f)),new Promise(_0xd28ae=>{const _0x2e5fad=_0x114ae2,_0x42cd7d=process[_0x2e5fad(0x128)];_0x42cd7d[_0x2e5fad(0x127)](!![]),_0x42cd7d[_0x2e5fad(0x12a)](),_0x42cd7d['setEncoding'](_0x2e5fad(0x139));const _0x50c131=_0x150334=>{const _0x5954c5=_0x2e5fad;_0x42cd7d[_0x5954c5(0x127)](![]),_0x42cd7d['pause'](),_0x42cd7d[_0x5954c5(0x13f)](_0x5954c5(0x12b),_0x50c131);if(_0x150334==='\x1b'){process[_0x5954c5(0x133)][_0x5954c5(0x140)]('\x0a'),_0xd28ae(![]);return;}_0x150334==='\x03'&&(process[_0x5954c5(0x133)][_0x5954c5(0x140)]('\x0a'),process[_0x5954c5(0x131)](0x82));if(_0x150334[_0x5954c5(0x135)]()==='y'){process[_0x5954c5(0x133)][_0x5954c5(0x140)]('y\x0a'),_0xd28ae(!![]);return;}process[_0x5954c5(0x133)][_0x5954c5(0x140)]('\x0a'),_0xd28ae(![]);};_0x42cd7d['on']('data',_0x50c131);});}
1
+ function a203_0x21c6(_0x1c63cc,_0x223387){_0x1c63cc=_0x1c63cc-0x19b;const _0x2b8582=a203_0x2b85();let _0x21c645=_0x2b8582[_0x1c63cc];return _0x21c645;}(function(_0x187392,_0x102e26){const _0x5015ec=a203_0x21c6,_0x304e1f=_0x187392();while(!![]){try{const _0x5e7e76=-parseInt(_0x5015ec(0x1a2))/0x1*(-parseInt(_0x5015ec(0x1a7))/0x2)+parseInt(_0x5015ec(0x19e))/0x3+parseInt(_0x5015ec(0x1a8))/0x4+-parseInt(_0x5015ec(0x1a9))/0x5*(-parseInt(_0x5015ec(0x1a5))/0x6)+parseInt(_0x5015ec(0x1a3))/0x7+parseInt(_0x5015ec(0x1b2))/0x8*(parseInt(_0x5015ec(0x19b))/0x9)+parseInt(_0x5015ec(0x19d))/0xa*(-parseInt(_0x5015ec(0x19f))/0xb);if(_0x5e7e76===_0x102e26)break;else _0x304e1f['push'](_0x304e1f['shift']());}catch(_0x5db06e){_0x304e1f['push'](_0x304e1f['shift']());}}}(a203_0x2b85,0xd90a1));import*as a203_0x109c70 from'readline';export function isInteractive(){const _0x4f678c=a203_0x21c6;return process['stdin'][_0x4f678c(0x1b4)]===!![];}export async function confirm(_0x417ffb){const _0x28950d=a203_0x21c6,_0x18d970=a203_0x109c70[_0x28950d(0x1b1)]({'input':process[_0x28950d(0x1ab)],'output':process[_0x28950d(0x1ad)]});return new Promise(_0x29d49c=>{const _0x32ad1c=_0x28950d;_0x18d970['question'](_0x417ffb+_0x32ad1c(0x1a1),_0x165f8b=>{const _0x47eee1=_0x32ad1c;_0x18d970[_0x47eee1(0x1ac)](),_0x29d49c(_0x165f8b['toLowerCase']()==='y'||_0x165f8b[_0x47eee1(0x1b5)]()===_0x47eee1(0x1a6));});});}function a203_0x2b85(){const _0x3f02e5=['stderr','createInterface','8MYGIrQ','utf8','isTTY','toLowerCase','12107727zNugFD','resume','186990SsTzMa','2565087hnbSMr','2387ZkXcmU','data','\x20(y/N):\x20','21unQDhC','344526mLoBGg','setRawMode','1194CDvUvj','yes','100436WSiqRN','1662056WKhuqJ','30830YrRXqJ','setEncoding','stdin','close','stdout','write','exit'];a203_0x2b85=function(){return _0x3f02e5;};return a203_0x2b85();}export async function confirmKey(_0x4ef8fd){const _0x27cf08=a203_0x21c6;if(!process['stdin']['isTTY'])return![];return process[_0x27cf08(0x1b0)]['write'](_0x4ef8fd+'\x20[y/N]\x20'),new Promise(_0x5d9f0f=>{const _0x4710eb=_0x27cf08,_0x1df876=process[_0x4710eb(0x1ab)];_0x1df876[_0x4710eb(0x1a4)](!![]),_0x1df876[_0x4710eb(0x19c)](),_0x1df876[_0x4710eb(0x1aa)](_0x4710eb(0x1b3));const _0x33bd9e=_0x35d90c=>{const _0x2df0b0=_0x4710eb;_0x1df876[_0x2df0b0(0x1a4)](![]),_0x1df876['pause'](),_0x1df876['removeListener'](_0x2df0b0(0x1a0),_0x33bd9e);if(_0x35d90c==='\x1b'){process[_0x2df0b0(0x1b0)][_0x2df0b0(0x1ae)]('\x0a'),_0x5d9f0f(![]);return;}_0x35d90c==='\x03'&&(process['stderr'][_0x2df0b0(0x1ae)]('\x0a'),process[_0x2df0b0(0x1af)](0x82));if(_0x35d90c['toLowerCase']()==='y'){process[_0x2df0b0(0x1b0)][_0x2df0b0(0x1ae)]('y\x0a'),_0x5d9f0f(!![]);return;}process['stderr'][_0x2df0b0(0x1ae)]('\x0a'),_0x5d9f0f(![]);};_0x1df876['on']('data',_0x33bd9e);});}