@treasuredata/tdx 0.2.1 → 0.2.2

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 (87) hide show
  1. package/dist/build-info.json +2 -2
  2. package/dist/cli.js +1 -1
  3. package/dist/client/cdp-client.js +1 -1
  4. package/dist/client/http-client.js +1 -1
  5. package/dist/client/llm-client.js +1 -1
  6. package/dist/client/rate-limiter.js +1 -1
  7. package/dist/client/td-client.js +1 -1
  8. package/dist/client/trino-client.js +1 -1
  9. package/dist/client/workflow-client.js +1 -1
  10. package/dist/commands/activations.js +1 -1
  11. package/dist/commands/api-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/command.js +1 -1
  15. package/dist/commands/context-command.js +1 -1
  16. package/dist/commands/databases.js +1 -1
  17. package/dist/commands/describe.js +1 -1
  18. package/dist/commands/job-command.js +1 -1
  19. package/dist/commands/llm-command.js +1 -1
  20. package/dist/commands/llm-proxy.js +1 -1
  21. package/dist/commands/parent-segment-command.js +1 -1
  22. package/dist/commands/profiles-command.js +1 -1
  23. package/dist/commands/query-command.js +1 -1
  24. package/dist/commands/segment-command.js +1 -1
  25. package/dist/commands/segment-create-command.js +1 -1
  26. package/dist/commands/segment-fields-command.js +1 -1
  27. package/dist/commands/segment-pwd-command.js +1 -1
  28. package/dist/commands/segment-update-command.js +1 -1
  29. package/dist/commands/segment-use-command.js +1 -1
  30. package/dist/commands/segments.js +1 -1
  31. package/dist/commands/show.js +1 -1
  32. package/dist/commands/tables.js +1 -1
  33. package/dist/commands/use-command.js +1 -1
  34. package/dist/commands/workflow-command.js +1 -1
  35. package/dist/core/auth.js +1 -1
  36. package/dist/core/config.js +1 -1
  37. package/dist/core/global-context.js +1 -1
  38. package/dist/core/profile.js +1 -1
  39. package/dist/core/project-config.js +1 -1
  40. package/dist/core/session.js +1 -1
  41. package/dist/index.js +1 -1
  42. package/dist/proxy/anthropic-adapter.d.ts +19 -3
  43. package/dist/proxy/anthropic-adapter.d.ts.map +1 -1
  44. package/dist/proxy/anthropic-adapter.js +1 -1
  45. package/dist/proxy/anthropic-adapter.js.map +1 -1
  46. package/dist/proxy/server.d.ts.map +1 -1
  47. package/dist/proxy/server.js +1 -1
  48. package/dist/proxy/server.js.map +1 -1
  49. package/dist/proxy/session-cache.js +1 -1
  50. package/dist/sdk/api.js +1 -1
  51. package/dist/sdk/database.js +1 -1
  52. package/dist/sdk/errors.js +1 -1
  53. package/dist/sdk/index.js +1 -1
  54. package/dist/sdk/job.js +1 -1
  55. package/dist/sdk/llm.js +1 -1
  56. package/dist/sdk/query.js +1 -1
  57. package/dist/sdk/segment.js +1 -1
  58. package/dist/sdk/table.js +1 -1
  59. package/dist/sdk/workflow.js +1 -1
  60. package/dist/types/endpoints.js +1 -1
  61. package/dist/types/index.js +1 -1
  62. package/dist/utils/agent-ref-parser.js +1 -1
  63. package/dist/utils/chat-cache.js +1 -1
  64. package/dist/utils/colors.js +1 -1
  65. package/dist/utils/command-output.js +1 -1
  66. package/dist/utils/constants.js +1 -1
  67. package/dist/utils/file-permissions.js +1 -1
  68. package/dist/utils/format-detector.js +1 -1
  69. package/dist/utils/formatters.js +1 -1
  70. package/dist/utils/json-loader.js +1 -1
  71. package/dist/utils/model-aliases.js +1 -1
  72. package/dist/utils/option-validation.js +1 -1
  73. package/dist/utils/port.js +1 -1
  74. package/dist/utils/process.js +1 -1
  75. package/dist/utils/prompt.js +1 -1
  76. package/dist/utils/segment-path-parser.js +1 -1
  77. package/dist/utils/segment-ref-parser.js +1 -1
  78. package/dist/utils/spinner.js +1 -1
  79. package/dist/utils/sql-parser.js +1 -1
  80. package/dist/utils/sse-parser.js +1 -1
  81. package/dist/utils/string-utils.js +1 -1
  82. package/dist/utils/table-ref-parser.js +1 -1
  83. package/dist/utils/tdx-logger.js +1 -1
  84. package/dist/utils/tree-formatter.js +1 -1
  85. package/dist/utils/version-check.js +1 -1
  86. package/dist/utils/workflow-utils.js +1 -1
  87. package/package.json +1 -1
@@ -1 +1 @@
1
- function a69_0x19b9(){const _0x3b5eb3=['isInteger','56346dHGcfr','248rscRdh','8qJeDCX','720785AQBzIC','781reMvJU','.\x20Must\x20be\x20a\x20number.','63lIsgVX','5SxkZAh','Invalid\x20limit\x20value:\x20','.\x20Must\x20be\x20an\x20integer.','6001536owAcFs','3969455cNaMSO','355928ellUTC','Invalid\x20timeout\x20value:\x20','.\x20Must\x20be\x20a\x20positive\x20integer.','138468UfTliB','486610DgfSpv'];a69_0x19b9=function(){return _0x3b5eb3;};return a69_0x19b9();}(function(_0x52310d,_0x4ccdbe){const _0x3acbbe=a69_0x36c4,_0x2a0336=_0x52310d();while(!![]){try{const _0x45b703=-parseInt(_0x3acbbe(0x16e))/0x1+-parseInt(_0x3acbbe(0x177))/0x2+-parseInt(_0x3acbbe(0x16b))/0x3*(parseInt(_0x3acbbe(0x16c))/0x4)+parseInt(_0x3acbbe(0x172))/0x5*(parseInt(_0x3acbbe(0x175))/0x6)+-parseInt(_0x3acbbe(0x176))/0x7*(-parseInt(_0x3acbbe(0x16d))/0x8)+parseInt(_0x3acbbe(0x171))/0x9*(parseInt(_0x3acbbe(0x169))/0xa)+-parseInt(_0x3acbbe(0x16f))/0xb*(-parseInt(_0x3acbbe(0x168))/0xc);if(_0x45b703===_0x4ccdbe)break;else _0x2a0336['push'](_0x2a0336['shift']());}catch(_0x46f240){_0x2a0336['push'](_0x2a0336['shift']());}}}(a69_0x19b9,0xa21b0));function a69_0x36c4(_0x56aab1,_0x2a82de){const _0x19b930=a69_0x19b9();return a69_0x36c4=function(_0x36c420,_0x7a45ca){_0x36c420=_0x36c420-0x167;let _0x341a6e=_0x19b930[_0x36c420];return _0x341a6e;},a69_0x36c4(_0x56aab1,_0x2a82de);}export function validateLimitOption(_0x49e2d9){const _0x458c06=a69_0x36c4;if(!Number[_0x458c06(0x16a)](_0x49e2d9))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x49e2d9+_0x458c06(0x174)};if(_0x49e2d9<=0x0)return{'isValid':![],'error':_0x458c06(0x173)+_0x49e2d9+_0x458c06(0x167)};return{'isValid':!![],'value':_0x49e2d9};}export function validateTimeoutOption(_0x479c8b,_0x2a39de=0x1e){const _0x17d4cf=a69_0x36c4;if(_0x479c8b===undefined)return{'isValid':!![],'value':_0x2a39de};const _0x4b4f2e=typeof _0x479c8b==='number'?_0x479c8b:parseFloat(_0x479c8b);if(isNaN(_0x4b4f2e))return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x479c8b+_0x17d4cf(0x170)};if(_0x4b4f2e<=0x0)return{'isValid':![],'error':_0x17d4cf(0x178)+_0x4b4f2e+'.\x20Must\x20be\x20a\x20positive\x20number.'};return{'isValid':!![],'value':_0x4b4f2e};}
1
+ function a69_0x2ebf(_0x57aa08,_0x4946f7){const _0x405a9c=a69_0x405a();return a69_0x2ebf=function(_0x2ebff6,_0x375e82){_0x2ebff6=_0x2ebff6-0xed;let _0x3b8f83=_0x405a9c[_0x2ebff6];return _0x3b8f83;},a69_0x2ebf(_0x57aa08,_0x4946f7);}(function(_0x45672a,_0x1cd833){const _0x4d9d6a=a69_0x2ebf,_0x5e23b5=_0x45672a();while(!![]){try{const _0x4b0b09=parseInt(_0x4d9d6a(0xfa))/0x1+-parseInt(_0x4d9d6a(0xf9))/0x2+-parseInt(_0x4d9d6a(0xf8))/0x3+parseInt(_0x4d9d6a(0xf4))/0x4*(parseInt(_0x4d9d6a(0xfb))/0x5)+parseInt(_0x4d9d6a(0xf1))/0x6*(parseInt(_0x4d9d6a(0xef))/0x7)+-parseInt(_0x4d9d6a(0xf3))/0x8*(parseInt(_0x4d9d6a(0xfc))/0x9)+parseInt(_0x4d9d6a(0xee))/0xa;if(_0x4b0b09===_0x1cd833)break;else _0x5e23b5['push'](_0x5e23b5['shift']());}catch(_0x5a2d1e){_0x5e23b5['push'](_0x5e23b5['shift']());}}}(a69_0x405a,0x667d6));export function validateLimitOption(_0x24e4b3){const _0x154cf1=a69_0x2ebf;if(!Number[_0x154cf1(0xf2)](_0x24e4b3))return{'isValid':![],'error':_0x154cf1(0xed)+_0x24e4b3+_0x154cf1(0xf5)};if(_0x24e4b3<=0x0)return{'isValid':![],'error':_0x154cf1(0xed)+_0x24e4b3+_0x154cf1(0xf0)};return{'isValid':!![],'value':_0x24e4b3};}function a69_0x405a(){const _0x200204=['.\x20Must\x20be\x20a\x20positive\x20number.','Invalid\x20limit\x20value:\x20','11200570phWyIu','119lJqqXn','.\x20Must\x20be\x20a\x20positive\x20integer.','62178BDNrTr','isInteger','8344JAOuJa','869948IlGAQz','.\x20Must\x20be\x20an\x20integer.','Invalid\x20timeout\x20value:\x20','number','2484156EEtBBL','875510QDWjXD','173933psmIXF','15doquQe','3771FNIAzo'];a69_0x405a=function(){return _0x200204;};return a69_0x405a();}export function validateTimeoutOption(_0x57823f,_0x540801=0x1e){const _0x526727=a69_0x2ebf;if(_0x57823f===undefined)return{'isValid':!![],'value':_0x540801};const _0x36b92a=typeof _0x57823f===_0x526727(0xf7)?_0x57823f:parseFloat(_0x57823f);if(isNaN(_0x36b92a))return{'isValid':![],'error':_0x526727(0xf6)+_0x57823f+'.\x20Must\x20be\x20a\x20number.'};if(_0x36b92a<=0x0)return{'isValid':![],'error':_0x526727(0xf6)+_0x36b92a+_0x526727(0xfd)};return{'isValid':!![],'value':_0x36b92a};}
@@ -1 +1 @@
1
- function a70_0xc4ee(_0x2ed312,_0x172ab4){const _0x3e71e2=a70_0x3e71();return a70_0xc4ee=function(_0xc4ee52,_0x32907f){_0xc4ee52=_0xc4ee52-0x10c;let _0x279f03=_0x3e71e2[_0xc4ee52];return _0x279f03;},a70_0xc4ee(_0x2ed312,_0x172ab4);}function a70_0x3e71(){const _0x141290=['16165930xcvjXt','3060848DWNfPy','\x20and\x20','5LLduiG','6465740kNKbhR','EADDRINUSE','124618bGYLRb','0.0.0.0','No\x20available\x20port\x20found\x20between\x20','122542kPHQGP','12vedBVS','117XZgFXy','30LLlkss','2323180GIPNMz','535520vQASfp','close','code','listen'];a70_0x3e71=function(){return _0x141290;};return a70_0x3e71();}(function(_0x3f2a0d,_0x2f0674){const _0x3f8489=a70_0xc4ee,_0x46d709=_0x3f2a0d();while(!![]){try{const _0x5e9a29=parseInt(_0x3f8489(0x111))/0x1+-parseInt(_0x3f8489(0x114))/0x2*(parseInt(_0x3f8489(0x117))/0x3)+parseInt(_0x3f8489(0x118))/0x4*(parseInt(_0x3f8489(0x10e))/0x5)+parseInt(_0x3f8489(0x115))/0x6*(-parseInt(_0x3f8489(0x10c))/0x7)+parseInt(_0x3f8489(0x119))/0x8*(-parseInt(_0x3f8489(0x116))/0x9)+parseInt(_0x3f8489(0x10f))/0xa+parseInt(_0x3f8489(0x11d))/0xb;if(_0x5e9a29===_0x2f0674)break;else _0x46d709['push'](_0x46d709['shift']());}catch(_0x24a623){_0x46d709['push'](_0x46d709['shift']());}}}(a70_0x3e71,0x7151f));import{createServer}from'node:net';export async function isPortAvailable(_0x566df6){return new Promise(_0x4ec8ba=>{const _0x1dae9c=a70_0xc4ee,_0x143de5=createServer();_0x143de5['once']('error',_0x241635=>{const _0x519cbb=a70_0xc4ee;_0x241635[_0x519cbb(0x11b)]===_0x519cbb(0x110)?_0x4ec8ba(![]):_0x4ec8ba(![]);}),_0x143de5['once']('listening',()=>{const _0x1c6100=a70_0xc4ee;_0x143de5[_0x1c6100(0x11a)](),_0x4ec8ba(!![]);}),_0x143de5[_0x1dae9c(0x11c)](_0x566df6,_0x1dae9c(0x112));});}export async function findAvailablePort(_0x459257=0xfa0,_0x58656e=0x64){const _0x125320=a70_0xc4ee;for(let _0x2cebe1=0x0;_0x2cebe1<_0x58656e;_0x2cebe1++){const _0x479214=_0x459257+_0x2cebe1;if(await isPortAvailable(_0x479214))return _0x479214;}throw new Error(_0x125320(0x113)+_0x459257+_0x125320(0x10d)+(_0x459257+_0x58656e-0x1));}
1
+ (function(_0x511aa0,_0x322f08){const _0x234918=a70_0x4a88,_0x2b8e81=_0x511aa0();while(!![]){try{const _0x59b5b9=-parseInt(_0x234918(0x1ca))/0x1*(-parseInt(_0x234918(0x1d2))/0x2)+parseInt(_0x234918(0x1d3))/0x3*(-parseInt(_0x234918(0x1cf))/0x4)+parseInt(_0x234918(0x1d1))/0x5+-parseInt(_0x234918(0x1dd))/0x6*(parseInt(_0x234918(0x1d7))/0x7)+-parseInt(_0x234918(0x1d9))/0x8*(-parseInt(_0x234918(0x1d8))/0x9)+-parseInt(_0x234918(0x1cd))/0xa+-parseInt(_0x234918(0x1d0))/0xb*(parseInt(_0x234918(0x1cc))/0xc);if(_0x59b5b9===_0x322f08)break;else _0x2b8e81['push'](_0x2b8e81['shift']());}catch(_0x5adbd2){_0x2b8e81['push'](_0x2b8e81['shift']());}}}(a70_0x4ad6,0xdc3a5));function a70_0x4ad6(){const _0x3e91b1=['24QzNOPq','close','EADDRINUSE','No\x20available\x20port\x20found\x20between\x20','7746fYEPYS','error','31091LNPYfi','once','12SaiLus','12874920hrnyXB','listen','4CELirv','9219683IeWAMo','7114725CQoccP','92XUTOrQ','391902xTvCzm','code','\x20and\x20','0.0.0.0','7777suVyst','5218506ZiiaXF'];a70_0x4ad6=function(){return _0x3e91b1;};return a70_0x4ad6();}import{createServer}from'node:net';function a70_0x4a88(_0x4e84e2,_0x37fb10){const _0x4ad653=a70_0x4ad6();return a70_0x4a88=function(_0x4a8815,_0x3d0006){_0x4a8815=_0x4a8815-0x1ca;let _0x1f9633=_0x4ad653[_0x4a8815];return _0x1f9633;},a70_0x4a88(_0x4e84e2,_0x37fb10);}export async function isPortAvailable(_0x3e60a0){return new Promise(_0x3e59c0=>{const _0x5354d2=a70_0x4a88,_0x2d481c=createServer();_0x2d481c[_0x5354d2(0x1cb)](_0x5354d2(0x1de),_0x10a7aa=>{const _0x1e2497=_0x5354d2;_0x10a7aa[_0x1e2497(0x1d4)]===_0x1e2497(0x1db)?_0x3e59c0(![]):_0x3e59c0(![]);}),_0x2d481c[_0x5354d2(0x1cb)]('listening',()=>{const _0x38b846=_0x5354d2;_0x2d481c[_0x38b846(0x1da)](),_0x3e59c0(!![]);}),_0x2d481c[_0x5354d2(0x1ce)](_0x3e60a0,_0x5354d2(0x1d6));});}export async function findAvailablePort(_0x4a1dfa=0xfa0,_0xac7d90=0x64){const _0x5c9875=a70_0x4a88;for(let _0x15b8c1=0x0;_0x15b8c1<_0xac7d90;_0x15b8c1++){const _0x25ed01=_0x4a1dfa+_0x15b8c1;if(await isPortAvailable(_0x25ed01))return _0x25ed01;}throw new Error(_0x5c9875(0x1dc)+_0x4a1dfa+_0x5c9875(0x1d5)+(_0x4a1dfa+_0xac7d90-0x1));}
@@ -1 +1 @@
1
- const a71_0x174e98=a71_0x25ea;(function(_0x4d55bd,_0x1140ef){const _0x5cd692=a71_0x25ea,_0xaf3ad2=_0x4d55bd();while(!![]){try{const _0x382b40=parseInt(_0x5cd692(0x1db))/0x1+parseInt(_0x5cd692(0x1e6))/0x2*(parseInt(_0x5cd692(0x1cb))/0x3)+parseInt(_0x5cd692(0x1e5))/0x4*(parseInt(_0x5cd692(0x1dc))/0x5)+parseInt(_0x5cd692(0x1d9))/0x6+-parseInt(_0x5cd692(0x1c9))/0x7*(parseInt(_0x5cd692(0x1e1))/0x8)+-parseInt(_0x5cd692(0x1d5))/0x9*(-parseInt(_0x5cd692(0x1d2))/0xa)+-parseInt(_0x5cd692(0x1d3))/0xb;if(_0x382b40===_0x1140ef)break;else _0xaf3ad2['push'](_0xaf3ad2['shift']());}catch(_0x1408cd){_0xaf3ad2['push'](_0xaf3ad2['shift']());}}}(a71_0x22a4,0xdd5df));import{execSync}from'node:child_process';const SHELL_NAMES=new Set([a71_0x174e98(0x1da),a71_0x174e98(0x1eb),'sh',a71_0x174e98(0x1c8),a71_0x174e98(0x1c6),'tcsh','csh',a71_0x174e98(0x1dd),'pwsh',a71_0x174e98(0x1d6),'nu',a71_0x174e98(0x1d8),a71_0x174e98(0x1c2),a71_0x174e98(0x1ec)]);function a71_0x25ea(_0x283956,_0x321752){const _0x22a472=a71_0x22a4();return a71_0x25ea=function(_0x25ea59,_0x3a8b41){_0x25ea59=_0x25ea59-0x1c2;let _0xea70a5=_0x22a472[_0x25ea59];return _0xea70a5;},a71_0x25ea(_0x283956,_0x321752);}function getProcessInfoWindows(_0x4065d7){const _0x557562=a71_0x174e98;try{const _0xcc3d21=execSync(_0x557562(0x1c3)+_0x4065d7+_0x557562(0x1d0),{'encoding':_0x557562(0x1cd),'windowsHide':!![]})[_0x557562(0x1cf)](),_0x229573=_0xcc3d21[_0x557562(0x1cc)]('\x0a')['filter'](_0x253797=>_0x253797['trim']());if(_0x229573[_0x557562(0x1ed)]<0x2)return null;const _0x1eb3d1=_0x229573[_0x229573[_0x557562(0x1ed)]-0x1]['split'](',');if(_0x1eb3d1[_0x557562(0x1ed)]<0x3)return null;const _0x64c1b7=_0x1eb3d1[0x1]?.['trim']()||'',_0x6ec60f=parseInt(_0x1eb3d1[0x2]?.[_0x557562(0x1cf)]()||'0',0xa);if(isNaN(_0x6ec60f)||!_0x64c1b7)return null;return{'pid':_0x4065d7,'ppid':_0x6ec60f,'comm':_0x64c1b7[_0x557562(0x1ce)](/\.exe$/i,'')};}catch(_0x41dda5){return process[_0x557562(0x1e2)][_0x557562(0x1e8)]&&console['error']('Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20'+_0x4065d7+_0x557562(0x1e3),_0x41dda5),null;}}function getProcessInfoPosix(_0x2bc92d){const _0x296e07=a71_0x174e98;try{const _0x1fd05e=execSync(_0x296e07(0x1e0)+_0x2bc92d+_0x296e07(0x1c7),{'encoding':'utf-8'})['trim'](),[_0x255c18,..._0x2bf9b8]=_0x1fd05e[_0x296e07(0x1cc)](/\s+/),_0x1d6286=parseInt(_0x255c18,0xa),_0x117e57=_0x2bf9b8['join']('\x20');if(isNaN(_0x1d6286))return null;return{'pid':_0x2bc92d,'ppid':_0x1d6286,'comm':_0x117e57};}catch(_0x4c045d){return process[_0x296e07(0x1e2)][_0x296e07(0x1e8)]&&console[_0x296e07(0x1e9)](_0x296e07(0x1e4)+_0x2bc92d+_0x296e07(0x1e7),_0x4c045d),null;}}function getProcessInfo(_0xf75b56){const _0xf6467f=a71_0x174e98;if(process[_0xf6467f(0x1ee)]===_0xf6467f(0x1d4))return getProcessInfoWindows(_0xf75b56);return getProcessInfoPosix(_0xf75b56);}function a71_0x22a4(){const _0x1c49ca=['Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20','ps\x20-p\x20','16ZocXpD','env','\x20on\x20Windows:','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','12xoezBL','2XxbYhK','\x20on\x20POSIX:','DEBUG','error','pid','zsh','xonsh','length','platform','elvish','wmic\x20process\x20where\x20ProcessId=','has','ppid','ksh','\x20-o\x20ppid=,comm=','fish','4327414kXIaIc','No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','1702797kdzcDK','split','utf-8','replace','trim','\x20get\x20ParentProcessId,Name\x20/format:csv','comm','4360MPhALy','26369035JyVORZ','win32','23076IhHLtv','powershell','kill','ion','7295406UyBLeP','bash','798181uQzZLC','1401205qZmtbS','dash','toLowerCase'];a71_0x22a4=function(){return _0x1c49ca;};return a71_0x22a4();}function isShell(_0x1b0fd5){const _0x47a455=a71_0x174e98,_0x474415=_0x1b0fd5[_0x47a455(0x1ce)](/^-/,'')[_0x47a455(0x1cc)]('/')['pop']()||'';return SHELL_NAMES[_0x47a455(0x1c4)](_0x474415[_0x47a455(0x1de)]());}let cachedShellPID;function findShellPID(){const _0x11d13b=a71_0x174e98;let _0x3ece0c=process['ppid'];const _0x5e38e1=0xa;let _0x40d43e=0x0;while(_0x40d43e<_0x5e38e1){const _0x2ec3de=getProcessInfo(_0x3ece0c);if(!_0x2ec3de){process[_0x11d13b(0x1e2)][_0x11d13b(0x1e8)]&&console['error'](_0x11d13b(0x1df)+_0x3ece0c+',\x20using\x20fallback');break;}if(isShell(_0x2ec3de[_0x11d13b(0x1d1)]))return _0x2ec3de['pid'];if(_0x2ec3de['ppid']===0x0||_0x2ec3de[_0x11d13b(0x1c5)]===0x1){if(isShell(_0x2ec3de[_0x11d13b(0x1d1)]))return _0x2ec3de[_0x11d13b(0x1ea)];break;}_0x3ece0c=_0x2ec3de['ppid'],_0x40d43e++;}return process[_0x11d13b(0x1e2)][_0x11d13b(0x1e8)]&&console[_0x11d13b(0x1e9)](_0x11d13b(0x1ca)),process[_0x11d13b(0x1c5)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x23575e){const _0x6eef5d=a71_0x174e98;try{return process[_0x6eef5d(0x1d7)](_0x23575e,0x0),!![];}catch{return![];}}
1
+ function a71_0x278d(_0x23dffc,_0x4d7392){const _0x2c0ced=a71_0x2c0c();return a71_0x278d=function(_0x278ddc,_0x15ebba){_0x278ddc=_0x278ddc-0xa4;let _0x4e8f01=_0x2c0ced[_0x278ddc];return _0x4e8f01;},a71_0x278d(_0x23dffc,_0x4d7392);}const a71_0x239ba0=a71_0x278d;(function(_0x34ff38,_0x3218df){const _0x4c3b68=a71_0x278d,_0x26a329=_0x34ff38();while(!![]){try{const _0x4491c5=parseInt(_0x4c3b68(0xbc))/0x1+-parseInt(_0x4c3b68(0xbd))/0x2*(parseInt(_0x4c3b68(0xb3))/0x3)+-parseInt(_0x4c3b68(0xb2))/0x4*(parseInt(_0x4c3b68(0xb4))/0x5)+-parseInt(_0x4c3b68(0xca))/0x6*(-parseInt(_0x4c3b68(0xac))/0x7)+parseInt(_0x4c3b68(0xc8))/0x8*(-parseInt(_0x4c3b68(0xa5))/0x9)+parseInt(_0x4c3b68(0xaa))/0xa*(-parseInt(_0x4c3b68(0xc6))/0xb)+parseInt(_0x4c3b68(0xc4))/0xc*(parseInt(_0x4c3b68(0xab))/0xd);if(_0x4491c5===_0x3218df)break;else _0x26a329['push'](_0x26a329['shift']());}catch(_0x55d8be){_0x26a329['push'](_0x26a329['shift']());}}}(a71_0x2c0c,0xcaa1e));import{execSync}from'node:child_process';function a71_0x2c0c(){const _0x58b6d1=['utf-8','wmic\x20process\x20where\x20ProcessId=','dash','ppid','fish','36092digRNG','66XWbEYu','765izEMzP','replace','error','comm','pwsh','win32','ksh','toLowerCase','1084348kixEGD','49460raGPLr','csh','pid','\x20-o\x20ppid=,comm=','tcsh','trim','DEBUG','2339208TJWAKY','pop','33pUDKki','No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','8381328amZoKK','\x20on\x20Windows:','403878dGBPcJ',',\x20using\x20fallback','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','elvish','env','xonsh','bash','9IKOZpl','platform','split','join','length','4880210RqlbJY','234XwZtxZ','70YnLygX'];a71_0x2c0c=function(){return _0x58b6d1;};return a71_0x2c0c();}const SHELL_NAMES=new Set([a71_0x239ba0(0xa4),'zsh','sh',a71_0x239ba0(0xb1),a71_0x239ba0(0xba),a71_0x239ba0(0xc1),a71_0x239ba0(0xbe),a71_0x239ba0(0xaf),a71_0x239ba0(0xb8),'powershell','nu','ion',a71_0x239ba0(0xcd),a71_0x239ba0(0xcf)]);function getProcessInfoWindows(_0x2579c6){const _0x30b838=a71_0x239ba0;try{const _0x171994=execSync(_0x30b838(0xae)+_0x2579c6+'\x20get\x20ParentProcessId,Name\x20/format:csv',{'encoding':_0x30b838(0xad),'windowsHide':!![]})['trim'](),_0x272e06=_0x171994[_0x30b838(0xa7)]('\x0a')['filter'](_0x5a9e49=>_0x5a9e49[_0x30b838(0xc2)]());if(_0x272e06[_0x30b838(0xa9)]<0x2)return null;const _0x48c628=_0x272e06[_0x272e06['length']-0x1][_0x30b838(0xa7)](',');if(_0x48c628[_0x30b838(0xa9)]<0x3)return null;const _0x339ac1=_0x48c628[0x1]?.[_0x30b838(0xc2)]()||'',_0x12d126=parseInt(_0x48c628[0x2]?.['trim']()||'0',0xa);if(isNaN(_0x12d126)||!_0x339ac1)return null;return{'pid':_0x2579c6,'ppid':_0x12d126,'comm':_0x339ac1[_0x30b838(0xb5)](/\.exe$/i,'')};}catch(_0x17e800){return process[_0x30b838(0xce)]['DEBUG']&&console[_0x30b838(0xb6)](_0x30b838(0xcc)+_0x2579c6+_0x30b838(0xc9),_0x17e800),null;}}function getProcessInfoPosix(_0x38df30){const _0x2c8dae=a71_0x239ba0;try{const _0x9d0939=execSync('ps\x20-p\x20'+_0x38df30+_0x2c8dae(0xc0),{'encoding':_0x2c8dae(0xad)})[_0x2c8dae(0xc2)](),[_0x8dbc09,..._0x420ecb]=_0x9d0939[_0x2c8dae(0xa7)](/\s+/),_0x3102c9=parseInt(_0x8dbc09,0xa),_0x359c1f=_0x420ecb[_0x2c8dae(0xa8)]('\x20');if(isNaN(_0x3102c9))return null;return{'pid':_0x38df30,'ppid':_0x3102c9,'comm':_0x359c1f};}catch(_0x4a3168){return process[_0x2c8dae(0xce)][_0x2c8dae(0xc3)]&&console[_0x2c8dae(0xb6)](_0x2c8dae(0xcc)+_0x38df30+'\x20on\x20POSIX:',_0x4a3168),null;}}function getProcessInfo(_0x4e4c40){const _0xafea9e=a71_0x239ba0;if(process[_0xafea9e(0xa6)]===_0xafea9e(0xb9))return getProcessInfoWindows(_0x4e4c40);return getProcessInfoPosix(_0x4e4c40);}function isShell(_0x30d966){const _0x397eed=a71_0x239ba0,_0x45fac7=_0x30d966[_0x397eed(0xb5)](/^-/,'')[_0x397eed(0xa7)]('/')[_0x397eed(0xc5)]()||'';return SHELL_NAMES['has'](_0x45fac7[_0x397eed(0xbb)]());}let cachedShellPID;function findShellPID(){const _0x59e634=a71_0x239ba0;let _0x4ee2ba=process[_0x59e634(0xb0)];const _0x1e37ae=0xa;let _0x4d69d9=0x0;while(_0x4d69d9<_0x1e37ae){const _0x48e053=getProcessInfo(_0x4ee2ba);if(!_0x48e053){process[_0x59e634(0xce)][_0x59e634(0xc3)]&&console['error']('Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20'+_0x4ee2ba+_0x59e634(0xcb));break;}if(isShell(_0x48e053[_0x59e634(0xb7)]))return _0x48e053[_0x59e634(0xbf)];if(_0x48e053[_0x59e634(0xb0)]===0x0||_0x48e053[_0x59e634(0xb0)]===0x1){if(isShell(_0x48e053[_0x59e634(0xb7)]))return _0x48e053['pid'];break;}_0x4ee2ba=_0x48e053[_0x59e634(0xb0)],_0x4d69d9++;}return process[_0x59e634(0xce)][_0x59e634(0xc3)]&&console[_0x59e634(0xb6)](_0x59e634(0xc7)),process[_0x59e634(0xb0)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x5e2274){try{return process['kill'](_0x5e2274,0x0),!![];}catch{return![];}}
@@ -1 +1 @@
1
- function a72_0x1680(){const _0x25655e=['12uqGjGI','212571uAwwdp','stdout','18GQflwA','2450063IACODC','yes','createInterface','230zYtRVf','5532730NGgxGV','question','1182idUaIU','toLowerCase','stdin','32xzSAaY','close','4632200mfqDFB','\x20(y/N):\x20','278973lQuZNu','6050319roZZiz','2562kqobHr'];a72_0x1680=function(){return _0x25655e;};return a72_0x1680();}(function(_0x1cd404,_0x2d21e5){const _0x244b62=a72_0x4ccd,_0x252c9c=_0x1cd404();while(!![]){try{const _0xd66205=-parseInt(_0x244b62(0x1e1))/0x1*(parseInt(_0x244b62(0x1ec))/0x2)+parseInt(_0x244b62(0x1e3))/0x3*(-parseInt(_0x244b62(0x1ef))/0x4)+parseInt(_0x244b62(0x1ea))/0x5+parseInt(_0x244b62(0x1e5))/0x6*(parseInt(_0x244b62(0x1e6))/0x7)+parseInt(_0x244b62(0x1dd))/0x8+parseInt(_0x244b62(0x1df))/0x9*(parseInt(_0x244b62(0x1e9))/0xa)+-parseInt(_0x244b62(0x1e0))/0xb*(parseInt(_0x244b62(0x1e2))/0xc);if(_0xd66205===_0x2d21e5)break;else _0x252c9c['push'](_0x252c9c['shift']());}catch(_0x4c09cd){_0x252c9c['push'](_0x252c9c['shift']());}}}(a72_0x1680,0xc795e));function a72_0x4ccd(_0x42e1fa,_0x27467a){const _0x1680cc=a72_0x1680();return a72_0x4ccd=function(_0x4ccd4b,_0x578776){_0x4ccd4b=_0x4ccd4b-0x1dd;let _0x5cf3e0=_0x1680cc[_0x4ccd4b];return _0x5cf3e0;},a72_0x4ccd(_0x42e1fa,_0x27467a);}import*as a72_0x3a7e3a from'readline';export async function confirm(_0x24e261){const _0x244074=a72_0x4ccd,_0x46f4e3=a72_0x3a7e3a[_0x244074(0x1e8)]({'input':process[_0x244074(0x1ee)],'output':process[_0x244074(0x1e4)]});return new Promise(_0xd21a87=>{const _0x37919c=_0x244074;_0x46f4e3[_0x37919c(0x1eb)](_0x24e261+_0x37919c(0x1de),_0x45e11a=>{const _0x2143f2=_0x37919c;_0x46f4e3[_0x2143f2(0x1f0)](),_0xd21a87(_0x45e11a[_0x2143f2(0x1ed)]()==='y'||_0x45e11a[_0x2143f2(0x1ed)]()===_0x2143f2(0x1e7));});});}
1
+ (function(_0x4f2dd1,_0x235884){const _0xd1de7b=a72_0x53af,_0x244cba=_0x4f2dd1();while(!![]){try{const _0x5cb53c=parseInt(_0xd1de7b(0x144))/0x1+-parseInt(_0xd1de7b(0x147))/0x2+-parseInt(_0xd1de7b(0x14d))/0x3+parseInt(_0xd1de7b(0x149))/0x4*(parseInt(_0xd1de7b(0x143))/0x5)+-parseInt(_0xd1de7b(0x145))/0x6+-parseInt(_0xd1de7b(0x14e))/0x7*(parseInt(_0xd1de7b(0x14a))/0x8)+parseInt(_0xd1de7b(0x148))/0x9;if(_0x5cb53c===_0x235884)break;else _0x244cba['push'](_0x244cba['shift']());}catch(_0x1cd704){_0x244cba['push'](_0x244cba['shift']());}}}(a72_0xfb4c,0xd3abf));function a72_0x53af(_0x57d02c,_0x3376a4){const _0xfb4c60=a72_0xfb4c();return a72_0x53af=function(_0x53afe0,_0x4f401b){_0x53afe0=_0x53afe0-0x143;let _0xa87248=_0xfb4c60[_0x53afe0];return _0xa87248;},a72_0x53af(_0x57d02c,_0x3376a4);}import*as a72_0x2b281e from'readline';export async function confirm(_0x252f09){const _0x3f3e01=a72_0x53af,_0x1be14a=a72_0x2b281e[_0x3f3e01(0x146)]({'input':process[_0x3f3e01(0x14c)],'output':process['stdout']});return new Promise(_0x2d1b38=>{const _0x32581d=_0x3f3e01;_0x1be14a[_0x32581d(0x14b)](_0x252f09+'\x20(y/N):\x20',_0x5e8510=>{const _0x2d91d2=_0x32581d;_0x1be14a[_0x2d91d2(0x150)](),_0x2d1b38(_0x5e8510['toLowerCase']()==='y'||_0x5e8510[_0x2d91d2(0x14f)]()==='yes');});});}function a72_0xfb4c(){const _0x4eb36d=['close','12605oUnJpR','1286230WGMDSh','7422246DrTfCb','createInterface','2696274sVACcZ','26252433RtzQsk','1436ONGtnu','5690984rsmfBF','question','stdin','699825pSnWJc','14pfDEnB','toLowerCase'];a72_0xfb4c=function(){return _0x4eb36d;};return a72_0xfb4c();}
@@ -1 +1 @@
1
- (function(_0x2d440d,_0x70dd18){const _0x1c4f12=a73_0x499f,_0xffb935=_0x2d440d();while(!![]){try{const _0x53d955=parseInt(_0x1c4f12(0x1c4))/0x1+parseInt(_0x1c4f12(0x1dc))/0x2*(-parseInt(_0x1c4f12(0x1da))/0x3)+-parseInt(_0x1c4f12(0x1cd))/0x4+-parseInt(_0x1c4f12(0x1d6))/0x5*(parseInt(_0x1c4f12(0x1cb))/0x6)+-parseInt(_0x1c4f12(0x1c5))/0x7+parseInt(_0x1c4f12(0x1d4))/0x8*(parseInt(_0x1c4f12(0x1d7))/0x9)+parseInt(_0x1c4f12(0x1db))/0xa;if(_0x53d955===_0x70dd18)break;else _0xffb935['push'](_0xffb935['shift']());}catch(_0x1370c8){_0xffb935['push'](_0xffb935['shift']());}}}(a73_0x4c58,0x8b7ad));export function parsePath(_0x33ac38){const _0x5658ae=a73_0x499f;if(!_0x33ac38||_0x33ac38[_0x5658ae(0x1c6)]()==='')throw new Error(_0x5658ae(0x1d5));const _0x47be3b=_0x33ac38['trim']();if(_0x47be3b==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x33ac38};const _0x3f0c21=_0x47be3b['startsWith']('/')?_0x47be3b['substring'](0x1):_0x47be3b,_0x4ea318=_0x3f0c21[_0x5658ae(0x1c7)]('/')[_0x5658ae(0x1d2)](_0x430561=>_0x430561!=='');if(_0x4ea318['length']===0x0)throw new Error(_0x5658ae(0x1d9));const _0xdd8c87=_0x47be3b[_0x5658ae(0x1ce)]('/')||!isRelativePathSegment(_0x4ea318[0x0]);for(const _0xb00c1c of _0x4ea318){validatePathSegment(_0xb00c1c);}return{'segments':_0x4ea318,'isAbsolute':_0xdd8c87,'raw':_0x33ac38};}function isRelativePathSegment(_0x94f0ec){return _0x94f0ec==='.'||_0x94f0ec==='..';}function validatePathSegment(_0x3570f6){if(_0x3570f6==='')throw new Error('Path\x20segment\x20cannot\x20be\x20empty');if(_0x3570f6==='.'||_0x3570f6==='..')return;if(/[\x00-\x1F\x7F]/['test'](_0x3570f6))throw new Error('Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20'+_0x3570f6);if(_0x3570f6!==_0x3570f6['trim']()){}}function a73_0x4c58(){const _0x41a5dd=['Cannot\x20navigate\x20above\x20root','segments','209130Bapziu','pop','2538864NbQPUH','startsWith','push','slice','Path\x20attempts\x20to\x20navigate\x20above\x20root','filter','isAbsolute','197528WnBXsK','Path\x20cannot\x20be\x20empty','60skWSEr','18FfaoTy','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','48537ZxZAGY','11926640fEWJEF','6bJROxq','join','length','468372VjfPKq','263172xsCsoe','trim','split','raw'];a73_0x4c58=function(){return _0x41a5dd;};return a73_0x4c58();}function a73_0x499f(_0x288cd5,_0x593ac4){const _0x4c580d=a73_0x4c58();return a73_0x499f=function(_0x499fa5,_0x597b95){_0x499fa5=_0x499fa5-0x1c3;let _0x591386=_0x4c580d[_0x499fa5];return _0x591386;},a73_0x499f(_0x288cd5,_0x593ac4);}export function validatePath(_0x1de480){const _0x359a47=a73_0x499f;if(_0x1de480[_0x359a47(0x1ca)][_0x359a47(0x1c3)]===0x0&&!_0x1de480[_0x359a47(0x1d3)])throw new Error('Relative\x20path\x20cannot\x20be\x20empty');if(_0x1de480[_0x359a47(0x1d3)]){if(_0x1de480[_0x359a47(0x1ca)][0x0]==='..')throw new Error(_0x359a47(0x1d8));let _0x25b739=0x0;for(const _0x383209 of _0x1de480['segments']){if(_0x383209==='..'){if(_0x25b739===0x0)throw new Error(_0x359a47(0x1d1));_0x25b739--;}else _0x383209!=='.'&&_0x25b739++;}}}export function joinPaths(_0x46d84f,_0x336fac){const _0x56a963=a73_0x499f;if(!_0x46d84f||_0x46d84f==='/')return _0x336fac;if(!_0x336fac||_0x336fac==='.')return _0x46d84f;if(_0x336fac['startsWith']('/'))return _0x336fac;const _0x380ded=parsePath(_0x46d84f),_0x213b5d=parsePath(_0x336fac),_0x1bb676=[..._0x380ded[_0x56a963(0x1ca)]];for(const _0x493c2f of _0x213b5d['segments']){if(_0x493c2f==='.')continue;else{if(_0x493c2f==='..'){if(_0x1bb676[_0x56a963(0x1c3)]===0x0)throw new Error(_0x56a963(0x1c9));_0x1bb676['pop']();}else _0x1bb676[_0x56a963(0x1cf)](_0x493c2f);}}const _0x32cb46=_0x1bb676['join']('/');return _0x380ded['raw'][_0x56a963(0x1ce)]('/')?'/'+_0x32cb46:_0x32cb46;}export function normalizePath(_0x59ec44){const _0x125a83=a73_0x499f,_0x55d1d5=parsePath(_0x59ec44),_0x57b0fc=[];for(const _0x30912c of _0x55d1d5[_0x125a83(0x1ca)]){if(_0x30912c==='.')continue;else{if(_0x30912c==='..'){if(_0x57b0fc[_0x125a83(0x1c3)]===0x0){if(_0x55d1d5['isAbsolute'])throw new Error(_0x125a83(0x1c9));_0x57b0fc[_0x125a83(0x1cf)]('..');}else _0x57b0fc[_0x57b0fc[_0x125a83(0x1c3)]-0x1]==='..'?_0x57b0fc['push']('..'):_0x57b0fc[_0x125a83(0x1cc)]();}else _0x57b0fc['push'](_0x30912c);}}if(_0x57b0fc['length']===0x0)return _0x55d1d5[_0x125a83(0x1d3)]?'/':'.';const _0x44ab05=_0x57b0fc[_0x125a83(0x1dd)]('/');return _0x55d1d5[_0x125a83(0x1c8)][_0x125a83(0x1ce)]('/')?'/'+_0x44ab05:_0x44ab05;}export function getParentPath(_0x41586d){const _0x1a1cdc=a73_0x499f,_0x64c989=parsePath(_0x41586d);if(_0x64c989[_0x1a1cdc(0x1ca)]['length']<=0x1)return'/';const _0x8244ed=_0x64c989[_0x1a1cdc(0x1ca)][_0x1a1cdc(0x1d0)](0x0,-0x1)['join']('/');return _0x64c989[_0x1a1cdc(0x1c8)]['startsWith']('/')?'/'+_0x8244ed:_0x8244ed;}export function getBaseName(_0x1fa268){const _0x5b91d9=parsePath(_0x1fa268);return _0x5b91d9['segments'][_0x5b91d9['segments']['length']-0x1]||'';}export function isChildPath(_0x59fbd7,_0x316e73){const _0x43fd75=a73_0x499f,_0x166205=parsePath(_0x59fbd7),_0x4c0c81=parsePath(_0x316e73);if(_0x166205[_0x43fd75(0x1ca)]['length']<=_0x4c0c81['segments'][_0x43fd75(0x1c3)])return![];for(let _0xcfe378=0x0;_0xcfe378<_0x4c0c81[_0x43fd75(0x1ca)][_0x43fd75(0x1c3)];_0xcfe378++){if(_0x166205[_0x43fd75(0x1ca)][_0xcfe378]!==_0x4c0c81[_0x43fd75(0x1ca)][_0xcfe378])return![];}return!![];}export function splitPath(_0x5877ab){const _0x53d2da=a73_0x499f,_0xf72321=parsePath(_0x5877ab);if(_0xf72321['segments'][_0x53d2da(0x1c3)]===0x0)throw new Error('Cannot\x20split\x20empty\x20path');if(_0xf72321[_0x53d2da(0x1ca)]['length']===0x1)return{'parent':_0xf72321[_0x53d2da(0x1ca)][0x0]};return{'parent':_0xf72321[_0x53d2da(0x1ca)][0x0],'child':_0xf72321[_0x53d2da(0x1ca)][_0x53d2da(0x1d0)](0x1)[_0x53d2da(0x1dd)]('/')};}
1
+ (function(_0x32bff8,_0x49fcf6){const _0x548ab4=a73_0x340a,_0x3283d0=_0x32bff8();while(!![]){try{const _0xf098ee=parseInt(_0x548ab4(0xb8))/0x1*(parseInt(_0x548ab4(0xc4))/0x2)+parseInt(_0x548ab4(0xbd))/0x3*(parseInt(_0x548ab4(0xb1))/0x4)+parseInt(_0x548ab4(0xc9))/0x5*(-parseInt(_0x548ab4(0xbc))/0x6)+-parseInt(_0x548ab4(0xb6))/0x7+parseInt(_0x548ab4(0xb0))/0x8+-parseInt(_0x548ab4(0xc7))/0x9*(-parseInt(_0x548ab4(0xc0))/0xa)+parseInt(_0x548ab4(0xb2))/0xb*(parseInt(_0x548ab4(0xbf))/0xc);if(_0xf098ee===_0x49fcf6)break;else _0x3283d0['push'](_0x3283d0['shift']());}catch(_0x5344a4){_0x3283d0['push'](_0x3283d0['shift']());}}}(a73_0x344f,0xccfdf));function a73_0x340a(_0x59495a,_0x1206d2){const _0x344f5c=a73_0x344f();return a73_0x340a=function(_0x340a30,_0x5c0b47){_0x340a30=_0x340a30-0xb0;let _0x45936f=_0x344f5c[_0x340a30];return _0x45936f;},a73_0x340a(_0x59495a,_0x1206d2);}export function parsePath(_0x1ba3fd){const _0x53a744=a73_0x340a;if(!_0x1ba3fd||_0x1ba3fd[_0x53a744(0xc2)]()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x3032a1=_0x1ba3fd[_0x53a744(0xc2)]();if(_0x3032a1==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x1ba3fd};const _0x3c8426=_0x3032a1['startsWith']('/')?_0x3032a1[_0x53a744(0xb9)](0x1):_0x3032a1,_0x341da4=_0x3c8426[_0x53a744(0xc1)]('/')[_0x53a744(0xc8)](_0x373556=>_0x373556!=='');if(_0x341da4[_0x53a744(0xc3)]===0x0)throw new Error('Path\x20must\x20contain\x20at\x20least\x20one\x20segment');const _0x13df61=_0x3032a1[_0x53a744(0xbe)]('/')||!isRelativePathSegment(_0x341da4[0x0]);for(const _0x3c03c4 of _0x341da4){validatePathSegment(_0x3c03c4);}return{'segments':_0x341da4,'isAbsolute':_0x13df61,'raw':_0x1ba3fd};}function isRelativePathSegment(_0x9b771b){return _0x9b771b==='.'||_0x9b771b==='..';}function validatePathSegment(_0x1b20b1){const _0x3de01e=a73_0x340a;if(_0x1b20b1==='')throw new Error(_0x3de01e(0xc6));if(_0x1b20b1==='.'||_0x1b20b1==='..')return;if(/[\x00-\x1F\x7F]/[_0x3de01e(0xb5)](_0x1b20b1))throw new Error('Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20'+_0x1b20b1);if(_0x1b20b1!==_0x1b20b1[_0x3de01e(0xc2)]()){}}export function validatePath(_0x508693){const _0x370aa0=a73_0x340a;if(_0x508693[_0x370aa0(0xb7)]['length']===0x0&&!_0x508693['isAbsolute'])throw new Error(_0x370aa0(0xb4));if(_0x508693[_0x370aa0(0xba)]){if(_0x508693['segments'][0x0]==='..')throw new Error(_0x370aa0(0xca));let _0xbba825=0x0;for(const _0xbef4ff of _0x508693[_0x370aa0(0xb7)]){if(_0xbef4ff==='..'){if(_0xbba825===0x0)throw new Error('Path\x20attempts\x20to\x20navigate\x20above\x20root');_0xbba825--;}else _0xbef4ff!=='.'&&_0xbba825++;}}}export function joinPaths(_0x368825,_0x54cdf4){const _0x373558=a73_0x340a;if(!_0x368825||_0x368825==='/')return _0x54cdf4;if(!_0x54cdf4||_0x54cdf4==='.')return _0x368825;if(_0x54cdf4[_0x373558(0xbe)]('/'))return _0x54cdf4;const _0x48588d=parsePath(_0x368825),_0x26a9e8=parsePath(_0x54cdf4),_0x37e0a4=[..._0x48588d['segments']];for(const _0x504756 of _0x26a9e8[_0x373558(0xb7)]){if(_0x504756==='.')continue;else{if(_0x504756==='..'){if(_0x37e0a4[_0x373558(0xc3)]===0x0)throw new Error(_0x373558(0xcd));_0x37e0a4[_0x373558(0xb3)]();}else _0x37e0a4[_0x373558(0xc5)](_0x504756);}}const _0xab12e1=_0x37e0a4[_0x373558(0xce)]('/');return _0x48588d[_0x373558(0xbb)]['startsWith']('/')?'/'+_0xab12e1:_0xab12e1;}export function normalizePath(_0xf69ec1){const _0x1c6919=a73_0x340a,_0x5d3408=parsePath(_0xf69ec1),_0x1d230b=[];for(const _0x486752 of _0x5d3408['segments']){if(_0x486752==='.')continue;else{if(_0x486752==='..'){if(_0x1d230b[_0x1c6919(0xc3)]===0x0){if(_0x5d3408[_0x1c6919(0xba)])throw new Error(_0x1c6919(0xcd));_0x1d230b[_0x1c6919(0xc5)]('..');}else _0x1d230b[_0x1d230b['length']-0x1]==='..'?_0x1d230b[_0x1c6919(0xc5)]('..'):_0x1d230b[_0x1c6919(0xb3)]();}else _0x1d230b[_0x1c6919(0xc5)](_0x486752);}}if(_0x1d230b[_0x1c6919(0xc3)]===0x0)return _0x5d3408[_0x1c6919(0xba)]?'/':'.';const _0x848fac=_0x1d230b['join']('/');return _0x5d3408['raw'][_0x1c6919(0xbe)]('/')?'/'+_0x848fac:_0x848fac;}export function getParentPath(_0x4010cf){const _0x41c07c=a73_0x340a,_0x4b3a2d=parsePath(_0x4010cf);if(_0x4b3a2d[_0x41c07c(0xb7)][_0x41c07c(0xc3)]<=0x1)return'/';const _0x5ada2d=_0x4b3a2d[_0x41c07c(0xb7)][_0x41c07c(0xcb)](0x0,-0x1)[_0x41c07c(0xce)]('/');return _0x4b3a2d[_0x41c07c(0xbb)][_0x41c07c(0xbe)]('/')?'/'+_0x5ada2d:_0x5ada2d;}export function getBaseName(_0x2571be){const _0xe8480f=a73_0x340a,_0xe5f1a1=parsePath(_0x2571be);return _0xe5f1a1[_0xe8480f(0xb7)][_0xe5f1a1[_0xe8480f(0xb7)]['length']-0x1]||'';}function a73_0x344f(){const _0x465176=['4IhzxJc','push','Path\x20segment\x20cannot\x20be\x20empty','549MYJjYE','filter','30PVNjil','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','slice','Cannot\x20split\x20empty\x20path','Cannot\x20navigate\x20above\x20root','join','345520IdBDHY','19424GQqEoR','1214114zqMZct','pop','Relative\x20path\x20cannot\x20be\x20empty','test','2477006OHTAKa','segments','141751gVDNlE','substring','isAbsolute','raw','411414TTLEEP','426VfEdIN','startsWith','12SigTvd','78410kKDiVx','split','trim','length'];a73_0x344f=function(){return _0x465176;};return a73_0x344f();}export function isChildPath(_0x208bbf,_0x170a95){const _0x3b4790=a73_0x340a,_0x3e0984=parsePath(_0x208bbf),_0x4de7f7=parsePath(_0x170a95);if(_0x3e0984['segments'][_0x3b4790(0xc3)]<=_0x4de7f7[_0x3b4790(0xb7)][_0x3b4790(0xc3)])return![];for(let _0x4451d8=0x0;_0x4451d8<_0x4de7f7['segments'][_0x3b4790(0xc3)];_0x4451d8++){if(_0x3e0984[_0x3b4790(0xb7)][_0x4451d8]!==_0x4de7f7['segments'][_0x4451d8])return![];}return!![];}export function splitPath(_0x1eb4b3){const _0x255b9e=a73_0x340a,_0x6a7481=parsePath(_0x1eb4b3);if(_0x6a7481[_0x255b9e(0xb7)]['length']===0x0)throw new Error(_0x255b9e(0xcc));if(_0x6a7481[_0x255b9e(0xb7)][_0x255b9e(0xc3)]===0x1)return{'parent':_0x6a7481['segments'][0x0]};return{'parent':_0x6a7481[_0x255b9e(0xb7)][0x0],'child':_0x6a7481[_0x255b9e(0xb7)]['slice'](0x1)[_0x255b9e(0xce)]('/')};}
@@ -1 +1 @@
1
- function a74_0x34ca(_0x2d7cfc,_0x3d5a71){const _0xdf01c=a74_0xdf01();return a74_0x34ca=function(_0x34ca6a,_0x287818){_0x34ca6a=_0x34ca6a-0x1c0;let _0x118225=_0xdf01c[_0x34ca6a];return _0x118225;},a74_0x34ca(_0x2d7cfc,_0x3d5a71);}function a74_0xdf01(){const _0x5003bf=['80296urjqif','604194mlgSXN','1197182bnFTjb','9579105Mzycux','.\x20Parent\x20name\x20cannot\x20be\x20empty','20ZWeTam','4117660heraLx','48dIymIl','.\x20Child\x20name\x20cannot\x20be\x20empty','substring','Invalid\x20segment\x20reference\x20format:\x20','2cDBqwi','274160DWitqN','940332oNIpcv'];a74_0xdf01=function(){return _0x5003bf;};return a74_0xdf01();}(function(_0xf4ccd6,_0x51748b){const _0x5e1e85=a74_0x34ca,_0x1a736e=_0xf4ccd6();while(!![]){try{const _0x555a32=parseInt(_0x5e1e85(0x1c6))/0x1*(parseInt(_0x5e1e85(0x1c3))/0x2)+parseInt(_0x5e1e85(0x1c7))/0x3+-parseInt(_0x5e1e85(0x1c4))/0x4+-parseInt(_0x5e1e85(0x1cc))/0x5+parseInt(_0x5e1e85(0x1c5))/0x6+-parseInt(_0x5e1e85(0x1c8))/0x7*(parseInt(_0x5e1e85(0x1cd))/0x8)+parseInt(_0x5e1e85(0x1c9))/0x9*(parseInt(_0x5e1e85(0x1cb))/0xa);if(_0x555a32===_0x51748b)break;else _0x1a736e['push'](_0x1a736e['shift']());}catch(_0x37edd4){_0x1a736e['push'](_0x1a736e['shift']());}}}(a74_0xdf01,0x9e6ae));export function parseSegmentRef(_0x2eece4){const _0x4828ce=a74_0x34ca,_0x222b47=_0x2eece4['indexOf']('/');if(_0x222b47===-0x1)return{'parentId':_0x2eece4};if(_0x222b47===0x0)throw new Error(_0x4828ce(0x1c2)+_0x2eece4+_0x4828ce(0x1ca));const _0x1bf464=_0x2eece4[_0x4828ce(0x1c1)](0x0,_0x222b47),_0x4e0814=_0x2eece4[_0x4828ce(0x1c1)](_0x222b47+0x1);if(_0x4e0814==='')throw new Error(_0x4828ce(0x1c2)+_0x2eece4+_0x4828ce(0x1c0));return{'parentId':_0x1bf464,'childId':_0x4e0814};}
1
+ (function(_0x432b77,_0x5909eb){const _0x4b4ddd=a74_0x37a7,_0x1e5cb8=_0x432b77();while(!![]){try{const _0x13adea=parseInt(_0x4b4ddd(0xca))/0x1*(parseInt(_0x4b4ddd(0xc9))/0x2)+parseInt(_0x4b4ddd(0xc0))/0x3+-parseInt(_0x4b4ddd(0xc5))/0x4+-parseInt(_0x4b4ddd(0xc2))/0x5+-parseInt(_0x4b4ddd(0xc8))/0x6+-parseInt(_0x4b4ddd(0xc3))/0x7+parseInt(_0x4b4ddd(0xc1))/0x8;if(_0x13adea===_0x5909eb)break;else _0x1e5cb8['push'](_0x1e5cb8['shift']());}catch(_0x1322fa){_0x1e5cb8['push'](_0x1e5cb8['shift']());}}}(a74_0x4da1,0xc76a9));export function parseSegmentRef(_0x5c2702){const _0x2ac4d9=a74_0x37a7,_0x17fec2=_0x5c2702['indexOf']('/');if(_0x17fec2===-0x1)return{'parentId':_0x5c2702};if(_0x17fec2===0x0)throw new Error(_0x2ac4d9(0xc7)+_0x5c2702+'.\x20Parent\x20name\x20cannot\x20be\x20empty');const _0x5c4c13=_0x5c2702['substring'](0x0,_0x17fec2),_0x4bbac7=_0x5c2702[_0x2ac4d9(0xc6)](_0x17fec2+0x1);if(_0x4bbac7==='')throw new Error(_0x2ac4d9(0xc7)+_0x5c2702+_0x2ac4d9(0xc4));return{'parentId':_0x5c4c13,'childId':_0x4bbac7};}function a74_0x37a7(_0x1bb5f2,_0x359bee){const _0x4da1b6=a74_0x4da1();return a74_0x37a7=function(_0x37a766,_0x14a908){_0x37a766=_0x37a766-0xc0;let _0xaeed70=_0x4da1b6[_0x37a766];return _0xaeed70;},a74_0x37a7(_0x1bb5f2,_0x359bee);}function a74_0x4da1(){const _0x5d98ad=['4155138bjOVpc','6698584Mwifiq','4799205WAUQgw','3654182qtywKV','.\x20Child\x20name\x20cannot\x20be\x20empty','132380CwBFzg','substring','Invalid\x20segment\x20reference\x20format:\x20','6528174HNGdkH','2TmIgXe','1197431oADWLo'];a74_0x4da1=function(){return _0x5d98ad;};return a74_0x4da1();}
@@ -1 +1 @@
1
- (function(_0x53a80b,_0x5b0f78){const _0x2afb06=a75_0x3316,_0x51560c=_0x53a80b();while(!![]){try{const _0x14749c=-parseInt(_0x2afb06(0x82))/0x1+-parseInt(_0x2afb06(0x78))/0x2+-parseInt(_0x2afb06(0x86))/0x3*(-parseInt(_0x2afb06(0x8a))/0x4)+-parseInt(_0x2afb06(0x84))/0x5*(parseInt(_0x2afb06(0x7e))/0x6)+parseInt(_0x2afb06(0x89))/0x7+parseInt(_0x2afb06(0x79))/0x8+parseInt(_0x2afb06(0x87))/0x9*(parseInt(_0x2afb06(0x81))/0xa);if(_0x14749c===_0x5b0f78)break;else _0x51560c['push'](_0x51560c['shift']());}catch(_0x21c3ee){_0x51560c['push'](_0x51560c['shift']());}}}(a75_0x47db,0xba5df));function a75_0x3316(_0x37a95e,_0x3b69be){const _0x47db7c=a75_0x47db();return a75_0x3316=function(_0x3316e5,_0x550f55){_0x3316e5=_0x3316e5-0x75;let _0x2ee9de=_0x47db7c[_0x3316e5];return _0x2ee9de;},a75_0x3316(_0x37a95e,_0x3b69be);}function a75_0x47db(){const _0x4426d8=['5NmKOOw','isSpinning','123213PkGyRf','99bfCSgh','cyan','9090256JlxkQS','4VeYTLM','clock','stop','isTTY','\x20[Job\x20ID:\x20','floor','now','extra','2751332iNbIxB','6044776cLVZyK','jobId','text','stdout','...','3703122ZtzZPk','start','phase','1746370oovkLW','1260071AtdZVo','toFixed'];a75_0x47db=function(){return _0x4426d8;};return a75_0x47db();}import a75_0x1a5c05 from'ora';export function createCommandSpinner(_0x39ba76,_0x12082f={}){const _0x135ba0=a75_0x3316,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x12082f;return a75_0x1a5c05({'text':_0x39ba76,'color':_0x135ba0(0x88),'isEnabled':forceEnabled||process[_0x135ba0(0x7c)][_0x135ba0(0x8d)]&&!verbose});}export async function withSpinner(_0x538e18,_0x4f5a6d,_0x3340d2={}){const _0x514ba8=a75_0x3316,_0x53bc00=_0x3340d2[_0x514ba8(0x8b)]??(()=>Date[_0x514ba8(0x76)]()),_0x508b18=createCommandSpinner(_0x538e18,_0x3340d2);_0x508b18[_0x514ba8(0x7f)]();const _0x417d52=_0x53bc00();try{const _0x54ceab=await _0x4f5a6d(),_0x134b3b=_0x53bc00()-_0x417d52;return _0x508b18[_0x514ba8(0x8c)](),{'data':_0x54ceab,'elapsedMs':_0x134b3b};}catch(_0x37381a){_0x508b18[_0x514ba8(0x8c)]();throw _0x37381a;}}export async function withQuerySpinner(_0x3a2d77,_0x1ae66a,_0x2fbf5b={}){const _0x383fea=a75_0x3316,_0x15497c=_0x2fbf5b[_0x383fea(0x8b)]??(()=>Date[_0x383fea(0x76)]()),_0x32034e=_0x2fbf5b['intervalFactory']??setInterval,_0x520aac=createCommandSpinner(_0x3a2d77,_0x2fbf5b);_0x520aac[_0x383fea(0x7f)]();const _0x5b4cbd=_0x15497c(),_0x522ac2=_0x3a2d77['replace'](_0x383fea(0x7d),''),_0x3f5faa={},_0xdf6579=()=>{const _0x2d5c83=_0x383fea;if(!_0x520aac[_0x2d5c83(0x85)])return;const _0x4acd2f=_0x15497c()-_0x5b4cbd,_0x2d85b1=formatElapsed(_0x4acd2f),_0x20cb18=_0x3f5faa[_0x2d5c83(0x80)]??_0x522ac2,_0x585d8c=_0x3f5faa[_0x2d5c83(0x7a)]?_0x2d5c83(0x8e)+_0x3f5faa[_0x2d5c83(0x7a)]+']':'',_0x5dfd2d=_0x3f5faa['extra']?'\x20'+_0x3f5faa[_0x2d5c83(0x77)]:'';_0x520aac[_0x2d5c83(0x7b)]=_0x20cb18+'\x20'+_0x2d85b1+_0x5dfd2d+_0x585d8c;},_0x4c7e4e=_0x32034e(()=>{_0xdf6579();},0x3e8),_0x95d5c3={'setPhase':_0x3650fb=>{const _0x58d5b7=_0x383fea;_0x3f5faa[_0x58d5b7(0x80)]=_0x3650fb,_0xdf6579();},'setJobId':_0x57f5e5=>{const _0x503150=_0x383fea;_0x3f5faa[_0x503150(0x7a)]=_0x57f5e5,_0xdf6579();},'setExtra':_0x202f57=>{const _0x257794=_0x383fea;_0x3f5faa[_0x257794(0x77)]=_0x202f57,_0xdf6579();}};_0xdf6579();try{const _0x3de175=await _0x1ae66a(_0x95d5c3),_0x43bad1=_0x15497c()-_0x5b4cbd;return{'data':_0x3de175,'elapsedMs':_0x43bad1};}finally{clearInterval(_0x4c7e4e),_0x520aac[_0x383fea(0x8c)]();}}export function formatElapsed(_0x1ca83b){const _0x3cd42c=a75_0x3316,_0x501fd7=Math[_0x3cd42c(0x75)](_0x1ca83b/0x3e8);if(_0x501fd7<0x3c)return(_0x1ca83b/0x3e8)[_0x3cd42c(0x83)](0x1)+'s';const _0x1fa911=Math[_0x3cd42c(0x75)](_0x501fd7/0x3c),_0x409059=_0x501fd7%0x3c;if(_0x1fa911<0x3c)return _0x1fa911+'m\x20'+_0x409059+'s';const _0x2000b0=Math[_0x3cd42c(0x75)](_0x1fa911/0x3c),_0x4311e6=_0x1fa911%0x3c;return _0x2000b0+'h\x20'+_0x4311e6+'m';}
1
+ function a75_0x4403(){const _0x3d949a=['intervalFactory','jobId','replace','31236yOFfMb','7GGeySu','288906Htrzqq','isTTY','\x20[Job\x20ID:\x20','895800vIObQP','20OJuWlJ','5419744omMjOS','1604336KKjBCT','clock','4sluSzW','622338migxYi','243729BWKINg','cyan','start','toFixed','phase','floor','now','stop','extra','stdout','470pEQsHd'];a75_0x4403=function(){return _0x3d949a;};return a75_0x4403();}(function(_0x4f5f09,_0x2a3f3c){const _0xb7fcd2=a75_0x3c9b,_0xf42347=_0x4f5f09();while(!![]){try{const _0x1eba96=-parseInt(_0xb7fcd2(0x178))/0x1+-parseInt(_0xb7fcd2(0x180))/0x2*(parseInt(_0xb7fcd2(0x181))/0x3)+parseInt(_0xb7fcd2(0x17b))/0x4+parseInt(_0xb7fcd2(0x18c))/0x5*(parseInt(_0xb7fcd2(0x176))/0x6)+-parseInt(_0xb7fcd2(0x177))/0x7*(parseInt(_0xb7fcd2(0x17e))/0x8)+-parseInt(_0xb7fcd2(0x182))/0x9*(parseInt(_0xb7fcd2(0x17c))/0xa)+parseInt(_0xb7fcd2(0x17d))/0xb;if(_0x1eba96===_0x2a3f3c)break;else _0xf42347['push'](_0xf42347['shift']());}catch(_0x443337){_0xf42347['push'](_0xf42347['shift']());}}}(a75_0x4403,0x3c6dc));import a75_0x293ebc from'ora';function a75_0x3c9b(_0x21a516,_0x4c5ec1){const _0x440326=a75_0x4403();return a75_0x3c9b=function(_0x3c9b66,_0xc38ee1){_0x3c9b66=_0x3c9b66-0x176;let _0x4816b7=_0x440326[_0x3c9b66];return _0x4816b7;},a75_0x3c9b(_0x21a516,_0x4c5ec1);}export function createCommandSpinner(_0x1a80cc,_0xbdce1e={}){const _0x3450b4=a75_0x3c9b,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0xbdce1e;return a75_0x293ebc({'text':_0x1a80cc,'color':_0x3450b4(0x183),'isEnabled':forceEnabled||process[_0x3450b4(0x18b)][_0x3450b4(0x179)]&&!verbose});}export async function withSpinner(_0x566720,_0x6e6062,_0x494761={}){const _0x2c63b3=a75_0x3c9b,_0x448e10=_0x494761[_0x2c63b3(0x17f)]??(()=>Date[_0x2c63b3(0x188)]()),_0x2225d5=createCommandSpinner(_0x566720,_0x494761);_0x2225d5[_0x2c63b3(0x184)]();const _0x5d2a68=_0x448e10();try{const _0x4a53cb=await _0x6e6062(),_0x52b373=_0x448e10()-_0x5d2a68;return _0x2225d5[_0x2c63b3(0x189)](),{'data':_0x4a53cb,'elapsedMs':_0x52b373};}catch(_0x253eb2){_0x2225d5[_0x2c63b3(0x189)]();throw _0x253eb2;}}export async function withQuerySpinner(_0x4a2293,_0x3797b4,_0x39f2f3={}){const _0x45c14f=a75_0x3c9b,_0x50b06c=_0x39f2f3[_0x45c14f(0x17f)]??(()=>Date['now']()),_0xc0a8ff=_0x39f2f3[_0x45c14f(0x18d)]??setInterval,_0x377699=createCommandSpinner(_0x4a2293,_0x39f2f3);_0x377699[_0x45c14f(0x184)]();const _0x40881f=_0x50b06c(),_0x1c0c8f=_0x4a2293[_0x45c14f(0x18f)]('...',''),_0x50d432={},_0x4dd5c8=()=>{const _0xa9a876=_0x45c14f;if(!_0x377699['isSpinning'])return;const _0x36a6e7=_0x50b06c()-_0x40881f,_0x176e39=formatElapsed(_0x36a6e7),_0x2f0599=_0x50d432[_0xa9a876(0x186)]??_0x1c0c8f,_0x39916d=_0x50d432[_0xa9a876(0x18e)]?_0xa9a876(0x17a)+_0x50d432[_0xa9a876(0x18e)]+']':'',_0x3f3c0c=_0x50d432[_0xa9a876(0x18a)]?'\x20'+_0x50d432['extra']:'';_0x377699['text']=_0x2f0599+'\x20'+_0x176e39+_0x3f3c0c+_0x39916d;},_0x534d1d=_0xc0a8ff(()=>{_0x4dd5c8();},0x3e8),_0x5dded2={'setPhase':_0x34cbeb=>{const _0x35361d=_0x45c14f;_0x50d432[_0x35361d(0x186)]=_0x34cbeb,_0x4dd5c8();},'setJobId':_0x177182=>{const _0x293382=_0x45c14f;_0x50d432[_0x293382(0x18e)]=_0x177182,_0x4dd5c8();},'setExtra':_0x134932=>{const _0xaee1b3=_0x45c14f;_0x50d432[_0xaee1b3(0x18a)]=_0x134932,_0x4dd5c8();}};_0x4dd5c8();try{const _0x348f68=await _0x3797b4(_0x5dded2),_0x85d67d=_0x50b06c()-_0x40881f;return{'data':_0x348f68,'elapsedMs':_0x85d67d};}finally{clearInterval(_0x534d1d),_0x377699[_0x45c14f(0x189)]();}}export function formatElapsed(_0x4864ee){const _0x5b172c=a75_0x3c9b,_0x4d70c9=Math[_0x5b172c(0x187)](_0x4864ee/0x3e8);if(_0x4d70c9<0x3c)return(_0x4864ee/0x3e8)[_0x5b172c(0x185)](0x1)+'s';const _0x131ea9=Math[_0x5b172c(0x187)](_0x4d70c9/0x3c),_0x375cd7=_0x4d70c9%0x3c;if(_0x131ea9<0x3c)return _0x131ea9+'m\x20'+_0x375cd7+'s';const _0x58fe15=Math[_0x5b172c(0x187)](_0x131ea9/0x3c),_0x4157a9=_0x131ea9%0x3c;return _0x58fe15+'h\x20'+_0x4157a9+'m';}
@@ -1 +1 @@
1
- (function(_0x4f9a55,_0x44fc94){const _0x3bdf13=a76_0x5a32,_0x284c86=_0x4f9a55();while(!![]){try{const _0x1003e3=-parseInt(_0x3bdf13(0x6e))/0x1*(-parseInt(_0x3bdf13(0x7f))/0x2)+-parseInt(_0x3bdf13(0x7c))/0x3+parseInt(_0x3bdf13(0x72))/0x4*(-parseInt(_0x3bdf13(0x85))/0x5)+parseInt(_0x3bdf13(0x7b))/0x6+parseInt(_0x3bdf13(0x70))/0x7*(-parseInt(_0x3bdf13(0x80))/0x8)+-parseInt(_0x3bdf13(0x7e))/0x9*(parseInt(_0x3bdf13(0x73))/0xa)+parseInt(_0x3bdf13(0x7a))/0xb*(parseInt(_0x3bdf13(0x86))/0xc);if(_0x1003e3===_0x44fc94)break;else _0x284c86['push'](_0x284c86['shift']());}catch(_0xf8c3b7){_0x284c86['push'](_0x284c86['shift']());}}}(a76_0x5059,0xa0b68));import{readFileSync}from'fs';function a76_0x5059(){const _0x2db85e=['8UxPfJb','EACCES','trim','Error\x20reading\x20file\x20\x27','toLowerCase','35015qECAGx','43704OdIlGz','Permission\x20denied\x20reading\x20file\x20\x27','559TxThVI','length','3943051MBSCUR','map','596rBOHTS','120oEbCAT','Content\x20contains\x20no\x20SQL\x20statements','push','code','replace','message','utf-8','3773EHGLVz','7898628xNFgIi','596007SVbdOj','\x27:\x20','394677YbbjaW','1518elkuOz'];a76_0x5059=function(){return _0x2db85e;};return a76_0x5059();}export function stripSqlComments(_0x287da8){const _0x2766f5=a76_0x5a32;let _0x1cf3b4=_0x287da8['replace'](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x1cf3b4=_0x1cf3b4[_0x2766f5(0x77)](/--.*$/gm,''),_0x1cf3b4[_0x2766f5(0x82)]();}function isEscaped(_0x47cf97,_0xb69812){let _0x3d519e=0x0;for(let _0x2ecaa2=_0xb69812-0x1;_0x2ecaa2>=0x0&&_0x47cf97[_0x2ecaa2]==='\x5c';_0x2ecaa2--){_0x3d519e++;}return _0x3d519e%0x2===0x1;}function a76_0x5a32(_0x57e3eb,_0x349897){const _0x505909=a76_0x5059();return a76_0x5a32=function(_0x5a3235,_0x12255b){_0x5a3235=_0x5a3235-0x6d;let _0x3ac98d=_0x505909[_0x5a3235];return _0x3ac98d;},a76_0x5a32(_0x57e3eb,_0x349897);}export function splitSqlStatements(_0x3480c5){const _0x551fa4=a76_0x5a32,_0x4f6956=stripSqlComments(_0x3480c5);if(!_0x4f6956)throw new Error(_0x551fa4(0x74));const _0x571d25=[];let _0x370e40='',_0x38dbbe=![],_0x25d99f=![],_0x55079a=![];for(let _0x3f76c1=0x0;_0x3f76c1<_0x3480c5['length'];_0x3f76c1++){const _0x117ca8=_0x3480c5[_0x3f76c1];if(_0x117ca8==='\x27'&&!isEscaped(_0x3480c5,_0x3f76c1)&&!_0x25d99f&&!_0x55079a)_0x38dbbe=!_0x38dbbe;else{if(_0x117ca8==='\x22'&&!isEscaped(_0x3480c5,_0x3f76c1)&&!_0x38dbbe&&!_0x55079a)_0x25d99f=!_0x25d99f;else _0x117ca8==='`'&&!isEscaped(_0x3480c5,_0x3f76c1)&&!_0x38dbbe&&!_0x25d99f&&(_0x55079a=!_0x55079a);}if(_0x117ca8===';'&&!_0x38dbbe&&!_0x25d99f&&!_0x55079a){const _0x2dcc33=_0x370e40[_0x551fa4(0x82)]();_0x2dcc33&&_0x571d25['push'](_0x2dcc33),_0x370e40='';}else _0x370e40+=_0x117ca8;}const _0xa09d74=_0x370e40[_0x551fa4(0x82)]();_0xa09d74&&_0x571d25[_0x551fa4(0x75)](_0xa09d74);const _0xc03e38=_0x571d25[_0x551fa4(0x71)](_0x9a23d8=>_0x9a23d8['trim']())['filter'](_0x2785d2=>{const _0x2440af=_0x551fa4,_0x1b2777=stripSqlComments(_0x2785d2);return _0x1b2777[_0x2440af(0x6f)]>0x0;});if(_0xc03e38[_0x551fa4(0x6f)]===0x0)throw new Error(_0x551fa4(0x74));return _0xc03e38;}export function readFileContent(_0x2ba48b){const _0x26250b=a76_0x5a32;try{return readFileSync(_0x2ba48b,_0x26250b(0x79));}catch(_0x4dd725){const _0x698371=_0x4dd725[_0x26250b(0x76)];if(_0x698371==='ENOENT')throw new Error('File\x20\x27'+_0x2ba48b+'\x27\x20not\x20found');else{if(_0x698371===_0x26250b(0x81))throw new Error(_0x26250b(0x6d)+_0x2ba48b+'\x27');else throw new Error(_0x26250b(0x83)+_0x2ba48b+_0x26250b(0x7d)+_0x4dd725['message']);}}}export function readSqlStatementsFromFile(_0x2a79ea){const _0xa9cb07=a76_0x5a32,_0x511745=readFileContent(_0x2a79ea);try{return splitSqlStatements(_0x511745);}catch(_0x279598){throw new Error('File\x20\x27'+_0x2a79ea+'\x27\x20'+_0x279598[_0xa9cb07(0x78)][_0xa9cb07(0x84)]());}}
1
+ (function(_0x3daaa1,_0x6f9c62){const _0x26f35a=a76_0x5241,_0x13ed42=_0x3daaa1();while(!![]){try{const _0x413bec=-parseInt(_0x26f35a(0x1f0))/0x1+-parseInt(_0x26f35a(0x1fd))/0x2+-parseInt(_0x26f35a(0x1f8))/0x3*(parseInt(_0x26f35a(0x1f1))/0x4)+-parseInt(_0x26f35a(0x1f3))/0x5+-parseInt(_0x26f35a(0x1fa))/0x6*(-parseInt(_0x26f35a(0x1f7))/0x7)+-parseInt(_0x26f35a(0x1ed))/0x8+parseInt(_0x26f35a(0x1f2))/0x9;if(_0x413bec===_0x6f9c62)break;else _0x13ed42['push'](_0x13ed42['shift']());}catch(_0x5d031a){_0x13ed42['push'](_0x13ed42['shift']());}}}(a76_0x53b0,0xd3768));import{readFileSync}from'fs';export function stripSqlComments(_0x5031e2){const _0x5db56d=a76_0x5241;let _0x4fb5c3=_0x5031e2['replace'](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x4fb5c3=_0x4fb5c3[_0x5db56d(0x1fe)](/--.*$/gm,''),_0x4fb5c3[_0x5db56d(0x1ef)]();}function a76_0x53b0(){const _0x31516a=['replace','Permission\x20denied\x20reading\x20file\x20\x27','code','message','filter','map','\x27\x20not\x20found','push','2515200ENenvH','EACCES','trim','518860ZAjEMA','8LuiSKn','38797920iMkTZv','4581180UOMmNv','length','File\x20\x27','Error\x20reading\x20file\x20\x27','7oiqCoA','156129aiQvUY','\x27:\x20','154380ElfubE','Content\x20contains\x20no\x20SQL\x20statements','utf-8','3233752MLenKJ'];a76_0x53b0=function(){return _0x31516a;};return a76_0x53b0();}function isEscaped(_0x3400d1,_0x2ade7a){let _0x2f931f=0x0;for(let _0x30df57=_0x2ade7a-0x1;_0x30df57>=0x0&&_0x3400d1[_0x30df57]==='\x5c';_0x30df57--){_0x2f931f++;}return _0x2f931f%0x2===0x1;}export function splitSqlStatements(_0x24014f){const _0x414835=a76_0x5241,_0xa1bac1=stripSqlComments(_0x24014f);if(!_0xa1bac1)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');const _0x43f10d=[];let _0x5b2357='',_0x45afc2=![],_0x4c73b7=![],_0x24e73f=![];for(let _0x510325=0x0;_0x510325<_0x24014f[_0x414835(0x1f4)];_0x510325++){const _0x16df76=_0x24014f[_0x510325];if(_0x16df76==='\x27'&&!isEscaped(_0x24014f,_0x510325)&&!_0x4c73b7&&!_0x24e73f)_0x45afc2=!_0x45afc2;else{if(_0x16df76==='\x22'&&!isEscaped(_0x24014f,_0x510325)&&!_0x45afc2&&!_0x24e73f)_0x4c73b7=!_0x4c73b7;else _0x16df76==='`'&&!isEscaped(_0x24014f,_0x510325)&&!_0x45afc2&&!_0x4c73b7&&(_0x24e73f=!_0x24e73f);}if(_0x16df76===';'&&!_0x45afc2&&!_0x4c73b7&&!_0x24e73f){const _0x518327=_0x5b2357[_0x414835(0x1ef)]();_0x518327&&_0x43f10d[_0x414835(0x1ec)](_0x518327),_0x5b2357='';}else _0x5b2357+=_0x16df76;}const _0x2c6339=_0x5b2357[_0x414835(0x1ef)]();_0x2c6339&&_0x43f10d[_0x414835(0x1ec)](_0x2c6339);const _0x4ca4be=_0x43f10d[_0x414835(0x1ea)](_0x9a473b=>_0x9a473b['trim']())[_0x414835(0x1e9)](_0x505f87=>{const _0x38c338=stripSqlComments(_0x505f87);return _0x38c338['length']>0x0;});if(_0x4ca4be[_0x414835(0x1f4)]===0x0)throw new Error(_0x414835(0x1fb));return _0x4ca4be;}export function readFileContent(_0x2d29ab){const _0xa5c0cc=a76_0x5241;try{return readFileSync(_0x2d29ab,_0xa5c0cc(0x1fc));}catch(_0x3e88ff){const _0x270a2d=_0x3e88ff[_0xa5c0cc(0x200)];if(_0x270a2d==='ENOENT')throw new Error(_0xa5c0cc(0x1f5)+_0x2d29ab+_0xa5c0cc(0x1eb));else{if(_0x270a2d===_0xa5c0cc(0x1ee))throw new Error(_0xa5c0cc(0x1ff)+_0x2d29ab+'\x27');else throw new Error(_0xa5c0cc(0x1f6)+_0x2d29ab+_0xa5c0cc(0x1f9)+_0x3e88ff[_0xa5c0cc(0x1e8)]);}}}function a76_0x5241(_0x1b6615,_0x3b5411){const _0x53b0db=a76_0x53b0();return a76_0x5241=function(_0x524159,_0xe7cc2c){_0x524159=_0x524159-0x1e8;let _0x23b43b=_0x53b0db[_0x524159];return _0x23b43b;},a76_0x5241(_0x1b6615,_0x3b5411);}export function readSqlStatementsFromFile(_0x1a236f){const _0x4eac32=a76_0x5241,_0x4be734=readFileContent(_0x1a236f);try{return splitSqlStatements(_0x4be734);}catch(_0x32564f){throw new Error('File\x20\x27'+_0x1a236f+'\x27\x20'+_0x32564f[_0x4eac32(0x1e8)]['toLowerCase']());}}
@@ -1 +1 @@
1
- (function(_0x5b738e,_0x3036d4){const _0x568050=a77_0x30fb,_0x5c32a8=_0x5b738e();while(!![]){try{const _0x17a7ae=-parseInt(_0x568050(0xc6))/0x1*(parseInt(_0x568050(0xc7))/0x2)+-parseInt(_0x568050(0xca))/0x3*(parseInt(_0x568050(0xdb))/0x4)+-parseInt(_0x568050(0xd3))/0x5+-parseInt(_0x568050(0xcb))/0x6*(parseInt(_0x568050(0xce))/0x7)+-parseInt(_0x568050(0xda))/0x8+parseInt(_0x568050(0xcf))/0x9+parseInt(_0x568050(0xc8))/0xa;if(_0x17a7ae===_0x3036d4)break;else _0x5c32a8['push'](_0x5c32a8['shift']());}catch(_0x592a06){_0x5c32a8['push'](_0x5c32a8['shift']());}}}(a77_0x57ab,0xe46b5));function a77_0x30fb(_0x15468f,_0x54bdec){const _0x57ab51=a77_0x57ab();return a77_0x30fb=function(_0x30fb18,_0x3b1e6d){_0x30fb18=_0x30fb18-0xc6;let _0x285568=_0x57ab51[_0x30fb18];return _0x285568;},a77_0x30fb(_0x15468f,_0x54bdec);}export async function*parseSSEStream(_0x1da128){const _0x54dfb3=a77_0x30fb;if(!_0x1da128[_0x54dfb3(0xcc)])throw new Error(_0x54dfb3(0xd0));const _0xe7b138=_0x1da128[_0x54dfb3(0xcc)][_0x54dfb3(0xcd)](),_0x465841=new TextDecoder();let _0x2c933d='',_0x3b279f={};try{while(!![]){const {done:_0x52d806,value:_0x152ccd}=await _0xe7b138['read']();if(_0x52d806){_0x3b279f[_0x54dfb3(0xd8)]&&(yield parseSSEData(_0x3b279f[_0x54dfb3(0xd8)]));break;}_0x2c933d+=_0x465841[_0x54dfb3(0xd1)](_0x152ccd,{'stream':!![]});const _0x1e1bc8=_0x2c933d[_0x54dfb3(0xd5)]('\x0a');_0x2c933d=_0x1e1bc8['pop']()||'';for(const _0x235462 of _0x1e1bc8){if(_0x235462[_0x54dfb3(0xd2)]()===''){_0x3b279f[_0x54dfb3(0xd8)]&&(yield parseSSEData(_0x3b279f[_0x54dfb3(0xd8)]),_0x3b279f={});continue;}if(_0x235462['startsWith'](':'))continue;const _0x5cb2da=_0x235462[_0x54dfb3(0xdc)](':');if(_0x5cb2da===-0x1)continue;const _0x4c4c1f=_0x235462[_0x54dfb3(0xd9)](0x0,_0x5cb2da);let _0x2f36e1=_0x235462[_0x54dfb3(0xd9)](_0x5cb2da+0x1);_0x2f36e1['startsWith']('\x20')&&(_0x2f36e1=_0x2f36e1[_0x54dfb3(0xd9)](0x1));switch(_0x4c4c1f){case _0x54dfb3(0xd7):_0x3b279f[_0x54dfb3(0xd7)]=_0x2f36e1;break;case _0x54dfb3(0xd8):_0x3b279f[_0x54dfb3(0xd8)]=_0x3b279f[_0x54dfb3(0xd8)]?_0x3b279f['data']+'\x0a'+_0x2f36e1:_0x2f36e1;break;case'id':_0x3b279f['id']=_0x2f36e1;break;}}}}finally{_0xe7b138[_0x54dfb3(0xd4)]();}}function a77_0x57ab(){const _0x912949=['body','getReader','168fAirdk','3370554ccGfpk','Response\x20body\x20is\x20null','decode','trim','6659370QCrvyI','releaseLock','split','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','event','data','slice','5717752oUpKQb','16612Bfvyse','indexOf','571NQxZff','3122ingdhp','53702200NialQG','parse','759eBWboM','205122kqQVkE'];a77_0x57ab=function(){return _0x912949;};return a77_0x57ab();}function parseSSEData(_0x5df318){const _0x4628a5=a77_0x30fb;try{return JSON[_0x4628a5(0xc9)](_0x5df318);}catch(_0x162f76){throw new Error(_0x4628a5(0xd6)+_0x5df318,{'cause':_0x162f76});}}
1
+ (function(_0x3eb716,_0x989c62){const _0x578d4b=a77_0x5cf0,_0x1297cc=_0x3eb716();while(!![]){try{const _0x42f3b4=parseInt(_0x578d4b(0x88))/0x1*(-parseInt(_0x578d4b(0x80))/0x2)+-parseInt(_0x578d4b(0x7a))/0x3+-parseInt(_0x578d4b(0x7d))/0x4+-parseInt(_0x578d4b(0x89))/0x5+-parseInt(_0x578d4b(0x83))/0x6+-parseInt(_0x578d4b(0x8a))/0x7+-parseInt(_0x578d4b(0x82))/0x8*(-parseInt(_0x578d4b(0x86))/0x9);if(_0x42f3b4===_0x989c62)break;else _0x1297cc['push'](_0x1297cc['shift']());}catch(_0x5aa462){_0x1297cc['push'](_0x1297cc['shift']());}}}(a77_0xf2cf,0xaa77e));export async function*parseSSEStream(_0x2eb740){const _0x1ca80b=a77_0x5cf0;if(!_0x2eb740['body'])throw new Error(_0x1ca80b(0x7b));const _0x1bbbbd=_0x2eb740[_0x1ca80b(0x84)]['getReader'](),_0x531bf0=new TextDecoder();let _0x49791c='',_0xc89834={};try{while(!![]){const {done:_0x60a250,value:_0x54f12c}=await _0x1bbbbd['read']();if(_0x60a250){_0xc89834['data']&&(yield parseSSEData(_0xc89834[_0x1ca80b(0x7f)]));break;}_0x49791c+=_0x531bf0['decode'](_0x54f12c,{'stream':!![]});const _0x136545=_0x49791c['split']('\x0a');_0x49791c=_0x136545[_0x1ca80b(0x85)]()||'';for(const _0x1d595e of _0x136545){if(_0x1d595e['trim']()===''){_0xc89834['data']&&(yield parseSSEData(_0xc89834['data']),_0xc89834={});continue;}if(_0x1d595e[_0x1ca80b(0x78)](':'))continue;const _0x225b25=_0x1d595e[_0x1ca80b(0x7e)](':');if(_0x225b25===-0x1)continue;const _0x6f4a35=_0x1d595e[_0x1ca80b(0x79)](0x0,_0x225b25);let _0x556cf6=_0x1d595e[_0x1ca80b(0x79)](_0x225b25+0x1);_0x556cf6['startsWith']('\x20')&&(_0x556cf6=_0x556cf6[_0x1ca80b(0x79)](0x1));switch(_0x6f4a35){case'event':_0xc89834[_0x1ca80b(0x8b)]=_0x556cf6;break;case _0x1ca80b(0x7f):_0xc89834['data']=_0xc89834['data']?_0xc89834[_0x1ca80b(0x7f)]+'\x0a'+_0x556cf6:_0x556cf6;break;case'id':_0xc89834['id']=_0x556cf6;break;}}}}finally{_0x1bbbbd[_0x1ca80b(0x7c)]();}}function a77_0xf2cf(){const _0x4ed5fc=['13815944yZXwJH','1498494ZXyEFt','body','pop','18LbURoB','parse','2BYHmrU','1354340XlJlJk','3650612EyPACs','event','startsWith','slice','1968045zodbFM','Response\x20body\x20is\x20null','releaseLock','234152kXCEAQ','indexOf','data','999062oQEMUO','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'];a77_0xf2cf=function(){return _0x4ed5fc;};return a77_0xf2cf();}function a77_0x5cf0(_0x5355ca,_0x3b74bd){const _0xf2cf01=a77_0xf2cf();return a77_0x5cf0=function(_0x5cf07f,_0x3399bb){_0x5cf07f=_0x5cf07f-0x78;let _0x5abee6=_0xf2cf01[_0x5cf07f];return _0x5abee6;},a77_0x5cf0(_0x5355ca,_0x3b74bd);}function parseSSEData(_0x598a9e){const _0x25e5d8=a77_0x5cf0;try{return JSON[_0x25e5d8(0x87)](_0x598a9e);}catch(_0x4793ef){throw new Error(_0x25e5d8(0x81)+_0x598a9e,{'cause':_0x4793ef});}}
@@ -1 +1 @@
1
- (function(_0x15f329,_0x43a6ba){const _0x2cb5aa=a78_0x4a2a,_0x4b9ee7=_0x15f329();while(!![]){try{const _0x4f0606=parseInt(_0x2cb5aa(0x112))/0x1+-parseInt(_0x2cb5aa(0x117))/0x2+-parseInt(_0x2cb5aa(0x123))/0x3*(parseInt(_0x2cb5aa(0x119))/0x4)+-parseInt(_0x2cb5aa(0x12b))/0x5*(parseInt(_0x2cb5aa(0x115))/0x6)+parseInt(_0x2cb5aa(0x118))/0x7+-parseInt(_0x2cb5aa(0x122))/0x8+-parseInt(_0x2cb5aa(0x125))/0x9*(-parseInt(_0x2cb5aa(0x116))/0xa);if(_0x4f0606===_0x43a6ba)break;else _0x4b9ee7['push'](_0x4b9ee7['shift']());}catch(_0x505f0b){_0x4b9ee7['push'](_0x4b9ee7['shift']());}}}(a78_0x3bf0,0xb3997));import a78_0x1afd39 from'string-width';export function stringWidth(_0x106b94){return a78_0x1afd39(_0x106b94);}export function padEnd(_0x3f6c35,_0x1ebeae){const _0x5a79e5=stringWidth(_0x3f6c35);if(_0x5a79e5>=_0x1ebeae)return _0x3f6c35;return _0x3f6c35+'\x20'['repeat'](_0x1ebeae-_0x5a79e5);}function a78_0x4a2a(_0x5b82fb,_0x3b4e69){const _0x3bf0ad=a78_0x3bf0();return a78_0x4a2a=function(_0x4a2a8f,_0x9e6216){_0x4a2a8f=_0x4a2a8f-0x111;let _0x3f578c=_0x3bf0ad[_0x4a2a8f];return _0x3f578c;},a78_0x4a2a(_0x5b82fb,_0x3b4e69);}export function padStart(_0x100571,_0x2380a7){const _0x16f5ce=a78_0x4a2a,_0x98315b=stringWidth(_0x100571);if(_0x98315b>=_0x2380a7)return _0x100571;return'\x20'[_0x16f5ce(0x121)](_0x2380a7-_0x98315b)+_0x100571;}export function centerAlign(_0x48790f,_0x5510e8){const _0x2db925=a78_0x4a2a,_0xe37114=stringWidth(_0x48790f);if(_0xe37114>_0x5510e8){if(_0x5510e8<=0x1)return'…'['substring'](0x0,_0x5510e8);let _0x340d02=_0x48790f;while(stringWidth(_0x340d02+'…')>_0x5510e8){_0x340d02=_0x340d02[_0x2db925(0x11b)](0x0,-0x1);}return _0x340d02+'…';}if(_0xe37114===_0x5510e8)return _0x48790f;const _0x1e5eab=_0x5510e8-_0xe37114,_0x51c8f0=Math[_0x2db925(0x12a)](_0x1e5eab/0x2),_0x306781=_0x1e5eab-_0x51c8f0;return'\x20'['repeat'](_0x51c8f0)+_0x48790f+'\x20'[_0x2db925(0x121)](_0x306781);}export function escapeStringLiteral(_0x5032f7){const _0x2602b2=a78_0x4a2a;if(!_0x5032f7||_0x5032f7[_0x2602b2(0x11c)]()['length']===0x0)throw new Error(_0x2602b2(0x127));const _0x509bb5=_0x5032f7[_0x2602b2(0x113)](/'/g,'\x27\x27');return'\x27'+_0x509bb5+'\x27';}export function globToLike(_0x1ea174){const _0x40dbf4=a78_0x4a2a;let _0x50031c=_0x1ea174[_0x40dbf4(0x113)](/\\/g,'\x5c\x5c')['replace'](/%/g,'\x5c%')[_0x40dbf4(0x113)](/_/g,'\x5c_');return _0x50031c=_0x50031c[_0x40dbf4(0x113)](/\*/g,'%')[_0x40dbf4(0x113)](/\?/g,'_'),_0x50031c;}export function buildLikePattern(_0x5d6700){const _0x407e28=a78_0x4a2a;if(!_0x5d6700||_0x5d6700[_0x407e28(0x11c)]()[_0x407e28(0x11e)]===0x0)throw new Error(_0x407e28(0x11a));const _0x490b0e=globToLike(_0x5d6700),_0x1939f2=_0x490b0e[_0x407e28(0x113)](/'/g,'\x27\x27');return'\x27'+_0x1939f2+'\x27';}export function matchGlobPattern(_0x31114a,_0x3bed83){const _0x27aedd=a78_0x4a2a,_0x373d41=_0x3bed83['replace'](/[.+^${}()|[\]\\]/g,_0x27aedd(0x114))[_0x27aedd(0x113)](/\*/g,'.*')[_0x27aedd(0x113)](/\?/g,'.'),_0x57453a=new RegExp('^'+_0x373d41+'$');return _0x57453a[_0x27aedd(0x11d)](_0x31114a);}function a78_0x3bf0(){const _0x4663ac=['USERNAME','99pJkXsa','env','Cannot\x20escape\x20empty\x20string\x20literal','padStart','unknown','floor','155OJLnJS','random','1048069CcolZh','replace','\x5c$&','269754vBljNV','769650ajYknN','616632fFUMzg','7530208lALJpd','12ThfuRF','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','slice','trim','test','length','toString','USER','repeat','2691464MvDKeL','196311PfIpuh'];a78_0x3bf0=function(){return _0x4663ac;};return a78_0x3bf0();}export function getSanitizedUsername(){const _0x36160d=a78_0x4a2a,_0x45889f=process[_0x36160d(0x126)][_0x36160d(0x120)]||process[_0x36160d(0x126)][_0x36160d(0x124)]||_0x36160d(0x129);return _0x45889f[_0x36160d(0x113)](/[^a-zA-Z0-9]/g,'')['toLowerCase']();}export function generateRandomHex(){const _0x4a7929=a78_0x4a2a,_0x44883d=Math[_0x4a7929(0x12a)](Math[_0x4a7929(0x111)]()*0xfffff);return _0x44883d[_0x4a7929(0x11f)](0x10)[_0x4a7929(0x128)](0x5,'0');}
1
+ function a78_0x53b2(){const _0x3afcb4=['Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','7ivbBFQ','4444tCgtyn','5715237tEaVhb','unknown','trim','4736330lYGayd','1667320joKILr','replace','1425072ryEWtL','repeat','substring','\x5c$&','388muGBMS','toString','random','test','env','slice','toLowerCase','2778996tNJsrp','16555FMijOK','Cannot\x20escape\x20empty\x20string\x20literal','88yJRnuW','9LVvMmd','floor','length'];a78_0x53b2=function(){return _0x3afcb4;};return a78_0x53b2();}(function(_0x3c956d,_0x2a0e40){const _0xd7a877=a78_0x55c3,_0x5e68fb=_0x3c956d();while(!![]){try{const _0x400c14=-parseInt(_0xd7a877(0xa6))/0x1*(parseInt(_0xd7a877(0xac))/0x2)+-parseInt(_0xd7a877(0xb3))/0x3+-parseInt(_0xd7a877(0xb7))/0x4*(-parseInt(_0xd7a877(0xa4))/0x5)+parseInt(_0xd7a877(0xa3))/0x6+-parseInt(_0xd7a877(0xab))/0x7*(-parseInt(_0xd7a877(0xb1))/0x8)+-parseInt(_0xd7a877(0xa7))/0x9*(-parseInt(_0xd7a877(0xb0))/0xa)+-parseInt(_0xd7a877(0xad))/0xb;if(_0x400c14===_0x2a0e40)break;else _0x5e68fb['push'](_0x5e68fb['shift']());}catch(_0x177f42){_0x5e68fb['push'](_0x5e68fb['shift']());}}}(a78_0x53b2,0x4371e));import a78_0x188cad from'string-width';export function stringWidth(_0x427b4e){return a78_0x188cad(_0x427b4e);}export function padEnd(_0x474770,_0x2db0b3){const _0x34ae8e=a78_0x55c3,_0x490023=stringWidth(_0x474770);if(_0x490023>=_0x2db0b3)return _0x474770;return _0x474770+'\x20'[_0x34ae8e(0xb4)](_0x2db0b3-_0x490023);}export function padStart(_0x2b85cc,_0x232d47){const _0x41ef6d=stringWidth(_0x2b85cc);if(_0x41ef6d>=_0x232d47)return _0x2b85cc;return'\x20'['repeat'](_0x232d47-_0x41ef6d)+_0x2b85cc;}export function centerAlign(_0xe1b6f6,_0x39005c){const _0x84db77=a78_0x55c3,_0x4691a1=stringWidth(_0xe1b6f6);if(_0x4691a1>_0x39005c){if(_0x39005c<=0x1)return'…'[_0x84db77(0xb5)](0x0,_0x39005c);let _0x4fe13c=_0xe1b6f6;while(stringWidth(_0x4fe13c+'…')>_0x39005c){_0x4fe13c=_0x4fe13c[_0x84db77(0xbc)](0x0,-0x1);}return _0x4fe13c+'…';}if(_0x4691a1===_0x39005c)return _0xe1b6f6;const _0x721864=_0x39005c-_0x4691a1,_0x99eae5=Math['floor'](_0x721864/0x2),_0x41d49e=_0x721864-_0x99eae5;return'\x20'[_0x84db77(0xb4)](_0x99eae5)+_0xe1b6f6+'\x20'['repeat'](_0x41d49e);}export function escapeStringLiteral(_0x20384b){const _0x43b00e=a78_0x55c3;if(!_0x20384b||_0x20384b[_0x43b00e(0xaf)]()['length']===0x0)throw new Error(_0x43b00e(0xa5));const _0x219570=_0x20384b[_0x43b00e(0xb2)](/'/g,'\x27\x27');return'\x27'+_0x219570+'\x27';}export function globToLike(_0x34a0be){const _0x1b4242=a78_0x55c3;let _0x2b6459=_0x34a0be[_0x1b4242(0xb2)](/\\/g,'\x5c\x5c')['replace'](/%/g,'\x5c%')[_0x1b4242(0xb2)](/_/g,'\x5c_');return _0x2b6459=_0x2b6459[_0x1b4242(0xb2)](/\*/g,'%')['replace'](/\?/g,'_'),_0x2b6459;}export function buildLikePattern(_0x319cd0){const _0x3df1c1=a78_0x55c3;if(!_0x319cd0||_0x319cd0[_0x3df1c1(0xaf)]()[_0x3df1c1(0xa9)]===0x0)throw new Error(_0x3df1c1(0xaa));const _0x564b14=globToLike(_0x319cd0),_0x2e52b2=_0x564b14[_0x3df1c1(0xb2)](/'/g,'\x27\x27');return'\x27'+_0x2e52b2+'\x27';}export function matchGlobPattern(_0x4a33d1,_0x26ef1c){const _0x2d5b57=a78_0x55c3,_0x515e4a=_0x26ef1c[_0x2d5b57(0xb2)](/[.+^${}()|[\]\\]/g,_0x2d5b57(0xb6))[_0x2d5b57(0xb2)](/\*/g,'.*')[_0x2d5b57(0xb2)](/\?/g,'.'),_0x32ade8=new RegExp('^'+_0x515e4a+'$');return _0x32ade8[_0x2d5b57(0xba)](_0x4a33d1);}function a78_0x55c3(_0x1c1e3d,_0x164d5c){const _0x53b26e=a78_0x53b2();return a78_0x55c3=function(_0x55c302,_0x5c20df){_0x55c302=_0x55c302-0xa3;let _0x2e8625=_0x53b26e[_0x55c302];return _0x2e8625;},a78_0x55c3(_0x1c1e3d,_0x164d5c);}export function getSanitizedUsername(){const _0x2145de=a78_0x55c3,_0x4dea97=process[_0x2145de(0xbb)]['USER']||process['env']['USERNAME']||_0x2145de(0xae);return _0x4dea97[_0x2145de(0xb2)](/[^a-zA-Z0-9]/g,'')[_0x2145de(0xbd)]();}export function generateRandomHex(){const _0x1781b1=a78_0x55c3,_0xa54298=Math[_0x1781b1(0xa8)](Math[_0x1781b1(0xb9)]()*0xfffff);return _0xa54298[_0x1781b1(0xb8)](0x10)['padStart'](0x5,'0');}
@@ -1 +1 @@
1
- function a79_0x1275(_0x551538,_0x31f8e7){const _0x19e144=a79_0x19e1();return a79_0x1275=function(_0x1275ab,_0x58eb21){_0x1275ab=_0x1275ab-0x112;let _0x14441d=_0x19e144[_0x1275ab];return _0x14441d;},a79_0x1275(_0x551538,_0x31f8e7);}function a79_0x19e1(){const _0x42ab4a=['21752UmcDEj','420OcQvkb','808052KogdTt','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','length','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','includes','Pattern\x20cannot\x20be\x20just\x20a\x20dot','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','join','696JiZPxr','database','trim','1327336gvrzNL','24766230njlvjC','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','2990022mJXKBE','10399165njHXzC','push','9ntiYoJ','catalog','43690elAOGC','table','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)'];a79_0x19e1=function(){return _0x42ab4a;};return a79_0x19e1();}(function(_0x44fa7a,_0x514053){const _0xe99725=a79_0x1275,_0x2497ec=_0x44fa7a();while(!![]){try{const _0x459ddd=-parseInt(_0xe99725(0x125))/0x1+-parseInt(_0xe99725(0x123))/0x2*(-parseInt(_0xe99725(0x124))/0x3)+parseInt(_0xe99725(0x115))/0x4*(parseInt(_0xe99725(0x120))/0x5)+-parseInt(_0xe99725(0x11b))/0x6+parseInt(_0xe99725(0x11c))/0x7+parseInt(_0xe99725(0x118))/0x8+-parseInt(_0xe99725(0x11e))/0x9*(parseInt(_0xe99725(0x119))/0xa);if(_0x459ddd===_0x514053)break;else _0x2497ec['push'](_0x2497ec['shift']());}catch(_0x22084a){_0x2497ec['push'](_0x2497ec['shift']());}}}(a79_0x19e1,0xde8c0));function hasWildcard(_0x337eea){const _0x41a788=a79_0x1275;return _0x337eea[_0x41a788(0x129)]('*')||_0x337eea['includes']('?');}export function parseTableReference(_0x5f42f8){const _0x4533b9=a79_0x1275;if(!_0x5f42f8||_0x5f42f8[_0x4533b9(0x117)]()[_0x4533b9(0x127)]===0x0)throw new Error('Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only');const _0x1128e9=_0x5f42f8[_0x4533b9(0x117)](),_0x25fc58={'original':_0x1128e9},_0x1051c9=_0x1128e9['split']('.');if(_0x1051c9[_0x4533b9(0x127)]===0x1){const _0x382aec=_0x1051c9[0x0];if(!_0x382aec)throw new Error(_0x4533b9(0x112));_0x25fc58['table']=_0x382aec;}else{if(_0x1051c9[_0x4533b9(0x127)]===0x2){const [_0x4fc7ac,_0x7ea5af]=_0x1051c9;if(!_0x4fc7ac)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x7ea5af)throw new Error(_0x4533b9(0x122));_0x25fc58['database']=_0x4fc7ac,_0x25fc58[_0x4533b9(0x121)]=_0x7ea5af;}else{if(_0x1051c9[_0x4533b9(0x127)]===0x3){const [_0x16e373,_0x2fc7e3,_0x2b2e0e]=_0x1051c9;if(!_0x16e373||!_0x2fc7e3||!_0x2b2e0e)throw new Error(_0x4533b9(0x128));_0x25fc58[_0x4533b9(0x11f)]=_0x16e373,_0x25fc58['database']=_0x2fc7e3,_0x25fc58['table']=_0x2b2e0e;}else throw new Error(_0x4533b9(0x113));}}return _0x25fc58;}export function formatTableReference(_0x38f614){const _0x3b175c=a79_0x1275,_0x2c35dd=[];return _0x38f614[_0x3b175c(0x11f)]&&_0x2c35dd[_0x3b175c(0x11d)](_0x38f614['catalog']),_0x38f614[_0x3b175c(0x116)]&&_0x2c35dd['push'](_0x38f614[_0x3b175c(0x116)]),_0x38f614[_0x3b175c(0x121)]&&_0x2c35dd[_0x3b175c(0x11d)](_0x38f614[_0x3b175c(0x121)]),_0x2c35dd[_0x3b175c(0x114)]('.');}export function validateTableListReference(_0x308def){return undefined;}export function validateTableDescribeReference(_0x4fa50b){const _0x4cc557=a79_0x1275;if(!_0x4fa50b['table'])return _0x4cc557(0x126);if(_0x4fa50b[_0x4cc557(0x116)]&&hasWildcard(_0x4fa50b[_0x4cc557(0x116)]))return'Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation';if(hasWildcard(_0x4fa50b[_0x4cc557(0x121)]))return _0x4cc557(0x11a);return undefined;}
1
+ (function(_0x404721,_0x3a2f95){const _0x4efeee=a79_0x11f5,_0xc8af2b=_0x404721();while(!![]){try{const _0x761046=parseInt(_0x4efeee(0xab))/0x1+parseInt(_0x4efeee(0xa4))/0x2+parseInt(_0x4efeee(0xa8))/0x3*(-parseInt(_0x4efeee(0xa9))/0x4)+parseInt(_0x4efeee(0x99))/0x5+parseInt(_0x4efeee(0xaa))/0x6+parseInt(_0x4efeee(0x9d))/0x7+parseInt(_0x4efeee(0x9e))/0x8*(-parseInt(_0x4efeee(0xa3))/0x9);if(_0x761046===_0x3a2f95)break;else _0xc8af2b['push'](_0xc8af2b['shift']());}catch(_0x313063){_0xc8af2b['push'](_0xc8af2b['shift']());}}}(a79_0xde90,0x528b0));function a79_0xde90(){const _0x226123=['4211186erpfMF','7896zIikRq','split','push','database','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','5337EjpymI','130018KVbLtW','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','Pattern\x20cannot\x20be\x20just\x20a\x20dot','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','146661RMtFnm','20UrHCQt','2360958SuGaPB','23161lfIXEO','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','trim','length','422805beddSe','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','table'];a79_0xde90=function(){return _0x226123;};return a79_0xde90();}function hasWildcard(_0x2e09e7){return _0x2e09e7['includes']('*')||_0x2e09e7['includes']('?');}export function parseTableReference(_0xa8276c){const _0x42af0e=a79_0x11f5;if(!_0xa8276c||_0xa8276c[_0x42af0e(0x97)]()['length']===0x0)throw new Error(_0x42af0e(0xa2));const _0x12860b=_0xa8276c['trim'](),_0x3cca31={'original':_0x12860b},_0x26ede8=_0x12860b[_0x42af0e(0x9f)]('.');if(_0x26ede8['length']===0x1){const _0x46f5ee=_0x26ede8[0x0];if(!_0x46f5ee)throw new Error(_0x42af0e(0xa6));_0x3cca31[_0x42af0e(0x9c)]=_0x46f5ee;}else{if(_0x26ede8[_0x42af0e(0x98)]===0x2){const [_0x55530a,_0x1c0112]=_0x26ede8;if(!_0x55530a)throw new Error(_0x42af0e(0x9b));if(!_0x1c0112)throw new Error(_0x42af0e(0xa5));_0x3cca31[_0x42af0e(0xa1)]=_0x55530a,_0x3cca31[_0x42af0e(0x9c)]=_0x1c0112;}else{if(_0x26ede8['length']===0x3){const [_0x55e77d,_0x6c1667,_0xe5ae41]=_0x26ede8;if(!_0x55e77d||!_0x6c1667||!_0xe5ae41)throw new Error(_0x42af0e(0x9a));_0x3cca31['catalog']=_0x55e77d,_0x3cca31['database']=_0x6c1667,_0x3cca31[_0x42af0e(0x9c)]=_0xe5ae41;}else throw new Error(_0x42af0e(0x96));}}return _0x3cca31;}export function formatTableReference(_0x52aa72){const _0x58f587=a79_0x11f5,_0x34eca6=[];return _0x52aa72['catalog']&&_0x34eca6[_0x58f587(0xa0)](_0x52aa72['catalog']),_0x52aa72[_0x58f587(0xa1)]&&_0x34eca6['push'](_0x52aa72[_0x58f587(0xa1)]),_0x52aa72[_0x58f587(0x9c)]&&_0x34eca6[_0x58f587(0xa0)](_0x52aa72['table']),_0x34eca6['join']('.');}function a79_0x11f5(_0x4b8180,_0x179589){const _0xde9024=a79_0xde90();return a79_0x11f5=function(_0x11f524,_0x4b0bd2){_0x11f524=_0x11f524-0x96;let _0x135ce0=_0xde9024[_0x11f524];return _0x135ce0;},a79_0x11f5(_0x4b8180,_0x179589);}export function validateTableListReference(_0x20bec5){return undefined;}export function validateTableDescribeReference(_0x77206c){const _0x5d2b19=a79_0x11f5;if(!_0x77206c[_0x5d2b19(0x9c)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x77206c['database']&&hasWildcard(_0x77206c[_0x5d2b19(0xa1)]))return _0x5d2b19(0xa7);if(hasWildcard(_0x77206c[_0x5d2b19(0x9c)]))return _0x5d2b19(0xac);return undefined;}
@@ -1 +1 @@
1
- const a80_0x2066fa=a80_0x2a6b;(function(_0x1c2a5e,_0x2dc20e){const _0x1d91c2=a80_0x2a6b,_0x1dfc57=_0x1c2a5e();while(!![]){try{const _0x4e1bb4=-parseInt(_0x1d91c2(0x16d))/0x1*(parseInt(_0x1d91c2(0x15a))/0x2)+parseInt(_0x1d91c2(0x159))/0x3*(parseInt(_0x1d91c2(0x14c))/0x4)+parseInt(_0x1d91c2(0x156))/0x5+-parseInt(_0x1d91c2(0x14f))/0x6+parseInt(_0x1d91c2(0x164))/0x7+parseInt(_0x1d91c2(0x17c))/0x8*(-parseInt(_0x1d91c2(0x150))/0x9)+parseInt(_0x1d91c2(0x176))/0xa;if(_0x4e1bb4===_0x2dc20e)break;else _0x1dfc57['push'](_0x1dfc57['shift']());}catch(_0x40bd71){_0x1dfc57['push'](_0x1dfc57['shift']());}}}(a80_0x4fdf,0xba1eb));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';import{homedir}from'os';import{createGzip}from'zlib';function a80_0x2a6b(_0x4b15bc,_0x1c34c3){const _0x4fdf7c=a80_0x4fdf();return a80_0x2a6b=function(_0x2a6b97,_0x5f16e2){_0x2a6b97=_0x2a6b97-0x140;let _0x3349e2=_0x4fdf7c[_0x2a6b97];return _0x3349e2;},a80_0x2a6b(_0x4b15bc,_0x1c34c3);}import{pipeline}from'stream/promises';import a80_0x177e09 from'chalk';function safeStringify(_0x3029dc){const _0x2c8e40=a80_0x2a6b;if(typeof _0x3029dc===_0x2c8e40(0x165))return _0x3029dc;if(_0x3029dc instanceof Error)return _0x3029dc['stack']||_0x3029dc['name']+':\x20'+_0x3029dc[_0x2c8e40(0x163)];try{return JSON[_0x2c8e40(0x171)](_0x3029dc,(_0x123e0f,_0x1ec01f)=>{const _0x569d3a=_0x2c8e40;if(_0x1ec01f instanceof Error)return{'name':_0x1ec01f[_0x569d3a(0x16f)],'message':_0x1ec01f['message'],'stack':_0x1ec01f['stack'],'cause':_0x1ec01f['cause']};return _0x1ec01f;});}catch{return String(_0x3029dc);}}function getTimezoneOffset(){const _0x106277=a80_0x2a6b,_0x16830c=-new Date()[_0x106277(0x144)](),_0x4c4288=Math[_0x106277(0x16a)](Math[_0x106277(0x174)](_0x16830c)/0x3c),_0x5e6dea=Math[_0x106277(0x174)](_0x16830c)%0x3c,_0x3a85c0=_0x16830c>=0x0?'+':'-';return''+_0x3a85c0+_0x4c4288['toString']()[_0x106277(0x145)](0x2,'0')+_0x5e6dea['toString']()[_0x106277(0x145)](0x2,'0');}function formatTimestamp(){const _0x39a23d=a80_0x2a6b,_0x222c4c=new Date(),_0x167cb4=_0x222c4c[_0x39a23d(0x148)](),_0x377276=(_0x222c4c[_0x39a23d(0x168)]()+0x1)['toString']()['padStart'](0x2,'0'),_0x4208bd=_0x222c4c[_0x39a23d(0x155)]()[_0x39a23d(0x143)]()[_0x39a23d(0x145)](0x2,'0'),_0x5228e7=_0x222c4c[_0x39a23d(0x14e)]()[_0x39a23d(0x143)]()[_0x39a23d(0x145)](0x2,'0'),_0xdf05c1=_0x222c4c['getMinutes']()[_0x39a23d(0x143)]()['padStart'](0x2,'0'),_0x4d252e=_0x222c4c[_0x39a23d(0x15c)]()[_0x39a23d(0x143)]()[_0x39a23d(0x145)](0x2,'0'),_0x4ea709=_0x222c4c[_0x39a23d(0x154)]()[_0x39a23d(0x143)]()['padStart'](0x3,'0'),_0x4d9266=getTimezoneOffset();return _0x167cb4+'-'+_0x377276+'-'+_0x4208bd+'\x20'+_0x5228e7+':'+_0xdf05c1+':'+_0x4d252e+'.'+_0x4ea709+_0x4d9266;}function formatColoredLogEntry(_0x2a605a,_0x491dfe){const _0x5f2256=a80_0x2a6b,_0x1fa8fe=formatTimestamp(),_0x114d7c=_0x491dfe['map'](safeStringify)[_0x5f2256(0x166)]('\x20'),_0x392a36=a80_0x177e09[_0x5f2256(0x151)](_0x1fa8fe);let _0x4202d1;switch(_0x2a605a){case _0x5f2256(0x178):_0x4202d1=a80_0x177e09[_0x5f2256(0x140)]('['+_0x2a605a+']\x20');break;case _0x5f2256(0x15f):_0x4202d1=a80_0x177e09[_0x5f2256(0x147)]('['+_0x2a605a+']\x20');break;case _0x5f2256(0x160):_0x4202d1=a80_0x177e09[_0x5f2256(0x167)]('['+_0x2a605a+']');break;case _0x5f2256(0x169):_0x4202d1=a80_0x177e09[_0x5f2256(0x151)]('['+_0x2a605a+']');break;default:_0x4202d1='['+_0x2a605a+']';}return _0x392a36+'\x20'+_0x4202d1+'\x20'+_0x114d7c;}export var LogLevel;(function(_0x98662b){const _0x57a0a3=a80_0x2a6b;_0x98662b[_0x98662b['TRACE']=-0x2]='TRACE',_0x98662b[_0x98662b[_0x57a0a3(0x142)]=-0x1]=_0x57a0a3(0x142),_0x98662b[_0x98662b['INFO']=0x0]=_0x57a0a3(0x141),_0x98662b[_0x98662b['WARN']=0x1]=_0x57a0a3(0x146),_0x98662b[_0x98662b[_0x57a0a3(0x15b)]=0x2]=_0x57a0a3(0x15b);}(LogLevel||(LogLevel={})));export class TDXLogger{[a80_0x2066fa(0x152)];[a80_0x2066fa(0x17b)];[a80_0x2066fa(0x15d)];[a80_0x2066fa(0x14b)];constructor(_0x2bdb0c=LogLevel[a80_0x2066fa(0x141)],_0xd2da21=![]){const _0x59daaf=a80_0x2066fa;this['logDir']=join(homedir(),'.cache',_0x59daaf(0x153),'logs'),this[_0x59daaf(0x15d)]=_0x2bdb0c,this['fileOnly']=_0xd2da21;}async[a80_0x2066fa(0x158)](){const _0x5d6192=a80_0x2066fa;try{await mkdir(this[_0x5d6192(0x17b)],{'recursive':!![]}),await this['rotateOldLogs']();const _0x2f17dc=join(this[_0x5d6192(0x17b)],_0x5d6192(0x17d));this['logStream']=createWriteStream(_0x2f17dc,{'flags':'a'}),this['logStream']['on'](_0x5d6192(0x160),_0x59d844=>{const _0xe873af=_0x5d6192;console[_0xe873af(0x160)](_0xe873af(0x16c),_0x59d844[_0xe873af(0x163)]);}),this[_0x5d6192(0x178)](_0x5d6192(0x14a));}catch(_0x2ad45a){console['error'](_0x5d6192(0x17f),_0x2ad45a);}}async[a80_0x2066fa(0x179)](){const _0x33b224=a80_0x2066fa;try{const _0x34127a=await readdir(this[_0x33b224(0x17b)]),_0x52a9a5=new Date()[_0x33b224(0x14d)]()[_0x33b224(0x15e)]('T')[0x0];if(_0x34127a[_0x33b224(0x17e)](_0x33b224(0x17d))){const _0xe36d8b=join(this[_0x33b224(0x17b)],_0x33b224(0x17d)),_0x23c192=await stat(_0xe36d8b),_0x36db28=new Date(_0x23c192[_0x33b224(0x175)])[_0x33b224(0x14d)]()[_0x33b224(0x15e)]('T')[0x0];if(_0x36db28<_0x52a9a5){const _0x1134f0=join(this[_0x33b224(0x17b)],_0x33b224(0x162)+_0x36db28+_0x33b224(0x17a));await rename(_0xe36d8b,_0x1134f0);}}const _0x4785ed=await readdir(this['logDir']),_0x5efe16=/^proxy-(\d{4}-\d{2}-\d{2})\.log$/,_0x13ce1b=_0x4785ed[_0x33b224(0x149)](_0xcde471=>_0x5efe16['test'](_0xcde471));for(const _0x207b59 of _0x13ce1b){const _0x475fa7=join(this[_0x33b224(0x17b)],_0x207b59),_0x40c4ae=join(this[_0x33b224(0x17b)],_0x207b59+_0x33b224(0x157));try{await pipeline(createReadStream(_0x475fa7),createGzip(),createWriteStream(_0x40c4ae)),await unlink(_0x475fa7);}catch(_0x291508){console[_0x33b224(0x160)]('Warning:\x20Failed\x20to\x20compress\x20'+_0x207b59+':',_0x291508);}}}catch{}}[a80_0x2066fa(0x169)](..._0x2cbe25){const _0x18571d=a80_0x2066fa;if(this['logLevel']>LogLevel[_0x18571d(0x142)])return;const _0x3c1617=formatColoredLogEntry(_0x18571d(0x169),_0x2cbe25);this[_0x18571d(0x152)]?.[_0x18571d(0x172)](_0x3c1617+'\x0a');}[a80_0x2066fa(0x16b)](..._0x4a50c2){const _0x4ba8f4=a80_0x2066fa;if(this[_0x4ba8f4(0x15d)]>LogLevel[_0x4ba8f4(0x170)])return;const _0x49c142=formatColoredLogEntry(_0x4ba8f4(0x16b),_0x4a50c2);this[_0x4ba8f4(0x152)]?.[_0x4ba8f4(0x172)](_0x49c142+'\x0a');}['info'](..._0x347b6b){const _0x1d956c=a80_0x2066fa;if(this[_0x1d956c(0x15d)]>LogLevel[_0x1d956c(0x141)])return;const _0x2b1399=formatColoredLogEntry(_0x1d956c(0x178),_0x347b6b);!this[_0x1d956c(0x14b)]&&console[_0x1d956c(0x177)](_0x2b1399),this[_0x1d956c(0x152)]?.[_0x1d956c(0x172)](_0x2b1399+'\x0a');}['warn'](..._0x1abb4e){const _0x5c7159=a80_0x2066fa;if(this[_0x5c7159(0x15d)]>LogLevel[_0x5c7159(0x146)])return;const _0x337e7c=formatColoredLogEntry(_0x5c7159(0x15f),_0x1abb4e);!this[_0x5c7159(0x14b)]&&console['error'](_0x337e7c),this[_0x5c7159(0x152)]?.[_0x5c7159(0x172)](_0x337e7c+'\x0a');}['error'](..._0x58ff65){const _0x360faa=a80_0x2066fa,_0x527aee=formatColoredLogEntry('error',_0x58ff65);!this[_0x360faa(0x14b)]&&console['error'](_0x527aee),this[_0x360faa(0x152)]?.[_0x360faa(0x172)](_0x527aee+'\x0a');}async[a80_0x2066fa(0x161)](){const _0x3aad13=a80_0x2066fa;return this[_0x3aad13(0x178)](_0x3aad13(0x16e)),new Promise(_0x558403=>{const _0x3db36a=_0x3aad13;this[_0x3db36a(0x152)]?this[_0x3db36a(0x152)][_0x3db36a(0x173)](()=>{_0x558403();}):_0x558403();});}['getLogPath'](){const _0x39d9c0=a80_0x2066fa;return join(this['logDir'],_0x39d9c0(0x17d));}}function a80_0x4fdf(){const _0x135c17=['720812mpXgKf','toISOString','getHours','6905778bkLXgL','9IPlrJf','gray','logStream','tdx','getMilliseconds','getDate','3220290CXAuoD','.gz','init','6ZnkHWq','13802dMqteS','ERROR','getSeconds','logLevel','split','warn','error','close','proxy-','message','8357167kRporw','string','join','red','getMonth','debug','floor','trace','Warning:\x20Error\x20writing\x20to\x20proxy.log:','153NfiBIP','Proxy\x20session\x20ended','name','TRACE','stringify','write','end','abs','mtime','9763520ozsGTr','log','info','rotateOldLogs','.log','logDir','1644272sIMeCj','proxy.log','includes','Warning:\x20Failed\x20to\x20initialize\x20proxy\x20log\x20files:','cyan','INFO','DEBUG','toString','getTimezoneOffset','padStart','WARN','yellow','getFullYear','filter','Proxy\x20server\x20started','fileOnly'];a80_0x4fdf=function(){return _0x135c17;};return a80_0x4fdf();}
1
+ const a80_0x59ca80=a80_0xcb33;(function(_0x4252e5,_0x370869){const _0x372e8f=a80_0xcb33,_0x77021a=_0x4252e5();while(!![]){try{const _0x523d93=-parseInt(_0x372e8f(0xfa))/0x1+parseInt(_0x372e8f(0xda))/0x2*(-parseInt(_0x372e8f(0xd1))/0x3)+-parseInt(_0x372e8f(0xf8))/0x4*(parseInt(_0x372e8f(0xca))/0x5)+-parseInt(_0x372e8f(0xd7))/0x6*(-parseInt(_0x372e8f(0xf1))/0x7)+parseInt(_0x372e8f(0xc2))/0x8+-parseInt(_0x372e8f(0xef))/0x9+parseInt(_0x372e8f(0xc7))/0xa;if(_0x523d93===_0x370869)break;else _0x77021a['push'](_0x77021a['shift']());}catch(_0x10376){_0x77021a['push'](_0x77021a['shift']());}}}(a80_0x3d38,0xe85d9));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';import{homedir}from'os';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import a80_0x5ddf68 from'chalk';function safeStringify(_0x5d2650){const _0x546a10=a80_0xcb33;if(typeof _0x5d2650===_0x546a10(0xd5))return _0x5d2650;if(_0x5d2650 instanceof Error)return _0x5d2650[_0x546a10(0xcb)]||_0x5d2650[_0x546a10(0xe9)]+':\x20'+_0x5d2650['message'];try{return JSON['stringify'](_0x5d2650,(_0x233ac8,_0x150c2c)=>{const _0x3be9b7=_0x546a10;if(_0x150c2c instanceof Error)return{'name':_0x150c2c[_0x3be9b7(0xe9)],'message':_0x150c2c[_0x3be9b7(0xe3)],'stack':_0x150c2c[_0x3be9b7(0xcb)],'cause':_0x150c2c[_0x3be9b7(0xea)]};return _0x150c2c;});}catch{return String(_0x5d2650);}}function getTimezoneOffset(){const _0x291e68=a80_0xcb33,_0x42f578=-new Date()[_0x291e68(0xf6)](),_0xfdb8a5=Math[_0x291e68(0xdf)](Math[_0x291e68(0xc4)](_0x42f578)/0x3c),_0x297c86=Math['abs'](_0x42f578)%0x3c,_0x18cf2c=_0x42f578>=0x0?'+':'-';return''+_0x18cf2c+_0xfdb8a5['toString']()[_0x291e68(0xf0)](0x2,'0')+_0x297c86[_0x291e68(0xec)]()['padStart'](0x2,'0');}function formatTimestamp(){const _0x74a62e=a80_0xcb33,_0x45156a=new Date(),_0x3ad243=_0x45156a[_0x74a62e(0xc5)](),_0xe9b11a=(_0x45156a[_0x74a62e(0xfe)]()+0x1)[_0x74a62e(0xec)]()['padStart'](0x2,'0'),_0x581ad3=_0x45156a['getDate']()['toString']()[_0x74a62e(0xf0)](0x2,'0'),_0x145515=_0x45156a['getHours']()[_0x74a62e(0xec)]()[_0x74a62e(0xf0)](0x2,'0'),_0x2adc76=_0x45156a[_0x74a62e(0xe8)]()[_0x74a62e(0xec)]()[_0x74a62e(0xf0)](0x2,'0'),_0x4eccb8=_0x45156a['getSeconds']()['toString']()[_0x74a62e(0xf0)](0x2,'0'),_0x16b0db=_0x45156a[_0x74a62e(0xf7)]()['toString']()[_0x74a62e(0xf0)](0x3,'0'),_0x15592b=getTimezoneOffset();return _0x3ad243+'-'+_0xe9b11a+'-'+_0x581ad3+'\x20'+_0x145515+':'+_0x2adc76+':'+_0x4eccb8+'.'+_0x16b0db+_0x15592b;}function a80_0x3d38(){const _0x3c0c0d=['getMonth','logStream','warn','getLogPath','DEBUG','2783016BSyKZZ','logDir','abs','getFullYear','info','15040800Gxhjmr','INFO','filter','13045CpaTOb','stack','includes','logs','Warning:\x20Failed\x20to\x20compress\x20','split','error','246DmcngX','ERROR','write','init','string','toISOString','9295632aIiySP','gray','rotateOldLogs','24812ujioyW','tdx','.gz','proxy-','TRACE','floor','.cache','.log','cyan','message','proxy.log','Proxy\x20server\x20started','WARN','debug','getMinutes','name','cause','fileOnly','toString','log','end','7423551qBGaPp','padStart','7frFwpl','mtime','Warning:\x20Failed\x20to\x20initialize\x20proxy\x20log\x20files:','trace','join','getTimezoneOffset','getMilliseconds','284jBsEBc','yellow','422090XcfmhZ','close','Warning:\x20Error\x20writing\x20to\x20proxy.log:','logLevel'];a80_0x3d38=function(){return _0x3c0c0d;};return a80_0x3d38();}function formatColoredLogEntry(_0x55b0a2,_0x285a88){const _0x5779e=a80_0xcb33,_0x448e1c=formatTimestamp(),_0x3c5f7a=_0x285a88['map'](safeStringify)[_0x5779e(0xf5)]('\x20'),_0x30a78b=a80_0x5ddf68[_0x5779e(0xd8)](_0x448e1c);let _0x32970c;switch(_0x55b0a2){case _0x5779e(0xc6):_0x32970c=a80_0x5ddf68[_0x5779e(0xe2)]('['+_0x55b0a2+']\x20');break;case _0x5779e(0x100):_0x32970c=a80_0x5ddf68[_0x5779e(0xf9)]('['+_0x55b0a2+']\x20');break;case _0x5779e(0xd0):_0x32970c=a80_0x5ddf68['red']('['+_0x55b0a2+']');break;case _0x5779e(0xe7):_0x32970c=a80_0x5ddf68['gray']('['+_0x55b0a2+']');break;default:_0x32970c='['+_0x55b0a2+']';}return _0x30a78b+'\x20'+_0x32970c+'\x20'+_0x3c5f7a;}export var LogLevel;function a80_0xcb33(_0x177707,_0x53e678){const _0x3d389a=a80_0x3d38();return a80_0xcb33=function(_0xcb336b,_0x251c90){_0xcb336b=_0xcb336b-0xc2;let _0xc6e307=_0x3d389a[_0xcb336b];return _0xc6e307;},a80_0xcb33(_0x177707,_0x53e678);}(function(_0x1ee281){const _0x347e0a=a80_0xcb33;_0x1ee281[_0x1ee281[_0x347e0a(0xde)]=-0x2]=_0x347e0a(0xde),_0x1ee281[_0x1ee281[_0x347e0a(0x102)]=-0x1]=_0x347e0a(0x102),_0x1ee281[_0x1ee281[_0x347e0a(0xc8)]=0x0]=_0x347e0a(0xc8),_0x1ee281[_0x1ee281['WARN']=0x1]=_0x347e0a(0xe6),_0x1ee281[_0x1ee281[_0x347e0a(0xd2)]=0x2]=_0x347e0a(0xd2);}(LogLevel||(LogLevel={})));export class TDXLogger{[a80_0x59ca80(0xff)];['logDir'];[a80_0x59ca80(0xfd)];[a80_0x59ca80(0xeb)];constructor(_0x4ba1f4=LogLevel[a80_0x59ca80(0xc8)],_0x2601bd=![]){const _0x1b6e04=a80_0x59ca80;this[_0x1b6e04(0xc3)]=join(homedir(),_0x1b6e04(0xe0),_0x1b6e04(0xdb),_0x1b6e04(0xcd)),this[_0x1b6e04(0xfd)]=_0x4ba1f4,this[_0x1b6e04(0xeb)]=_0x2601bd;}async[a80_0x59ca80(0xd4)](){const _0x283938=a80_0x59ca80;try{await mkdir(this[_0x283938(0xc3)],{'recursive':!![]}),await this[_0x283938(0xd9)]();const _0x264eab=join(this['logDir'],_0x283938(0xe4));this[_0x283938(0xff)]=createWriteStream(_0x264eab,{'flags':'a'}),this[_0x283938(0xff)]['on']('error',_0x5630f5=>{const _0x5109c6=_0x283938;console['error'](_0x5109c6(0xfc),_0x5630f5[_0x5109c6(0xe3)]);}),this['info'](_0x283938(0xe5));}catch(_0x498ae1){console[_0x283938(0xd0)](_0x283938(0xf3),_0x498ae1);}}async[a80_0x59ca80(0xd9)](){const _0x3a2f01=a80_0x59ca80;try{const _0x5d2a07=await readdir(this[_0x3a2f01(0xc3)]),_0x4c3705=new Date()[_0x3a2f01(0xd6)]()[_0x3a2f01(0xcf)]('T')[0x0];if(_0x5d2a07[_0x3a2f01(0xcc)](_0x3a2f01(0xe4))){const _0x3ae086=join(this['logDir'],_0x3a2f01(0xe4)),_0x1e841a=await stat(_0x3ae086),_0x1fe434=new Date(_0x1e841a[_0x3a2f01(0xf2)])['toISOString']()['split']('T')[0x0];if(_0x1fe434<_0x4c3705){const _0x2da789=join(this[_0x3a2f01(0xc3)],_0x3a2f01(0xdd)+_0x1fe434+_0x3a2f01(0xe1));await rename(_0x3ae086,_0x2da789);}}const _0x1bba29=await readdir(this[_0x3a2f01(0xc3)]),_0x2aea42=/^proxy-(\d{4}-\d{2}-\d{2})\.log$/,_0x573310=_0x1bba29[_0x3a2f01(0xc9)](_0xd097f6=>_0x2aea42['test'](_0xd097f6));for(const _0xdbace2 of _0x573310){const _0xd743a7=join(this['logDir'],_0xdbace2),_0x1112e4=join(this[_0x3a2f01(0xc3)],_0xdbace2+_0x3a2f01(0xdc));try{await pipeline(createReadStream(_0xd743a7),createGzip(),createWriteStream(_0x1112e4)),await unlink(_0xd743a7);}catch(_0x105ecc){console[_0x3a2f01(0xd0)](_0x3a2f01(0xce)+_0xdbace2+':',_0x105ecc);}}}catch{}}[a80_0x59ca80(0xe7)](..._0x46a941){const _0x56b400=a80_0x59ca80;if(this[_0x56b400(0xfd)]>LogLevel[_0x56b400(0x102)])return;const _0x2ff27e=formatColoredLogEntry('debug',_0x46a941);this[_0x56b400(0xff)]?.[_0x56b400(0xd3)](_0x2ff27e+'\x0a');}['trace'](..._0x4011fc){const _0x2451ef=a80_0x59ca80;if(this[_0x2451ef(0xfd)]>LogLevel[_0x2451ef(0xde)])return;const _0x3b3769=formatColoredLogEntry(_0x2451ef(0xf4),_0x4011fc);this['logStream']?.['write'](_0x3b3769+'\x0a');}[a80_0x59ca80(0xc6)](..._0x4fb703){const _0x568dad=a80_0x59ca80;if(this[_0x568dad(0xfd)]>LogLevel[_0x568dad(0xc8)])return;const _0x4365a3=formatColoredLogEntry('info',_0x4fb703);!this[_0x568dad(0xeb)]&&console[_0x568dad(0xed)](_0x4365a3),this['logStream']?.[_0x568dad(0xd3)](_0x4365a3+'\x0a');}[a80_0x59ca80(0x100)](..._0x3fcce9){const _0x1ae6fc=a80_0x59ca80;if(this['logLevel']>LogLevel['WARN'])return;const _0x216e3a=formatColoredLogEntry(_0x1ae6fc(0x100),_0x3fcce9);!this[_0x1ae6fc(0xeb)]&&console['error'](_0x216e3a),this[_0x1ae6fc(0xff)]?.[_0x1ae6fc(0xd3)](_0x216e3a+'\x0a');}[a80_0x59ca80(0xd0)](..._0x4aa44f){const _0x2f1219=a80_0x59ca80,_0x5bc5a5=formatColoredLogEntry(_0x2f1219(0xd0),_0x4aa44f);!this['fileOnly']&&console[_0x2f1219(0xd0)](_0x5bc5a5),this['logStream']?.['write'](_0x5bc5a5+'\x0a');}async[a80_0x59ca80(0xfb)](){const _0x43cfbf=a80_0x59ca80;return this[_0x43cfbf(0xc6)]('Proxy\x20session\x20ended'),new Promise(_0x2dfef2=>{const _0x433eea=_0x43cfbf;this[_0x433eea(0xff)]?this[_0x433eea(0xff)][_0x433eea(0xee)](()=>{_0x2dfef2();}):_0x2dfef2();});}[a80_0x59ca80(0x101)](){const _0x3ae44d=a80_0x59ca80;return join(this['logDir'],_0x3ae44d(0xe4));}}
@@ -1 +1 @@
1
- (function(_0x580d59,_0xad5fd3){const _0x3b57b7=a81_0x4697,_0x20979f=_0x580d59();while(!![]){try{const _0x54eca7=parseInt(_0x3b57b7(0x152))/0x1*(-parseInt(_0x3b57b7(0x150))/0x2)+-parseInt(_0x3b57b7(0x16f))/0x3*(-parseInt(_0x3b57b7(0x16c))/0x4)+parseInt(_0x3b57b7(0x16d))/0x5+-parseInt(_0x3b57b7(0x16b))/0x6+-parseInt(_0x3b57b7(0x166))/0x7+-parseInt(_0x3b57b7(0x15c))/0x8+parseInt(_0x3b57b7(0x165))/0x9;if(_0x54eca7===_0xad5fd3)break;else _0x20979f['push'](_0x20979f['shift']());}catch(_0x559bd7){_0x20979f['push'](_0x20979f['shift']());}}}(a81_0x4d8e,0xe5d94));import{formatRows}from'./formatters.js';function a81_0x4d8e(){const _0x4b110f=['\x20\x20\x20\x20','\x20\x20\x20','showMetadata','folder','showIcons','sort','segmentCount','14613544iiiXPW','🎯\x20','children','folderCount','name','push','length','join','dim','27989676uZacFo','8804894oqJFNp','segment','population','(empty)','localeCompare','3305694MrWkCG','8DuGylI','8275585HttLXC','└──\x20','1282161YYFAFA','showTreeLines','metadata','📁\x20','2bjhAzd','\x20folder','1042911rwnIqH','indent','type'];a81_0x4d8e=function(){return _0x4b110f;};return a81_0x4d8e();}function a81_0x4697(_0x2b5b76,_0x286306){const _0x4d8e31=a81_0x4d8e();return a81_0x4697=function(_0x4697a1,_0x95b4ca){_0x4697a1=_0x4697a1-0x14e;let _0x12ddb4=_0x4d8e31[_0x4697a1];return _0x12ddb4;},a81_0x4697(_0x2b5b76,_0x286306);}import a81_0x126daa from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x34c29a,_0x5265a9={},_0x5d496d=0x0,_0x3e3ec2=''){const _0x132554=a81_0x4697,_0x17a4fb={...DEFAULT_OPTIONS,..._0x5265a9},_0xcfd075=[],_0x58efc9=[..._0x34c29a][_0x132554(0x15a)]((_0x3e481b,_0x592de0)=>_0x3e481b['name']['localeCompare'](_0x592de0[_0x132554(0x160)]));for(let _0xa02b92=0x0;_0xa02b92<_0x58efc9[_0x132554(0x162)];_0xa02b92++){const _0x393953=_0x58efc9[_0xa02b92],_0x29e597=_0xa02b92===_0x58efc9[_0x132554(0x162)]-0x1;let _0x3f700b='';_0x5d496d>0x0&&(_0x3f700b+=_0x3e3ec2);_0x17a4fb['showTreeLines']&&_0x5d496d>0x0&&(_0x3f700b+=a81_0x126daa[_0x132554(0x164)](_0x29e597?_0x132554(0x16e):'├──\x20'));_0x17a4fb['showIcons']&&(_0x3f700b+=_0x393953[_0x132554(0x154)]===_0x132554(0x158)?_0x132554(0x14f):_0x132554(0x15d));_0x3f700b+=_0x393953['name'];if(_0x17a4fb[_0x132554(0x157)]){if(_0x393953[_0x132554(0x154)]===_0x132554(0x158)){const _0x13b787=[];_0x393953[_0x132554(0x14e)][_0x132554(0x15b)]&&_0x13b787[_0x132554(0x161)](_0x393953[_0x132554(0x14e)]['segmentCount']+'\x20segment'+(_0x393953[_0x132554(0x14e)][_0x132554(0x15b)]!==0x1?'s':'')),_0x393953[_0x132554(0x14e)][_0x132554(0x15f)]&&_0x13b787[_0x132554(0x161)](_0x393953[_0x132554(0x14e)][_0x132554(0x15f)]+_0x132554(0x151)+(_0x393953[_0x132554(0x14e)]['folderCount']!==0x1?'s':'')),_0x13b787[_0x132554(0x162)]>0x0&&(_0x3f700b+=a81_0x126daa[_0x132554(0x164)]('\x20('+_0x13b787[_0x132554(0x163)](',\x20')+')'));}else _0x393953[_0x132554(0x154)]===_0x132554(0x167)&&_0x393953[_0x132554(0x168)]!==undefined&&(_0x3f700b+=a81_0x126daa['dim']('\x20('+formatRows(_0x393953[_0x132554(0x168)])+')'));}_0xcfd075['push'](_0x3f700b);if(_0x393953[_0x132554(0x15e)]&&_0x393953[_0x132554(0x15e)][_0x132554(0x162)]>0x0){let _0x5ae144;if(_0x5d496d===0x0)_0x5ae144='';else _0x17a4fb[_0x132554(0x170)]?_0x5ae144=_0x3e3ec2+(_0x29e597?_0x132554(0x155):a81_0x126daa['dim']('│')+_0x132554(0x156)):_0x5ae144=_0x3e3ec2+_0x17a4fb[_0x132554(0x153)];const _0x46e9fd=formatTree(_0x393953[_0x132554(0x15e)],_0x17a4fb,_0x5d496d+0x1,_0x5ae144);_0xcfd075['push'](_0x46e9fd);}}return _0xcfd075['join']('\x0a');}export function formatFlatList(_0x1af940,_0x2ceca3,_0x11d90c={}){const _0x49c057=a81_0x4697,_0x28af9c={...DEFAULT_OPTIONS,..._0x11d90c},_0x422b8e=[];for(const _0x155921 of _0x1af940){_0x422b8e[_0x49c057(0x161)]({'name':_0x155921[_0x49c057(0x160)],'icon':_0x28af9c[_0x49c057(0x159)]?'📁':'','metadata':undefined});}for(const _0x2cd04b of _0x2ceca3){const _0x4d9ce9=_0x28af9c[_0x49c057(0x157)]&&_0x2cd04b[_0x49c057(0x168)]!==undefined?a81_0x126daa[_0x49c057(0x164)]('\x20('+formatRows(_0x2cd04b['population'])+')'):'';_0x422b8e['push']({'name':_0x2cd04b[_0x49c057(0x160)],'icon':_0x28af9c[_0x49c057(0x159)]?'🎯':'','metadata':_0x4d9ce9});}_0x422b8e[_0x49c057(0x15a)]((_0x8bd5ee,_0x13a3e8)=>_0x8bd5ee[_0x49c057(0x160)][_0x49c057(0x16a)](_0x13a3e8[_0x49c057(0x160)]));if(_0x422b8e['length']===0x0)return _0x49c057(0x169);const _0x1b5f99=_0x422b8e['map'](_0x3a1468=>{const _0x213ddc=_0x49c057,_0x457616=_0x3a1468['icon']?_0x3a1468['icon']+'\x20':'',_0xbf9d91=_0x3a1468[_0x213ddc(0x14e)]||'';return''+_0x457616+_0x3a1468[_0x213ddc(0x160)]+_0xbf9d91;});return _0x1b5f99[_0x49c057(0x163)]('\x0a');}
1
+ (function(_0x570e66,_0xb679c6){const _0x3cef39=a81_0x55e8,_0x12140f=_0x570e66();while(!![]){try{const _0x1dc595=-parseInt(_0x3cef39(0x10f))/0x1*(-parseInt(_0x3cef39(0x107))/0x2)+-parseInt(_0x3cef39(0x105))/0x3+parseInt(_0x3cef39(0xfc))/0x4+-parseInt(_0x3cef39(0x10b))/0x5*(parseInt(_0x3cef39(0xf8))/0x6)+parseInt(_0x3cef39(0x103))/0x7*(-parseInt(_0x3cef39(0x104))/0x8)+parseInt(_0x3cef39(0x101))/0x9*(-parseInt(_0x3cef39(0x10c))/0xa)+parseInt(_0x3cef39(0xf9))/0xb;if(_0x1dc595===_0xb679c6)break;else _0x12140f['push'](_0x12140f['shift']());}catch(_0x45e540){_0x12140f['push'](_0x12140f['shift']());}}}(a81_0x29d9,0xc0d78));import{formatRows}from'./formatters.js';import a81_0x40dc8b from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0xb19482,_0x4693c5={},_0x27023a=0x0,_0x37259d=''){const _0x435a60=a81_0x55e8,_0x3b804c={...DEFAULT_OPTIONS,..._0x4693c5},_0xea6eec=[],_0x5185b8=[..._0xb19482][_0x435a60(0xed)]((_0x23d822,_0x470ea7)=>_0x23d822['name'][_0x435a60(0xf3)](_0x470ea7[_0x435a60(0x106)]));for(let _0x37a0be=0x0;_0x37a0be<_0x5185b8[_0x435a60(0xf4)];_0x37a0be++){const _0x446cd3=_0x5185b8[_0x37a0be],_0x4867bc=_0x37a0be===_0x5185b8[_0x435a60(0xf4)]-0x1;let _0x5550d3='';_0x27023a>0x0&&(_0x5550d3+=_0x37259d);_0x3b804c[_0x435a60(0xf5)]&&_0x27023a>0x0&&(_0x5550d3+=a81_0x40dc8b[_0x435a60(0xfd)](_0x4867bc?'└──\x20':'├──\x20'));_0x3b804c['showIcons']&&(_0x5550d3+=_0x446cd3['type']===_0x435a60(0x100)?'📁\x20':'🎯\x20');_0x5550d3+=_0x446cd3[_0x435a60(0x106)];if(_0x3b804c[_0x435a60(0x108)]){if(_0x446cd3[_0x435a60(0xfe)]===_0x435a60(0x100)){const _0x1e9fd1=[];_0x446cd3[_0x435a60(0xfa)][_0x435a60(0xf1)]&&_0x1e9fd1[_0x435a60(0x102)](_0x446cd3['metadata'][_0x435a60(0xf1)]+_0x435a60(0xef)+(_0x446cd3[_0x435a60(0xfa)][_0x435a60(0xf1)]!==0x1?'s':'')),_0x446cd3['metadata'][_0x435a60(0xfb)]&&_0x1e9fd1[_0x435a60(0x102)](_0x446cd3[_0x435a60(0xfa)][_0x435a60(0xfb)]+'\x20folder'+(_0x446cd3['metadata'][_0x435a60(0xfb)]!==0x1?'s':'')),_0x1e9fd1[_0x435a60(0xf4)]>0x0&&(_0x5550d3+=a81_0x40dc8b[_0x435a60(0xfd)]('\x20('+_0x1e9fd1[_0x435a60(0xee)](',\x20')+')'));}else _0x446cd3[_0x435a60(0xfe)]===_0x435a60(0x10a)&&_0x446cd3[_0x435a60(0xf0)]!==undefined&&(_0x5550d3+=a81_0x40dc8b[_0x435a60(0xfd)]('\x20('+formatRows(_0x446cd3[_0x435a60(0xf0)])+')'));}_0xea6eec[_0x435a60(0x102)](_0x5550d3);if(_0x446cd3['children']&&_0x446cd3[_0x435a60(0x109)][_0x435a60(0xf4)]>0x0){let _0x5491c9;if(_0x27023a===0x0)_0x5491c9='';else _0x3b804c[_0x435a60(0xf5)]?_0x5491c9=_0x37259d+(_0x4867bc?_0x435a60(0x10e):a81_0x40dc8b[_0x435a60(0xfd)]('│')+_0x435a60(0xf7)):_0x5491c9=_0x37259d+_0x3b804c['indent'];const _0x2e4fb8=formatTree(_0x446cd3[_0x435a60(0x109)],_0x3b804c,_0x27023a+0x1,_0x5491c9);_0xea6eec['push'](_0x2e4fb8);}}return _0xea6eec[_0x435a60(0xee)]('\x0a');}function a81_0x55e8(_0x24e004,_0x2f6cd2){const _0x29d9ec=a81_0x29d9();return a81_0x55e8=function(_0x55e817,_0x780f6d){_0x55e817=_0x55e817-0xed;let _0x28e3ac=_0x29d9ec[_0x55e817];return _0x28e3ac;},a81_0x55e8(_0x24e004,_0x2f6cd2);}function a81_0x29d9(){const _0x4372a9=['showTreeLines','icon','\x20\x20\x20','1038BdBQxc','37251852xTDFJw','metadata','folderCount','1706960wIcyNY','dim','type','showIcons','folder','369RRFftk','push','6163087HcTgnR','8BYnoQw','810195MlsFYl','name','66KARPGF','showMetadata','children','segment','24300NmZaCw','263750rhKLyJ','map','\x20\x20\x20\x20','1493eIpdym','sort','join','\x20segment','population','segmentCount','(empty)','localeCompare','length'];a81_0x29d9=function(){return _0x4372a9;};return a81_0x29d9();}export function formatFlatList(_0x8ad22,_0x51eef9,_0x36f7c1={}){const _0x4f41b5=a81_0x55e8,_0x430ed7={...DEFAULT_OPTIONS,..._0x36f7c1},_0x58482d=[];for(const _0x372507 of _0x8ad22){_0x58482d[_0x4f41b5(0x102)]({'name':_0x372507['name'],'icon':_0x430ed7[_0x4f41b5(0xff)]?'📁':'','metadata':undefined});}for(const _0x23687f of _0x51eef9){const _0x28b319=_0x430ed7[_0x4f41b5(0x108)]&&_0x23687f[_0x4f41b5(0xf0)]!==undefined?a81_0x40dc8b[_0x4f41b5(0xfd)]('\x20('+formatRows(_0x23687f['population'])+')'):'';_0x58482d[_0x4f41b5(0x102)]({'name':_0x23687f[_0x4f41b5(0x106)],'icon':_0x430ed7['showIcons']?'🎯':'','metadata':_0x28b319});}_0x58482d[_0x4f41b5(0xed)]((_0x5e909c,_0x1b3a3e)=>_0x5e909c['name'][_0x4f41b5(0xf3)](_0x1b3a3e[_0x4f41b5(0x106)]));if(_0x58482d[_0x4f41b5(0xf4)]===0x0)return _0x4f41b5(0xf2);const _0x117890=_0x58482d[_0x4f41b5(0x10d)](_0x47a438=>{const _0x49874b=_0x4f41b5,_0xc05006=_0x47a438['icon']?_0x47a438[_0x49874b(0xf6)]+'\x20':'',_0x46a748=_0x47a438['metadata']||'';return''+_0xc05006+_0x47a438[_0x49874b(0x106)]+_0x46a748;});return _0x117890[_0x4f41b5(0xee)]('\x0a');}
@@ -1 +1 @@
1
- function a82_0x5253(_0x58412f,_0x206e44){const _0x49ef23=a82_0x49ef();return a82_0x5253=function(_0x525341,_0x3cc30a){_0x525341=_0x525341-0x9b;let _0x1f16b3=_0x49ef23[_0x525341];return _0x1f16b3;},a82_0x5253(_0x58412f,_0x206e44);}const a82_0x298ad4=a82_0x5253;(function(_0x8a9a01,_0x3ec530){const _0x3a4c21=a82_0x5253,_0x1e14d2=_0x8a9a01();while(!![]){try{const _0x571600=-parseInt(_0x3a4c21(0xa3))/0x1+-parseInt(_0x3a4c21(0xa0))/0x2*(parseInt(_0x3a4c21(0xba))/0x3)+parseInt(_0x3a4c21(0xa4))/0x4*(parseInt(_0x3a4c21(0xac))/0x5)+-parseInt(_0x3a4c21(0xb4))/0x6+-parseInt(_0x3a4c21(0xb9))/0x7*(parseInt(_0x3a4c21(0xa7))/0x8)+parseInt(_0x3a4c21(0xb6))/0x9+-parseInt(_0x3a4c21(0xa9))/0xa*(-parseInt(_0x3a4c21(0xa1))/0xb);if(_0x571600===_0x3ec530)break;else _0x1e14d2['push'](_0x1e14d2['shift']());}catch(_0x2aeb97){_0x1e14d2['push'](_0x1e14d2['shift']());}}}(a82_0x49ef,0x1e0e1));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a82_0x595978 from'chalk';function a82_0x49ef(){const _0x241e73=['37372soiPje','now','write','8rdnibb','data','375150fhhimy','cyan','gray','40tHWMkL','utf-8','\x0aUpdate\x20available:\x20','https://registry.npmjs.org/@treasuredata/tdx/latest','destroy','Request\x20timeout','isTTY','lastCheck','700290IkbvDy','\x0aRun:\x20','1291374jaXsFz','updateAvailable','latestVersion','1222571seMdcO','3McTveG','dim','version','statusCode','npm\x20install\x20-g\x20@treasuredata/tdx@latest','error','getTime','parse','end','last_version_check','stringify','22844sPJZoO','121LwjSYy','green','205000aXNDhi'];a82_0x49ef=function(){return _0x241e73;};return a82_0x49ef();}import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a82_0x298ad4(0xaf),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x538b73=a82_0x298ad4,_0x3591a9=getCacheDir();return join(_0x3591a9,_0x538b73(0x9e));}function readCache(){const _0x398b61=a82_0x298ad4;try{const _0x5313f8=getCacheFilePath(),_0x4052fb=readFileSync(_0x5313f8,_0x398b61(0xad));return JSON[_0x398b61(0x9c)](_0x4052fb);}catch{return null;}}function writeCache(_0x6c7443){const _0x104d57=a82_0x298ad4;try{const _0x251704=getCacheDir();mkdirSync(_0x251704,{'recursive':!![]});const _0x52ed40={'lastCheck':new Date()['toISOString'](),'latestVersion':_0x6c7443},_0x28baba=getCacheFilePath();writeFileSync(_0x28baba,JSON[_0x104d57(0x9f)](_0x52ed40,null,0x2),_0x104d57(0xad));}catch{}}function isCacheValid(_0x3be5b6){const _0x1991c3=a82_0x298ad4;if(!_0x3be5b6)return![];const _0x2b8ae5=new Date(_0x3be5b6[_0x1991c3(0xb3)])[_0x1991c3(0x9b)](),_0x19e4d1=Date[_0x1991c3(0xa5)]();return _0x19e4d1-_0x2b8ae5<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0xa2c3a2,_0x198f62)=>{const _0x49b556=a82_0x5253,_0x2979cd=get(NPM_REGISTRY_URL,_0x11bd32=>{const _0x42443e=a82_0x5253;if(_0x11bd32[_0x42443e(0xbd)]!==0xc8){clearTimeout(_0x36ceb3),_0x198f62(new Error('HTTP\x20'+_0x11bd32[_0x42443e(0xbd)]));return;}let _0x4edbf8='';_0x11bd32['on'](_0x42443e(0xa8),_0x3b7f38=>{_0x4edbf8+=_0x3b7f38;}),_0x11bd32['on'](_0x42443e(0x9d),()=>{const _0x570d30=_0x42443e;clearTimeout(_0x36ceb3);try{const _0x1d339c=JSON[_0x570d30(0x9c)](_0x4edbf8);if(!valid(_0x1d339c[_0x570d30(0xbc)])){_0x198f62(new Error('Invalid\x20version\x20format'));return;}_0xa2c3a2(_0x1d339c[_0x570d30(0xbc)]);}catch(_0x2a8f67){_0x198f62(_0x2a8f67);}});})['on'](_0x49b556(0xbf),_0x3ff5d3=>{clearTimeout(_0x36ceb3),_0x198f62(_0x3ff5d3);}),_0x36ceb3=setTimeout(()=>{const _0x1fca88=_0x49b556;_0x2979cd[_0x1fca88(0xb0)](),_0x198f62(new Error(_0x1fca88(0xb1)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x3678f7){const _0x27cc02=a82_0x298ad4;try{const _0x20ec43=readCache();if(isCacheValid(_0x20ec43)){const _0x1d4771=gt(_0x20ec43[_0x27cc02(0xb8)],_0x3678f7);return{'updateAvailable':_0x1d4771,'currentVersion':_0x3678f7,'latestVersion':_0x20ec43[_0x27cc02(0xb8)]};}const _0x5dd126=await fetchLatestVersion();writeCache(_0x5dd126);const _0xa5e05=gt(_0x5dd126,_0x3678f7);return{'updateAvailable':_0xa5e05,'currentVersion':_0x3678f7,'latestVersion':_0x5dd126};}catch{return null;}}export function displayUpdateNotification(_0x2c01fa){const _0x531c86=a82_0x298ad4;if(!_0x2c01fa[_0x531c86(0xb7)])return;const _0x3837dc=process['stderr'][_0x531c86(0xb2)]&&!process['env']['NO_COLOR'],_0x254f3a=_0x3837dc?a82_0x595978[_0x531c86(0xab)]('→'):'→',_0x67aec5=_0x3837dc?a82_0x595978[_0x531c86(0xbb)](_0x2c01fa['currentVersion']):_0x2c01fa['currentVersion'],_0x2efaa4=_0x3837dc?a82_0x595978[_0x531c86(0xa2)](_0x2c01fa['latestVersion']):_0x2c01fa[_0x531c86(0xb8)],_0x1acfe8=_0x3837dc?a82_0x595978[_0x531c86(0xaa)](_0x531c86(0xbe)):_0x531c86(0xbe),_0x3c539c=_0x3837dc?'\x0a'+a82_0x595978['yellow']('Update\x20available:')+'\x20'+_0x67aec5+'\x20'+_0x254f3a+'\x20'+_0x2efaa4+'\x0a'+a82_0x595978['dim']('Run:')+'\x20'+_0x1acfe8+'\x0a':_0x531c86(0xae)+_0x67aec5+'\x20'+_0x254f3a+'\x20'+_0x2efaa4+_0x531c86(0xb5)+_0x1acfe8+'\x0a';process['stderr'][_0x531c86(0xa6)](_0x3c539c);}
1
+ function a82_0x442a(_0x3724d2,_0x56e286){const _0x4d26d2=a82_0x4d26();return a82_0x442a=function(_0x442a6e,_0x189bf8){_0x442a6e=_0x442a6e-0x152;let _0x3048ed=_0x4d26d2[_0x442a6e];return _0x3048ed;},a82_0x442a(_0x3724d2,_0x56e286);}(function(_0x5cd361,_0x49c92a){const _0x24c7c7=a82_0x442a,_0x24b627=_0x5cd361();while(!![]){try{const _0x258b6b=parseInt(_0x24c7c7(0x174))/0x1+parseInt(_0x24c7c7(0x171))/0x2+parseInt(_0x24c7c7(0x15e))/0x3+parseInt(_0x24c7c7(0x165))/0x4+-parseInt(_0x24c7c7(0x173))/0x5+parseInt(_0x24c7c7(0x170))/0x6*(-parseInt(_0x24c7c7(0x15b))/0x7)+-parseInt(_0x24c7c7(0x16f))/0x8;if(_0x258b6b===_0x49c92a)break;else _0x24b627['push'](_0x24b627['shift']());}catch(_0x2ff0f1){_0x24b627['push'](_0x24b627['shift']());}}}(a82_0x4d26,0x6a717));import{get}from'https';function a82_0x4d26(){const _0x1fd972=['123952IPNDWX','cyan','1555660NqPRXu','504835cNnNrH','Invalid\x20version\x20format','last_version_check','dim','Request\x20timeout','toISOString','\x0aRun:\x20','write','data','\x0aUpdate\x20available:\x20','green','npm\x20install\x20-g\x20@treasuredata/tdx@latest','70NXUybc','statusCode','currentVersion','1435314OSUBQj','version','utf-8','stderr','updateAvailable','isTTY','end','1858032ApZYKi','yellow','parse','Run:','NO_COLOR','now','destroy','Update\x20available:','latestVersion','getTime','1200672ATZVoK','367530bsjkCt'];a82_0x4d26=function(){return _0x1fd972;};return a82_0x4d26();}import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a82_0x7157bc from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL='https://registry.npmjs.org/@treasuredata/tdx/latest',TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x37364f=a82_0x442a,_0x1b3b2d=getCacheDir();return join(_0x1b3b2d,_0x37364f(0x176));}function readCache(){const _0x3f1a00=a82_0x442a;try{const _0x494220=getCacheFilePath(),_0x5235b6=readFileSync(_0x494220,_0x3f1a00(0x160));return JSON['parse'](_0x5235b6);}catch{return null;}}function writeCache(_0x362fa6){const _0x520c90=a82_0x442a;try{const _0x26137c=getCacheDir();mkdirSync(_0x26137c,{'recursive':!![]});const _0x1d8916={'lastCheck':new Date()[_0x520c90(0x154)](),'latestVersion':_0x362fa6},_0x14815a=getCacheFilePath();writeFileSync(_0x14815a,JSON['stringify'](_0x1d8916,null,0x2),_0x520c90(0x160));}catch{}}function isCacheValid(_0x5c4455){const _0x2c2394=a82_0x442a;if(!_0x5c4455)return![];const _0x3bbe34=new Date(_0x5c4455['lastCheck'])[_0x2c2394(0x16e)](),_0x5a2e1a=Date[_0x2c2394(0x16a)]();return _0x5a2e1a-_0x3bbe34<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x4da66a,_0xf2371f)=>{const _0x4ea478=get(NPM_REGISTRY_URL,_0xee6904=>{const _0x23865a=a82_0x442a;if(_0xee6904[_0x23865a(0x15c)]!==0xc8){clearTimeout(_0x21dfe7),_0xf2371f(new Error('HTTP\x20'+_0xee6904[_0x23865a(0x15c)]));return;}let _0x338475='';_0xee6904['on'](_0x23865a(0x157),_0x5eaee7=>{_0x338475+=_0x5eaee7;}),_0xee6904['on'](_0x23865a(0x164),()=>{const _0x1e241f=_0x23865a;clearTimeout(_0x21dfe7);try{const _0x3e12c2=JSON[_0x1e241f(0x167)](_0x338475);if(!valid(_0x3e12c2[_0x1e241f(0x15f)])){_0xf2371f(new Error(_0x1e241f(0x175)));return;}_0x4da66a(_0x3e12c2[_0x1e241f(0x15f)]);}catch(_0x5a7bfc){_0xf2371f(_0x5a7bfc);}});})['on']('error',_0x53faa3=>{clearTimeout(_0x21dfe7),_0xf2371f(_0x53faa3);}),_0x21dfe7=setTimeout(()=>{const _0x7bb069=a82_0x442a;_0x4ea478[_0x7bb069(0x16b)](),_0xf2371f(new Error(_0x7bb069(0x153)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x5e592b){const _0x960435=a82_0x442a;try{const _0x5a4b7c=readCache();if(isCacheValid(_0x5a4b7c)){const _0xdd603c=gt(_0x5a4b7c['latestVersion'],_0x5e592b);return{'updateAvailable':_0xdd603c,'currentVersion':_0x5e592b,'latestVersion':_0x5a4b7c[_0x960435(0x16d)]};}const _0x82aef=await fetchLatestVersion();writeCache(_0x82aef);const _0x4a4cf2=gt(_0x82aef,_0x5e592b);return{'updateAvailable':_0x4a4cf2,'currentVersion':_0x5e592b,'latestVersion':_0x82aef};}catch{return null;}}export function displayUpdateNotification(_0x332bf4){const _0x1bd22e=a82_0x442a;if(!_0x332bf4[_0x1bd22e(0x162)])return;const _0x1bd67e=process[_0x1bd22e(0x161)][_0x1bd22e(0x163)]&&!process['env'][_0x1bd22e(0x169)],_0x102a34=_0x1bd67e?a82_0x7157bc['gray']('→'):'→',_0x950c1a=_0x1bd67e?a82_0x7157bc[_0x1bd22e(0x152)](_0x332bf4['currentVersion']):_0x332bf4[_0x1bd22e(0x15d)],_0x16cc22=_0x1bd67e?a82_0x7157bc[_0x1bd22e(0x159)](_0x332bf4['latestVersion']):_0x332bf4[_0x1bd22e(0x16d)],_0x309c33=_0x1bd67e?a82_0x7157bc[_0x1bd22e(0x172)](_0x1bd22e(0x15a)):_0x1bd22e(0x15a),_0x55b973=_0x1bd67e?'\x0a'+a82_0x7157bc[_0x1bd22e(0x166)](_0x1bd22e(0x16c))+'\x20'+_0x950c1a+'\x20'+_0x102a34+'\x20'+_0x16cc22+'\x0a'+a82_0x7157bc[_0x1bd22e(0x152)](_0x1bd22e(0x168))+'\x20'+_0x309c33+'\x0a':_0x1bd22e(0x158)+_0x950c1a+'\x20'+_0x102a34+'\x20'+_0x16cc22+_0x1bd22e(0x155)+_0x309c33+'\x0a';process[_0x1bd22e(0x161)][_0x1bd22e(0x156)](_0x55b973);}
@@ -1 +1 @@
1
- (function(_0x36f9d0,_0x2819bf){const _0x42280a=a83_0x5d69,_0x3effdc=_0x36f9d0();while(!![]){try{const _0x4c45e7=parseInt(_0x42280a(0x164))/0x1*(-parseInt(_0x42280a(0x15d))/0x2)+-parseInt(_0x42280a(0x15e))/0x3*(-parseInt(_0x42280a(0x163))/0x4)+-parseInt(_0x42280a(0x15f))/0x5+parseInt(_0x42280a(0x165))/0x6*(-parseInt(_0x42280a(0x166))/0x7)+parseInt(_0x42280a(0x161))/0x8+parseInt(_0x42280a(0x162))/0x9+parseInt(_0x42280a(0x167))/0xa;if(_0x4c45e7===_0x2819bf)break;else _0x3effdc['push'](_0x3effdc['shift']());}catch(_0x173237){_0x3effdc['push'](_0x3effdc['shift']());}}}(a83_0xb2a3,0xb93bb));function a83_0x5d69(_0x46d0e2,_0x551f00){const _0xb2a3f0=a83_0xb2a3();return a83_0x5d69=function(_0x5d692e,_0x1539ef){_0x5d692e=_0x5d692e-0x15d;let _0x3869cd=_0xb2a3f0[_0x5d692e];return _0x3869cd;},a83_0x5d69(_0x46d0e2,_0x551f00);}export const WORKFLOW_FILE_EXTENSION='.dig';export function shouldIncludeInArchive(_0xbcbbcc){const _0x26cb02=a83_0x5d69;if(_0xbcbbcc==='.digdag')return!![];if(_0xbcbbcc[_0x26cb02(0x160)]('.'))return![];return!![];}function a83_0xb2a3(){const _0x14f906=['134TqBaiq','499584bfOMya','2090320yYJzWK','startsWith','4694320RRWpDQ','4222242zShNMx','12kCGbOV','3527QZXvrZ','5850594vQKHpY','7tUsacm','8326750NNarXO'];a83_0xb2a3=function(){return _0x14f906;};return a83_0xb2a3();}
1
+ const a83_0x40202d=a83_0x815d;(function(_0x4f0165,_0x4743b1){const _0x1af26c=a83_0x815d,_0xe6559f=_0x4f0165();while(!![]){try{const _0x182331=parseInt(_0x1af26c(0x1d6))/0x1+-parseInt(_0x1af26c(0x1d0))/0x2+-parseInt(_0x1af26c(0x1d1))/0x3+parseInt(_0x1af26c(0x1da))/0x4*(parseInt(_0x1af26c(0x1d8))/0x5)+parseInt(_0x1af26c(0x1d9))/0x6+-parseInt(_0x1af26c(0x1d5))/0x7+parseInt(_0x1af26c(0x1d3))/0x8;if(_0x182331===_0x4743b1)break;else _0xe6559f['push'](_0xe6559f['shift']());}catch(_0x1c1fde){_0xe6559f['push'](_0xe6559f['shift']());}}}(a83_0x41cd,0x20b50));function a83_0x815d(_0x273c12,_0xa92dec){const _0x41cd6e=a83_0x41cd();return a83_0x815d=function(_0x815dad,_0x452f34){_0x815dad=_0x815dad-0x1d0;let _0x45c4c5=_0x41cd6e[_0x815dad];return _0x45c4c5;},a83_0x815d(_0x273c12,_0xa92dec);}export const WORKFLOW_FILE_EXTENSION=a83_0x40202d(0x1d4);export function shouldIncludeInArchive(_0x33d56c){const _0x166076=a83_0x40202d;if(_0x33d56c===_0x166076(0x1d2))return!![];if(_0x33d56c[_0x166076(0x1d7)]('.'))return![];return!![];}function a83_0x41cd(){const _0x2672cf=['445176pnujqw','271281uyTIil','.digdag','429504PBXtSE','.dig','316673jcuWcq','119804ROBnmd','startsWith','1500cEKGZv','562380BRzCzS','3000IscXCD'];a83_0x41cd=function(){return _0x2672cf;};return a83_0x41cd();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "AI-native CLI for Treasure Data - optimized for both human engineers and AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {