@treasuredata/tdx 0.3.4 → 0.3.5

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 (97) hide show
  1. package/dist/build-info.json +2 -2
  2. package/dist/cli.js +1 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/client/cdp-api-client.js +1 -1
  5. package/dist/client/http-client.js +1 -1
  6. package/dist/client/llm-api-client.js +1 -1
  7. package/dist/client/rate-limiter.js +1 -1
  8. package/dist/client/td-api-client.js +1 -1
  9. package/dist/client/trino-api-client.js +1 -1
  10. package/dist/client/workflow-client.d.ts +17 -1
  11. package/dist/client/workflow-client.d.ts.map +1 -1
  12. package/dist/client/workflow-client.js +1 -1
  13. package/dist/client/workflow-client.js.map +1 -1
  14. package/dist/commands/activations.js +1 -1
  15. package/dist/commands/api-command.js +1 -1
  16. package/dist/commands/auth-command.js +1 -1
  17. package/dist/commands/chat-command.js +1 -1
  18. package/dist/commands/claude-command.js +1 -1
  19. package/dist/commands/command.js +1 -1
  20. package/dist/commands/context-command.js +1 -1
  21. package/dist/commands/databases.js +1 -1
  22. package/dist/commands/describe.js +1 -1
  23. package/dist/commands/job-command.js +1 -1
  24. package/dist/commands/llm-command.js +1 -1
  25. package/dist/commands/llm-proxy.js +1 -1
  26. package/dist/commands/parent-segment-command.js +1 -1
  27. package/dist/commands/profiles-command.js +1 -1
  28. package/dist/commands/query-command.js +1 -1
  29. package/dist/commands/segment-command.js +1 -1
  30. package/dist/commands/segment-create-command.js +1 -1
  31. package/dist/commands/segment-fields-command.js +1 -1
  32. package/dist/commands/segment-pwd-command.js +1 -1
  33. package/dist/commands/segment-update-command.js +1 -1
  34. package/dist/commands/segment-use-command.js +1 -1
  35. package/dist/commands/segments.js +1 -1
  36. package/dist/commands/show.js +1 -1
  37. package/dist/commands/tables.js +1 -1
  38. package/dist/commands/use-command.js +1 -1
  39. package/dist/commands/workflow-command.d.ts +9 -1
  40. package/dist/commands/workflow-command.d.ts.map +1 -1
  41. package/dist/commands/workflow-command.js +1 -1
  42. package/dist/commands/workflow-command.js.map +1 -1
  43. package/dist/core/auth.js +1 -1
  44. package/dist/core/config.js +1 -1
  45. package/dist/core/global-context.js +1 -1
  46. package/dist/core/profile.js +1 -1
  47. package/dist/core/project-config.js +1 -1
  48. package/dist/core/session.js +1 -1
  49. package/dist/index.js +1 -1
  50. package/dist/proxy/anthropic-adapter.js +1 -1
  51. package/dist/proxy/server.js +1 -1
  52. package/dist/proxy/session-cache.js +1 -1
  53. package/dist/sdk/api.js +1 -1
  54. package/dist/sdk/errors.js +1 -1
  55. package/dist/sdk/index.js +1 -1
  56. package/dist/sdk/job.js +1 -1
  57. package/dist/sdk/llm.js +1 -1
  58. package/dist/sdk/query.js +1 -1
  59. package/dist/sdk/segment.js +1 -1
  60. package/dist/sdk/workflow.d.ts +52 -16
  61. package/dist/sdk/workflow.d.ts.map +1 -1
  62. package/dist/sdk/workflow.js +1 -1
  63. package/dist/sdk/workflow.js.map +1 -1
  64. package/dist/types/endpoints.js +1 -1
  65. package/dist/types/index.d.ts +1 -1
  66. package/dist/types/index.d.ts.map +1 -1
  67. package/dist/types/index.js +1 -1
  68. package/dist/types/workflow.d.ts +49 -0
  69. package/dist/types/workflow.d.ts.map +1 -1
  70. package/dist/utils/agent-ref-parser.js +1 -1
  71. package/dist/utils/chat-cache.js +1 -1
  72. package/dist/utils/colors.js +1 -1
  73. package/dist/utils/command-output.d.ts.map +1 -1
  74. package/dist/utils/command-output.js +1 -1
  75. package/dist/utils/command-output.js.map +1 -1
  76. package/dist/utils/constants.js +1 -1
  77. package/dist/utils/file-permissions.js +1 -1
  78. package/dist/utils/format-detector.js +1 -1
  79. package/dist/utils/formatters.js +1 -1
  80. package/dist/utils/json-loader.js +1 -1
  81. package/dist/utils/model-aliases.js +1 -1
  82. package/dist/utils/option-validation.js +1 -1
  83. package/dist/utils/port.js +1 -1
  84. package/dist/utils/process.js +1 -1
  85. package/dist/utils/prompt.js +1 -1
  86. package/dist/utils/segment-path-parser.js +1 -1
  87. package/dist/utils/segment-ref-parser.js +1 -1
  88. package/dist/utils/spinner.js +1 -1
  89. package/dist/utils/sql-parser.js +1 -1
  90. package/dist/utils/sse-parser.js +1 -1
  91. package/dist/utils/string-utils.js +1 -1
  92. package/dist/utils/table-ref-parser.js +1 -1
  93. package/dist/utils/tdx-logger.js +1 -1
  94. package/dist/utils/tree-formatter.js +1 -1
  95. package/dist/utils/version-check.js +1 -1
  96. package/dist/utils/workflow-utils.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- function a72_0x4dce(){const _0x250257=['error','code','0.0.0.0','1725858jpQbRN','101956QmwAJc','323576OSIMdu','8249690DVhVkE','EADDRINUSE','listening','close','8lIMTcV','\x20and\x20','once','3NMVkEZ','415sVxfbb','911112FjMPmF','45126yTKaHG','1905904EzKyqr'];a72_0x4dce=function(){return _0x250257;};return a72_0x4dce();}(function(_0x26d119,_0x5b160a){const _0x22ba99=a72_0x56bd,_0x3ccb60=_0x26d119();while(!![]){try{const _0x108ca5=parseInt(_0x22ba99(0x150))/0x1+parseInt(_0x22ba99(0x14f))/0x2+-parseInt(_0x22ba99(0x146))/0x3*(-parseInt(_0x22ba99(0x148))/0x4)+parseInt(_0x22ba99(0x147))/0x5*(parseInt(_0x22ba99(0x149))/0x6)+-parseInt(_0x22ba99(0x14a))/0x7+-parseInt(_0x22ba99(0x155))/0x8*(-parseInt(_0x22ba99(0x14e))/0x9)+-parseInt(_0x22ba99(0x151))/0xa;if(_0x108ca5===_0x5b160a)break;else _0x3ccb60['push'](_0x3ccb60['shift']());}catch(_0x9f901b){_0x3ccb60['push'](_0x3ccb60['shift']());}}}(a72_0x4dce,0x4e648));import{createServer}from'node:net';function a72_0x56bd(_0x34dd17,_0x4286a6){const _0x4dceac=a72_0x4dce();return a72_0x56bd=function(_0x56bd3f,_0x5c17cc){_0x56bd3f=_0x56bd3f-0x144;let _0x3da9f2=_0x4dceac[_0x56bd3f];return _0x3da9f2;},a72_0x56bd(_0x34dd17,_0x4286a6);}export async function isPortAvailable(_0x23cb48){return new Promise(_0x67a680=>{const _0x527ac8=a72_0x56bd,_0x5f1840=createServer();_0x5f1840['once'](_0x527ac8(0x14b),_0x71a313=>{const _0x1366cd=_0x527ac8;_0x71a313[_0x1366cd(0x14c)]===_0x1366cd(0x152)?_0x67a680(![]):_0x67a680(![]);}),_0x5f1840[_0x527ac8(0x145)](_0x527ac8(0x153),()=>{const _0x329e45=_0x527ac8;_0x5f1840[_0x329e45(0x154)](),_0x67a680(!![]);}),_0x5f1840['listen'](_0x23cb48,_0x527ac8(0x14d));});}export async function findAvailablePort(_0x51cd33=0xfa0,_0x323be8=0x64){const _0x3a7f77=a72_0x56bd;for(let _0x29ff67=0x0;_0x29ff67<_0x323be8;_0x29ff67++){const _0x48bda7=_0x51cd33+_0x29ff67;if(await isPortAvailable(_0x48bda7))return _0x48bda7;}throw new Error('No\x20available\x20port\x20found\x20between\x20'+_0x51cd33+_0x3a7f77(0x144)+(_0x51cd33+_0x323be8-0x1));}
1
+ (function(_0x475e86,_0x5634c9){const _0x2996bc=a72_0x41e4,_0x46548a=_0x475e86();while(!![]){try{const _0xe6e302=parseInt(_0x2996bc(0x1e6))/0x1*(-parseInt(_0x2996bc(0x1e0))/0x2)+-parseInt(_0x2996bc(0x1ed))/0x3+-parseInt(_0x2996bc(0x1e8))/0x4+-parseInt(_0x2996bc(0x1eb))/0x5+parseInt(_0x2996bc(0x1ea))/0x6*(-parseInt(_0x2996bc(0x1e1))/0x7)+-parseInt(_0x2996bc(0x1ec))/0x8+parseInt(_0x2996bc(0x1e5))/0x9;if(_0xe6e302===_0x5634c9)break;else _0x46548a['push'](_0x46548a['shift']());}catch(_0x33c86d){_0x46548a['push'](_0x46548a['shift']());}}}(a72_0x229c,0x2109a));import{createServer}from'node:net';export async function isPortAvailable(_0x59a02e){return new Promise(_0x95eb5c=>{const _0xe83181=a72_0x41e4,_0xcb4049=createServer();_0xcb4049['once'](_0xe83181(0x1e9),_0x37c73d=>{const _0x576252=_0xe83181;_0x37c73d[_0x576252(0x1dc)]===_0x576252(0x1e7)?_0x95eb5c(![]):_0x95eb5c(![]);}),_0xcb4049[_0xe83181(0x1dd)]('listening',()=>{const _0x46f265=_0xe83181;_0xcb4049[_0x46f265(0x1e2)](),_0x95eb5c(!![]);}),_0xcb4049[_0xe83181(0x1df)](_0x59a02e,_0xe83181(0x1e4));});}function a72_0x229c(){const _0x9a5734=['listen','8HubPZi','322qEtWAK','close','\x20and\x20','0.0.0.0','7679646rGsdWp','64809UdKidQ','EADDRINUSE','472272WGHdEk','error','9618AqHIct','215355ciCQpb','1580480ORFcXl','78897FuURTO','code','once','No\x20available\x20port\x20found\x20between\x20'];a72_0x229c=function(){return _0x9a5734;};return a72_0x229c();}function a72_0x41e4(_0x11e1fd,_0x3103ca){const _0x229c61=a72_0x229c();return a72_0x41e4=function(_0x41e4a5,_0x13dc09){_0x41e4a5=_0x41e4a5-0x1dc;let _0x5d5045=_0x229c61[_0x41e4a5];return _0x5d5045;},a72_0x41e4(_0x11e1fd,_0x3103ca);}export async function findAvailablePort(_0x166260=0xfa0,_0x5d23e4=0x64){const _0x4b635f=a72_0x41e4;for(let _0x39364e=0x0;_0x39364e<_0x5d23e4;_0x39364e++){const _0xd0ab64=_0x166260+_0x39364e;if(await isPortAvailable(_0xd0ab64))return _0xd0ab64;}throw new Error(_0x4b635f(0x1de)+_0x166260+_0x4b635f(0x1e3)+(_0x166260+_0x5d23e4-0x1));}
@@ -1 +1 @@
1
- function a73_0x4674(){const _0xe9c541=['ppid','1470348nrCAlR','No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','elvish','dash','code',')\x20spawned\x20by\x20','bash','3088310lIrPlq','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','4WWJTUm','5598vSXqpU','comm','trim','join','ion','zsh','17154ILkvcQ','filter','cursor',',\x20continuing\x20up','replace','fish','win32','platform','96916QJixww','1024830jqqHjU','749mcQzaL','DEBUG','toLowerCase','kill','split','length','pid','488EwuVvE','has','6534690Bpokif','\x20-o\x20ppid=,comm=','ps\x20-p\x20','powershell','ksh','env','wmic\x20process\x20where\x20ProcessId=','Found\x20ephemeral\x20shell\x20','utf-8','\x20on\x20POSIX:','error'];a73_0x4674=function(){return _0xe9c541;};return a73_0x4674();}const a73_0x14c544=a73_0x157f;(function(_0x5eafa4,_0x21cea8){const _0x455a4f=a73_0x157f,_0x2863f=_0x5eafa4();while(!![]){try{const _0x37cb37=-parseInt(_0x455a4f(0x10d))/0x1*(-parseInt(_0x455a4f(0x11c))/0x2)+parseInt(_0x455a4f(0x11d))/0x3+-parseInt(_0x455a4f(0x104))/0x4+parseInt(_0x455a4f(0x10b))/0x5+parseInt(_0x455a4f(0x114))/0x6*(parseInt(_0x455a4f(0x11e))/0x7)+-parseInt(_0x455a4f(0x125))/0x8*(parseInt(_0x455a4f(0x10e))/0x9)+-parseInt(_0x455a4f(0x127))/0xa;if(_0x37cb37===_0x21cea8)break;else _0x2863f['push'](_0x2863f['shift']());}catch(_0x48122b){_0x2863f['push'](_0x2863f['shift']());}}}(a73_0x4674,0x61a93));import{execSync}from'node:child_process';const SHELL_NAMES=new Set([a73_0x14c544(0x10a),a73_0x14c544(0x113),'sh',a73_0x14c544(0x119),a73_0x14c544(0x12b),'tcsh','csh',a73_0x14c544(0x107),'pwsh',a73_0x14c544(0x12a),'nu',a73_0x14c544(0x112),a73_0x14c544(0x106),'xonsh']),EPHEMERAL_SHELL_SPAWNERS=new Set(['claude',a73_0x14c544(0x108),a73_0x14c544(0x116)]);function getProcessInfoWindows(_0x4967ec){const _0x295da3=a73_0x14c544;try{const _0x2dbc8e=execSync(_0x295da3(0x12d)+_0x4967ec+'\x20get\x20ParentProcessId,Name\x20/format:csv',{'encoding':'utf-8','windowsHide':!![]})[_0x295da3(0x110)](),_0x29d1d4=_0x2dbc8e[_0x295da3(0x122)]('\x0a')[_0x295da3(0x115)](_0x45df2a=>_0x45df2a[_0x295da3(0x110)]());if(_0x29d1d4[_0x295da3(0x123)]<0x2)return null;const _0x20588f=_0x29d1d4[_0x29d1d4[_0x295da3(0x123)]-0x1][_0x295da3(0x122)](',');if(_0x20588f[_0x295da3(0x123)]<0x3)return null;const _0x8d080c=_0x20588f[0x1]?.[_0x295da3(0x110)]()||'',_0x5b1f06=parseInt(_0x20588f[0x2]?.[_0x295da3(0x110)]()||'0',0xa);if(isNaN(_0x5b1f06)||!_0x8d080c)return null;return{'pid':_0x4967ec,'ppid':_0x5b1f06,'comm':_0x8d080c[_0x295da3(0x118)](/\.exe$/i,'')};}catch(_0x369dca){return process['env']['DEBUG']&&console['error'](_0x295da3(0x10c)+_0x4967ec+'\x20on\x20Windows:',_0x369dca),null;}}function getProcessInfoPosix(_0x69067e){const _0xea320c=a73_0x14c544;try{const _0x2dc498=execSync(_0xea320c(0x129)+_0x69067e+_0xea320c(0x128),{'encoding':_0xea320c(0x12f)})[_0xea320c(0x110)](),[_0x1c15db,..._0x31ab4d]=_0x2dc498[_0xea320c(0x122)](/\s+/),_0x142d1a=parseInt(_0x1c15db,0xa),_0x41ad88=_0x31ab4d[_0xea320c(0x111)]('\x20');if(isNaN(_0x142d1a))return null;return{'pid':_0x69067e,'ppid':_0x142d1a,'comm':_0x41ad88};}catch(_0x578e02){return process[_0xea320c(0x12c)][_0xea320c(0x11f)]&&console['error'](_0xea320c(0x10c)+_0x69067e+_0xea320c(0x130),_0x578e02),null;}}function getProcessInfo(_0x2665dd){const _0x10d081=a73_0x14c544;if(process[_0x10d081(0x11b)]===_0x10d081(0x11a))return getProcessInfoWindows(_0x2665dd);return getProcessInfoPosix(_0x2665dd);}function a73_0x157f(_0x270b38,_0x3d77ac){const _0x4674d2=a73_0x4674();return a73_0x157f=function(_0x157ffd,_0x541173){_0x157ffd=_0x157ffd-0x103;let _0x44d6d9=_0x4674d2[_0x157ffd];return _0x44d6d9;},a73_0x157f(_0x270b38,_0x3d77ac);}function getBasename(_0x59f965){const _0x5c2b7e=a73_0x14c544;return _0x59f965['replace'](/^-/,'')['split']('/')['pop']()?.[_0x5c2b7e(0x120)]()||'';}function isShell(_0x3b1717){const _0x1888c3=a73_0x14c544;return SHELL_NAMES[_0x1888c3(0x126)](getBasename(_0x3b1717));}function isEphemeralShellSpawner(_0x19c026){const _0x41c13d=a73_0x14c544;return EPHEMERAL_SHELL_SPAWNERS[_0x41c13d(0x126)](getBasename(_0x19c026));}let cachedShellPID;function findShellPID(){const _0x1dce25=a73_0x14c544;let _0x3df62f=process['ppid'];const _0xa654d0=0xa;let _0x2b0b8b=0x0;while(_0x2b0b8b<_0xa654d0){const _0x5b2003=getProcessInfo(_0x3df62f);if(!_0x5b2003){process[_0x1dce25(0x12c)][_0x1dce25(0x11f)]&&console[_0x1dce25(0x131)]('Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20'+_0x3df62f+',\x20using\x20fallback');break;}if(isShell(_0x5b2003['comm'])){const _0x41367f=getProcessInfo(_0x5b2003[_0x1dce25(0x103)]);if(_0x41367f&&isEphemeralShellSpawner(_0x41367f[_0x1dce25(0x10f)])){process[_0x1dce25(0x12c)][_0x1dce25(0x11f)]&&console[_0x1dce25(0x131)](_0x1dce25(0x12e)+_0x5b2003[_0x1dce25(0x124)]+'\x20('+_0x5b2003[_0x1dce25(0x10f)]+_0x1dce25(0x109)+_0x41367f[_0x1dce25(0x10f)]+_0x1dce25(0x117));_0x3df62f=_0x5b2003[_0x1dce25(0x103)],_0x2b0b8b++;continue;}return _0x5b2003[_0x1dce25(0x124)];}if(_0x5b2003[_0x1dce25(0x103)]===0x0||_0x5b2003['ppid']===0x1){if(isShell(_0x5b2003[_0x1dce25(0x10f)]))return _0x5b2003[_0x1dce25(0x124)];break;}_0x3df62f=_0x5b2003[_0x1dce25(0x103)],_0x2b0b8b++;}return process[_0x1dce25(0x12c)][_0x1dce25(0x11f)]&&console[_0x1dce25(0x131)](_0x1dce25(0x105)),process[_0x1dce25(0x103)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x34a89e){const _0x2dd224=a73_0x14c544;try{return process[_0x2dd224(0x121)](_0x34a89e,0x0),!![];}catch{return![];}}
1
+ const a73_0x5c6cf0=a73_0x2f68;(function(_0x516ae2,_0xdc9851){const _0x528dcc=a73_0x2f68,_0x2541e9=_0x516ae2();while(!![]){try{const _0x19bd05=parseInt(_0x528dcc(0x1d6))/0x1+-parseInt(_0x528dcc(0x1eb))/0x2*(-parseInt(_0x528dcc(0x1e7))/0x3)+-parseInt(_0x528dcc(0x1cf))/0x4*(-parseInt(_0x528dcc(0x1be))/0x5)+parseInt(_0x528dcc(0x1d2))/0x6+-parseInt(_0x528dcc(0x1ec))/0x7*(-parseInt(_0x528dcc(0x1c8))/0x8)+-parseInt(_0x528dcc(0x1d7))/0x9*(parseInt(_0x528dcc(0x1bd))/0xa)+-parseInt(_0x528dcc(0x1e2))/0xb;if(_0x19bd05===_0xdc9851)break;else _0x2541e9['push'](_0x2541e9['shift']());}catch(_0x28dc50){_0x2541e9['push'](_0x2541e9['shift']());}}}(a73_0x3afa,0x98327));import{execSync}from'node:child_process';function a73_0x3afa(){const _0x4d9a70=['No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','tcsh','trim','243370CsiRLe','71175XBccGK','cursor','fish','pwsh','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','split','csh','Found\x20ephemeral\x20shell\x20','elvish','claude','8AIUorr','length','powershell','wmic\x20process\x20where\x20ProcessId=','pop','toLowerCase','utf-8','104gRLpsr','env',')\x20spawned\x20by\x20','1987470bMjleh','DEBUG','pid','\x20on\x20Windows:','1154234sYzyoX','27YqTeaX','zsh','code','ksh','filter','join','replace','ppid','bash','comm','dash','26502608OWkNYU','\x20on\x20POSIX:','win32',',\x20continuing\x20up','ion','9avLZOT','platform','\x20get\x20ParentProcessId,Name\x20/format:csv','error','347128EhGRqe','5106199eFsbRn'];a73_0x3afa=function(){return _0x4d9a70;};return a73_0x3afa();}const SHELL_NAMES=new Set([a73_0x5c6cf0(0x1df),a73_0x5c6cf0(0x1d8),'sh',a73_0x5c6cf0(0x1c0),a73_0x5c6cf0(0x1da),a73_0x5c6cf0(0x1ee),a73_0x5c6cf0(0x1c4),a73_0x5c6cf0(0x1e1),a73_0x5c6cf0(0x1c1),a73_0x5c6cf0(0x1ca),'nu',a73_0x5c6cf0(0x1e6),a73_0x5c6cf0(0x1c6),'xonsh']),EPHEMERAL_SHELL_SPAWNERS=new Set([a73_0x5c6cf0(0x1c7),a73_0x5c6cf0(0x1d9),a73_0x5c6cf0(0x1bf)]);function a73_0x2f68(_0x433334,_0x29e374){const _0x3afa01=a73_0x3afa();return a73_0x2f68=function(_0x2f68ca,_0x5ebd11){_0x2f68ca=_0x2f68ca-0x1bc;let _0x2db93a=_0x3afa01[_0x2f68ca];return _0x2db93a;},a73_0x2f68(_0x433334,_0x29e374);}function getProcessInfoWindows(_0x414657){const _0x43b42f=a73_0x5c6cf0;try{const _0x4b53a8=execSync(_0x43b42f(0x1cb)+_0x414657+_0x43b42f(0x1e9),{'encoding':_0x43b42f(0x1ce),'windowsHide':!![]})[_0x43b42f(0x1bc)](),_0x3fe033=_0x4b53a8[_0x43b42f(0x1c3)]('\x0a')[_0x43b42f(0x1db)](_0x2bc6ba=>_0x2bc6ba[_0x43b42f(0x1bc)]());if(_0x3fe033[_0x43b42f(0x1c9)]<0x2)return null;const _0x16ed89=_0x3fe033[_0x3fe033[_0x43b42f(0x1c9)]-0x1][_0x43b42f(0x1c3)](',');if(_0x16ed89[_0x43b42f(0x1c9)]<0x3)return null;const _0x2e2ad9=_0x16ed89[0x1]?.[_0x43b42f(0x1bc)]()||'',_0x515cf9=parseInt(_0x16ed89[0x2]?.[_0x43b42f(0x1bc)]()||'0',0xa);if(isNaN(_0x515cf9)||!_0x2e2ad9)return null;return{'pid':_0x414657,'ppid':_0x515cf9,'comm':_0x2e2ad9[_0x43b42f(0x1dd)](/\.exe$/i,'')};}catch(_0x1b9fed){return process[_0x43b42f(0x1d0)][_0x43b42f(0x1d3)]&&console[_0x43b42f(0x1ea)](_0x43b42f(0x1c2)+_0x414657+_0x43b42f(0x1d5),_0x1b9fed),null;}}function getProcessInfoPosix(_0x47665c){const _0x4ad02f=a73_0x5c6cf0;try{const _0x479be5=execSync('ps\x20-p\x20'+_0x47665c+'\x20-o\x20ppid=,comm=',{'encoding':_0x4ad02f(0x1ce)})['trim'](),[_0x3e7a9d,..._0x5c1cef]=_0x479be5['split'](/\s+/),_0x71df1f=parseInt(_0x3e7a9d,0xa),_0xb75737=_0x5c1cef[_0x4ad02f(0x1dc)]('\x20');if(isNaN(_0x71df1f))return null;return{'pid':_0x47665c,'ppid':_0x71df1f,'comm':_0xb75737};}catch(_0x33c183){return process['env']['DEBUG']&&console[_0x4ad02f(0x1ea)](_0x4ad02f(0x1c2)+_0x47665c+_0x4ad02f(0x1e3),_0x33c183),null;}}function getProcessInfo(_0x408b23){const _0x324936=a73_0x5c6cf0;if(process[_0x324936(0x1e8)]===_0x324936(0x1e4))return getProcessInfoWindows(_0x408b23);return getProcessInfoPosix(_0x408b23);}function getBasename(_0x188e4a){const _0x8dc62d=a73_0x5c6cf0;return _0x188e4a['replace'](/^-/,'')[_0x8dc62d(0x1c3)]('/')[_0x8dc62d(0x1cc)]()?.[_0x8dc62d(0x1cd)]()||'';}function isShell(_0x1f6222){return SHELL_NAMES['has'](getBasename(_0x1f6222));}function isEphemeralShellSpawner(_0x16041f){return EPHEMERAL_SHELL_SPAWNERS['has'](getBasename(_0x16041f));}let cachedShellPID;function findShellPID(){const _0xb067ac=a73_0x5c6cf0;let _0x473e42=process[_0xb067ac(0x1de)];const _0x166bcf=0xa;let _0x1f1fea=0x0;while(_0x1f1fea<_0x166bcf){const _0x278bc9=getProcessInfo(_0x473e42);if(!_0x278bc9){process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)]('Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20'+_0x473e42+',\x20using\x20fallback');break;}if(isShell(_0x278bc9[_0xb067ac(0x1e0)])){const _0x48a66c=getProcessInfo(_0x278bc9[_0xb067ac(0x1de)]);if(_0x48a66c&&isEphemeralShellSpawner(_0x48a66c[_0xb067ac(0x1e0)])){process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)](_0xb067ac(0x1c5)+_0x278bc9['pid']+'\x20('+_0x278bc9['comm']+_0xb067ac(0x1d1)+_0x48a66c[_0xb067ac(0x1e0)]+_0xb067ac(0x1e5));_0x473e42=_0x278bc9[_0xb067ac(0x1de)],_0x1f1fea++;continue;}return _0x278bc9[_0xb067ac(0x1d4)];}if(_0x278bc9[_0xb067ac(0x1de)]===0x0||_0x278bc9[_0xb067ac(0x1de)]===0x1){if(isShell(_0x278bc9[_0xb067ac(0x1e0)]))return _0x278bc9[_0xb067ac(0x1d4)];break;}_0x473e42=_0x278bc9[_0xb067ac(0x1de)],_0x1f1fea++;}return process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)](_0xb067ac(0x1ed)),process[_0xb067ac(0x1de)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x211d03){try{return process['kill'](_0x211d03,0x0),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x15600e,_0x59c0a3){const _0x26a3e1=a74_0x1374,_0x33b06e=_0x15600e();while(!![]){try{const _0x4e67c8=parseInt(_0x26a3e1(0x87))/0x1+parseInt(_0x26a3e1(0x7e))/0x2*(parseInt(_0x26a3e1(0x7f))/0x3)+parseInt(_0x26a3e1(0x8e))/0x4+parseInt(_0x26a3e1(0x80))/0x5+parseInt(_0x26a3e1(0x8c))/0x6+parseInt(_0x26a3e1(0x8b))/0x7*(-parseInt(_0x26a3e1(0x81))/0x8)+-parseInt(_0x26a3e1(0x86))/0x9*(parseInt(_0x26a3e1(0x83))/0xa);if(_0x4e67c8===_0x59c0a3)break;else _0x33b06e['push'](_0x33b06e['shift']());}catch(_0x45ba9a){_0x33b06e['push'](_0x33b06e['shift']());}}}(a74_0x24ec,0x28e12));import*as a74_0x332227 from'readline';function a74_0x24ec(){const _0x4e7bd9=['920dbypEe','close','stdout','27369MqPtqj','265997CwhHcw','\x20(y/N):\x20','toLowerCase','stdin','217mVAwBA','134118WyfQhc','question','444532KBmKUp','yes','134ZXEkSl','2253bKSkpm','343880dxgybS','18416QFookI','createInterface'];a74_0x24ec=function(){return _0x4e7bd9;};return a74_0x24ec();}function a74_0x1374(_0x329363,_0x1f32c8){const _0x24ec5=a74_0x24ec();return a74_0x1374=function(_0x1374d7,_0x2dcb2e){_0x1374d7=_0x1374d7-0x7e;let _0x2e72ff=_0x24ec5[_0x1374d7];return _0x2e72ff;},a74_0x1374(_0x329363,_0x1f32c8);}export async function confirm(_0x1a23a4){const _0x1b2401=a74_0x1374,_0x231b4e=a74_0x332227[_0x1b2401(0x82)]({'input':process[_0x1b2401(0x8a)],'output':process[_0x1b2401(0x85)]});return new Promise(_0x58dd99=>{const _0x3e9928=_0x1b2401;_0x231b4e[_0x3e9928(0x8d)](_0x1a23a4+_0x3e9928(0x88),_0x33aa32=>{const _0x243aa3=_0x3e9928;_0x231b4e[_0x243aa3(0x84)](),_0x58dd99(_0x33aa32[_0x243aa3(0x89)]()==='y'||_0x33aa32[_0x243aa3(0x89)]()===_0x243aa3(0x8f));});});}
1
+ (function(_0x2576a2,_0x217621){const _0x3e948e=a74_0x3ba1,_0x31f8ab=_0x2576a2();while(!![]){try{const _0x31ee36=parseInt(_0x3e948e(0x19d))/0x1*(parseInt(_0x3e948e(0x1a4))/0x2)+parseInt(_0x3e948e(0x1a8))/0x3*(parseInt(_0x3e948e(0x19c))/0x4)+-parseInt(_0x3e948e(0x1a3))/0x5*(parseInt(_0x3e948e(0x199))/0x6)+parseInt(_0x3e948e(0x1a2))/0x7*(parseInt(_0x3e948e(0x196))/0x8)+parseInt(_0x3e948e(0x1a1))/0x9*(parseInt(_0x3e948e(0x1aa))/0xa)+-parseInt(_0x3e948e(0x19f))/0xb*(-parseInt(_0x3e948e(0x1ab))/0xc)+-parseInt(_0x3e948e(0x1a5))/0xd*(-parseInt(_0x3e948e(0x1a7))/0xe);if(_0x31ee36===_0x217621)break;else _0x31f8ab['push'](_0x31f8ab['shift']());}catch(_0x9552f0){_0x31f8ab['push'](_0x31f8ab['shift']());}}}(a74_0x592c,0xc25bd));function a74_0x592c(){const _0x24cd70=['513blruqe','7nxaJpU','45NgHniW','5246nBjymI','13DYWQBQ','question','5425042ndVQQG','27LhRaEr','close','34530sUikrj','106332UxuMgh','2900104WrQcbX','toLowerCase','\x20(y/N):\x20','734190RKQglb','yes','stdout','144388vHNtEE','73cFOfBz','createInterface','539nfHjvF','stdin'];a74_0x592c=function(){return _0x24cd70;};return a74_0x592c();}import*as a74_0x3b7391 from'readline';function a74_0x3ba1(_0x1792a1,_0xf6d843){const _0x592c8b=a74_0x592c();return a74_0x3ba1=function(_0x3ba136,_0x26e957){_0x3ba136=_0x3ba136-0x196;let _0x308672=_0x592c8b[_0x3ba136];return _0x308672;},a74_0x3ba1(_0x1792a1,_0xf6d843);}export async function confirm(_0x4ac891){const _0x4f04de=a74_0x3ba1,_0x44485c=a74_0x3b7391[_0x4f04de(0x19e)]({'input':process[_0x4f04de(0x1a0)],'output':process[_0x4f04de(0x19b)]});return new Promise(_0x2af943=>{const _0x4fb1ae=_0x4f04de;_0x44485c[_0x4fb1ae(0x1a6)](_0x4ac891+_0x4fb1ae(0x198),_0x2d18f2=>{const _0x1ba87f=_0x4fb1ae;_0x44485c[_0x1ba87f(0x1a9)](),_0x2af943(_0x2d18f2[_0x1ba87f(0x197)]()==='y'||_0x2d18f2[_0x1ba87f(0x197)]()===_0x1ba87f(0x19a));});});}
@@ -1 +1 @@
1
- (function(_0x5749bd,_0x2a431e){const _0x154f96=a75_0xd4d9,_0x2880e5=_0x5749bd();while(!![]){try{const _0x216aac=-parseInt(_0x154f96(0x160))/0x1+-parseInt(_0x154f96(0x168))/0x2+parseInt(_0x154f96(0x167))/0x3*(parseInt(_0x154f96(0x171))/0x4)+-parseInt(_0x154f96(0x15d))/0x5*(-parseInt(_0x154f96(0x162))/0x6)+-parseInt(_0x154f96(0x179))/0x7*(-parseInt(_0x154f96(0x173))/0x8)+-parseInt(_0x154f96(0x16d))/0x9*(parseInt(_0x154f96(0x16e))/0xa)+parseInt(_0x154f96(0x177))/0xb;if(_0x216aac===_0x2a431e)break;else _0x2880e5['push'](_0x2880e5['shift']());}catch(_0x5e4992){_0x2880e5['push'](_0x2880e5['shift']());}}}(a75_0x5eb5,0xc7eff));export function parsePath(_0x26f1f5){const _0x53d4d7=a75_0xd4d9;if(!_0x26f1f5||_0x26f1f5[_0x53d4d7(0x166)]()==='')throw new Error(_0x53d4d7(0x161));const _0x40f9a2=_0x26f1f5[_0x53d4d7(0x166)]();if(_0x40f9a2==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x26f1f5};const _0x3a7730=_0x40f9a2[_0x53d4d7(0x174)]('/')?_0x40f9a2['substring'](0x1):_0x40f9a2,_0x2378ea=_0x3a7730[_0x53d4d7(0x175)]('/')[_0x53d4d7(0x172)](_0x29d26d=>_0x29d26d!=='');if(_0x2378ea['length']===0x0)throw new Error(_0x53d4d7(0x16f));const _0x5a157d=_0x40f9a2['startsWith']('/')||!isRelativePathSegment(_0x2378ea[0x0]);for(const _0x356c71 of _0x2378ea){validatePathSegment(_0x356c71);}return{'segments':_0x2378ea,'isAbsolute':_0x5a157d,'raw':_0x26f1f5};}function isRelativePathSegment(_0x4f38f3){return _0x4f38f3==='.'||_0x4f38f3==='..';}function validatePathSegment(_0x2c98ac){const _0x318c26=a75_0xd4d9;if(_0x2c98ac==='')throw new Error(_0x318c26(0x16a));if(_0x2c98ac==='.'||_0x2c98ac==='..')return;if(/[\x00-\x1F\x7F]/[_0x318c26(0x15c)](_0x2c98ac))throw new Error(_0x318c26(0x15e)+_0x2c98ac);if(_0x2c98ac!==_0x2c98ac[_0x318c26(0x166)]()){}}export function validatePath(_0x7fc9e){const _0x52e2fd=a75_0xd4d9;if(_0x7fc9e[_0x52e2fd(0x178)][_0x52e2fd(0x170)]===0x0&&!_0x7fc9e['isAbsolute'])throw new Error('Relative\x20path\x20cannot\x20be\x20empty');if(_0x7fc9e['isAbsolute']){if(_0x7fc9e[_0x52e2fd(0x178)][0x0]==='..')throw new Error('Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22');let _0x4daad0=0x0;for(const _0xdf66 of _0x7fc9e[_0x52e2fd(0x178)]){if(_0xdf66==='..'){if(_0x4daad0===0x0)throw new Error(_0x52e2fd(0x163));_0x4daad0--;}else _0xdf66!=='.'&&_0x4daad0++;}}}export function joinPaths(_0x50cfea,_0xa712c0){const _0x5ecaa0=a75_0xd4d9;if(!_0x50cfea||_0x50cfea==='/')return _0xa712c0;if(!_0xa712c0||_0xa712c0==='.')return _0x50cfea;if(_0xa712c0['startsWith']('/'))return _0xa712c0;const _0x3ca3fb=parsePath(_0x50cfea),_0x32680d=parsePath(_0xa712c0),_0xa16c5c=[..._0x3ca3fb[_0x5ecaa0(0x178)]];for(const _0x45e7f8 of _0x32680d[_0x5ecaa0(0x178)]){if(_0x45e7f8==='.')continue;else{if(_0x45e7f8==='..'){if(_0xa16c5c['length']===0x0)throw new Error(_0x5ecaa0(0x164));_0xa16c5c[_0x5ecaa0(0x169)]();}else _0xa16c5c[_0x5ecaa0(0x16c)](_0x45e7f8);}}const _0x194b08=_0xa16c5c[_0x5ecaa0(0x165)]('/');return _0x3ca3fb[_0x5ecaa0(0x16b)][_0x5ecaa0(0x174)]('/')?'/'+_0x194b08:_0x194b08;}export function normalizePath(_0x3c7e0b){const _0x2c8925=a75_0xd4d9,_0x9524e7=parsePath(_0x3c7e0b),_0x1c01b3=[];for(const _0x249288 of _0x9524e7['segments']){if(_0x249288==='.')continue;else{if(_0x249288==='..'){if(_0x1c01b3[_0x2c8925(0x170)]===0x0){if(_0x9524e7[_0x2c8925(0x15b)])throw new Error(_0x2c8925(0x164));_0x1c01b3[_0x2c8925(0x16c)]('..');}else _0x1c01b3[_0x1c01b3['length']-0x1]==='..'?_0x1c01b3['push']('..'):_0x1c01b3[_0x2c8925(0x169)]();}else _0x1c01b3[_0x2c8925(0x16c)](_0x249288);}}if(_0x1c01b3['length']===0x0)return _0x9524e7[_0x2c8925(0x15b)]?'/':'.';const _0x30bf03=_0x1c01b3[_0x2c8925(0x165)]('/');return _0x9524e7['raw'][_0x2c8925(0x174)]('/')?'/'+_0x30bf03:_0x30bf03;}export function getParentPath(_0x204e98){const _0xd70122=a75_0xd4d9,_0x42c799=parsePath(_0x204e98);if(_0x42c799[_0xd70122(0x178)][_0xd70122(0x170)]<=0x1)return'/';const _0x2ad1cb=_0x42c799[_0xd70122(0x178)][_0xd70122(0x15f)](0x0,-0x1)[_0xd70122(0x165)]('/');return _0x42c799[_0xd70122(0x16b)]['startsWith']('/')?'/'+_0x2ad1cb:_0x2ad1cb;}function a75_0xd4d9(_0x48d194,_0x41220c){const _0x5eb568=a75_0x5eb5();return a75_0xd4d9=function(_0xd4d973,_0x2df6cb){_0xd4d973=_0xd4d973-0x15b;let _0x3430f3=_0x5eb568[_0xd4d973];return _0x3430f3;},a75_0xd4d9(_0x48d194,_0x41220c);}export function getBaseName(_0x22d904){const _0x81e436=a75_0xd4d9,_0x5b00cc=parsePath(_0x22d904);return _0x5b00cc[_0x81e436(0x178)][_0x5b00cc[_0x81e436(0x178)]['length']-0x1]||'';}export function isChildPath(_0x38a158,_0x1736d2){const _0x54292b=a75_0xd4d9,_0x527195=parsePath(_0x38a158),_0x33c4dd=parsePath(_0x1736d2);if(_0x527195[_0x54292b(0x178)][_0x54292b(0x170)]<=_0x33c4dd[_0x54292b(0x178)][_0x54292b(0x170)])return![];for(let _0x22b08d=0x0;_0x22b08d<_0x33c4dd['segments'][_0x54292b(0x170)];_0x22b08d++){if(_0x527195[_0x54292b(0x178)][_0x22b08d]!==_0x33c4dd['segments'][_0x22b08d])return![];}return!![];}function a75_0x5eb5(){const _0x195945=['startsWith','split','Cannot\x20split\x20empty\x20path','11411895XqEaqV','segments','7NfiyER','isAbsolute','test','5ECvWcD','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','slice','1254320aSdPjb','Path\x20cannot\x20be\x20empty','112830BcZYzM','Path\x20attempts\x20to\x20navigate\x20above\x20root','Cannot\x20navigate\x20above\x20root','join','trim','3703380yQjYki','1611432gQSvnL','pop','Path\x20segment\x20cannot\x20be\x20empty','raw','push','104283RwcJVb','90kNxTSW','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','length','4uuEiXd','filter','5540416GCaqkh'];a75_0x5eb5=function(){return _0x195945;};return a75_0x5eb5();}export function splitPath(_0x579670){const _0x385af8=a75_0xd4d9,_0x24f556=parsePath(_0x579670);if(_0x24f556[_0x385af8(0x178)][_0x385af8(0x170)]===0x0)throw new Error(_0x385af8(0x176));if(_0x24f556[_0x385af8(0x178)][_0x385af8(0x170)]===0x1)return{'parent':_0x24f556[_0x385af8(0x178)][0x0]};return{'parent':_0x24f556['segments'][0x0],'child':_0x24f556[_0x385af8(0x178)]['slice'](0x1)[_0x385af8(0x165)]('/')};}
1
+ (function(_0x2fff64,_0x397de0){const _0x737db=a75_0xd234,_0x59b99a=_0x2fff64();while(!![]){try{const _0x4755b8=parseInt(_0x737db(0x160))/0x1+-parseInt(_0x737db(0x151))/0x2*(parseInt(_0x737db(0x15f))/0x3)+-parseInt(_0x737db(0x146))/0x4+parseInt(_0x737db(0x152))/0x5+parseInt(_0x737db(0x147))/0x6+parseInt(_0x737db(0x153))/0x7*(parseInt(_0x737db(0x150))/0x8)+-parseInt(_0x737db(0x148))/0x9;if(_0x4755b8===_0x397de0)break;else _0x59b99a['push'](_0x59b99a['shift']());}catch(_0x5d3785){_0x59b99a['push'](_0x59b99a['shift']());}}}(a75_0x5951,0xb0140));export function parsePath(_0x3ff77c){const _0x55581a=a75_0xd234;if(!_0x3ff77c||_0x3ff77c['trim']()==='')throw new Error(_0x55581a(0x143));const _0x1290d9=_0x3ff77c[_0x55581a(0x156)]();if(_0x1290d9==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x3ff77c};const _0x2415cd=_0x1290d9['startsWith']('/')?_0x1290d9[_0x55581a(0x157)](0x1):_0x1290d9,_0x5858ea=_0x2415cd['split']('/')[_0x55581a(0x159)](_0x2997d2=>_0x2997d2!=='');if(_0x5858ea[_0x55581a(0x149)]===0x0)throw new Error(_0x55581a(0x15b));const _0x2e60d1=_0x1290d9['startsWith']('/')||!isRelativePathSegment(_0x5858ea[0x0]);for(const _0x53fbff of _0x5858ea){validatePathSegment(_0x53fbff);}return{'segments':_0x5858ea,'isAbsolute':_0x2e60d1,'raw':_0x3ff77c};}function isRelativePathSegment(_0x308546){return _0x308546==='.'||_0x308546==='..';}function validatePathSegment(_0x46f418){const _0x1f5f92=a75_0xd234;if(_0x46f418==='')throw new Error(_0x1f5f92(0x14c));if(_0x46f418==='.'||_0x46f418==='..')return;if(/[\x00-\x1F\x7F]/[_0x1f5f92(0x14a)](_0x46f418))throw new Error(_0x1f5f92(0x158)+_0x46f418);if(_0x46f418!==_0x46f418[_0x1f5f92(0x156)]()){}}export function validatePath(_0x15f69e){const _0x24ce19=a75_0xd234;if(_0x15f69e['segments'][_0x24ce19(0x149)]===0x0&&!_0x15f69e['isAbsolute'])throw new Error(_0x24ce19(0x154));if(_0x15f69e[_0x24ce19(0x14d)]){if(_0x15f69e['segments'][0x0]==='..')throw new Error(_0x24ce19(0x15a));let _0x3b2d4b=0x0;for(const _0x335b6d of _0x15f69e['segments']){if(_0x335b6d==='..'){if(_0x3b2d4b===0x0)throw new Error(_0x24ce19(0x15c));_0x3b2d4b--;}else _0x335b6d!=='.'&&_0x3b2d4b++;}}}export function joinPaths(_0x1fea9c,_0x283ee9){const _0x3d458a=a75_0xd234;if(!_0x1fea9c||_0x1fea9c==='/')return _0x283ee9;if(!_0x283ee9||_0x283ee9==='.')return _0x1fea9c;if(_0x283ee9['startsWith']('/'))return _0x283ee9;const _0x9e11b4=parsePath(_0x1fea9c),_0x517eea=parsePath(_0x283ee9),_0x586cb2=[..._0x9e11b4[_0x3d458a(0x14e)]];for(const _0x464774 of _0x517eea['segments']){if(_0x464774==='.')continue;else{if(_0x464774==='..'){if(_0x586cb2['length']===0x0)throw new Error(_0x3d458a(0x14f));_0x586cb2[_0x3d458a(0x155)]();}else _0x586cb2[_0x3d458a(0x145)](_0x464774);}}const _0x5e09aa=_0x586cb2[_0x3d458a(0x15d)]('/');return _0x9e11b4[_0x3d458a(0x142)]['startsWith']('/')?'/'+_0x5e09aa:_0x5e09aa;}export function normalizePath(_0x3c64a2){const _0x34285e=a75_0xd234,_0x53e16f=parsePath(_0x3c64a2),_0x389fe9=[];for(const _0xfd881 of _0x53e16f[_0x34285e(0x14e)]){if(_0xfd881==='.')continue;else{if(_0xfd881==='..'){if(_0x389fe9[_0x34285e(0x149)]===0x0){if(_0x53e16f[_0x34285e(0x14d)])throw new Error('Cannot\x20navigate\x20above\x20root');_0x389fe9[_0x34285e(0x145)]('..');}else _0x389fe9[_0x389fe9[_0x34285e(0x149)]-0x1]==='..'?_0x389fe9[_0x34285e(0x145)]('..'):_0x389fe9[_0x34285e(0x155)]();}else _0x389fe9['push'](_0xfd881);}}if(_0x389fe9[_0x34285e(0x149)]===0x0)return _0x53e16f[_0x34285e(0x14d)]?'/':'.';const _0x50c41f=_0x389fe9[_0x34285e(0x15d)]('/');return _0x53e16f[_0x34285e(0x142)][_0x34285e(0x15e)]('/')?'/'+_0x50c41f:_0x50c41f;}function a75_0xd234(_0x5a94f4,_0x2c1477){const _0x59518d=a75_0x5951();return a75_0xd234=function(_0xd234b9,_0x33e739){_0xd234b9=_0xd234b9-0x142;let _0x2b9c61=_0x59518d[_0xd234b9];return _0x2b9c61;},a75_0xd234(_0x5a94f4,_0x2c1477);}export function getParentPath(_0x42eba2){const _0x7610bd=a75_0xd234,_0x41613f=parsePath(_0x42eba2);if(_0x41613f['segments'][_0x7610bd(0x149)]<=0x1)return'/';const _0xc29923=_0x41613f[_0x7610bd(0x14e)][_0x7610bd(0x144)](0x0,-0x1)[_0x7610bd(0x15d)]('/');return _0x41613f[_0x7610bd(0x142)]['startsWith']('/')?'/'+_0xc29923:_0xc29923;}export function getBaseName(_0x3848f9){const _0x3f78d3=a75_0xd234,_0x5c8d49=parsePath(_0x3848f9);return _0x5c8d49[_0x3f78d3(0x14e)][_0x5c8d49[_0x3f78d3(0x14e)][_0x3f78d3(0x149)]-0x1]||'';}export function isChildPath(_0x4bfa54,_0x225ee5){const _0x1a7629=a75_0xd234,_0x5702c5=parsePath(_0x4bfa54),_0x273be7=parsePath(_0x225ee5);if(_0x5702c5[_0x1a7629(0x14e)]['length']<=_0x273be7['segments'][_0x1a7629(0x149)])return![];for(let _0x120a9d=0x0;_0x120a9d<_0x273be7['segments'][_0x1a7629(0x149)];_0x120a9d++){if(_0x5702c5[_0x1a7629(0x14e)][_0x120a9d]!==_0x273be7['segments'][_0x120a9d])return![];}return!![];}export function splitPath(_0x51bbdf){const _0xbbd3e3=a75_0xd234,_0x3eeed5=parsePath(_0x51bbdf);if(_0x3eeed5['segments'][_0xbbd3e3(0x149)]===0x0)throw new Error(_0xbbd3e3(0x14b));if(_0x3eeed5['segments'][_0xbbd3e3(0x149)]===0x1)return{'parent':_0x3eeed5['segments'][0x0]};return{'parent':_0x3eeed5[_0xbbd3e3(0x14e)][0x0],'child':_0x3eeed5[_0xbbd3e3(0x14e)][_0xbbd3e3(0x144)](0x1)[_0xbbd3e3(0x15d)]('/')};}function a75_0x5951(){const _0x47d415=['Relative\x20path\x20cannot\x20be\x20empty','pop','trim','substring','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','filter','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','Path\x20attempts\x20to\x20navigate\x20above\x20root','join','startsWith','12315CGqxLt','655242JfRpsz','raw','Path\x20cannot\x20be\x20empty','slice','push','3219020onxtdC','8150004dYANzT','4760451sJRcnD','length','test','Cannot\x20split\x20empty\x20path','Path\x20segment\x20cannot\x20be\x20empty','isAbsolute','segments','Cannot\x20navigate\x20above\x20root','3662104NovozF','236xyXUkT','339805LEXylT','7imjCRA'];a75_0x5951=function(){return _0x47d415;};return a75_0x5951();}
@@ -1 +1 @@
1
- function a76_0x1632(){const _0x18c615=['.\x20Child\x20name\x20cannot\x20be\x20empty','1724219cDtSwv','.\x20Parent\x20name\x20cannot\x20be\x20empty','8hrckGG','141352hKvHMQ','substring','7505090XrEBGj','109304FcudSj','12618063sRTFuG','52991150hGZUCb','96NEGjPF','6qRmdNX','Invalid\x20segment\x20reference\x20format:\x20','73568iMNmRu'];a76_0x1632=function(){return _0x18c615;};return a76_0x1632();}function a76_0x24a4(_0x5cca21,_0x1b505c){const _0x1632af=a76_0x1632();return a76_0x24a4=function(_0x24a4c2,_0x33d043){_0x24a4c2=_0x24a4c2-0xab;let _0x39ef83=_0x1632af[_0x24a4c2];return _0x39ef83;},a76_0x24a4(_0x5cca21,_0x1b505c);}(function(_0x5d90e9,_0x5e8d65){const _0xdd5c79=a76_0x24a4,_0x29fabc=_0x5d90e9();while(!![]){try{const _0x36b083=-parseInt(_0xdd5c79(0xb8))/0x1+parseInt(_0xdd5c79(0xb3))/0x2*(-parseInt(_0xdd5c79(0xb0))/0x3)+-parseInt(_0xdd5c79(0xad))/0x4+-parseInt(_0xdd5c79(0xac))/0x5+-parseInt(_0xdd5c79(0xb1))/0x6*(parseInt(_0xdd5c79(0xb5))/0x7)+parseInt(_0xdd5c79(0xb7))/0x8*(-parseInt(_0xdd5c79(0xae))/0x9)+parseInt(_0xdd5c79(0xaf))/0xa;if(_0x36b083===_0x5e8d65)break;else _0x29fabc['push'](_0x29fabc['shift']());}catch(_0x18aec8){_0x29fabc['push'](_0x29fabc['shift']());}}}(a76_0x1632,0xc44a7));export function parseSegmentRef(_0x428b7e){const _0x23af9d=a76_0x24a4,_0x3b2885=_0x428b7e['indexOf']('/');if(_0x3b2885===-0x1)return{'parentId':_0x428b7e};if(_0x3b2885===0x0)throw new Error(_0x23af9d(0xb2)+_0x428b7e+_0x23af9d(0xb6));const _0x214df3=_0x428b7e['substring'](0x0,_0x3b2885),_0xb0433c=_0x428b7e[_0x23af9d(0xab)](_0x3b2885+0x1);if(_0xb0433c==='')throw new Error(_0x23af9d(0xb2)+_0x428b7e+_0x23af9d(0xb4));return{'parentId':_0x214df3,'childId':_0xb0433c};}
1
+ function a76_0x5ba0(_0x334494,_0x2ee0cf){const _0x4db278=a76_0x4db2();return a76_0x5ba0=function(_0x5ba086,_0x2ab586){_0x5ba086=_0x5ba086-0x1a5;let _0x306e10=_0x4db278[_0x5ba086];return _0x306e10;},a76_0x5ba0(_0x334494,_0x2ee0cf);}(function(_0x5b7c3c,_0x4e3873){const _0x3dd267=a76_0x5ba0,_0x2a6703=_0x5b7c3c();while(!![]){try{const _0x5b840b=-parseInt(_0x3dd267(0x1a7))/0x1+parseInt(_0x3dd267(0x1a8))/0x2*(-parseInt(_0x3dd267(0x1a6))/0x3)+-parseInt(_0x3dd267(0x1b1))/0x4*(parseInt(_0x3dd267(0x1b0))/0x5)+-parseInt(_0x3dd267(0x1b2))/0x6*(parseInt(_0x3dd267(0x1b4))/0x7)+-parseInt(_0x3dd267(0x1b3))/0x8*(-parseInt(_0x3dd267(0x1ab))/0x9)+-parseInt(_0x3dd267(0x1af))/0xa*(parseInt(_0x3dd267(0x1aa))/0xb)+parseInt(_0x3dd267(0x1ae))/0xc;if(_0x5b840b===_0x4e3873)break;else _0x2a6703['push'](_0x2a6703['shift']());}catch(_0x55cd56){_0x2a6703['push'](_0x2a6703['shift']());}}}(a76_0x4db2,0x387d6));export function parseSegmentRef(_0x55d534){const _0x311be0=a76_0x5ba0,_0x135498=_0x55d534['indexOf']('/');if(_0x135498===-0x1)return{'parentId':_0x55d534};if(_0x135498===0x0)throw new Error(_0x311be0(0x1a5)+_0x55d534+_0x311be0(0x1a9));const _0xde7073=_0x55d534['substring'](0x0,_0x135498),_0x11d638=_0x55d534[_0x311be0(0x1ac)](_0x135498+0x1);if(_0x11d638==='')throw new Error(_0x311be0(0x1a5)+_0x55d534+_0x311be0(0x1ad));return{'parentId':_0xde7073,'childId':_0x11d638};}function a76_0x4db2(){const _0x102cb9=['.\x20Parent\x20name\x20cannot\x20be\x20empty','11XpRnrE','9LxhBZJ','substring','.\x20Child\x20name\x20cannot\x20be\x20empty','11938980dMhfVD','1402240RdOjTd','25mhoQRq','90844UibVtg','44994vtvtwd','1714904XkDCBq','35naiKID','Invalid\x20segment\x20reference\x20format:\x20','27sRostC','395517UUsZDv','64690mjRftG'];a76_0x4db2=function(){return _0x102cb9;};return a76_0x4db2();}
@@ -1 +1 @@
1
- (function(_0x20e0ae,_0x2ccd29){const _0x77d737=a77_0x27c5,_0x1ebf5d=_0x20e0ae();while(!![]){try{const _0x47f0d4=parseInt(_0x77d737(0x181))/0x1+-parseInt(_0x77d737(0x184))/0x2*(-parseInt(_0x77d737(0x17c))/0x3)+-parseInt(_0x77d737(0x16d))/0x4*(parseInt(_0x77d737(0x176))/0x5)+-parseInt(_0x77d737(0x179))/0x6+-parseInt(_0x77d737(0x174))/0x7+parseInt(_0x77d737(0x16c))/0x8*(parseInt(_0x77d737(0x171))/0x9)+-parseInt(_0x77d737(0x177))/0xa*(-parseInt(_0x77d737(0x182))/0xb);if(_0x47f0d4===_0x2ccd29)break;else _0x1ebf5d['push'](_0x1ebf5d['shift']());}catch(_0x42951e){_0x1ebf5d['push'](_0x1ebf5d['shift']());}}}(a77_0x3bb7,0xe99a5));import a77_0x20bc12 from'ora';function a77_0x27c5(_0x52a951,_0x150ff4){const _0x3bb76e=a77_0x3bb7();return a77_0x27c5=function(_0x27c542,_0xacbc5e){_0x27c542=_0x27c542-0x16c;let _0x36ef7f=_0x3bb76e[_0x27c542];return _0x36ef7f;},a77_0x27c5(_0x52a951,_0x150ff4);}export function createCommandSpinner(_0x464812,_0xa951c7={}){const _0x295ffe=a77_0x27c5,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0xa951c7;return a77_0x20bc12({'text':_0x464812,'color':'cyan','isEnabled':forceEnabled||process[_0x295ffe(0x170)][_0x295ffe(0x16e)]&&!verbose});}export async function withSpinner(_0x5318ee,_0xa8d974,_0x459730={}){const _0x19b1c2=a77_0x27c5,_0x3c37ed=_0x459730['clock']??(()=>Date[_0x19b1c2(0x172)]()),_0xed5b54=createCommandSpinner(_0x5318ee,_0x459730);_0xed5b54[_0x19b1c2(0x17e)]();const _0x52b290=_0x3c37ed();try{const _0x226c42=await _0xa8d974(),_0x40925a=_0x3c37ed()-_0x52b290;return _0xed5b54[_0x19b1c2(0x173)](),{'data':_0x226c42,'elapsedMs':_0x40925a};}catch(_0x29c047){_0xed5b54['stop']();throw _0x29c047;}}export async function withQuerySpinner(_0x35dd75,_0x502909,_0xb657e6={}){const _0x2e2fb7=a77_0x27c5,_0x420d03=_0xb657e6[_0x2e2fb7(0x17d)]??(()=>Date['now']()),_0x3b7b13=_0xb657e6['intervalFactory']??setInterval,_0x28bfda=createCommandSpinner(_0x35dd75,_0xb657e6);_0x28bfda[_0x2e2fb7(0x17e)]();const _0x5ae51c=_0x420d03(),_0x2403be=_0x35dd75['replace'](_0x2e2fb7(0x17a),''),_0x2b75c3={},_0x55540=()=>{const _0x246b65=_0x2e2fb7;if(!_0x28bfda[_0x246b65(0x17b)])return;const _0x4904ff=_0x420d03()-_0x5ae51c,_0x1d868a=formatElapsed(_0x4904ff),_0x58b582=_0x2b75c3['phase']??_0x2403be,_0xc36d41=_0x2b75c3['jobId']?_0x246b65(0x185)+_0x2b75c3[_0x246b65(0x178)]+']':'',_0x174174=_0x2b75c3['extra']?'\x20'+_0x2b75c3['extra']:'';_0x28bfda[_0x246b65(0x175)]=_0x58b582+'\x20'+_0x1d868a+_0x174174+_0xc36d41;},_0x1c9a8c=_0x3b7b13(()=>{_0x55540();},0x3e8),_0x26240b={'setPhase':_0x449f82=>{const _0x43ac6e=_0x2e2fb7;_0x2b75c3[_0x43ac6e(0x180)]=_0x449f82,_0x55540();},'setJobId':_0x40b486=>{const _0x45dc22=_0x2e2fb7;_0x2b75c3[_0x45dc22(0x178)]=_0x40b486,_0x55540();},'setExtra':_0x5d0ac7=>{const _0xbe2f6f=_0x2e2fb7;_0x2b75c3[_0xbe2f6f(0x183)]=_0x5d0ac7,_0x55540();}};_0x55540();try{const _0x5132c4=await _0x502909(_0x26240b),_0x4a92f0=_0x420d03()-_0x5ae51c;return{'data':_0x5132c4,'elapsedMs':_0x4a92f0};}finally{clearInterval(_0x1c9a8c),_0x28bfda['stop']();}}export function formatElapsed(_0x667faa){const _0x4b26e7=a77_0x27c5,_0xb3900f=Math[_0x4b26e7(0x16f)](_0x667faa/0x3e8);if(_0xb3900f<0x3c)return(_0x667faa/0x3e8)[_0x4b26e7(0x17f)](0x1)+'s';const _0xeda6c6=Math[_0x4b26e7(0x16f)](_0xb3900f/0x3c),_0x4f9487=_0xb3900f%0x3c;if(_0xeda6c6<0x3c)return _0xeda6c6+'m\x20'+_0x4f9487+'s';const _0x59111d=Math['floor'](_0xeda6c6/0x3c),_0x1bd2ce=_0xeda6c6%0x3c;return _0x59111d+'h\x20'+_0x1bd2ce+'m';}function a77_0x3bb7(){const _0x1eeabe=['jobId','3730908xmJAfL','...','isSpinning','6IyncBJ','clock','start','toFixed','phase','83036KvSrWb','715wjKBtr','extra','1499606iQjBJl','\x20[Job\x20ID:\x20','168boaMeF','4xSsCCk','isTTY','floor','stdout','216189ujojpY','now','stop','8315363cRmdse','text','5195920YjZCfd','264410SUbQEF'];a77_0x3bb7=function(){return _0x1eeabe;};return a77_0x3bb7();}
1
+ function a77_0x2aaf(_0x18f8f2,_0x399d22){const _0xf05a25=a77_0xf05a();return a77_0x2aaf=function(_0x2aafa7,_0x331c3a){_0x2aafa7=_0x2aafa7-0x193;let _0x3f4fa7=_0xf05a25[_0x2aafa7];return _0x3f4fa7;},a77_0x2aaf(_0x18f8f2,_0x399d22);}(function(_0x40de19,_0x50275e){const _0x312b20=a77_0x2aaf,_0x47503f=_0x40de19();while(!![]){try{const _0x252f6b=-parseInt(_0x312b20(0x19b))/0x1*(parseInt(_0x312b20(0x197))/0x2)+-parseInt(_0x312b20(0x1aa))/0x3*(-parseInt(_0x312b20(0x1ae))/0x4)+-parseInt(_0x312b20(0x19e))/0x5*(-parseInt(_0x312b20(0x195))/0x6)+parseInt(_0x312b20(0x1a8))/0x7+parseInt(_0x312b20(0x19a))/0x8*(parseInt(_0x312b20(0x1ac))/0x9)+-parseInt(_0x312b20(0x193))/0xa*(-parseInt(_0x312b20(0x1a5))/0xb)+-parseInt(_0x312b20(0x1a1))/0xc*(parseInt(_0x312b20(0x1a4))/0xd);if(_0x252f6b===_0x50275e)break;else _0x47503f['push'](_0x47503f['shift']());}catch(_0xe2b8e6){_0x47503f['push'](_0x47503f['shift']());}}}(a77_0xf05a,0x3131a));import a77_0x10b97c from'ora';function a77_0xf05a(){const _0x27ad0a=['floor','clock','2717323hAWrlQ','start','69aUUhTD','isSpinning','18iHgOTr','toFixed','12404TIwigW','640dQdpue','stop','1353762SgpTVl','now','6002LNNoWP','cyan','text','376952ZtNkZF','18YPreOq','jobId','phase','5XDVnYL','extra','replace','897564xXesFs','intervalFactory','...','117ytgLlr','25663RpiEPM'];a77_0xf05a=function(){return _0x27ad0a;};return a77_0xf05a();}export function createCommandSpinner(_0x92b20a,_0x1d734e={}){const _0x2918a3=a77_0x2aaf,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x1d734e;return a77_0x10b97c({'text':_0x92b20a,'color':_0x2918a3(0x198),'isEnabled':forceEnabled||process['stdout']['isTTY']&&!verbose});}export async function withSpinner(_0x9c947d,_0x5cbdfa,_0x3ca3d4={}){const _0x3833f9=a77_0x2aaf,_0x34a859=_0x3ca3d4['clock']??(()=>Date['now']()),_0x26219b=createCommandSpinner(_0x9c947d,_0x3ca3d4);_0x26219b[_0x3833f9(0x1a9)]();const _0x36efd7=_0x34a859();try{const _0x15db84=await _0x5cbdfa(),_0x50d55f=_0x34a859()-_0x36efd7;return _0x26219b[_0x3833f9(0x194)](),{'data':_0x15db84,'elapsedMs':_0x50d55f};}catch(_0x11e91d){_0x26219b[_0x3833f9(0x194)]();throw _0x11e91d;}}export async function withQuerySpinner(_0x5a0ce6,_0x5c0ff2,_0x43e43f={}){const _0x4903c4=a77_0x2aaf,_0xc29f40=_0x43e43f[_0x4903c4(0x1a7)]??(()=>Date[_0x4903c4(0x196)]()),_0x448b0e=_0x43e43f[_0x4903c4(0x1a2)]??setInterval,_0xeb18c1=createCommandSpinner(_0x5a0ce6,_0x43e43f);_0xeb18c1['start']();const _0x56e3b2=_0xc29f40(),_0x35d445=_0x5a0ce6[_0x4903c4(0x1a0)](_0x4903c4(0x1a3),''),_0x512d12={},_0x58975c=()=>{const _0xed2a85=_0x4903c4;if(!_0xeb18c1[_0xed2a85(0x1ab)])return;const _0x2c3353=_0xc29f40()-_0x56e3b2,_0x41979a=formatElapsed(_0x2c3353),_0x2b3f10=_0x512d12['phase']??_0x35d445,_0x242dee=_0x512d12[_0xed2a85(0x19c)]?'\x20[Job\x20ID:\x20'+_0x512d12[_0xed2a85(0x19c)]+']':'',_0x5c03d2=_0x512d12[_0xed2a85(0x19f)]?'\x20'+_0x512d12[_0xed2a85(0x19f)]:'';_0xeb18c1[_0xed2a85(0x199)]=_0x2b3f10+'\x20'+_0x41979a+_0x5c03d2+_0x242dee;},_0x2c1f45=_0x448b0e(()=>{_0x58975c();},0x3e8),_0x41fe02={'setPhase':_0x32333e=>{const _0x30819a=_0x4903c4;_0x512d12[_0x30819a(0x19d)]=_0x32333e,_0x58975c();},'setJobId':_0x4759d1=>{_0x512d12['jobId']=_0x4759d1,_0x58975c();},'setExtra':_0x53c323=>{_0x512d12['extra']=_0x53c323,_0x58975c();}};_0x58975c();try{const _0x2f66ce=await _0x5c0ff2(_0x41fe02),_0x5002bf=_0xc29f40()-_0x56e3b2;return{'data':_0x2f66ce,'elapsedMs':_0x5002bf};}finally{clearInterval(_0x2c1f45),_0xeb18c1['stop']();}}export function formatElapsed(_0x3de369){const _0x4455c9=a77_0x2aaf,_0xef6c9b=Math[_0x4455c9(0x1a6)](_0x3de369/0x3e8);if(_0xef6c9b<0x3c)return(_0x3de369/0x3e8)[_0x4455c9(0x1ad)](0x1)+'s';const _0x5f431b=Math[_0x4455c9(0x1a6)](_0xef6c9b/0x3c),_0x5811e5=_0xef6c9b%0x3c;if(_0x5f431b<0x3c)return _0x5f431b+'m\x20'+_0x5811e5+'s';const _0x26cdff=Math['floor'](_0x5f431b/0x3c),_0x224e37=_0x5f431b%0x3c;return _0x26cdff+'h\x20'+_0x224e37+'m';}
@@ -1 +1 @@
1
- function a78_0x5bd0(){const _0x16eb58=['1257798tXreky','56pMztpo','push','EACCES','Content\x20contains\x20no\x20SQL\x20statements','2329576AOkDgq','trim','Error\x20reading\x20file\x20\x27','5906100QORqrx','\x27:\x20','length','message','\x27\x20not\x20found','1466554XYqSwD','5767452ejlyxJ','File\x20\x27','4782104LSqhuZ','map','utf-8','4085412TfEYqq','replace'];a78_0x5bd0=function(){return _0x16eb58;};return a78_0x5bd0();}(function(_0x518124,_0x513705){const _0x4ab702=a78_0x4055,_0x5c70a7=_0x518124();while(!![]){try{const _0x56b28a=parseInt(_0x4ab702(0x1b6))/0x1+-parseInt(_0x4ab702(0x1a9))/0x2+-parseInt(_0x4ab702(0x1a7))/0x3+parseInt(_0x4ab702(0x1a4))/0x4+-parseInt(_0x4ab702(0x1b1))/0x5+-parseInt(_0x4ab702(0x1b7))/0x6+parseInt(_0x4ab702(0x1aa))/0x7*(parseInt(_0x4ab702(0x1ae))/0x8);if(_0x56b28a===_0x513705)break;else _0x5c70a7['push'](_0x5c70a7['shift']());}catch(_0x5ab2dc){_0x5c70a7['push'](_0x5c70a7['shift']());}}}(a78_0x5bd0,0xd197b));import{readFileSync}from'fs';export function stripSqlComments(_0x3ef928){const _0x9cedab=a78_0x4055;let _0x253025=_0x3ef928['replace'](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x253025=_0x253025[_0x9cedab(0x1a8)](/--.*$/gm,''),_0x253025['trim']();}function a78_0x4055(_0x3e830a,_0xfc8321){const _0x5bd0a0=a78_0x5bd0();return a78_0x4055=function(_0x4055e6,_0x310d32){_0x4055e6=_0x4055e6-0x1a3;let _0xee7969=_0x5bd0a0[_0x4055e6];return _0xee7969;},a78_0x4055(_0x3e830a,_0xfc8321);}function isEscaped(_0x1d581c,_0x3cbcf7){let _0x1f367a=0x0;for(let _0x17d64e=_0x3cbcf7-0x1;_0x17d64e>=0x0&&_0x1d581c[_0x17d64e]==='\x5c';_0x17d64e--){_0x1f367a++;}return _0x1f367a%0x2===0x1;}export function splitSqlStatements(_0x436c6c){const _0x2db40d=a78_0x4055,_0x4f1889=stripSqlComments(_0x436c6c);if(!_0x4f1889)throw new Error(_0x2db40d(0x1ad));const _0x568f82=[];let _0x3e9da7='',_0x4bb059=![],_0x206ca3=![],_0x2fd846=![];for(let _0x28acf7=0x0;_0x28acf7<_0x436c6c['length'];_0x28acf7++){const _0x2b55a3=_0x436c6c[_0x28acf7];if(_0x2b55a3==='\x27'&&!isEscaped(_0x436c6c,_0x28acf7)&&!_0x206ca3&&!_0x2fd846)_0x4bb059=!_0x4bb059;else{if(_0x2b55a3==='\x22'&&!isEscaped(_0x436c6c,_0x28acf7)&&!_0x4bb059&&!_0x2fd846)_0x206ca3=!_0x206ca3;else _0x2b55a3==='`'&&!isEscaped(_0x436c6c,_0x28acf7)&&!_0x4bb059&&!_0x206ca3&&(_0x2fd846=!_0x2fd846);}if(_0x2b55a3===';'&&!_0x4bb059&&!_0x206ca3&&!_0x2fd846){const _0x9e546e=_0x3e9da7[_0x2db40d(0x1af)]();_0x9e546e&&_0x568f82[_0x2db40d(0x1ab)](_0x9e546e),_0x3e9da7='';}else _0x3e9da7+=_0x2b55a3;}const _0x3d5ddf=_0x3e9da7['trim']();_0x3d5ddf&&_0x568f82[_0x2db40d(0x1ab)](_0x3d5ddf);const _0x5ba5fd=_0x568f82[_0x2db40d(0x1a5)](_0x369f38=>_0x369f38[_0x2db40d(0x1af)]())['filter'](_0x446132=>{const _0x302996=_0x2db40d,_0x5d621b=stripSqlComments(_0x446132);return _0x5d621b[_0x302996(0x1b3)]>0x0;});if(_0x5ba5fd[_0x2db40d(0x1b3)]===0x0)throw new Error(_0x2db40d(0x1ad));return _0x5ba5fd;}export function readFileContent(_0x5b22e9){const _0x2d555b=a78_0x4055;try{return readFileSync(_0x5b22e9,_0x2d555b(0x1a6));}catch(_0x39efba){const _0x5b36eb=_0x39efba['code'];if(_0x5b36eb==='ENOENT')throw new Error(_0x2d555b(0x1a3)+_0x5b22e9+_0x2d555b(0x1b5));else{if(_0x5b36eb===_0x2d555b(0x1ac))throw new Error('Permission\x20denied\x20reading\x20file\x20\x27'+_0x5b22e9+'\x27');else throw new Error(_0x2d555b(0x1b0)+_0x5b22e9+_0x2d555b(0x1b2)+_0x39efba[_0x2d555b(0x1b4)]);}}}export function readSqlStatementsFromFile(_0x19e8db){const _0x2fec54=a78_0x4055,_0x190e36=readFileContent(_0x19e8db);try{return splitSqlStatements(_0x190e36);}catch(_0x3b89d5){throw new Error(_0x2fec54(0x1a3)+_0x19e8db+'\x27\x20'+_0x3b89d5[_0x2fec54(0x1b4)]['toLowerCase']());}}
1
+ function a78_0x5122(){const _0x2223c3=['Error\x20reading\x20file\x20\x27','Permission\x20denied\x20reading\x20file\x20\x27','Content\x20contains\x20no\x20SQL\x20statements','4128600iBGuGu','883581AUMNtn','length','\x27\x20not\x20found','trim','542dypAqF','EACCES','map','358164HRdmlC','message','94105alYLbB','577ybAJKf','replace','push','9295650Wmuwgk','File\x20\x27','336YTxRZp','utf-8','code','8181858FkdVFI','filter'];a78_0x5122=function(){return _0x2223c3;};return a78_0x5122();}(function(_0x513121,_0x17a7c7){const _0x420504=a78_0x1b31,_0x2ab981=_0x513121();while(!![]){try{const _0x6e714a=parseInt(_0x420504(0x107))/0x1*(-parseInt(_0x420504(0x119))/0x2)+parseInt(_0x420504(0x115))/0x3+-parseInt(_0x420504(0x114))/0x4+parseInt(_0x420504(0x106))/0x5+-parseInt(_0x420504(0x10f))/0x6+parseInt(_0x420504(0x10a))/0x7+parseInt(_0x420504(0x10c))/0x8*(parseInt(_0x420504(0x104))/0x9);if(_0x6e714a===_0x17a7c7)break;else _0x2ab981['push'](_0x2ab981['shift']());}catch(_0x3316ff){_0x2ab981['push'](_0x2ab981['shift']());}}}(a78_0x5122,0xb9afa));import{readFileSync}from'fs';export function stripSqlComments(_0x3858d5){const _0x19e50f=a78_0x1b31;let _0x1a726c=_0x3858d5[_0x19e50f(0x108)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x1a726c=_0x1a726c['replace'](/--.*$/gm,''),_0x1a726c[_0x19e50f(0x118)]();}function a78_0x1b31(_0x9c7eda,_0x5ebbc6){const _0x5122bd=a78_0x5122();return a78_0x1b31=function(_0x1b3177,_0x562183){_0x1b3177=_0x1b3177-0x104;let _0x3229cc=_0x5122bd[_0x1b3177];return _0x3229cc;},a78_0x1b31(_0x9c7eda,_0x5ebbc6);}function isEscaped(_0xa428b1,_0x5ea1a0){let _0x44c2fb=0x0;for(let _0x4bfd9c=_0x5ea1a0-0x1;_0x4bfd9c>=0x0&&_0xa428b1[_0x4bfd9c]==='\x5c';_0x4bfd9c--){_0x44c2fb++;}return _0x44c2fb%0x2===0x1;}export function splitSqlStatements(_0x50abdb){const _0x5013ce=a78_0x1b31,_0xb09b09=stripSqlComments(_0x50abdb);if(!_0xb09b09)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');const _0x17e672=[];let _0x5eba18='',_0x23837b=![],_0x12eb2f=![],_0x2aacc5=![];for(let _0x2de503=0x0;_0x2de503<_0x50abdb[_0x5013ce(0x116)];_0x2de503++){const _0x32f3cc=_0x50abdb[_0x2de503];if(_0x32f3cc==='\x27'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x12eb2f&&!_0x2aacc5)_0x23837b=!_0x23837b;else{if(_0x32f3cc==='\x22'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x23837b&&!_0x2aacc5)_0x12eb2f=!_0x12eb2f;else _0x32f3cc==='`'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x23837b&&!_0x12eb2f&&(_0x2aacc5=!_0x2aacc5);}if(_0x32f3cc===';'&&!_0x23837b&&!_0x12eb2f&&!_0x2aacc5){const _0xa5ee94=_0x5eba18[_0x5013ce(0x118)]();_0xa5ee94&&_0x17e672[_0x5013ce(0x109)](_0xa5ee94),_0x5eba18='';}else _0x5eba18+=_0x32f3cc;}const _0x3485f9=_0x5eba18[_0x5013ce(0x118)]();_0x3485f9&&_0x17e672[_0x5013ce(0x109)](_0x3485f9);const _0x373c1c=_0x17e672[_0x5013ce(0x11b)](_0x37ada6=>_0x37ada6[_0x5013ce(0x118)]())[_0x5013ce(0x110)](_0x4de49f=>{const _0x9fbfe9=_0x5013ce,_0x21a56f=stripSqlComments(_0x4de49f);return _0x21a56f[_0x9fbfe9(0x116)]>0x0;});if(_0x373c1c[_0x5013ce(0x116)]===0x0)throw new Error(_0x5013ce(0x113));return _0x373c1c;}export function readFileContent(_0xe6422d){const _0x4af173=a78_0x1b31;try{return readFileSync(_0xe6422d,_0x4af173(0x10d));}catch(_0x382dbc){const _0x2c6a0e=_0x382dbc[_0x4af173(0x10e)];if(_0x2c6a0e==='ENOENT')throw new Error(_0x4af173(0x10b)+_0xe6422d+_0x4af173(0x117));else{if(_0x2c6a0e===_0x4af173(0x11a))throw new Error(_0x4af173(0x112)+_0xe6422d+'\x27');else throw new Error(_0x4af173(0x111)+_0xe6422d+'\x27:\x20'+_0x382dbc[_0x4af173(0x105)]);}}}export function readSqlStatementsFromFile(_0x4ca7f9){const _0x1679ab=a78_0x1b31,_0x85098d=readFileContent(_0x4ca7f9);try{return splitSqlStatements(_0x85098d);}catch(_0x271a2d){throw new Error(_0x1679ab(0x10b)+_0x4ca7f9+'\x27\x20'+_0x271a2d[_0x1679ab(0x105)]['toLowerCase']());}}
@@ -1 +1 @@
1
- function a79_0x3856(){const _0x3761cb=['parse','split','Response\x20body\x20is\x20null','5518950NPfFFb','data','24921594lNjOAJ','69111QBfckC','releaseLock','startsWith','event','11863YjSvds','read','5467720NoNCAO','158oydEta','pop','indexOf','4712976JUUTko','trim','slice','[LLM\x20API\x20SSE]\x20','1709298EUdxIA','getReader','body','606RYOhmz'];a79_0x3856=function(){return _0x3761cb;};return a79_0x3856();}(function(_0x5da674,_0x28bb52){const _0x48dc35=a79_0x528e,_0x5d0bc5=_0x5da674();while(!![]){try{const _0x1f277a=-parseInt(_0x48dc35(0x120))/0x1*(parseInt(_0x48dc35(0x123))/0x2)+-parseInt(_0x48dc35(0x12a))/0x3+-parseInt(_0x48dc35(0x126))/0x4+-parseInt(_0x48dc35(0x131))/0x5+-parseInt(_0x48dc35(0x12d))/0x6*(-parseInt(_0x48dc35(0x11c))/0x7)+parseInt(_0x48dc35(0x122))/0x8+parseInt(_0x48dc35(0x11b))/0x9;if(_0x1f277a===_0x28bb52)break;else _0x5d0bc5['push'](_0x5d0bc5['shift']());}catch(_0x5aaa92){_0x5d0bc5['push'](_0x5d0bc5['shift']());}}}(a79_0x3856,0xa14f7));export async function*parseSSEStream(_0x3132a8,_0x21f9e1){const _0x111ea2=a79_0x528e;if(!_0x3132a8[_0x111ea2(0x12c)])throw new Error(_0x111ea2(0x130));const _0x2ca07f=_0x3132a8['body'][_0x111ea2(0x12b)](),_0x20d8ba=new TextDecoder();let _0x4f2c4a='',_0x525a10={};try{while(!![]){const {done:_0x3205df,value:_0x1ff56b}=await _0x2ca07f[_0x111ea2(0x121)]();if(_0x3205df){if(_0x525a10[_0x111ea2(0x11a)]){_0x21f9e1?.['debug'](_0x111ea2(0x129)+_0x525a10['data']);const _0x48192b=parseSSEData(_0x525a10[_0x111ea2(0x11a)]);yield _0x48192b;}break;}_0x4f2c4a+=_0x20d8ba['decode'](_0x1ff56b,{'stream':!![]});const _0x2985cb=_0x4f2c4a[_0x111ea2(0x12f)]('\x0a');_0x4f2c4a=_0x2985cb[_0x111ea2(0x124)]()||'';for(const _0xe71955 of _0x2985cb){if(_0xe71955[_0x111ea2(0x127)]()===''){if(_0x525a10[_0x111ea2(0x11a)]){_0x21f9e1?.['debug'](_0x111ea2(0x129)+_0x525a10['data']);const _0x899600=parseSSEData(_0x525a10['data']);yield _0x899600,_0x525a10={};}continue;}if(_0xe71955[_0x111ea2(0x11e)](':'))continue;const _0x4dac23=_0xe71955[_0x111ea2(0x125)](':');if(_0x4dac23===-0x1)continue;const _0xb2ed74=_0xe71955[_0x111ea2(0x128)](0x0,_0x4dac23);let _0x645b4e=_0xe71955[_0x111ea2(0x128)](_0x4dac23+0x1);_0x645b4e['startsWith']('\x20')&&(_0x645b4e=_0x645b4e[_0x111ea2(0x128)](0x1));switch(_0xb2ed74){case'event':_0x525a10[_0x111ea2(0x11f)]=_0x645b4e;break;case _0x111ea2(0x11a):_0x525a10['data']=_0x525a10[_0x111ea2(0x11a)]?_0x525a10[_0x111ea2(0x11a)]+'\x0a'+_0x645b4e:_0x645b4e;break;case'id':_0x525a10['id']=_0x645b4e;break;}}}}finally{_0x2ca07f[_0x111ea2(0x11d)]();}}function a79_0x528e(_0x39e63f,_0x8f346b){const _0x3856bb=a79_0x3856();return a79_0x528e=function(_0x528e95,_0x426f19){_0x528e95=_0x528e95-0x11a;let _0x39d31b=_0x3856bb[_0x528e95];return _0x39d31b;},a79_0x528e(_0x39e63f,_0x8f346b);}function parseSSEData(_0xafa67a){const _0x506d3c=a79_0x528e;try{return JSON[_0x506d3c(0x12e)](_0xafa67a);}catch(_0x44b5ae){throw new Error('Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'+_0xafa67a,{'cause':_0x44b5ae});}}
1
+ (function(_0x1f5077,_0x11489b){const _0x5b2233=a79_0x27c6,_0x13b1dc=_0x1f5077();while(!![]){try{const _0x3c8194=-parseInt(_0x5b2233(0x172))/0x1*(parseInt(_0x5b2233(0x18a))/0x2)+parseInt(_0x5b2233(0x17a))/0x3+parseInt(_0x5b2233(0x183))/0x4*(-parseInt(_0x5b2233(0x180))/0x5)+parseInt(_0x5b2233(0x188))/0x6+parseInt(_0x5b2233(0x18c))/0x7+-parseInt(_0x5b2233(0x177))/0x8*(-parseInt(_0x5b2233(0x17b))/0x9)+-parseInt(_0x5b2233(0x174))/0xa;if(_0x3c8194===_0x11489b)break;else _0x13b1dc['push'](_0x13b1dc['shift']());}catch(_0x2441d0){_0x13b1dc['push'](_0x13b1dc['shift']());}}}(a79_0xa912,0x38b97));function a79_0x27c6(_0x585387,_0x38dae1){const _0xa912d6=a79_0xa912();return a79_0x27c6=function(_0x27c69c,_0x459c65){_0x27c69c=_0x27c69c-0x172;let _0x1a4fdf=_0xa912d6[_0x27c69c];return _0x1a4fdf;},a79_0x27c6(_0x585387,_0x38dae1);}function a79_0xa912(){const _0x171052=['parse','event','[LLM\x20API\x20SSE]\x20','startsWith','33310PtJInF','decode','body','44IZznSz','trim','data','pop','releaseLock','939336hTzuDh','split','738260WTQWeH','Response\x20body\x20is\x20null','2062718OHFWPh','1DNliqA','read','6060010zhDjIJ','debug','slice','1432JDJqcG','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','indexOf','1200315hzRKRT','21591ciVsvc'];a79_0xa912=function(){return _0x171052;};return a79_0xa912();}export async function*parseSSEStream(_0xb68c2e,_0x1fabee){const _0x3cdcc4=a79_0x27c6;if(!_0xb68c2e['body'])throw new Error(_0x3cdcc4(0x18b));const _0x3e5e0b=_0xb68c2e[_0x3cdcc4(0x182)]['getReader'](),_0x5c87e5=new TextDecoder();let _0x2e4e2d='',_0xe19a57={};try{while(!![]){const {done:_0x2c8a29,value:_0x5c1567}=await _0x3e5e0b[_0x3cdcc4(0x173)]();if(_0x2c8a29){if(_0xe19a57[_0x3cdcc4(0x185)]){_0x1fabee?.[_0x3cdcc4(0x175)](_0x3cdcc4(0x17e)+_0xe19a57['data']);const _0x145255=parseSSEData(_0xe19a57['data']);yield _0x145255;}break;}_0x2e4e2d+=_0x5c87e5[_0x3cdcc4(0x181)](_0x5c1567,{'stream':!![]});const _0x1e1338=_0x2e4e2d[_0x3cdcc4(0x189)]('\x0a');_0x2e4e2d=_0x1e1338[_0x3cdcc4(0x186)]()||'';for(const _0x4606b3 of _0x1e1338){if(_0x4606b3[_0x3cdcc4(0x184)]()===''){if(_0xe19a57['data']){_0x1fabee?.[_0x3cdcc4(0x175)]('[LLM\x20API\x20SSE]\x20'+_0xe19a57[_0x3cdcc4(0x185)]);const _0x22874c=parseSSEData(_0xe19a57['data']);yield _0x22874c,_0xe19a57={};}continue;}if(_0x4606b3[_0x3cdcc4(0x17f)](':'))continue;const _0x25b364=_0x4606b3[_0x3cdcc4(0x179)](':');if(_0x25b364===-0x1)continue;const _0x1ad6ff=_0x4606b3['slice'](0x0,_0x25b364);let _0x17853d=_0x4606b3[_0x3cdcc4(0x176)](_0x25b364+0x1);_0x17853d[_0x3cdcc4(0x17f)]('\x20')&&(_0x17853d=_0x17853d[_0x3cdcc4(0x176)](0x1));switch(_0x1ad6ff){case _0x3cdcc4(0x17d):_0xe19a57[_0x3cdcc4(0x17d)]=_0x17853d;break;case _0x3cdcc4(0x185):_0xe19a57[_0x3cdcc4(0x185)]=_0xe19a57[_0x3cdcc4(0x185)]?_0xe19a57[_0x3cdcc4(0x185)]+'\x0a'+_0x17853d:_0x17853d;break;case'id':_0xe19a57['id']=_0x17853d;break;}}}}finally{_0x3e5e0b[_0x3cdcc4(0x187)]();}}function parseSSEData(_0x4bfb87){const _0x5d9b44=a79_0x27c6;try{return JSON[_0x5d9b44(0x17c)](_0x4bfb87);}catch(_0x4e0641){throw new Error(_0x5d9b44(0x178)+_0x4bfb87,{'cause':_0x4e0641});}}
@@ -1 +1 @@
1
- (function(_0x594f10,_0x3b6a3d){const _0x3f117b=a80_0x1527,_0x11a95e=_0x594f10();while(!![]){try{const _0x596743=parseInt(_0x3f117b(0xc3))/0x1*(-parseInt(_0x3f117b(0xc7))/0x2)+-parseInt(_0x3f117b(0xbf))/0x3+-parseInt(_0x3f117b(0xcb))/0x4+parseInt(_0x3f117b(0xd2))/0x5+-parseInt(_0x3f117b(0xc2))/0x6*(-parseInt(_0x3f117b(0xce))/0x7)+-parseInt(_0x3f117b(0xc8))/0x8+parseInt(_0x3f117b(0xc5))/0x9;if(_0x596743===_0x3b6a3d)break;else _0x11a95e['push'](_0x11a95e['shift']());}catch(_0x58a5df){_0x11a95e['push'](_0x11a95e['shift']());}}}(a80_0x5cb1,0x741a7));import a80_0x10f43b from'string-width';export function stringWidth(_0x366168){return a80_0x10f43b(_0x366168);}export function padEnd(_0x269202,_0x5b7f98){const _0x3c5065=a80_0x1527,_0x3492c9=stringWidth(_0x269202);if(_0x3492c9>=_0x5b7f98)return _0x269202;return _0x269202+'\x20'[_0x3c5065(0xbb)](_0x5b7f98-_0x3492c9);}export function padStart(_0x53f992,_0x3c5252){const _0x907b68=a80_0x1527,_0x56acd1=stringWidth(_0x53f992);if(_0x56acd1>=_0x3c5252)return _0x53f992;return'\x20'[_0x907b68(0xbb)](_0x3c5252-_0x56acd1)+_0x53f992;}export function centerAlign(_0xcad752,_0x2e57d1){const _0x44f55a=a80_0x1527,_0x1714e9=stringWidth(_0xcad752);if(_0x1714e9>_0x2e57d1){if(_0x2e57d1<=0x1)return'…'[_0x44f55a(0xc1)](0x0,_0x2e57d1);let _0x5c10f7=_0xcad752;while(stringWidth(_0x5c10f7+'…')>_0x2e57d1){_0x5c10f7=_0x5c10f7['slice'](0x0,-0x1);}return _0x5c10f7+'…';}if(_0x1714e9===_0x2e57d1)return _0xcad752;const _0x2dff5f=_0x2e57d1-_0x1714e9,_0x5550de=Math['floor'](_0x2dff5f/0x2),_0x5b0060=_0x2dff5f-_0x5550de;return'\x20'[_0x44f55a(0xbb)](_0x5550de)+_0xcad752+'\x20'[_0x44f55a(0xbb)](_0x5b0060);}export function escapeStringLiteral(_0x50fad5){const _0x36dc48=a80_0x1527;if(!_0x50fad5||_0x50fad5[_0x36dc48(0xc6)]()[_0x36dc48(0xbd)]===0x0)throw new Error('Cannot\x20escape\x20empty\x20string\x20literal');const _0x356589=_0x50fad5['replace'](/'/g,'\x27\x27');return'\x27'+_0x356589+'\x27';}export function globToLike(_0xc6fca4){const _0x37100=a80_0x1527;let _0x483e06=_0xc6fca4[_0x37100(0xca)](/\\/g,'\x5c\x5c')[_0x37100(0xca)](/%/g,'\x5c%')[_0x37100(0xca)](/_/g,'\x5c_');return _0x483e06=_0x483e06[_0x37100(0xca)](/\*/g,'%')[_0x37100(0xca)](/\?/g,'_'),_0x483e06;}export function buildLikePattern(_0xeb2d32){const _0x380b3f=a80_0x1527;if(!_0xeb2d32||_0xeb2d32['trim']()[_0x380b3f(0xbd)]===0x0)throw new Error(_0x380b3f(0xcd));const _0x5a810d=globToLike(_0xeb2d32),_0x5222f7=_0x5a810d[_0x380b3f(0xca)](/'/g,'\x27\x27');return'\x27'+_0x5222f7+'\x27';}export function matchGlobPattern(_0x2eb848,_0x576c86){const _0x471920=a80_0x1527,_0x2be4d0=_0x576c86['replace'](/[.+^${}()|[\]\\]/g,'\x5c$&')[_0x471920(0xca)](/\*/g,'.*')[_0x471920(0xca)](/\?/g,'.'),_0x3cca79=new RegExp('^'+_0x2be4d0+'$');return _0x3cca79[_0x471920(0xcc)](_0x2eb848);}function a80_0x1527(_0x2952fd,_0x4d8268){const _0x5cb164=a80_0x5cb1();return a80_0x1527=function(_0x152707,_0xaa1146){_0x152707=_0x152707-0xbb;let _0x2f11e1=_0x5cb164[_0x152707];return _0x2f11e1;},a80_0x1527(_0x2952fd,_0x4d8268);}export function getSanitizedUsername(){const _0x1cd1d6=a80_0x1527,_0x457252=process[_0x1cd1d6(0xc9)][_0x1cd1d6(0xd0)]||process['env'][_0x1cd1d6(0xd1)]||_0x1cd1d6(0xbe);return _0x457252[_0x1cd1d6(0xca)](/[^a-zA-Z0-9]/g,'')[_0x1cd1d6(0xbc)]();}export function generateRandomHex(){const _0x411936=a80_0x1527,_0x3dfb8a=Math[_0x411936(0xc0)](Math['random']()*0xfffff);return _0x3dfb8a[_0x411936(0xcf)](0x10)[_0x411936(0xc4)](0x5,'0');}function a80_0x5cb1(){const _0x3352e1=['unknown','1244391WjIrUG','floor','substring','210oGCAul','808966hfcqlj','padStart','23486256SLNvHw','trim','2NDaBex','3601416jzgOxd','env','replace','3716956csFsCk','test','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','64435TbtXRu','toString','USER','USERNAME','734895FVfQxt','repeat','toLowerCase','length'];a80_0x5cb1=function(){return _0x3352e1;};return a80_0x5cb1();}
1
+ (function(_0x238f7a,_0x2ac0f0){const _0x173886=a80_0x375f,_0x596b0d=_0x238f7a();while(!![]){try{const _0x339311=-parseInt(_0x173886(0x1a9))/0x1*(parseInt(_0x173886(0x1af))/0x2)+parseInt(_0x173886(0x198))/0x3+-parseInt(_0x173886(0x1aa))/0x4+parseInt(_0x173886(0x1ab))/0x5*(parseInt(_0x173886(0x1a5))/0x6)+-parseInt(_0x173886(0x1a8))/0x7*(-parseInt(_0x173886(0x1a6))/0x8)+-parseInt(_0x173886(0x1a3))/0x9+parseInt(_0x173886(0x1b1))/0xa*(-parseInt(_0x173886(0x1a7))/0xb);if(_0x339311===_0x2ac0f0)break;else _0x596b0d['push'](_0x596b0d['shift']());}catch(_0x94c342){_0x596b0d['push'](_0x596b0d['shift']());}}}(a80_0x1592,0x73d92));import a80_0x292691 from'string-width';export function stringWidth(_0x580532){return a80_0x292691(_0x580532);}export function padEnd(_0x5e8e30,_0x2347b8){const _0x5d26ac=a80_0x375f,_0x12ed6a=stringWidth(_0x5e8e30);if(_0x12ed6a>=_0x2347b8)return _0x5e8e30;return _0x5e8e30+'\x20'[_0x5d26ac(0x1ae)](_0x2347b8-_0x12ed6a);}export function padStart(_0x3e709c,_0x36970c){const _0x24927a=a80_0x375f,_0x2e167f=stringWidth(_0x3e709c);if(_0x2e167f>=_0x36970c)return _0x3e709c;return'\x20'[_0x24927a(0x1ae)](_0x36970c-_0x2e167f)+_0x3e709c;}function a80_0x1592(){const _0x581556=['202DBTvxi','random','270VahjKW','2120598DbHxPs','toString','Cannot\x20escape\x20empty\x20string\x20literal','USERNAME','unknown','\x5c$&','USER','substring','test','trim','floor','6228675OrwGqF','env','1018050pCzNYk','2385112QfGaVo','66957dYZenI','7EuWuCz','458OJvCHe','547336QzjdkW','15kBunqB','replace','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','repeat'];a80_0x1592=function(){return _0x581556;};return a80_0x1592();}export function centerAlign(_0x5057ce,_0x2f0e92){const _0x22cb5a=a80_0x375f,_0x54e00c=stringWidth(_0x5057ce);if(_0x54e00c>_0x2f0e92){if(_0x2f0e92<=0x1)return'…'[_0x22cb5a(0x19f)](0x0,_0x2f0e92);let _0x4faf61=_0x5057ce;while(stringWidth(_0x4faf61+'…')>_0x2f0e92){_0x4faf61=_0x4faf61['slice'](0x0,-0x1);}return _0x4faf61+'…';}if(_0x54e00c===_0x2f0e92)return _0x5057ce;const _0x412ad2=_0x2f0e92-_0x54e00c,_0x8e7acc=Math[_0x22cb5a(0x1a2)](_0x412ad2/0x2),_0x2f38e3=_0x412ad2-_0x8e7acc;return'\x20'[_0x22cb5a(0x1ae)](_0x8e7acc)+_0x5057ce+'\x20'[_0x22cb5a(0x1ae)](_0x2f38e3);}export function escapeStringLiteral(_0x4f4022){const _0x4900e7=a80_0x375f;if(!_0x4f4022||_0x4f4022[_0x4900e7(0x1a1)]()['length']===0x0)throw new Error(_0x4900e7(0x19a));const _0x3f5f2d=_0x4f4022['replace'](/'/g,'\x27\x27');return'\x27'+_0x3f5f2d+'\x27';}export function globToLike(_0x4433c0){const _0x1a328b=a80_0x375f;let _0xfcafc3=_0x4433c0[_0x1a328b(0x1ac)](/\\/g,'\x5c\x5c')[_0x1a328b(0x1ac)](/%/g,'\x5c%')[_0x1a328b(0x1ac)](/_/g,'\x5c_');return _0xfcafc3=_0xfcafc3[_0x1a328b(0x1ac)](/\*/g,'%')[_0x1a328b(0x1ac)](/\?/g,'_'),_0xfcafc3;}export function buildLikePattern(_0x4e0a39){const _0xacf560=a80_0x375f;if(!_0x4e0a39||_0x4e0a39[_0xacf560(0x1a1)]()['length']===0x0)throw new Error(_0xacf560(0x1ad));const _0x568823=globToLike(_0x4e0a39),_0x22a533=_0x568823['replace'](/'/g,'\x27\x27');return'\x27'+_0x22a533+'\x27';}export function matchGlobPattern(_0x551252,_0x3d1ee6){const _0x56a456=a80_0x375f,_0x2e6457=_0x3d1ee6[_0x56a456(0x1ac)](/[.+^${}()|[\]\\]/g,_0x56a456(0x19d))['replace'](/\*/g,'.*')['replace'](/\?/g,'.'),_0x35dbd8=new RegExp('^'+_0x2e6457+'$');return _0x35dbd8[_0x56a456(0x1a0)](_0x551252);}function a80_0x375f(_0x1d65a1,_0x131e50){const _0x15923d=a80_0x1592();return a80_0x375f=function(_0x375f87,_0x581bef){_0x375f87=_0x375f87-0x198;let _0x12f12f=_0x15923d[_0x375f87];return _0x12f12f;},a80_0x375f(_0x1d65a1,_0x131e50);}export function getSanitizedUsername(){const _0x1ea773=a80_0x375f,_0x4a2b28=process[_0x1ea773(0x1a4)][_0x1ea773(0x19e)]||process[_0x1ea773(0x1a4)][_0x1ea773(0x19b)]||_0x1ea773(0x19c);return _0x4a2b28['replace'](/[^a-zA-Z0-9]/g,'')['toLowerCase']();}export function generateRandomHex(){const _0xf9a6f6=a80_0x375f,_0xa451a4=Math[_0xf9a6f6(0x1a2)](Math[_0xf9a6f6(0x1b0)]()*0xfffff);return _0xa451a4[_0xf9a6f6(0x199)](0x10)['padStart'](0x5,'0');}
@@ -1 +1 @@
1
- (function(_0xd9a13f,_0x322af4){const _0x1bed3c=a81_0xf80d,_0x2d989e=_0xd9a13f();while(!![]){try{const _0x23afd8=-parseInt(_0x1bed3c(0x16d))/0x1*(-parseInt(_0x1bed3c(0x15c))/0x2)+parseInt(_0x1bed3c(0x15e))/0x3*(parseInt(_0x1bed3c(0x16a))/0x4)+-parseInt(_0x1bed3c(0x169))/0x5+-parseInt(_0x1bed3c(0x162))/0x6*(-parseInt(_0x1bed3c(0x173))/0x7)+-parseInt(_0x1bed3c(0x16e))/0x8+-parseInt(_0x1bed3c(0x170))/0x9*(-parseInt(_0x1bed3c(0x168))/0xa)+-parseInt(_0x1bed3c(0x174))/0xb;if(_0x23afd8===_0x322af4)break;else _0x2d989e['push'](_0x2d989e['shift']());}catch(_0x3b7219){_0x2d989e['push'](_0x2d989e['shift']());}}}(a81_0x48ac,0xc7ef1));function hasWildcard(_0x1c646c){const _0x59bce8=a81_0xf80d;return _0x1c646c[_0x59bce8(0x172)]('*')||_0x1c646c[_0x59bce8(0x172)]('?');}export function parseTableReference(_0x7583a5){const _0x256bff=a81_0xf80d;if(!_0x7583a5||_0x7583a5[_0x256bff(0x16f)]()[_0x256bff(0x165)]===0x0)throw new Error(_0x256bff(0x161));const _0x55faf2=_0x7583a5[_0x256bff(0x16f)](),_0x4817d2={'original':_0x55faf2},_0x116d43=_0x55faf2[_0x256bff(0x163)]('.');if(_0x116d43[_0x256bff(0x165)]===0x1){const _0x2f5a4b=_0x116d43[0x0];if(!_0x2f5a4b)throw new Error('Pattern\x20cannot\x20be\x20just\x20a\x20dot');_0x4817d2['table']=_0x2f5a4b;}else{if(_0x116d43[_0x256bff(0x165)]===0x2){const [_0x31e9f2,_0xd3fb16]=_0x116d43;if(!_0x31e9f2)throw new Error(_0x256bff(0x15d));if(!_0xd3fb16)throw new Error('Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)');_0x4817d2['database']=_0x31e9f2,_0x4817d2[_0x256bff(0x160)]=_0xd3fb16;}else{if(_0x116d43[_0x256bff(0x165)]===0x3){const [_0x43dc7c,_0x2434f2,_0x3fb9e2]=_0x116d43;if(!_0x43dc7c||!_0x2434f2||!_0x3fb9e2)throw new Error(_0x256bff(0x167));_0x4817d2[_0x256bff(0x164)]=_0x43dc7c,_0x4817d2[_0x256bff(0x15f)]=_0x2434f2,_0x4817d2[_0x256bff(0x160)]=_0x3fb9e2;}else throw new Error('Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)');}}return _0x4817d2;}export function formatTableReference(_0x3b3040){const _0x26dd1e=a81_0xf80d,_0x1230f7=[];return _0x3b3040['catalog']&&_0x1230f7[_0x26dd1e(0x171)](_0x3b3040[_0x26dd1e(0x164)]),_0x3b3040[_0x26dd1e(0x15f)]&&_0x1230f7[_0x26dd1e(0x171)](_0x3b3040[_0x26dd1e(0x15f)]),_0x3b3040[_0x26dd1e(0x160)]&&_0x1230f7[_0x26dd1e(0x171)](_0x3b3040['table']),_0x1230f7[_0x26dd1e(0x175)]('.');}export function validateTableListReference(_0x48b167){return undefined;}function a81_0xf80d(_0x37264d,_0x35f264){const _0x48ac08=a81_0x48ac();return a81_0xf80d=function(_0xf80d96,_0x181c66){_0xf80d96=_0xf80d96-0x15c;let _0x22f586=_0x48ac08[_0xf80d96];return _0x22f586;},a81_0xf80d(_0x37264d,_0x35f264);}function a81_0x48ac(){const _0x152e14=['Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','186KXDiQu','split','catalog','length','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','11910aBZvql','4108790eskPhM','16tswVZJ','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','47DtjMzC','12515656tTzBpc','trim','12213zjfwXB','push','includes','174223JupVRp','14984332YLOKyC','join','49732ZVodDF','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','758181poRhZn','database','table'];a81_0x48ac=function(){return _0x152e14;};return a81_0x48ac();}export function validateTableDescribeReference(_0x24eede){const _0x117a6d=a81_0xf80d;if(!_0x24eede[_0x117a6d(0x160)])return _0x117a6d(0x16c);if(_0x24eede[_0x117a6d(0x15f)]&&hasWildcard(_0x24eede['database']))return _0x117a6d(0x166);if(hasWildcard(_0x24eede['table']))return _0x117a6d(0x16b);return undefined;}
1
+ (function(_0x7e4d3c,_0x170ba3){const _0x48effd=a81_0x11e8,_0xdf6357=_0x7e4d3c();while(!![]){try{const _0x7b4000=-parseInt(_0x48effd(0xac))/0x1*(-parseInt(_0x48effd(0xa5))/0x2)+-parseInt(_0x48effd(0xb2))/0x3+parseInt(_0x48effd(0xb4))/0x4*(parseInt(_0x48effd(0xbb))/0x5)+parseInt(_0x48effd(0xa8))/0x6*(-parseInt(_0x48effd(0xad))/0x7)+-parseInt(_0x48effd(0xab))/0x8*(parseInt(_0x48effd(0xb5))/0x9)+parseInt(_0x48effd(0xa9))/0xa*(parseInt(_0x48effd(0xb0))/0xb)+-parseInt(_0x48effd(0xa3))/0xc*(-parseInt(_0x48effd(0xa4))/0xd);if(_0x7b4000===_0x170ba3)break;else _0xdf6357['push'](_0xdf6357['shift']());}catch(_0xa28a90){_0xdf6357['push'](_0xdf6357['shift']());}}}(a81_0x3518,0x49982));function hasWildcard(_0xe0b12e){const _0x1bac8b=a81_0x11e8;return _0xe0b12e[_0x1bac8b(0xaa)]('*')||_0xe0b12e['includes']('?');}function a81_0x3518(){const _0x4e5b75=['649581Gjsmtg','join','4rSkeAC','47997SwClnB','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','database','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','length','push','661205lHdqCD','6832824VzGbBR','13UcXzpj','26iePcBc','Pattern\x20cannot\x20be\x20just\x20a\x20dot','catalog','6nBkESl','212630HUCbOp','includes','632fbFnSc','7121NUWMst','621831wzbigE','trim','table','121AbzCDw','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only'];a81_0x3518=function(){return _0x4e5b75;};return a81_0x3518();}export function parseTableReference(_0x49dd1e){const _0x3d346c=a81_0x11e8;if(!_0x49dd1e||_0x49dd1e[_0x3d346c(0xae)]()['length']===0x0)throw new Error(_0x3d346c(0xb1));const _0x35b79b=_0x49dd1e['trim'](),_0x58290f={'original':_0x35b79b},_0x15a8cc=_0x35b79b['split']('.');if(_0x15a8cc[_0x3d346c(0xb9)]===0x1){const _0x47d536=_0x15a8cc[0x0];if(!_0x47d536)throw new Error(_0x3d346c(0xa6));_0x58290f[_0x3d346c(0xaf)]=_0x47d536;}else{if(_0x15a8cc[_0x3d346c(0xb9)]===0x2){const [_0x1e85b2,_0x4e4514]=_0x15a8cc;if(!_0x1e85b2)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x4e4514)throw new Error('Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)');_0x58290f['database']=_0x1e85b2,_0x58290f[_0x3d346c(0xaf)]=_0x4e4514;}else{if(_0x15a8cc[_0x3d346c(0xb9)]===0x3){const [_0x58b440,_0x2a8fa3,_0x348618]=_0x15a8cc;if(!_0x58b440||!_0x2a8fa3||!_0x348618)throw new Error('Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty');_0x58290f['catalog']=_0x58b440,_0x58290f[_0x3d346c(0xb7)]=_0x2a8fa3,_0x58290f['table']=_0x348618;}else throw new Error('Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)');}}return _0x58290f;}function a81_0x11e8(_0x1958f1,_0x434eba){const _0x3518a6=a81_0x3518();return a81_0x11e8=function(_0x11e840,_0x3356bc){_0x11e840=_0x11e840-0xa3;let _0x5f0734=_0x3518a6[_0x11e840];return _0x5f0734;},a81_0x11e8(_0x1958f1,_0x434eba);}export function formatTableReference(_0x7e46aa){const _0x2ebbd6=a81_0x11e8,_0x29e174=[];return _0x7e46aa[_0x2ebbd6(0xa7)]&&_0x29e174[_0x2ebbd6(0xba)](_0x7e46aa[_0x2ebbd6(0xa7)]),_0x7e46aa[_0x2ebbd6(0xb7)]&&_0x29e174['push'](_0x7e46aa[_0x2ebbd6(0xb7)]),_0x7e46aa[_0x2ebbd6(0xaf)]&&_0x29e174[_0x2ebbd6(0xba)](_0x7e46aa[_0x2ebbd6(0xaf)]),_0x29e174[_0x2ebbd6(0xb3)]('.');}export function validateTableListReference(_0x1780fd){return undefined;}export function validateTableDescribeReference(_0x260cf4){const _0x11c066=a81_0x11e8;if(!_0x260cf4[_0x11c066(0xaf)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x260cf4[_0x11c066(0xb7)]&&hasWildcard(_0x260cf4[_0x11c066(0xb7)]))return _0x11c066(0xb6);if(hasWildcard(_0x260cf4[_0x11c066(0xaf)]))return _0x11c066(0xb8);return undefined;}
@@ -1 +1 @@
1
- const a82_0x4ebb56=a82_0xea55;function a82_0x414c(){const _0x1d1a80=['1866108SJHITg','logLevel','11ozeVbK','name','warn','logStream','tdx.log','abs','8saVPcl','DEBUG','.gz','info','getLogPath','getFullYear','2898600bekqDr','Warning:\x20Error\x20writing\x20to\x20tdx.log:','red','cause','TRACE','toISOString','tdx-','tdx','write','debug','init','log','split','getDate','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','error','getHours','415921BNVDEz','70lAqoHS','padStart','logDir','stringify','test','floor','.cache','864378ZwUzzM','message','3141420oPUMNg','WARN','Warning:\x20Failed\x20to\x20compress\x20','trace','.log','stack','includes','getMilliseconds','2KgSgYj','2996328jLcyzu','toString','ERROR','fileOnly','5GOegwM','2768794mlYbmu','map','getSeconds','INFO','join','rotateOldLogs','gray','logs'];a82_0x414c=function(){return _0x1d1a80;};return a82_0x414c();}(function(_0x329d9b,_0x397ae5){const _0x590c83=a82_0xea55,_0x2f5b82=_0x329d9b();while(!![]){try{const _0xf28b1e=-parseInt(_0x590c83(0x1ef))/0x1*(parseInt(_0x590c83(0x201))/0x2)+-parseInt(_0x590c83(0x1de))/0x3+-parseInt(_0x590c83(0x202))/0x4*(-parseInt(_0x590c83(0x206))/0x5)+parseInt(_0x590c83(0x20f))/0x6+-parseInt(_0x590c83(0x207))/0x7*(-parseInt(_0x590c83(0x217))/0x8)+parseInt(_0x590c83(0x1f7))/0x9*(parseInt(_0x590c83(0x1f0))/0xa)+parseInt(_0x590c83(0x211))/0xb*(-parseInt(_0x590c83(0x1f9))/0xc);if(_0xf28b1e===_0x397ae5)break;else _0x2f5b82['push'](_0x2f5b82['shift']());}catch(_0x413ab0){_0x2f5b82['push'](_0x2f5b82['shift']());}}}(a82_0x414c,0x762be));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 a82_0x676094 from'chalk';function safeStringify(_0xcb6069){const _0xa6fe76=a82_0xea55;if(typeof _0xcb6069==='string')return _0xcb6069;if(_0xcb6069 instanceof Error)return _0xcb6069[_0xa6fe76(0x1fe)]||_0xcb6069[_0xa6fe76(0x212)]+':\x20'+_0xcb6069[_0xa6fe76(0x1f8)];try{return JSON[_0xa6fe76(0x1f3)](_0xcb6069,(_0x11d891,_0x50e8e0)=>{const _0x1aae06=_0xa6fe76;if(_0x50e8e0 instanceof Error)return{'name':_0x50e8e0[_0x1aae06(0x212)],'message':_0x50e8e0[_0x1aae06(0x1f8)],'stack':_0x50e8e0[_0x1aae06(0x1fe)],'cause':_0x50e8e0[_0x1aae06(0x1e1)]};return _0x50e8e0;});}catch{return String(_0xcb6069);}}function getTimezoneOffset(){const _0x3957a4=a82_0xea55,_0x3adb70=-new Date()['getTimezoneOffset'](),_0x2e872c=Math[_0x3957a4(0x1f5)](Math[_0x3957a4(0x216)](_0x3adb70)/0x3c),_0xfff66b=Math[_0x3957a4(0x216)](_0x3adb70)%0x3c,_0x9fd8ca=_0x3adb70>=0x0?'+':'-';return''+_0x9fd8ca+_0x2e872c[_0x3957a4(0x203)]()[_0x3957a4(0x1f1)](0x2,'0')+_0xfff66b['toString']()['padStart'](0x2,'0');}function formatTimestamp(){const _0x162137=a82_0xea55,_0x34b56e=new Date(),_0xf44e13=_0x34b56e[_0x162137(0x1dd)](),_0x11ede0=(_0x34b56e['getMonth']()+0x1)['toString']()[_0x162137(0x1f1)](0x2,'0'),_0x538f03=_0x34b56e[_0x162137(0x1eb)]()[_0x162137(0x203)]()[_0x162137(0x1f1)](0x2,'0'),_0x33d557=_0x34b56e[_0x162137(0x1ee)]()['toString']()[_0x162137(0x1f1)](0x2,'0'),_0x20b238=_0x34b56e['getMinutes']()[_0x162137(0x203)]()[_0x162137(0x1f1)](0x2,'0'),_0xfd8135=_0x34b56e[_0x162137(0x209)]()[_0x162137(0x203)]()[_0x162137(0x1f1)](0x2,'0'),_0x33c32d=_0x34b56e[_0x162137(0x200)]()['toString']()[_0x162137(0x1f1)](0x3,'0'),_0x436d21=getTimezoneOffset();return _0xf44e13+'-'+_0x11ede0+'-'+_0x538f03+'\x20'+_0x33d557+':'+_0x20b238+':'+_0xfd8135+'.'+_0x33c32d+_0x436d21;}function formatColoredLogEntry(_0x32069f,_0x325cbf){const _0x143104=a82_0xea55,_0xc12a51=formatTimestamp(),_0x527876=_0x325cbf[_0x143104(0x208)](safeStringify)[_0x143104(0x20b)]('\x20'),_0x245439=a82_0x676094[_0x143104(0x20d)](_0xc12a51);let _0x1d3496;switch(_0x32069f){case'info':_0x1d3496=a82_0x676094['cyan']('['+_0x32069f+']\x20');break;case _0x143104(0x213):_0x1d3496=a82_0x676094['yellow']('['+_0x32069f+']\x20');break;case _0x143104(0x1ed):_0x1d3496=a82_0x676094[_0x143104(0x1e0)]('['+_0x32069f+']');break;case _0x143104(0x1e7):_0x1d3496=a82_0x676094[_0x143104(0x20d)]('['+_0x32069f+']');break;default:_0x1d3496='['+_0x32069f+']';}return _0x245439+'\x20'+_0x1d3496+'\x20'+_0x527876;}export var LogLevel;function a82_0xea55(_0x545801,_0x1c7bf5){const _0x414c61=a82_0x414c();return a82_0xea55=function(_0xea556d,_0x69f0e6){_0xea556d=_0xea556d-0x1dd;let _0x417e42=_0x414c61[_0xea556d];return _0x417e42;},a82_0xea55(_0x545801,_0x1c7bf5);}(function(_0x3545b5){const _0x5418ee=a82_0xea55;_0x3545b5[_0x3545b5[_0x5418ee(0x1e2)]=-0x2]=_0x5418ee(0x1e2),_0x3545b5[_0x3545b5[_0x5418ee(0x218)]=-0x1]=_0x5418ee(0x218),_0x3545b5[_0x3545b5[_0x5418ee(0x20a)]=0x0]='INFO',_0x3545b5[_0x3545b5[_0x5418ee(0x1fa)]=0x1]=_0x5418ee(0x1fa),_0x3545b5[_0x3545b5[_0x5418ee(0x204)]=0x2]='ERROR';}(LogLevel||(LogLevel={})));export class TDXLogger{[a82_0x4ebb56(0x214)];[a82_0x4ebb56(0x1f2)];[a82_0x4ebb56(0x210)];['fileOnly'];constructor(_0x1bf0cf=LogLevel['INFO'],_0x4f6a3d=![]){const _0x479d84=a82_0x4ebb56;this[_0x479d84(0x1f2)]=join(homedir(),_0x479d84(0x1f6),_0x479d84(0x1e5),_0x479d84(0x20e)),this['logLevel']=_0x1bf0cf,this[_0x479d84(0x205)]=_0x4f6a3d;}async[a82_0x4ebb56(0x1e8)](){const _0x2b5adb=a82_0x4ebb56;try{await mkdir(this[_0x2b5adb(0x1f2)],{'recursive':!![]}),await this[_0x2b5adb(0x20c)]();const _0x341e30=join(this[_0x2b5adb(0x1f2)],'tdx.log');this[_0x2b5adb(0x214)]=createWriteStream(_0x341e30,{'flags':'a'}),this[_0x2b5adb(0x214)]['on'](_0x2b5adb(0x1ed),_0x54ffec=>{const _0x199f44=_0x2b5adb;console['error'](_0x199f44(0x1df),_0x54ffec[_0x199f44(0x1f8)]);});}catch(_0x259084){console[_0x2b5adb(0x1ed)](_0x2b5adb(0x1ec),_0x259084);}}async[a82_0x4ebb56(0x20c)](){const _0x5ebafb=a82_0x4ebb56;try{const _0x3620d6=await readdir(this[_0x5ebafb(0x1f2)]),_0x1b3b23=new Date()[_0x5ebafb(0x1e3)]()['split']('T')[0x0];if(_0x3620d6[_0x5ebafb(0x1ff)](_0x5ebafb(0x215))){const _0x548b84=join(this[_0x5ebafb(0x1f2)],_0x5ebafb(0x215)),_0x2a68f3=await stat(_0x548b84),_0x2a5fe2=new Date(_0x2a68f3['mtime'])[_0x5ebafb(0x1e3)]()[_0x5ebafb(0x1ea)]('T')[0x0];if(_0x2a5fe2<_0x1b3b23){const _0x5d7981=join(this[_0x5ebafb(0x1f2)],_0x5ebafb(0x1e4)+_0x2a5fe2+_0x5ebafb(0x1fd));await rename(_0x548b84,_0x5d7981);}}const _0x4fa13b=await readdir(this[_0x5ebafb(0x1f2)]),_0x17e547=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x240a7c=_0x4fa13b['filter'](_0x56ebd1=>_0x17e547[_0x5ebafb(0x1f4)](_0x56ebd1));for(const _0x343700 of _0x240a7c){const _0x10f68a=join(this[_0x5ebafb(0x1f2)],_0x343700),_0x3c528c=join(this[_0x5ebafb(0x1f2)],_0x343700+_0x5ebafb(0x219));try{await pipeline(createReadStream(_0x10f68a),createGzip(),createWriteStream(_0x3c528c)),await unlink(_0x10f68a);}catch(_0x5f46a0){console[_0x5ebafb(0x1ed)](_0x5ebafb(0x1fb)+_0x343700+':',_0x5f46a0);}}}catch{}}[a82_0x4ebb56(0x1e7)](..._0x3f0efe){const _0x550892=a82_0x4ebb56;if(this[_0x550892(0x210)]>LogLevel[_0x550892(0x218)])return;const _0x3cb020=formatColoredLogEntry(_0x550892(0x1e7),_0x3f0efe);this['logStream']?.[_0x550892(0x1e6)](_0x3cb020+'\x0a');}['trace'](..._0x5b2da9){const _0x375b17=a82_0x4ebb56;if(this[_0x375b17(0x210)]>LogLevel[_0x375b17(0x1e2)])return;const _0x34bd46=formatColoredLogEntry(_0x375b17(0x1fc),_0x5b2da9);this[_0x375b17(0x214)]?.[_0x375b17(0x1e6)](_0x34bd46+'\x0a');}[a82_0x4ebb56(0x21a)](..._0x16d867){const _0x3e7fda=a82_0x4ebb56;if(this[_0x3e7fda(0x210)]>LogLevel[_0x3e7fda(0x20a)])return;const _0x1e23f0=formatColoredLogEntry(_0x3e7fda(0x21a),_0x16d867);!this[_0x3e7fda(0x205)]&&console[_0x3e7fda(0x1e9)](_0x1e23f0),this[_0x3e7fda(0x214)]?.['write'](_0x1e23f0+'\x0a');}[a82_0x4ebb56(0x213)](..._0x2ea7e5){const _0x5adb30=a82_0x4ebb56;if(this['logLevel']>LogLevel[_0x5adb30(0x1fa)])return;const _0x3246d8=formatColoredLogEntry(_0x5adb30(0x213),_0x2ea7e5);!this[_0x5adb30(0x205)]&&console[_0x5adb30(0x1ed)](_0x3246d8),this['logStream']?.[_0x5adb30(0x1e6)](_0x3246d8+'\x0a');}[a82_0x4ebb56(0x1ed)](..._0xe24ccb){const _0x2b2dc4=a82_0x4ebb56,_0x1c8346=formatColoredLogEntry(_0x2b2dc4(0x1ed),_0xe24ccb);!this[_0x2b2dc4(0x205)]&&console[_0x2b2dc4(0x1ed)](_0x1c8346),this['logStream']?.[_0x2b2dc4(0x1e6)](_0x1c8346+'\x0a');}async['close'](){const _0x473383=a82_0x4ebb56;return this[_0x473383(0x21a)]('Proxy\x20session\x20ended'),new Promise(_0x2a6000=>{const _0x513b53=_0x473383;this[_0x513b53(0x214)]?this[_0x513b53(0x214)]['end'](()=>{_0x2a6000();}):_0x2a6000();});}[a82_0x4ebb56(0x21b)](){const _0x5dcfee=a82_0x4ebb56;return join(this[_0x5dcfee(0x1f2)],_0x5dcfee(0x215));}}
1
+ const a82_0x3c0694=a82_0x2ad7;(function(_0x4fe12c,_0x5a9730){const _0x180a23=a82_0x2ad7,_0x174b8d=_0x4fe12c();while(!![]){try{const _0x4b15e8=-parseInt(_0x180a23(0x171))/0x1*(parseInt(_0x180a23(0x165))/0x2)+-parseInt(_0x180a23(0x146))/0x3*(parseInt(_0x180a23(0x136))/0x4)+parseInt(_0x180a23(0x138))/0x5*(parseInt(_0x180a23(0x145))/0x6)+-parseInt(_0x180a23(0x162))/0x7+-parseInt(_0x180a23(0x164))/0x8+-parseInt(_0x180a23(0x153))/0x9+-parseInt(_0x180a23(0x150))/0xa*(-parseInt(_0x180a23(0x151))/0xb);if(_0x4b15e8===_0x5a9730)break;else _0x174b8d['push'](_0x174b8d['shift']());}catch(_0x31e664){_0x174b8d['push'](_0x174b8d['shift']());}}}(a82_0x5f08,0x26abb));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';function a82_0x2ad7(_0x12111b,_0x1d9b9c){const _0x5f0853=a82_0x5f08();return a82_0x2ad7=function(_0x2ad7ac,_0x55808e){_0x2ad7ac=_0x2ad7ac-0x135;let _0x323dc8=_0x5f0853[_0x2ad7ac];return _0x323dc8;},a82_0x2ad7(_0x12111b,_0x1d9b9c);}import a82_0x43b324 from'chalk';function safeStringify(_0x5e43ec){const _0x1cf916=a82_0x2ad7;if(typeof _0x5e43ec===_0x1cf916(0x142))return _0x5e43ec;if(_0x5e43ec instanceof Error)return _0x5e43ec[_0x1cf916(0x15d)]||_0x5e43ec['name']+':\x20'+_0x5e43ec['message'];try{return JSON[_0x1cf916(0x143)](_0x5e43ec,(_0x5797c6,_0x4afb5f)=>{const _0x6f44c3=_0x1cf916;if(_0x4afb5f instanceof Error)return{'name':_0x4afb5f[_0x6f44c3(0x160)],'message':_0x4afb5f[_0x6f44c3(0x14d)],'stack':_0x4afb5f[_0x6f44c3(0x15d)],'cause':_0x4afb5f[_0x6f44c3(0x13f)]};return _0x4afb5f;});}catch{return String(_0x5e43ec);}}function getTimezoneOffset(){const _0x2750c3=a82_0x2ad7,_0x38ac6d=-new Date()[_0x2750c3(0x13e)](),_0x46c0bf=Math[_0x2750c3(0x15e)](Math[_0x2750c3(0x135)](_0x38ac6d)/0x3c),_0x10876b=Math[_0x2750c3(0x135)](_0x38ac6d)%0x3c,_0x215227=_0x38ac6d>=0x0?'+':'-';return''+_0x215227+_0x46c0bf['toString']()[_0x2750c3(0x14f)](0x2,'0')+_0x10876b['toString']()['padStart'](0x2,'0');}function formatTimestamp(){const _0x417dd5=a82_0x2ad7,_0x571d26=new Date(),_0x3a81f3=_0x571d26['getFullYear'](),_0x2f479a=(_0x571d26[_0x417dd5(0x149)]()+0x1)[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x488501=_0x571d26[_0x417dd5(0x152)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0xc015cd=_0x571d26[_0x417dd5(0x14a)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x1d903c=_0x571d26[_0x417dd5(0x13b)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x133702=_0x571d26['getSeconds']()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x17a787=_0x571d26[_0x417dd5(0x158)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x3,'0'),_0x152202=getTimezoneOffset();return _0x3a81f3+'-'+_0x2f479a+'-'+_0x488501+'\x20'+_0xc015cd+':'+_0x1d903c+':'+_0x133702+'.'+_0x17a787+_0x152202;}function formatColoredLogEntry(_0x350084,_0x3bd797){const _0x5b67db=a82_0x2ad7,_0xc82add=formatTimestamp(),_0x1d6ff5=_0x3bd797['map'](safeStringify)[_0x5b67db(0x159)]('\x20'),_0x50f828=a82_0x43b324[_0x5b67db(0x15a)](_0xc82add);let _0x329b36;switch(_0x350084){case _0x5b67db(0x154):_0x329b36=a82_0x43b324[_0x5b67db(0x167)]('['+_0x350084+']\x20');break;case _0x5b67db(0x16d):_0x329b36=a82_0x43b324[_0x5b67db(0x16c)]('['+_0x350084+']\x20');break;case'error':_0x329b36=a82_0x43b324['red']('['+_0x350084+']');break;case _0x5b67db(0x157):_0x329b36=a82_0x43b324[_0x5b67db(0x15a)]('['+_0x350084+']');break;default:_0x329b36='['+_0x350084+']';}return _0x50f828+'\x20'+_0x329b36+'\x20'+_0x1d6ff5;}function a82_0x5f08(){const _0x492800=['30009KrLyaO','log','write','getMonth','getHours','DEBUG','toString','message','INFO','padStart','21980YVyfoB','2596MpdUBa','getDate','806265cSBshb','info','TRACE','Warning:\x20Failed\x20to\x20compress\x20','debug','getMilliseconds','join','gray','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','WARN','stack','floor','Warning:\x20Error\x20writing\x20to\x20tdx.log:','name','trace','1072792cRIwAs','fileOnly','1693296jQxsKX','4uwfYMf','split','cyan','tdx-','rotateOldLogs','ERROR','end','yellow','warn','tdx.log','.gz','logDir','25753HAQZaK','includes','abs','4roBScR','error','778395OshchU','Proxy\x20session\x20ended','logs','getMinutes','init','toISOString','getTimezoneOffset','cause','logLevel','mtime','string','stringify','logStream','6mzDMXz'];a82_0x5f08=function(){return _0x492800;};return a82_0x5f08();}export var LogLevel;(function(_0x14f841){const _0x9902f2=a82_0x2ad7;_0x14f841[_0x14f841[_0x9902f2(0x155)]=-0x2]=_0x9902f2(0x155),_0x14f841[_0x14f841[_0x9902f2(0x14b)]=-0x1]=_0x9902f2(0x14b),_0x14f841[_0x14f841[_0x9902f2(0x14e)]=0x0]='INFO',_0x14f841[_0x14f841['WARN']=0x1]='WARN',_0x14f841[_0x14f841[_0x9902f2(0x16a)]=0x2]='ERROR';}(LogLevel||(LogLevel={})));export class TDXLogger{[a82_0x3c0694(0x144)];[a82_0x3c0694(0x170)];[a82_0x3c0694(0x140)];[a82_0x3c0694(0x163)];constructor(_0x53a2ff=LogLevel[a82_0x3c0694(0x14e)],_0x258e0d=![]){const _0x59a407=a82_0x3c0694;this[_0x59a407(0x170)]=join(homedir(),'.cache','tdx',_0x59a407(0x13a)),this[_0x59a407(0x140)]=_0x53a2ff,this[_0x59a407(0x163)]=_0x258e0d;}async[a82_0x3c0694(0x13c)](){const _0x247081=a82_0x3c0694;try{await mkdir(this[_0x247081(0x170)],{'recursive':!![]}),await this[_0x247081(0x169)]();const _0x49afa4=join(this[_0x247081(0x170)],_0x247081(0x16e));this[_0x247081(0x144)]=createWriteStream(_0x49afa4,{'flags':'a'}),this[_0x247081(0x144)]['on'](_0x247081(0x137),_0x1ffe75=>{const _0x930e0a=_0x247081;console[_0x930e0a(0x137)](_0x930e0a(0x15f),_0x1ffe75[_0x930e0a(0x14d)]);});}catch(_0x4d1d79){console[_0x247081(0x137)](_0x247081(0x15b),_0x4d1d79);}}async[a82_0x3c0694(0x169)](){const _0x4ba610=a82_0x3c0694;try{const _0x35576e=await readdir(this[_0x4ba610(0x170)]),_0x3e4862=new Date()[_0x4ba610(0x13d)]()[_0x4ba610(0x166)]('T')[0x0];if(_0x35576e[_0x4ba610(0x172)]('tdx.log')){const _0x3b9bc2=join(this['logDir'],_0x4ba610(0x16e)),_0x194071=await stat(_0x3b9bc2),_0x45d69c=new Date(_0x194071[_0x4ba610(0x141)])[_0x4ba610(0x13d)]()[_0x4ba610(0x166)]('T')[0x0];if(_0x45d69c<_0x3e4862){const _0x1be9ff=join(this[_0x4ba610(0x170)],_0x4ba610(0x168)+_0x45d69c+'.log');await rename(_0x3b9bc2,_0x1be9ff);}}const _0x4b2ca5=await readdir(this[_0x4ba610(0x170)]),_0x44543f=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x3453e5=_0x4b2ca5['filter'](_0x5758cd=>_0x44543f['test'](_0x5758cd));for(const _0x3f404e of _0x3453e5){const _0xa84c0c=join(this[_0x4ba610(0x170)],_0x3f404e),_0x4475bd=join(this['logDir'],_0x3f404e+_0x4ba610(0x16f));try{await pipeline(createReadStream(_0xa84c0c),createGzip(),createWriteStream(_0x4475bd)),await unlink(_0xa84c0c);}catch(_0x3e0613){console[_0x4ba610(0x137)](_0x4ba610(0x156)+_0x3f404e+':',_0x3e0613);}}}catch{}}[a82_0x3c0694(0x157)](..._0x555bca){const _0x4e9b15=a82_0x3c0694;if(this[_0x4e9b15(0x140)]>LogLevel[_0x4e9b15(0x14b)])return;const _0x8b477=formatColoredLogEntry(_0x4e9b15(0x157),_0x555bca);this[_0x4e9b15(0x144)]?.[_0x4e9b15(0x148)](_0x8b477+'\x0a');}[a82_0x3c0694(0x161)](..._0x1b02ba){const _0xd87353=a82_0x3c0694;if(this[_0xd87353(0x140)]>LogLevel[_0xd87353(0x155)])return;const _0x3bcdb6=formatColoredLogEntry('trace',_0x1b02ba);this[_0xd87353(0x144)]?.[_0xd87353(0x148)](_0x3bcdb6+'\x0a');}[a82_0x3c0694(0x154)](..._0x460902){const _0x2e1d4e=a82_0x3c0694;if(this['logLevel']>LogLevel[_0x2e1d4e(0x14e)])return;const _0x3c0afe=formatColoredLogEntry(_0x2e1d4e(0x154),_0x460902);!this['fileOnly']&&console[_0x2e1d4e(0x147)](_0x3c0afe),this['logStream']?.[_0x2e1d4e(0x148)](_0x3c0afe+'\x0a');}[a82_0x3c0694(0x16d)](..._0x4ed9af){const _0x56ca06=a82_0x3c0694;if(this[_0x56ca06(0x140)]>LogLevel[_0x56ca06(0x15c)])return;const _0x5496cc=formatColoredLogEntry(_0x56ca06(0x16d),_0x4ed9af);!this[_0x56ca06(0x163)]&&console[_0x56ca06(0x137)](_0x5496cc),this[_0x56ca06(0x144)]?.['write'](_0x5496cc+'\x0a');}[a82_0x3c0694(0x137)](..._0x225029){const _0x3fa27d=a82_0x3c0694,_0x52e249=formatColoredLogEntry(_0x3fa27d(0x137),_0x225029);!this['fileOnly']&&console[_0x3fa27d(0x137)](_0x52e249),this[_0x3fa27d(0x144)]?.[_0x3fa27d(0x148)](_0x52e249+'\x0a');}async['close'](){const _0x5ac509=a82_0x3c0694;return this['info'](_0x5ac509(0x139)),new Promise(_0x1e3309=>{const _0x45fd95=_0x5ac509;this['logStream']?this[_0x45fd95(0x144)][_0x45fd95(0x16b)](()=>{_0x1e3309();}):_0x1e3309();});}['getLogPath'](){const _0x3acb1f=a82_0x3c0694;return join(this[_0x3acb1f(0x170)],'tdx.log');}}
@@ -1 +1 @@
1
- (function(_0x43b8b8,_0xa8035a){const _0x35c1ac=a83_0x3b64,_0xa9d950=_0x43b8b8();while(!![]){try{const _0x35edc1=-parseInt(_0x35c1ac(0x1ad))/0x1+-parseInt(_0x35c1ac(0x1c2))/0x2+parseInt(_0x35c1ac(0x1bb))/0x3*(parseInt(_0x35c1ac(0x1b3))/0x4)+parseInt(_0x35c1ac(0x1cb))/0x5+-parseInt(_0x35c1ac(0x1b9))/0x6+parseInt(_0x35c1ac(0x1c4))/0x7*(-parseInt(_0x35c1ac(0x1ca))/0x8)+-parseInt(_0x35c1ac(0x1b2))/0x9*(-parseInt(_0x35c1ac(0x1c7))/0xa);if(_0x35edc1===_0xa8035a)break;else _0xa9d950['push'](_0xa9d950['shift']());}catch(_0x49a9c1){_0xa9d950['push'](_0xa9d950['shift']());}}}(a83_0x3698,0x216da));import{formatRows}from'./formatters.js';function a83_0x3b64(_0x2076f2,_0x1c7eb4){const _0x3698d6=a83_0x3698();return a83_0x3b64=function(_0x3b644e,_0x2505ba){_0x3b644e=_0x3b644e-0x1ab;let _0x5e12ee=_0x3698d6[_0x3b644e];return _0x5e12ee;},a83_0x3b64(_0x2076f2,_0x1c7eb4);}import a83_0x2cb42b from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x3104ae,_0x9a1fa6={},_0x171540=0x0,_0x308bed=''){const _0x32ce0c=a83_0x3b64,_0x14ce89={...DEFAULT_OPTIONS,..._0x9a1fa6},_0x1ab219=[],_0xb12788=[..._0x3104ae][_0x32ce0c(0x1c1)]((_0x19cb4a,_0x3defe8)=>_0x19cb4a[_0x32ce0c(0x1ce)][_0x32ce0c(0x1ab)](_0x3defe8['name']));for(let _0x2a84a7=0x0;_0x2a84a7<_0xb12788[_0x32ce0c(0x1bd)];_0x2a84a7++){const _0x4b787b=_0xb12788[_0x2a84a7],_0x30bde4=_0x2a84a7===_0xb12788[_0x32ce0c(0x1bd)]-0x1;let _0x711422='';_0x171540>0x0&&(_0x711422+=_0x308bed);_0x14ce89['showTreeLines']&&_0x171540>0x0&&(_0x711422+=a83_0x2cb42b[_0x32ce0c(0x1cf)](_0x30bde4?_0x32ce0c(0x1bf):_0x32ce0c(0x1cd)));_0x14ce89[_0x32ce0c(0x1c0)]&&(_0x711422+=_0x4b787b[_0x32ce0c(0x1b7)]==='folder'?_0x32ce0c(0x1c9):_0x32ce0c(0x1c8));_0x711422+=_0x4b787b[_0x32ce0c(0x1ce)];if(_0x14ce89['showMetadata']){if(_0x4b787b[_0x32ce0c(0x1b7)]===_0x32ce0c(0x1ba)){const _0x3aec0d=[];_0x4b787b[_0x32ce0c(0x1ae)][_0x32ce0c(0x1b8)]&&_0x3aec0d[_0x32ce0c(0x1c3)](_0x4b787b[_0x32ce0c(0x1ae)][_0x32ce0c(0x1b8)]+'\x20segment'+(_0x4b787b[_0x32ce0c(0x1ae)][_0x32ce0c(0x1b8)]!==0x1?'s':'')),_0x4b787b[_0x32ce0c(0x1ae)]['folderCount']&&_0x3aec0d[_0x32ce0c(0x1c3)](_0x4b787b[_0x32ce0c(0x1ae)][_0x32ce0c(0x1cc)]+_0x32ce0c(0x1b0)+(_0x4b787b[_0x32ce0c(0x1ae)][_0x32ce0c(0x1cc)]!==0x1?'s':'')),_0x3aec0d[_0x32ce0c(0x1bd)]>0x0&&(_0x711422+=a83_0x2cb42b[_0x32ce0c(0x1cf)]('\x20('+_0x3aec0d['join'](',\x20')+')'));}else _0x4b787b['type']===_0x32ce0c(0x1b6)&&_0x4b787b[_0x32ce0c(0x1c6)]!==undefined&&(_0x711422+=a83_0x2cb42b[_0x32ce0c(0x1cf)]('\x20('+formatRows(_0x4b787b[_0x32ce0c(0x1c6)])+')'));}_0x1ab219['push'](_0x711422);if(_0x4b787b[_0x32ce0c(0x1b1)]&&_0x4b787b[_0x32ce0c(0x1b1)][_0x32ce0c(0x1bd)]>0x0){let _0x4fccc2;if(_0x171540===0x0)_0x4fccc2='';else _0x14ce89[_0x32ce0c(0x1be)]?_0x4fccc2=_0x308bed+(_0x30bde4?_0x32ce0c(0x1b4):a83_0x2cb42b[_0x32ce0c(0x1cf)]('│')+'\x20\x20\x20'):_0x4fccc2=_0x308bed+_0x14ce89[_0x32ce0c(0x1bc)];const _0x529f32=formatTree(_0x4b787b[_0x32ce0c(0x1b1)],_0x14ce89,_0x171540+0x1,_0x4fccc2);_0x1ab219[_0x32ce0c(0x1c3)](_0x529f32);}}return _0x1ab219[_0x32ce0c(0x1b5)]('\x0a');}export function formatFlatList(_0x17b184,_0x4c86e0,_0x187894={}){const _0x4a0e95=a83_0x3b64,_0x387e4f={...DEFAULT_OPTIONS,..._0x187894},_0x306ed3=[];for(const _0x27becd of _0x17b184){_0x306ed3[_0x4a0e95(0x1c3)]({'name':_0x27becd['name'],'icon':_0x387e4f[_0x4a0e95(0x1c0)]?'📁':'','metadata':undefined});}for(const _0x539cfc of _0x4c86e0){const _0x44515b=_0x387e4f[_0x4a0e95(0x1ac)]&&_0x539cfc[_0x4a0e95(0x1c6)]!==undefined?a83_0x2cb42b[_0x4a0e95(0x1cf)]('\x20('+formatRows(_0x539cfc[_0x4a0e95(0x1c6)])+')'):'';_0x306ed3['push']({'name':_0x539cfc[_0x4a0e95(0x1ce)],'icon':_0x387e4f['showIcons']?'🎯':'','metadata':_0x44515b});}_0x306ed3['sort']((_0x39aeed,_0x2e852e)=>_0x39aeed[_0x4a0e95(0x1ce)][_0x4a0e95(0x1ab)](_0x2e852e[_0x4a0e95(0x1ce)]));if(_0x306ed3[_0x4a0e95(0x1bd)]===0x0)return'(empty)';const _0x106ebb=_0x306ed3[_0x4a0e95(0x1af)](_0x43250f=>{const _0x54d006=_0x4a0e95,_0x5e6d01=_0x43250f[_0x54d006(0x1c5)]?_0x43250f['icon']+'\x20':'',_0x4b14ef=_0x43250f[_0x54d006(0x1ae)]||'';return''+_0x5e6d01+_0x43250f[_0x54d006(0x1ce)]+_0x4b14ef;});return _0x106ebb[_0x4a0e95(0x1b5)]('\x0a');}function a83_0x3698(){const _0x2a682c=['374686vyascy','push','1805965fWblTr','icon','population','1811220mNVsnE','🎯\x20','📁\x20','8hwQLHO','735475YUJYVX','folderCount','├──\x20','name','dim','localeCompare','showMetadata','19924hgLZef','metadata','map','\x20folder','children','27WPEHKQ','4zQzaOR','\x20\x20\x20\x20','join','segment','type','segmentCount','974772SslwEM','folder','222555xhbahD','indent','length','showTreeLines','└──\x20','showIcons','sort'];a83_0x3698=function(){return _0x2a682c;};return a83_0x3698();}
1
+ function a83_0x1c26(){const _0x3966f5=['push','showTreeLines','showIcons','dim','population','\x20segment','32guvOhU','name','join','folderCount','181736qyidkv','type','folder','showMetadata','7662130MkraZf','map','\x20folder','🎯\x20','888652lRUCbt','4554627zUOzzM','icon','├──\x20','length','8fnlGrV','segmentCount','298755enCnla','localeCompare','1114017mWPsqo','(empty)','sort','children','\x20\x20\x20\x20','102PlPnqE','233005IJdAOj','📁\x20','metadata','indent'];a83_0x1c26=function(){return _0x3966f5;};return a83_0x1c26();}function a83_0x4dfb(_0x5677bf,_0x10e696){const _0x1c2698=a83_0x1c26();return a83_0x4dfb=function(_0x4dfbfa,_0x582c5a){_0x4dfbfa=_0x4dfbfa-0xe5;let _0xb2c8bf=_0x1c2698[_0x4dfbfa];return _0xb2c8bf;},a83_0x4dfb(_0x5677bf,_0x10e696);}(function(_0x28e452,_0x4549ad){const _0x119abc=a83_0x4dfb,_0x2bdc2a=_0x28e452();while(!![]){try{const _0x4018bb=parseInt(_0x119abc(0xeb))/0x1+-parseInt(_0x119abc(0x108))/0x2+parseInt(_0x119abc(0xf4))/0x3*(parseInt(_0x119abc(0xf0))/0x4)+-parseInt(_0x119abc(0xfa))/0x5*(parseInt(_0x119abc(0xf9))/0x6)+parseInt(_0x119abc(0xec))/0x7+parseInt(_0x119abc(0x104))/0x8*(-parseInt(_0x119abc(0xf2))/0x9)+-parseInt(_0x119abc(0xe7))/0xa;if(_0x4018bb===_0x4549ad)break;else _0x2bdc2a['push'](_0x2bdc2a['shift']());}catch(_0x4f81c3){_0x2bdc2a['push'](_0x2bdc2a['shift']());}}}(a83_0x1c26,0x7a0c9));import{formatRows}from'./formatters.js';import a83_0x3a1b4f from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x44cde9,_0x2e9f1f={},_0x32455d=0x0,_0x61c44b=''){const _0x3fb930=a83_0x4dfb,_0x35a329={...DEFAULT_OPTIONS,..._0x2e9f1f},_0x590071=[],_0x31ca32=[..._0x44cde9][_0x3fb930(0xf6)]((_0x3c5b6a,_0x26b1a1)=>_0x3c5b6a[_0x3fb930(0x105)][_0x3fb930(0xf3)](_0x26b1a1[_0x3fb930(0x105)]));for(let _0x45a1c4=0x0;_0x45a1c4<_0x31ca32[_0x3fb930(0xef)];_0x45a1c4++){const _0x3c2f2e=_0x31ca32[_0x45a1c4],_0x544c64=_0x45a1c4===_0x31ca32['length']-0x1;let _0x288757='';_0x32455d>0x0&&(_0x288757+=_0x61c44b);_0x35a329['showTreeLines']&&_0x32455d>0x0&&(_0x288757+=a83_0x3a1b4f['dim'](_0x544c64?'└──\x20':_0x3fb930(0xee)));_0x35a329[_0x3fb930(0x100)]&&(_0x288757+=_0x3c2f2e['type']===_0x3fb930(0xe5)?_0x3fb930(0xfb):_0x3fb930(0xea));_0x288757+=_0x3c2f2e['name'];if(_0x35a329['showMetadata']){if(_0x3c2f2e[_0x3fb930(0x109)]===_0x3fb930(0xe5)){const _0x3da859=[];_0x3c2f2e['metadata']['segmentCount']&&_0x3da859['push'](_0x3c2f2e[_0x3fb930(0xfc)][_0x3fb930(0xf1)]+_0x3fb930(0x103)+(_0x3c2f2e['metadata']['segmentCount']!==0x1?'s':'')),_0x3c2f2e[_0x3fb930(0xfc)]['folderCount']&&_0x3da859[_0x3fb930(0xfe)](_0x3c2f2e['metadata'][_0x3fb930(0x107)]+_0x3fb930(0xe9)+(_0x3c2f2e[_0x3fb930(0xfc)][_0x3fb930(0x107)]!==0x1?'s':'')),_0x3da859[_0x3fb930(0xef)]>0x0&&(_0x288757+=a83_0x3a1b4f[_0x3fb930(0x101)]('\x20('+_0x3da859[_0x3fb930(0x106)](',\x20')+')'));}else _0x3c2f2e[_0x3fb930(0x109)]==='segment'&&_0x3c2f2e[_0x3fb930(0x102)]!==undefined&&(_0x288757+=a83_0x3a1b4f[_0x3fb930(0x101)]('\x20('+formatRows(_0x3c2f2e[_0x3fb930(0x102)])+')'));}_0x590071[_0x3fb930(0xfe)](_0x288757);if(_0x3c2f2e[_0x3fb930(0xf7)]&&_0x3c2f2e['children'][_0x3fb930(0xef)]>0x0){let _0x5401d7;if(_0x32455d===0x0)_0x5401d7='';else _0x35a329[_0x3fb930(0xff)]?_0x5401d7=_0x61c44b+(_0x544c64?_0x3fb930(0xf8):a83_0x3a1b4f['dim']('│')+'\x20\x20\x20'):_0x5401d7=_0x61c44b+_0x35a329[_0x3fb930(0xfd)];const _0x40b4cd=formatTree(_0x3c2f2e[_0x3fb930(0xf7)],_0x35a329,_0x32455d+0x1,_0x5401d7);_0x590071['push'](_0x40b4cd);}}return _0x590071['join']('\x0a');}export function formatFlatList(_0x31e845,_0x1f0fad,_0x2a60d8={}){const _0x39d941=a83_0x4dfb,_0x28a34d={...DEFAULT_OPTIONS,..._0x2a60d8},_0x5a4785=[];for(const _0x2d7e4c of _0x31e845){_0x5a4785[_0x39d941(0xfe)]({'name':_0x2d7e4c['name'],'icon':_0x28a34d[_0x39d941(0x100)]?'📁':'','metadata':undefined});}for(const _0x5a1cf0 of _0x1f0fad){const _0x2b1ac5=_0x28a34d[_0x39d941(0xe6)]&&_0x5a1cf0[_0x39d941(0x102)]!==undefined?a83_0x3a1b4f[_0x39d941(0x101)]('\x20('+formatRows(_0x5a1cf0[_0x39d941(0x102)])+')'):'';_0x5a4785[_0x39d941(0xfe)]({'name':_0x5a1cf0[_0x39d941(0x105)],'icon':_0x28a34d['showIcons']?'🎯':'','metadata':_0x2b1ac5});}_0x5a4785['sort']((_0x5ac615,_0x5d2175)=>_0x5ac615[_0x39d941(0x105)]['localeCompare'](_0x5d2175[_0x39d941(0x105)]));if(_0x5a4785['length']===0x0)return _0x39d941(0xf5);const _0x543aa6=_0x5a4785[_0x39d941(0xe8)](_0x33a674=>{const _0x46cd7a=_0x39d941,_0x496cac=_0x33a674[_0x46cd7a(0xed)]?_0x33a674[_0x46cd7a(0xed)]+'\x20':'',_0x3388dc=_0x33a674['metadata']||'';return''+_0x496cac+_0x33a674[_0x46cd7a(0x105)]+_0x3388dc;});return _0x543aa6[_0x39d941(0x106)]('\x0a');}
@@ -1 +1 @@
1
- function a84_0x37cc(_0x42501e,_0x524587){const _0x5daa7d=a84_0x5daa();return a84_0x37cc=function(_0x37cc94,_0x107f20){_0x37cc94=_0x37cc94-0x8c;let _0x4e21df=_0x5daa7d[_0x37cc94];return _0x4e21df;},a84_0x37cc(_0x42501e,_0x524587);}(function(_0x2ba4be,_0x4b6379){const _0xd6046b=a84_0x37cc,_0xd55cf=_0x2ba4be();while(!![]){try{const _0x55c72e=parseInt(_0xd6046b(0x91))/0x1*(parseInt(_0xd6046b(0x9f))/0x2)+parseInt(_0xd6046b(0x9e))/0x3+parseInt(_0xd6046b(0xad))/0x4*(parseInt(_0xd6046b(0xab))/0x5)+parseInt(_0xd6046b(0x8c))/0x6+parseInt(_0xd6046b(0x93))/0x7+parseInt(_0xd6046b(0x90))/0x8+-parseInt(_0xd6046b(0x8f))/0x9;if(_0x55c72e===_0x4b6379)break;else _0xd55cf['push'](_0xd55cf['shift']());}catch(_0x18c22a){_0xd55cf['push'](_0xd55cf['shift']());}}}(a84_0x5daa,0xd1a81));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a84_0x17bbef from'chalk';import{getCacheDir}from'../core/config.js';function a84_0x5daa(){const _0x5d1fbe=['stderr','error','Invalid\x20version\x20format','HTTP\x20','gray','Update\x20available:','latestVersion','env','3273429fyhZdt','22xaGbfp','lastCheck','now','npm\x20install\x20-g\x20@treasuredata/tdx@latest','getTime','destroy','last_version_check','end','version','Run:','cyan','isTTY','267590hLVCbu','currentVersion','88ZqAbvQ','parse','NO_COLOR','\x0aUpdate\x20available:\x20','utf-8','2706102ofOrQy','yellow','updateAvailable','34677432aWeMHE','6551376YbWaVa','53373fPNovt','toISOString','4103540dTbZuz','\x0aRun:\x20','dim'];a84_0x5daa=function(){return _0x5d1fbe;};return a84_0x5daa();}const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL='https://registry.npmjs.org/@treasuredata/tdx/latest',TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x908eb3=a84_0x37cc,_0x46db76=getCacheDir();return join(_0x46db76,_0x908eb3(0xa5));}function readCache(){const _0x4b2410=a84_0x37cc;try{const _0x124356=getCacheFilePath(),_0x1453b5=readFileSync(_0x124356,_0x4b2410(0xb1));return JSON[_0x4b2410(0xae)](_0x1453b5);}catch{return null;}}function writeCache(_0x5e5a63){const _0x5652a2=a84_0x37cc;try{const _0x1dc19f=getCacheDir();mkdirSync(_0x1dc19f,{'recursive':!![]});const _0x4332a5={'lastCheck':new Date()[_0x5652a2(0x92)](),'latestVersion':_0x5e5a63},_0x2872b1=getCacheFilePath();writeFileSync(_0x2872b1,JSON['stringify'](_0x4332a5,null,0x2),_0x5652a2(0xb1));}catch{}}function isCacheValid(_0x5072cd){const _0x417706=a84_0x37cc;if(!_0x5072cd)return![];const _0x11133a=new Date(_0x5072cd[_0x417706(0xa0)])[_0x417706(0xa3)](),_0x58263=Date[_0x417706(0xa1)]();return _0x58263-_0x11133a<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x49f61b,_0x2e2d72)=>{const _0x436fc5=a84_0x37cc,_0x2972d6=get(NPM_REGISTRY_URL,_0x571edf=>{const _0x2f31c3=a84_0x37cc;if(_0x571edf['statusCode']!==0xc8){clearTimeout(_0xf58985),_0x2e2d72(new Error(_0x2f31c3(0x99)+_0x571edf['statusCode']));return;}let _0x581e63='';_0x571edf['on']('data',_0x288e66=>{_0x581e63+=_0x288e66;}),_0x571edf['on'](_0x2f31c3(0xa6),()=>{const _0x1d53ca=_0x2f31c3;clearTimeout(_0xf58985);try{const _0x15971c=JSON[_0x1d53ca(0xae)](_0x581e63);if(!valid(_0x15971c[_0x1d53ca(0xa7)])){_0x2e2d72(new Error(_0x1d53ca(0x98)));return;}_0x49f61b(_0x15971c[_0x1d53ca(0xa7)]);}catch(_0x36892e){_0x2e2d72(_0x36892e);}});})['on'](_0x436fc5(0x97),_0x24846b=>{clearTimeout(_0xf58985),_0x2e2d72(_0x24846b);}),_0xf58985=setTimeout(()=>{const _0x104f9b=_0x436fc5;_0x2972d6[_0x104f9b(0xa4)](),_0x2e2d72(new Error('Request\x20timeout'));},TIMEOUT_MS);});}export async function checkForUpdate(_0x324293){const _0x7b69de=a84_0x37cc;try{const _0x1ee337=readCache();if(isCacheValid(_0x1ee337)){const _0xee4714=gt(_0x1ee337[_0x7b69de(0x9c)],_0x324293);return{'updateAvailable':_0xee4714,'currentVersion':_0x324293,'latestVersion':_0x1ee337[_0x7b69de(0x9c)]};}const _0x54970a=await fetchLatestVersion();writeCache(_0x54970a);const _0x38edf1=gt(_0x54970a,_0x324293);return{'updateAvailable':_0x38edf1,'currentVersion':_0x324293,'latestVersion':_0x54970a};}catch{return null;}}export function displayUpdateNotification(_0x48a85a){const _0x4dc866=a84_0x37cc;if(!_0x48a85a[_0x4dc866(0x8e)])return;const _0x3663fe=process[_0x4dc866(0x96)][_0x4dc866(0xaa)]&&!process[_0x4dc866(0x9d)][_0x4dc866(0xaf)],_0x9ac365=_0x3663fe?a84_0x17bbef[_0x4dc866(0x9a)]('→'):'→',_0x4f7e05=_0x3663fe?a84_0x17bbef[_0x4dc866(0x95)](_0x48a85a[_0x4dc866(0xac)]):_0x48a85a[_0x4dc866(0xac)],_0x31511b=_0x3663fe?a84_0x17bbef['green'](_0x48a85a[_0x4dc866(0x9c)]):_0x48a85a[_0x4dc866(0x9c)],_0x53ec55=_0x3663fe?a84_0x17bbef[_0x4dc866(0xa9)](_0x4dc866(0xa2)):_0x4dc866(0xa2),_0x1bab35=_0x3663fe?'\x0a'+a84_0x17bbef[_0x4dc866(0x8d)](_0x4dc866(0x9b))+'\x20'+_0x4f7e05+'\x20'+_0x9ac365+'\x20'+_0x31511b+'\x0a'+a84_0x17bbef[_0x4dc866(0x95)](_0x4dc866(0xa8))+'\x20'+_0x53ec55+'\x0a':_0x4dc866(0xb0)+_0x4f7e05+'\x20'+_0x9ac365+'\x20'+_0x31511b+_0x4dc866(0x94)+_0x53ec55+'\x0a';process[_0x4dc866(0x96)]['write'](_0x1bab35);}
1
+ function a84_0x4a32(_0x33c093,_0x4599a5){const _0x214f8c=a84_0x214f();return a84_0x4a32=function(_0x4a32fb,_0x5c172b){_0x4a32fb=_0x4a32fb-0x7c;let _0x4433e3=_0x214f8c[_0x4a32fb];return _0x4433e3;},a84_0x4a32(_0x33c093,_0x4599a5);}function a84_0x214f(){const _0x3e7aed=['dim','6cQBOzi','Run:','version','7842528YGfKOI','npm\x20install\x20-g\x20@treasuredata/tdx@latest','Invalid\x20version\x20format','parse','last_version_check','end','isTTY','https://registry.npmjs.org/@treasuredata/tdx/latest','HTTP\x20','green','174JFQzKR','4094870MxwgAx','error','yellow','toISOString','gray','stderr','\x0aUpdate\x20available:\x20','216jnAGcQ','lastCheck','cyan','env','data','currentVersion','NO_COLOR','Request\x20timeout','1908PYcgJH','165739tyLxNy','utf-8','5484265VrmJbR','\x0aRun:\x20','4289992sRDZgC','getTime','destroy','statusCode','Update\x20available:','1679166NNwqlA'];a84_0x214f=function(){return _0x3e7aed;};return a84_0x214f();}const a84_0x1dea99=a84_0x4a32;(function(_0x1b597f,_0x2d1b55){const _0x54ad52=a84_0x4a32,_0x4c27ae=_0x1b597f();while(!![]){try{const _0x3d4054=-parseInt(_0x54ad52(0x99))/0x1*(parseInt(_0x54ad52(0x89))/0x2)+parseInt(_0x54ad52(0xa3))/0x3+parseInt(_0x54ad52(0x9e))/0x4+-parseInt(_0x54ad52(0x9c))/0x5*(-parseInt(_0x54ad52(0x7c))/0x6)+-parseInt(_0x54ad52(0x9a))/0x7*(parseInt(_0x54ad52(0x91))/0x8)+-parseInt(_0x54ad52(0x7f))/0x9+-parseInt(_0x54ad52(0x8a))/0xa;if(_0x3d4054===_0x2d1b55)break;else _0x4c27ae['push'](_0x4c27ae['shift']());}catch(_0x1c8b29){_0x4c27ae['push'](_0x4c27ae['shift']());}}}(a84_0x214f,0x9cf67));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a84_0x3dfd05 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a84_0x1dea99(0x86),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0xdf25a5=a84_0x1dea99,_0x37be6c=getCacheDir();return join(_0x37be6c,_0xdf25a5(0x83));}function readCache(){const _0x3e2def=a84_0x1dea99;try{const _0x5c9a56=getCacheFilePath(),_0x413f62=readFileSync(_0x5c9a56,_0x3e2def(0x9b));return JSON[_0x3e2def(0x82)](_0x413f62);}catch{return null;}}function writeCache(_0x455c00){const _0x366a6c=a84_0x1dea99;try{const _0x7b94d2=getCacheDir();mkdirSync(_0x7b94d2,{'recursive':!![]});const _0x599ece={'lastCheck':new Date()[_0x366a6c(0x8d)](),'latestVersion':_0x455c00},_0x388052=getCacheFilePath();writeFileSync(_0x388052,JSON['stringify'](_0x599ece,null,0x2),'utf-8');}catch{}}function isCacheValid(_0x30e547){const _0x9105eb=a84_0x1dea99;if(!_0x30e547)return![];const _0x41f346=new Date(_0x30e547[_0x9105eb(0x92)])[_0x9105eb(0x9f)](),_0xe364f1=Date['now']();return _0xe364f1-_0x41f346<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x371b8c,_0x44d421)=>{const _0x44d959=a84_0x4a32,_0x5cf979=get(NPM_REGISTRY_URL,_0xa9e73b=>{const _0x2eaab8=a84_0x4a32;if(_0xa9e73b[_0x2eaab8(0xa1)]!==0xc8){clearTimeout(_0x205945),_0x44d421(new Error(_0x2eaab8(0x87)+_0xa9e73b[_0x2eaab8(0xa1)]));return;}let _0xd817e9='';_0xa9e73b['on'](_0x2eaab8(0x95),_0x12f2c2=>{_0xd817e9+=_0x12f2c2;}),_0xa9e73b['on'](_0x2eaab8(0x84),()=>{const _0x4315b2=_0x2eaab8;clearTimeout(_0x205945);try{const _0x2a132f=JSON[_0x4315b2(0x82)](_0xd817e9);if(!valid(_0x2a132f[_0x4315b2(0x7e)])){_0x44d421(new Error(_0x4315b2(0x81)));return;}_0x371b8c(_0x2a132f[_0x4315b2(0x7e)]);}catch(_0xf9e7d5){_0x44d421(_0xf9e7d5);}});})['on'](_0x44d959(0x8b),_0x2a1352=>{clearTimeout(_0x205945),_0x44d421(_0x2a1352);}),_0x205945=setTimeout(()=>{const _0x31766d=_0x44d959;_0x5cf979[_0x31766d(0xa0)](),_0x44d421(new Error(_0x31766d(0x98)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x315a24){try{const _0x2e9825=readCache();if(isCacheValid(_0x2e9825)){const _0x3f5a91=gt(_0x2e9825['latestVersion'],_0x315a24);return{'updateAvailable':_0x3f5a91,'currentVersion':_0x315a24,'latestVersion':_0x2e9825['latestVersion']};}const _0x501bfa=await fetchLatestVersion();writeCache(_0x501bfa);const _0x22f570=gt(_0x501bfa,_0x315a24);return{'updateAvailable':_0x22f570,'currentVersion':_0x315a24,'latestVersion':_0x501bfa};}catch{return null;}}export function displayUpdateNotification(_0x13db70){const _0x382f08=a84_0x1dea99;if(!_0x13db70['updateAvailable'])return;const _0x5cad7c=process[_0x382f08(0x8f)][_0x382f08(0x85)]&&!process[_0x382f08(0x94)][_0x382f08(0x97)],_0x41c9e1=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x8e)]('→'):'→',_0x483cfa=_0x5cad7c?a84_0x3dfd05[_0x382f08(0xa4)](_0x13db70['currentVersion']):_0x13db70[_0x382f08(0x96)],_0x37b147=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x88)](_0x13db70['latestVersion']):_0x13db70['latestVersion'],_0x2323dc=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x93)](_0x382f08(0x80)):_0x382f08(0x80),_0x39929d=_0x5cad7c?'\x0a'+a84_0x3dfd05[_0x382f08(0x8c)](_0x382f08(0xa2))+'\x20'+_0x483cfa+'\x20'+_0x41c9e1+'\x20'+_0x37b147+'\x0a'+a84_0x3dfd05['dim'](_0x382f08(0x7d))+'\x20'+_0x2323dc+'\x0a':_0x382f08(0x90)+_0x483cfa+'\x20'+_0x41c9e1+'\x20'+_0x37b147+_0x382f08(0x9d)+_0x2323dc+'\x0a';process[_0x382f08(0x8f)]['write'](_0x39929d);}
@@ -1 +1 @@
1
- function a85_0x77ac(_0x3398ef,_0xd08dd8){const _0x1d7283=a85_0x1d72();return a85_0x77ac=function(_0x77acc3,_0x582de9){_0x77acc3=_0x77acc3-0x13d;let _0x499843=_0x1d7283[_0x77acc3];return _0x499843;},a85_0x77ac(_0x3398ef,_0xd08dd8);}(function(_0xc18cfe,_0x5417b8){const _0x3e87c3=a85_0x77ac,_0x40c6fa=_0xc18cfe();while(!![]){try{const _0x585a61=-parseInt(_0x3e87c3(0x148))/0x1*(parseInt(_0x3e87c3(0x13e))/0x2)+-parseInt(_0x3e87c3(0x143))/0x3+-parseInt(_0x3e87c3(0x147))/0x4*(parseInt(_0x3e87c3(0x13f))/0x5)+parseInt(_0x3e87c3(0x146))/0x6*(parseInt(_0x3e87c3(0x145))/0x7)+-parseInt(_0x3e87c3(0x13d))/0x8*(parseInt(_0x3e87c3(0x142))/0x9)+parseInt(_0x3e87c3(0x141))/0xa+parseInt(_0x3e87c3(0x140))/0xb;if(_0x585a61===_0x5417b8)break;else _0x40c6fa['push'](_0x40c6fa['shift']());}catch(_0x3d5781){_0x40c6fa['push'](_0x40c6fa['shift']());}}}(a85_0x1d72,0x265cc));export const WORKFLOW_FILE_EXTENSION='.dig';function a85_0x1d72(){const _0x3ee792=['30332IzOXex','5wdHNyL','6165654PqFbQc','238130WEldnK','414uQyFyW','196284RywWox','.digdag','399665mtZhmA','6LSzMoh','671288eqffVX','2zXuIWb','38384tNPZRM'];a85_0x1d72=function(){return _0x3ee792;};return a85_0x1d72();}export function shouldIncludeInArchive(_0x3a65a7){const _0x157bfc=a85_0x77ac;if(_0x3a65a7===_0x157bfc(0x144))return!![];if(_0x3a65a7['startsWith']('.'))return![];return!![];}
1
+ function a85_0x2891(){const _0x52e102=['1858374aYEOLw','5533350ZTgQhV','3976959vNylDw','startsWith','464777phnGbT','4vAgYUY','20BVZeap','8ZuvVOB','19692TIkRIb','.digdag','7193456bCCZKo','8908821agBKdL'];a85_0x2891=function(){return _0x52e102;};return a85_0x2891();}(function(_0x302033,_0x13cb30){const _0x3c5001=a85_0x47bf,_0x1980e4=_0x302033();while(!![]){try{const _0x27d358=parseInt(_0x3c5001(0x117))/0x1*(-parseInt(_0x3c5001(0x10e))/0x2)+-parseInt(_0x3c5001(0x115))/0x3*(-parseInt(_0x3c5001(0x10c))/0x4)+-parseInt(_0x3c5001(0x114))/0x5+-parseInt(_0x3c5001(0x10f))/0x6+-parseInt(_0x3c5001(0x113))/0x7+parseInt(_0x3c5001(0x111))/0x8+-parseInt(_0x3c5001(0x112))/0x9*(-parseInt(_0x3c5001(0x10d))/0xa);if(_0x27d358===_0x13cb30)break;else _0x1980e4['push'](_0x1980e4['shift']());}catch(_0x344b77){_0x1980e4['push'](_0x1980e4['shift']());}}}(a85_0x2891,0xecd2f));export const WORKFLOW_FILE_EXTENSION='.dig';function a85_0x47bf(_0x357cf4,_0x1b8401){const _0x2891cb=a85_0x2891();return a85_0x47bf=function(_0x47bfce,_0x27637f){_0x47bfce=_0x47bfce-0x10c;let _0x4d1d05=_0x2891cb[_0x47bfce];return _0x4d1d05;},a85_0x47bf(_0x357cf4,_0x1b8401);}export function shouldIncludeInArchive(_0x34f96c){const _0x2f7b22=a85_0x47bf;if(_0x34f96c===_0x2f7b22(0x110))return!![];if(_0x34f96c[_0x2f7b22(0x116)]('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
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": {