trimprompt 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cache-manager.js +1 -1
- package/cache.js +1 -1
- package/ccr.js +1 -1
- package/cli.js +1 -1
- package/dashboard.js +1 -1
- package/executor.js +1 -1
- package/file-watcher.js +1 -1
- package/filters/devops.js +1 -1
- package/filters/generic.js +1 -1
- package/filters/git.js +1 -1
- package/filters/go.js +1 -1
- package/filters/index.js +1 -1
- package/filters/js.js +1 -1
- package/filters/python.js +1 -1
- package/filters/rust.js +1 -1
- package/filters/shell.js +1 -1
- package/hooks/claude-hook.js +1 -1
- package/index.html +79 -8
- package/mcp.js +1 -1
- package/package.json +1 -1
- package/proxy-conv.js +1 -1
- package/proxy-resp.js +1 -1
- package/redactor.js +1 -1
- package/seed.js +1 -1
- package/shims.js +1 -1
- package/simulate.js +1 -1
- package/sync.js +1 -1
- package/tracker.js +1 -1
package/filters/devops.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a0_0x4964(_0x1ccbfa,_0x5e770d){_0x1ccbfa=_0x1ccbfa-0x1b2;const _0x3cb952=a0_0x3cb9();let _0x4964cc=_0x3cb952[_0x1ccbfa];return _0x4964cc;}const a0_0xfd983b=a0_0x4964;(function(_0x17cead,_0x442ad3){const _0x271ce9=a0_0x4964,_0x27b4df=_0x17cead();while(!![]){try{const _0x51f93b=-parseInt(_0x271ce9(0x1bd))/0x1*(parseInt(_0x271ce9(0x1b7))/0x2)+parseInt(_0x271ce9(0x1be))/0x3+parseInt(_0x271ce9(0x1d4))/0x4*(-parseInt(_0x271ce9(0x1ba))/0x5)+parseInt(_0x271ce9(0x1e1))/0x6*(-parseInt(_0x271ce9(0x1e0))/0x7)+parseInt(_0x271ce9(0x1d3))/0x8+parseInt(_0x271ce9(0x1df))/0x9*(parseInt(_0x271ce9(0x1c9))/0xa)+parseInt(_0x271ce9(0x1e3))/0xb;if(_0x51f93b===_0x442ad3)break;else _0x27b4df['push'](_0x27b4df['shift']());}catch(_0x135aa6){_0x27b4df['push'](_0x27b4df['shift']());}}}(a0_0x3cb9,0x64c0b));Object[a0_0xfd983b(0x1d2)](exports,'__esModule',{'value':!![]}),exports[a0_0xfd983b(0x1d6)]=filterDockerPs,exports[a0_0xfd983b(0x1da)]=filterDockerImages,exports[a0_0xfd983b(0x1c7)]=filterDockerLogs,exports[a0_0xfd983b(0x1e5)]=filterKubectl,exports['filterRuff']=filterRuff;function filterDockerPs(_0x37d0ca){const _0x453a6a=a0_0xfd983b,_0x400b68=_0x37d0ca[_0x453a6a(0x1de)]('\x0a')['filter'](_0x34f437=>_0x34f437[_0x453a6a(0x1ce)]()[_0x453a6a(0x1cf)]>0x0);if(_0x400b68[_0x453a6a(0x1cf)]===0x0)return'No\x20containers\x20running';if(_0x400b68[_0x453a6a(0x1cf)]<=0xa)return _0x37d0ca['trim']();const _0x422c83=_0x400b68[0x0],_0x266f71=_0x400b68[_0x453a6a(0x1d1)](0x1),_0x3c9ef8=[];_0x3c9ef8['push'](_0x453a6a(0x1b9)+_0x266f71[_0x453a6a(0x1cf)]+_0x453a6a(0x1c5)),_0x3c9ef8['push']('');for(const _0x1a59b3 of _0x266f71){const _0xc24a48=_0x1a59b3[_0x453a6a(0x1de)](/\s{2,}/);if(_0xc24a48[_0x453a6a(0x1cf)]>=0x5){const _0x4e02a5=_0xc24a48[0x0][_0x453a6a(0x1c1)](0x0,0xc),_0x412bf9=_0xc24a48[0x1],_0xe54180=_0xc24a48[_0xc24a48['length']-0x2]||'',_0x31c9a2=_0xc24a48[_0xc24a48['length']-0x1]||'';_0x3c9ef8[_0x453a6a(0x1db)]('\x20\x20'+_0x4e02a5+'\x20\x20'+_0x412bf9+'\x20\x20'+_0xe54180+'\x20\x20'+_0x31c9a2);}else _0x3c9ef8['push']('\x20\x20'+_0x1a59b3[_0x453a6a(0x1ce)]());}return _0x3c9ef8[_0x453a6a(0x1c8)]('\x0a');}function filterDockerImages(_0x1d08dc){const _0xe3f1f4=a0_0xfd983b,_0x2bba4c=_0x1d08dc[_0xe3f1f4(0x1de)]('\x0a')[_0xe3f1f4(0x1cd)](_0x748141=>_0x748141[_0xe3f1f4(0x1ce)]()[_0xe3f1f4(0x1cf)]>0x0);if(_0x2bba4c[_0xe3f1f4(0x1cf)]<=0x1)return _0xe3f1f4(0x1c4);if(_0x2bba4c['length']<=0xf)return _0x1d08dc[_0xe3f1f4(0x1ce)]();const _0x99586c=_0x2bba4c[_0xe3f1f4(0x1d1)](0x1),_0x18a6e8=[_0xe3f1f4(0x1c6)+_0x99586c[_0xe3f1f4(0x1cf)]+'\x20total'];_0x18a6e8[_0xe3f1f4(0x1db)]('');const _0x5b3291=_0x99586c[_0xe3f1f4(0x1d1)](0x0,0x14);for(const _0xddd029 of _0x5b3291){const _0xd21de1=_0xddd029['split'](/\s{2,}/);if(_0xd21de1['length']>=0x3){const _0x3ac4f7=_0xd21de1[0x0],_0x8b2f72=_0xd21de1[0x1],_0xbb44c9=_0xd21de1[_0xd21de1['length']-0x1]||'';_0x18a6e8['push']('\x20\x20'+_0x3ac4f7+':'+_0x8b2f72+'\x20\x20'+_0xbb44c9);}else _0x18a6e8['push']('\x20\x20'+_0xddd029['trim']());}return _0x99586c[_0xe3f1f4(0x1cf)]>0x14&&_0x18a6e8['push'](_0xe3f1f4(0x1c0)+(_0x99586c['length']-0x14)+'\x20more\x20images'),_0x18a6e8['join']('\x0a');}function filterDockerLogs(_0x6ee49c){const _0x3133c2=a0_0xfd983b,_0x5dd548=_0x6ee49c[_0x3133c2(0x1de)]('\x0a');if(_0x5dd548[_0x3133c2(0x1cf)]<=0x32)return _0x6ee49c;const _0x1b2088=[];return _0x1b2088[_0x3133c2(0x1db)](..._0x5dd548[_0x3133c2(0x1d1)](0x0,0x14)),_0x1b2088[_0x3133c2(0x1db)](_0x3133c2(0x1dc)+(_0x5dd548[_0x3133c2(0x1cf)]-0x28)+'\x20lines\x20truncated]\x20...\x0a'),_0x1b2088[_0x3133c2(0x1db)](..._0x5dd548[_0x3133c2(0x1d1)](-0x14)),_0x1b2088['push']('\x0a('+_0x5dd548[_0x3133c2(0x1cf)]+_0x3133c2(0x1d9)),_0x1b2088[_0x3133c2(0x1c8)]('\x0a');}function a0_0x3cb9(){const _0x4793d8=['...\x20+','\x20more','logs','21644QOTbvh','Events:','Containers:\x20','5xCanqm','\x20\x20...\x20(','\x20more\x20resources','11pXMdxq','1310133XAtSdc','describe','\x20\x20...\x20+','substring','get','\x20more\x20lines','No\x20images\x20found','\x20total','Docker\x20images:\x20','filterDockerLogs','join','11910LTNwHQ','\x0a...\x20+','Ruff:\x20','\x20more\x20events','filter','trim','length','All\x20checks\x20passed','slice','defineProperty','332104dBbqMc','2487148DuNrqX','No\x20resources\x20found','filterDockerPs','match','\x20issues\x20in\x20','\x20log\x20lines\x20total)','filterDockerImages','push','\x0a...\x20[','\x20more\x20files','split','2277SRYALS','34139WqcWwv','612sDQEnU','includes','9585609MyMQTg','\x20resources\x20found','filterKubectl','\x20files','Found\x200\x20error'];a0_0x3cb9=function(){return _0x4793d8;};return a0_0x3cb9();}function filterKubectl(_0x11c486,_0x223115){const _0x41ab1a=a0_0xfd983b,_0x298c47=_0x11c486[_0x41ab1a(0x1de)]('\x0a')['filter'](_0x20b764=>_0x20b764[_0x41ab1a(0x1ce)]()[_0x41ab1a(0x1cf)]>0x0);if(_0x298c47[_0x41ab1a(0x1cf)]===0x0)return _0x41ab1a(0x1d5);if(_0x298c47['length']<=0x14)return _0x11c486[_0x41ab1a(0x1ce)]();if(_0x223115===_0x41ab1a(0x1c2)){const _0x5e8bdb=_0x298c47[0x0],_0x3562c0=_0x298c47[_0x41ab1a(0x1d1)](0x1),_0xc84195=[_0x3562c0[_0x41ab1a(0x1cf)]+_0x41ab1a(0x1e4),'',_0x5e8bdb];return _0x3562c0[_0x41ab1a(0x1cf)]<=0x1e?_0xc84195[_0x41ab1a(0x1db)](..._0x3562c0):(_0xc84195[_0x41ab1a(0x1db)](..._0x3562c0[_0x41ab1a(0x1d1)](0x0,0x19)),_0xc84195['push'](_0x41ab1a(0x1b4)+(_0x3562c0[_0x41ab1a(0x1cf)]-0x19)+_0x41ab1a(0x1bc))),_0xc84195[_0x41ab1a(0x1c8)]('\x0a');}if(_0x223115===_0x41ab1a(0x1bf)){const _0x1ed27c=[];let _0x4dc8c0=![],_0x46acf7=0x0;for(const _0x8a356e of _0x298c47){if(_0x8a356e['startsWith'](_0x41ab1a(0x1b8))){_0x4dc8c0=!![],_0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);continue;}if(_0x4dc8c0){_0x46acf7++;if(_0x46acf7<=0x5)_0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);}else _0x1ed27c[_0x41ab1a(0x1db)](_0x8a356e);}return _0x46acf7>0x5&&_0x1ed27c[_0x41ab1a(0x1db)](_0x41ab1a(0x1c0)+(_0x46acf7-0x5)+_0x41ab1a(0x1cc)),_0x1ed27c['join']('\x0a');}if(_0x223115===_0x41ab1a(0x1b6))return filterDockerLogs(_0x11c486);const _0xec5151=_0x298c47[_0x41ab1a(0x1d1)](0x0,0x1e);return _0x298c47[_0x41ab1a(0x1cf)]>0x1e&&_0xec5151[_0x41ab1a(0x1db)](_0x41ab1a(0x1b4)+(_0x298c47[_0x41ab1a(0x1cf)]-0x1e)+_0x41ab1a(0x1c3)),_0xec5151[_0x41ab1a(0x1c8)]('\x0a');}function filterRuff(_0x5efa66){const _0x680511=a0_0xfd983b,_0x3f0e45=_0x5efa66[_0x680511(0x1de)]('\x0a')[_0x680511(0x1cd)](_0x4f8301=>_0x4f8301[_0x680511(0x1ce)]()[_0x680511(0x1cf)]>0x0);if(_0x3f0e45[_0x680511(0x1cf)]===0x0)return'Ruff:\x20no\x20issues\x20found';if(_0x5efa66[_0x680511(0x1e2)](_0x680511(0x1d0))||_0x5efa66[_0x680511(0x1e2)](_0x680511(0x1b3)))return'Ruff:\x20all\x20checks\x20passed';const _0x5de05b=_0x5efa66[_0x680511(0x1d7)](/Found (\d+) error/),_0x2224b1=_0x5de05b?parseInt(_0x5de05b[0x1]):_0x3f0e45['length'],_0x211a59={},_0x332661=[];for(const _0x4c029f of _0x3f0e45){const _0x315ae6=_0x4c029f[_0x680511(0x1d7)](/^([^:]+:\d+:\d+):\s*(.*)/);if(_0x315ae6){const _0x482264=_0x315ae6[0x1],_0x26ca79=_0x482264[_0x680511(0x1de)](':')[0x0];if(!_0x211a59[_0x26ca79])_0x211a59[_0x26ca79]=[];_0x211a59[_0x26ca79][_0x680511(0x1db)](_0x4c029f);}else _0x332661['push'](_0x4c029f);}const _0x283679=Object['keys'](_0x211a59);if(_0x283679[_0x680511(0x1cf)]===0x0){if(_0x3f0e45[_0x680511(0x1cf)]<=0x14)return _0x5efa66['trim']();return _0x3f0e45['slice'](0x0,0xf)['join']('\x0a')+(_0x680511(0x1ca)+(_0x3f0e45[_0x680511(0x1cf)]-0xf)+_0x680511(0x1b5));}const _0x4b8ed4=[_0x680511(0x1cb)+_0x2224b1+_0x680511(0x1d8)+_0x283679[_0x680511(0x1cf)]+_0x680511(0x1b2)];_0x4b8ed4[_0x680511(0x1db)]('');const _0x1d9491=0xa;for(const _0x56bcf1 of _0x283679[_0x680511(0x1d1)](0x0,_0x1d9491)){const _0x5eda12=_0x211a59[_0x56bcf1];if(_0x5eda12[_0x680511(0x1cf)]<=0x3){for(const _0x1c9661 of _0x5eda12)_0x4b8ed4['push']('\x20\x20'+_0x1c9661);}else _0x4b8ed4[_0x680511(0x1db)]('\x20\x20'+_0x5eda12[0x0]),_0x4b8ed4[_0x680511(0x1db)](_0x680511(0x1bb)+_0x5eda12[_0x680511(0x1cf)]+'\x20issues\x20in\x20'+_0x56bcf1+')');}return _0x283679[_0x680511(0x1cf)]>_0x1d9491&&_0x4b8ed4[_0x680511(0x1db)](_0x680511(0x1c0)+(_0x283679[_0x680511(0x1cf)]-_0x1d9491)+_0x680511(0x1dd)),_0x4b8ed4[_0x680511(0x1c8)]('\x0a');}
|
package/filters/generic.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x1d954c=a0_0x1c5b;(function(_0x177659,_0x2d7349){const _0x545bd5=a0_0x1c5b,_0x1cd048=_0x177659();while(!![]){try{const _0x3e979e=parseInt(_0x545bd5(0xa9))/0x1*(parseInt(_0x545bd5(0xa2))/0x2)+parseInt(_0x545bd5(0xa3))/0x3+-parseInt(_0x545bd5(0x92))/0x4+-parseInt(_0x545bd5(0x90))/0x5*(parseInt(_0x545bd5(0xad))/0x6)+parseInt(_0x545bd5(0xab))/0x7*(-parseInt(_0x545bd5(0xa7))/0x8)+parseInt(_0x545bd5(0x8b))/0x9+-parseInt(_0x545bd5(0x95))/0xa;if(_0x3e979e===_0x2d7349)break;else _0x1cd048['push'](_0x1cd048['shift']());}catch(_0xd52578){_0x1cd048['push'](_0x1cd048['shift']());}}}(a0_0x2fe4,0x1bd60));Object[a0_0x1d954c(0x8a)](exports,a0_0x1d954c(0xba),{'value':!![]}),exports[a0_0x1d954c(0x8f)]=stripAnsi,exports[a0_0x1d954c(0x93)]=collapseDuplicates,exports[a0_0x1d954c(0xb1)]=collapseWhitespace,exports['stripComments']=stripComments,exports[a0_0x1d954c(0x98)]=smartCrushJson,exports[a0_0x1d954c(0x89)]=softTruncate;function stripAnsi(_0x3d3c6a){const _0x40b931=/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g;return _0x3d3c6a['replace'](_0x40b931,'');}function a0_0x1c5b(_0x2d350d,_0x4258c1){_0x2d350d=_0x2d350d-0x89;const _0x2fe4fa=a0_0x2fe4();let _0x1c5bf7=_0x2fe4fa[_0x2d350d];return _0x1c5bf7;}function collapseDuplicates(_0x7fbff2){const _0x21c7ab=a0_0x1d954c,_0x34b48d=_0x7fbff2[_0x21c7ab(0xa4)]('\x0a');if(_0x34b48d[_0x21c7ab(0xb0)]<=0x1)return _0x7fbff2;const _0x217ac3=[];let _0x3c67b7=_0x34b48d[0x0],_0x21b9d3=0x1;for(let _0x10b708=0x1;_0x10b708<_0x34b48d['length'];_0x10b708++){const _0x413448=_0x34b48d[_0x10b708];_0x413448===_0x3c67b7&&_0x413448[_0x21c7ab(0xa5)]()[_0x21c7ab(0xb0)]>0x0?_0x21b9d3++:(_0x21b9d3>0x1?_0x217ac3[_0x21c7ab(0xaf)](_0x3c67b7+_0x21c7ab(0x8c)+_0x21b9d3+']'):_0x217ac3['push'](_0x3c67b7),_0x3c67b7=_0x413448,_0x21b9d3=0x1);}return _0x21b9d3>0x1?_0x217ac3['push'](_0x3c67b7+_0x21c7ab(0x8c)+_0x21b9d3+']'):_0x217ac3[_0x21c7ab(0xaf)](_0x3c67b7),_0x217ac3[_0x21c7ab(0xb9)]('\x0a');}function collapseWhitespace(_0xd568d9){const _0x3f3439=a0_0x1d954c;let _0xba08cc=_0xd568d9[_0x3f3439(0xb6)](/[ \t]+$/gm,'');return _0xba08cc=_0xba08cc[_0x3f3439(0xb6)](/\n{4,}/g,_0x3f3439(0x99)),_0xba08cc;}function stripComments(_0x3b9887,_0x55914c){const _0x2aaa8b=a0_0x1d954c;if(!_0x55914c)return _0x3b9887;const _0x2001e2=_0x3b9887[_0x2aaa8b(0xa4)]('\x0a');if(_0x2001e2[_0x2aaa8b(0xb0)]<=0x96)return _0x3b9887;const _0x406a6d={'.ts':/^\s*\/\//,'.js':/^\s*\/\//,'.tsx':/^\s*\/\//,'.jsx':/^\s*\/\//,'.py':/^\s*#(?!!)/,'.rb':/^\s*#(?!!)/,'.sh':/^\s*#(?!!)/,'.go':/^\s*\/\//,'.rs':/^\s*\/\//,'.java':/^\s*\/\//,'.c':/^\s*\/\//,'.cpp':/^\s*\/\//,'.cs':/^\s*\/\//,'.swift':/^\s*\/\//,'.kt':/^\s*\/\//,'.yaml':/^\s*#(?!!)/,'.yml':/^\s*#(?!!)/},_0x502fa2=_0x406a6d[_0x55914c['toLowerCase']()];if(!_0x502fa2)return _0x3b9887;const _0x17e91c=_0x2001e2[_0x2aaa8b(0xa0)](_0x20c0b4=>!_0x502fa2[_0x2aaa8b(0x91)](_0x20c0b4));return _0x17e91c[_0x2aaa8b(0xb9)]('\x0a');}function smartCrushJson(_0x2a8515){const _0x281ba3=a0_0x1d954c;try{const _0x5ac946=_0x2a8515[_0x281ba3(0xa5)]();if(!_0x5ac946[_0x281ba3(0xb2)]('['))return null;const _0x70b294=JSON[_0x281ba3(0x9f)](_0x5ac946);if(!Array[_0x281ba3(0xb4)](_0x70b294)||_0x70b294[_0x281ba3(0xb0)]<0x3)return null;if(typeof _0x70b294[0x0]!==_0x281ba3(0xb3)||_0x70b294[0x0]===null)return null;const _0x3d350c=Object[_0x281ba3(0xa8)](_0x70b294[0x0]);if(_0x3d350c[_0x281ba3(0xb0)]===0x0)return null;const _0x2973be=_0x3d350c[_0x281ba3(0xa0)](_0x4c42f9=>{const _0x591173=_0x281ba3,_0x4f420f=_0x4c42f9[_0x591173(0xb8)]();return!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9a))&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9e))&&!_0x4f420f[_0x591173(0xa1)]('sha')&&!_0x4f420f[_0x591173(0xa1)]('hash')&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x8d))&&!_0x4f420f[_0x591173(0xa1)](_0x591173(0x9b))&&!_0x4f420f[_0x591173(0xa1)]('dev')&&_0x4f420f!==_0x591173(0xac)&&_0x4f420f!==_0x591173(0xae)&&_0x4f420f!==_0x591173(0xaa)&&_0x4f420f!==_0x591173(0x9c);})['slice'](0x0,0x6);if(_0x2973be['length']===0x0)return null;const _0x5d27f0=[];_0x5d27f0[_0x281ba3(0xaf)](_0x2973be[_0x281ba3(0xb9)]('|'));const _0x3ea6cd=0x1e;for(let _0x5976b6=0x0;_0x5976b6<Math['min'](_0x70b294[_0x281ba3(0xb0)],_0x3ea6cd);_0x5976b6++){const _0x3df75f=_0x2973be[_0x281ba3(0x8e)](_0x4f47e7=>{const _0x51e3aa=_0x281ba3,_0x8a7691=_0x70b294[_0x5976b6][_0x4f47e7];if(_0x8a7691===null||_0x8a7691===undefined)return'';if(typeof _0x8a7691===_0x51e3aa(0xb3))return JSON['stringify'](_0x8a7691)['substring'](0x0,0x28);return String(_0x8a7691)['substring'](0x0,0x3c);});_0x5d27f0[_0x281ba3(0xaf)](_0x3df75f[_0x281ba3(0xb9)]('|'));}_0x70b294[_0x281ba3(0xb0)]>_0x3ea6cd&&_0x5d27f0[_0x281ba3(0xaf)](_0x281ba3(0x94)+(_0x70b294['length']-_0x3ea6cd)+_0x281ba3(0xb5));_0x5d27f0[_0x281ba3(0xaf)]('\x0a('+_0x70b294[_0x281ba3(0xb0)]+'\x20items,\x20'+_0x3d350c['length']+_0x281ba3(0x97)+_0x2973be['length']+_0x281ba3(0x96));const _0x4f59f2=_0x5d27f0[_0x281ba3(0xb9)]('\x0a');if(_0x4f59f2[_0x281ba3(0xb0)]<_0x5ac946[_0x281ba3(0xb0)])return _0x4f59f2;return null;}catch{return null;}}function softTruncate(_0x3c9919,_0x442c62=0x4e20){const _0x2e1239=a0_0x1d954c;if(_0x3c9919[_0x2e1239(0xb0)]<=_0x442c62)return _0x3c9919;const _0x1bf8e7=_0x3c9919[_0x2e1239(0xa4)]('\x0a');if(_0x1bf8e7[_0x2e1239(0xb0)]<=0xc8)return _0x3c9919;const _0x4285ec=0x32,_0x5590d1=0x96,_0x4f76d8=_0x1bf8e7['slice'](0x0,_0x4285ec),_0x95c953=_0x1bf8e7[_0x2e1239(0x9d)](_0x1bf8e7['length']-_0x5590d1),_0x2320b4=_0x3c9919[_0x2e1239(0xb0)]-(_0x4f76d8[_0x2e1239(0xb9)]('\x0a')[_0x2e1239(0xb0)]+_0x95c953[_0x2e1239(0xb9)]('\x0a')[_0x2e1239(0xb0)]);return[..._0x4f76d8,_0x2e1239(0xb7)+_0x2320b4+_0x2e1239(0xa6),..._0x95c953][_0x2e1239(0xb9)]('\x0a');}function a0_0x2fe4(){const _0x2038e7=['keys','7284ZZcElA','bugs','105TdNPgT','funding','603426umvqmn','engines','push','length','collapseWhitespace','startsWith','object','isArray','\x20more\x20rows','replace','\x0a...\x20[TrimPrompt:\x20Truncated\x20','toLowerCase','join','__esModule','softTruncate','defineProperty','1490535edAWDn','\x20[x','checksum','map','stripAnsi','5qJNVqV','test','552816avGtyW','collapseDuplicates','...\x20+','27230VwPXGy','\x20key\x20fields)','\x20fields,\x20showing\x20','smartCrushJson','\x0a\x0a\x0a','resolved','signature','repository','slice','integrity','parse','filter','includes','26fHVymN','493026dgYlFL','split','trim','\x20characters\x20of\x20output]\x20...\x0a','36872zmCjPY'];a0_0x2fe4=function(){return _0x2038e7;};return a0_0x2fe4();}
|
package/filters/git.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x4bd95f=a0_0x2b1c;function a0_0x2b1c(_0x5b1baa,_0x35fe21){_0x5b1baa=_0x5b1baa-0x198;const _0x34292f=a0_0x3429();let _0x2b1ccc=_0x34292f[_0x5b1baa];return _0x2b1ccc;}(function(_0x54afbc,_0x2950ce){const _0x5d291b=a0_0x2b1c,_0x34b0c1=_0x54afbc();while(!![]){try{const _0x33f428=parseInt(_0x5d291b(0x1af))/0x1+parseInt(_0x5d291b(0x1a7))/0x2+parseInt(_0x5d291b(0x1b8))/0x3*(-parseInt(_0x5d291b(0x19a))/0x4)+-parseInt(_0x5d291b(0x1c9))/0x5+-parseInt(_0x5d291b(0x1ba))/0x6+parseInt(_0x5d291b(0x1ac))/0x7+-parseInt(_0x5d291b(0x1ae))/0x8;if(_0x33f428===_0x2950ce)break;else _0x34b0c1['push'](_0x34b0c1['shift']());}catch(_0x35edec){_0x34b0c1['push'](_0x34b0c1['shift']());}}}(a0_0x3429,0x39596));function a0_0x3429(){const _0x5a2e02=['get','default','893068RwlBjO','writable','slice','filterGitLog','__createBinding','1736042WejlkD','\x20(+','768024OVBMpU','434917TsRnAs','trim','\x20\x20...\x20+','\x20lines\x20of\x20description)','create','split','path','startsWith','/\x20(','177213ScyYXu','---END---','1347186YxapLN','Clean\x20working\x20tree','configurable','[file]\x20','match','diff\x20--git','\x20\x20...\x20(+','\x20\x20??\x20','filterGitDiff','call','filter','__esModule','__importStar','\x0aUntracked\x20files:','unknown_file','802620qIIZXy','getOwnPropertyNames','__setModuleDefault','basename','28GLiwjw','+++','defineProperty','length','map','getOwnPropertyDescriptor','\x20untracked\x20files)','substring','hasOwnProperty','push','join'];a0_0x3429=function(){return _0x5a2e02;};return a0_0x3429();}var __createBinding=this&&this[a0_0x4bd95f(0x1ab)]||(Object[a0_0x4bd95f(0x1b3)]?function(_0x1d96b9,_0x38ac6b,_0x567730,_0x44e2d1){const _0xf809b6=a0_0x4bd95f;if(_0x44e2d1===undefined)_0x44e2d1=_0x567730;var _0xa832f5=Object[_0xf809b6(0x19f)](_0x38ac6b,_0x567730);(!_0xa832f5||(_0xf809b6(0x1a5)in _0xa832f5?!_0x38ac6b[_0xf809b6(0x1c5)]:_0xa832f5[_0xf809b6(0x1a8)]||_0xa832f5[_0xf809b6(0x1bc)]))&&(_0xa832f5={'enumerable':!![],'get':function(){return _0x38ac6b[_0x567730];}}),Object[_0xf809b6(0x19c)](_0x1d96b9,_0x44e2d1,_0xa832f5);}:function(_0xf779f9,_0x88c0cc,_0x238602,_0x1b6f12){if(_0x1b6f12===undefined)_0x1b6f12=_0x238602;_0xf779f9[_0x1b6f12]=_0x88c0cc[_0x238602];}),__setModuleDefault=this&&this[a0_0x4bd95f(0x198)]||(Object[a0_0x4bd95f(0x1b3)]?function(_0x5ce54d,_0x50da2e){const _0x133203=a0_0x4bd95f;Object[_0x133203(0x19c)](_0x5ce54d,_0x133203(0x1a6),{'enumerable':!![],'value':_0x50da2e});}:function(_0x3924ba,_0x19f0e6){const _0x3a4c5b=a0_0x4bd95f;_0x3924ba[_0x3a4c5b(0x1a6)]=_0x19f0e6;}),__importStar=this&&this[a0_0x4bd95f(0x1c6)]||(function(){var _0x4f7d39=function(_0x29d66d){const _0x1542cc=a0_0x2b1c;return _0x4f7d39=Object[_0x1542cc(0x1ca)]||function(_0x261e03){const _0x27c65c=_0x1542cc;var _0x1943c2=[];for(var _0x21b117 in _0x261e03)if(Object['prototype'][_0x27c65c(0x1a2)][_0x27c65c(0x1c3)](_0x261e03,_0x21b117))_0x1943c2[_0x1943c2[_0x27c65c(0x19d)]]=_0x21b117;return _0x1943c2;},_0x4f7d39(_0x29d66d);};return function(_0x4f745e){const _0x547eec=a0_0x2b1c;if(_0x4f745e&&_0x4f745e[_0x547eec(0x1c5)])return _0x4f745e;var _0x47d749={};if(_0x4f745e!=null){for(var _0x284f8b=_0x4f7d39(_0x4f745e),_0x320e27=0x0;_0x320e27<_0x284f8b[_0x547eec(0x19d)];_0x320e27++)if(_0x284f8b[_0x320e27]!==_0x547eec(0x1a6))__createBinding(_0x47d749,_0x4f745e,_0x284f8b[_0x320e27]);}return __setModuleDefault(_0x47d749,_0x4f745e),_0x47d749;};}());Object[a0_0x4bd95f(0x19c)](exports,a0_0x4bd95f(0x1c5),{'value':!![]}),exports['filterGitStatus']=filterGitStatus,exports[a0_0x4bd95f(0x1aa)]=filterGitLog,exports[a0_0x4bd95f(0x1c2)]=filterGitDiff;const path=__importStar(require(a0_0x4bd95f(0x1b5)));function filterGitStatus(_0x4d461f){const _0x2a851e=a0_0x4bd95f,_0x35aff6=_0x4d461f[_0x2a851e(0x1b4)]('\x0a')[_0x2a851e(0x19e)](_0x1e89ee=>_0x1e89ee[_0x2a851e(0x1b0)]())['filter'](_0x37058e=>_0x37058e['length']>0x0);if(_0x35aff6[_0x2a851e(0x19d)]===0x0)return _0x2a851e(0x1bb);const _0x2ccc91=[],_0x34fc5c=[],_0x616c65=[];for(const _0x32089b of _0x35aff6){if(_0x32089b['startsWith']('##')){const _0x441233=_0x32089b['replace'](/^##\s*/,'');_0x2ccc91[_0x2a851e(0x1a3)]('*\x20Branch:\x20'+_0x441233);}else _0x32089b[_0x2a851e(0x1b6)]('??')?_0x34fc5c['push'](_0x32089b[_0x2a851e(0x1a1)](0x3)[_0x2a851e(0x1b0)]()):_0x616c65[_0x2a851e(0x1a3)](_0x32089b);}_0x616c65['length']>0x0&&(_0x2ccc91[_0x2a851e(0x1a3)]('\x0aChanges:'),_0x2ccc91[_0x2a851e(0x1a3)](..._0x616c65[_0x2a851e(0x19e)](_0x14c4d8=>'\x20\x20'+_0x14c4d8)));if(_0x34fc5c[_0x2a851e(0x19d)]>0x0){_0x2ccc91['push'](_0x2a851e(0x1c7));const _0x201afc={},_0x3f9fd4=[];for(const _0x22b761 of _0x34fc5c){const _0x514f93=path['dirname'](_0x22b761);_0x514f93==='.'||_0x514f93===''?_0x3f9fd4[_0x2a851e(0x1a3)](_0x22b761):(!_0x201afc[_0x514f93]&&(_0x201afc[_0x514f93]=[]),_0x201afc[_0x514f93][_0x2a851e(0x1a3)](path[_0x2a851e(0x199)](_0x22b761)));}for(const [_0x47c635,_0x15f94e]of Object['entries'](_0x201afc)){if(_0x15f94e['length']>0x5)_0x2ccc91[_0x2a851e(0x1a3)](_0x2a851e(0x1c1)+_0x47c635+_0x2a851e(0x1b7)+_0x15f94e[_0x2a851e(0x19d)]+_0x2a851e(0x1a0));else for(const _0x52245b of _0x15f94e){_0x2ccc91['push'](_0x2a851e(0x1c1)+path[_0x2a851e(0x1a4)](_0x47c635,_0x52245b));}}for(const _0x179c0e of _0x3f9fd4){_0x2ccc91['push']('\x20\x20??\x20'+_0x179c0e);}}return _0x2ccc91[_0x2a851e(0x1a4)]('\x0a');}function filterGitLog(_0x2a0738){const _0x522cbb=a0_0x4bd95f,_0x23ceb0=_0x2a0738['split'](_0x522cbb(0x1b9))[_0x522cbb(0x19e)](_0xae0194=>_0xae0194[_0x522cbb(0x1b0)]())[_0x522cbb(0x1c4)](_0x17683a=>_0x17683a[_0x522cbb(0x19d)]>0x0);if(_0x23ceb0[_0x522cbb(0x19d)]===0x0)return _0x2a0738;const _0x429f36=[];for(const _0x4c4da4 of _0x23ceb0){const _0x453452=_0x4c4da4[_0x522cbb(0x1b4)]('\x0a'),_0x5e4609=_0x453452[0x0]||'',_0x16c66b=_0x453452[_0x522cbb(0x1a9)](0x1)[_0x522cbb(0x19e)](_0x6bd88c=>_0x6bd88c[_0x522cbb(0x1b0)]())['filter'](_0x5e375e=>_0x5e375e[_0x522cbb(0x19d)]>0x0);_0x429f36['push']('-\x20'+_0x5e4609),_0x16c66b[_0x522cbb(0x19d)]>0x0&&(_0x429f36[_0x522cbb(0x1a3)]('\x20\x20'+_0x16c66b[0x0]),_0x16c66b['length']>0x1&&_0x429f36[_0x522cbb(0x1a3)](_0x522cbb(0x1c0)+(_0x16c66b['length']-0x1)+_0x522cbb(0x1b2)));}return _0x429f36[_0x522cbb(0x1a4)]('\x0a');}function filterGitDiff(_0x27bf51){const _0x59001f=a0_0x4bd95f,_0x2b44b2=_0x27bf51[_0x59001f(0x1b4)]('\x0a'),_0x1816d2=[];let _0x337bb0='',_0xd248ef=0x0,_0x5b2f24=0x0,_0x152c72=[];const _0x328a3e=()=>{const _0x131961=_0x59001f;if(_0x337bb0&&(_0xd248ef>0x0||_0x5b2f24>0x0)){_0x1816d2[_0x131961(0x1a3)](_0x131961(0x1bd)+_0x337bb0+_0x131961(0x1ad)+_0xd248ef+'\x20-'+_0x5b2f24+')');const _0x87c2a0=0xa,_0x3633d8=_0x152c72['slice'](0x0,_0x87c2a0);for(const _0x379379 of _0x3633d8){_0x1816d2[_0x131961(0x1a3)]('\x20\x20'+_0x379379);}const _0x5b6434=_0xd248ef+_0x5b2f24-_0x87c2a0;_0x5b6434>0x0&&_0x1816d2[_0x131961(0x1a3)](_0x131961(0x1b1)+_0x5b6434+'\x20more\x20modifications');}_0xd248ef=0x0,_0x5b2f24=0x0,_0x152c72=[];};for(const _0x5c8331 of _0x2b44b2){if(_0x5c8331[_0x59001f(0x1b6)](_0x59001f(0x1bf))){_0x328a3e();const _0x336160=_0x5c8331[_0x59001f(0x1be)](/\sb\/(.+)$/);_0x337bb0=_0x336160?_0x336160[0x1]:_0x59001f(0x1c8);}else{if(_0x5c8331['startsWith']('+')&&!_0x5c8331[_0x59001f(0x1b6)](_0x59001f(0x19b)))_0xd248ef++,_0x152c72['push'](_0x5c8331);else _0x5c8331[_0x59001f(0x1b6)]('-')&&!_0x5c8331[_0x59001f(0x1b6)]('---')&&(_0x5b2f24++,_0x152c72[_0x59001f(0x1a3)](_0x5c8331));}}_0x328a3e();const _0x55709a=_0x1816d2['join']('\x0a');return _0x55709a[_0x59001f(0x19d)]>0x0?_0x55709a:'No\x20modifications';}
|
package/filters/go.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x5881ef=a0_0x5036;(function(_0x114bff,_0x1c60f8){const _0x18ed2b=a0_0x5036,_0x4c2960=_0x114bff();while(!![]){try{const _0x7d1971=-parseInt(_0x18ed2b(0xa5))/0x1+parseInt(_0x18ed2b(0xb1))/0x2+-parseInt(_0x18ed2b(0xaf))/0x3+parseInt(_0x18ed2b(0xad))/0x4+-parseInt(_0x18ed2b(0xc0))/0x5+parseInt(_0x18ed2b(0x9c))/0x6*(-parseInt(_0x18ed2b(0xba))/0x7)+parseInt(_0x18ed2b(0xb0))/0x8;if(_0x7d1971===_0x1c60f8)break;else _0x4c2960['push'](_0x4c2960['shift']());}catch(_0x3b6648){_0x4c2960['push'](_0x4c2960['shift']());}}}(a0_0x5224,0xef20f));Object['defineProperty'](exports,a0_0x5881ef(0x9f),{'value':!![]}),exports[a0_0x5881ef(0xb5)]=filterGoTest,exports[a0_0x5881ef(0xb6)]=filterGoVet;function filterGoTest(_0x3631f3){const _0x4b0883=a0_0x5881ef,_0x59a296=_0x3631f3['split']('\x0a');let _0x51fb07=0x0,_0x1053df=0x0,_0x2a9f65=0x0;const _0x9be4af=[],_0x1b8a2c=[];let _0x30e130=null;for(const _0x23066a of _0x59a296){const _0x537e0f=_0x23066a['trim'](),_0xe9945c=_0x537e0f[_0x4b0883(0xbd)](/^ok\s+\S+\s+[\d.]+s/);if(_0xe9945c){_0x1b8a2c[_0x4b0883(0xa9)](_0x537e0f);continue;}const _0x2ff930=_0x537e0f[_0x4b0883(0xbd)](/^FAIL\s+\S+/);if(_0x2ff930){_0x1b8a2c[_0x4b0883(0xa9)](_0x537e0f);continue;}const _0x32327e=_0x537e0f[_0x4b0883(0xbd)](/^--- PASS:/);if(_0x32327e){_0x51fb07++;continue;}const _0xd7d1b=_0x537e0f['match'](/^--- FAIL:\s+(\S+)/);if(_0xd7d1b){if(_0x30e130)_0x9be4af[_0x4b0883(0xa9)](_0x30e130);_0x30e130={'name':_0xd7d1b[0x1],'lines':[]},_0x1053df++;continue;}if(_0x537e0f[_0x4b0883(0xa3)](_0x4b0883(0xb3))){_0x2a9f65++;continue;}_0x30e130&&_0x537e0f['length']>0x0&&!_0x537e0f[_0x4b0883(0xa3)]('===\x20RUN')&&_0x30e130['lines'][_0x4b0883(0xa9)](_0x23066a),_0x537e0f[_0x4b0883(0xa3)](_0x4b0883(0x96))&&(_0x30e130&&(_0x9be4af[_0x4b0883(0xa9)](_0x30e130),_0x30e130=null));}if(_0x30e130)_0x9be4af[_0x4b0883(0xa9)](_0x30e130);if(_0x51fb07===0x0&&_0x1053df===0x0&&_0x2a9f65===0x0){if(_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xa1))&&!_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xab)))return _0x4b0883(0xac);if(_0x3631f3[_0x4b0883(0xa4)](_0x4b0883(0xb4)))return'Go\x20test:\x20no\x20test\x20files';return _0x3631f3;}if(_0x1053df===0x0){const _0x3a3b32=[_0x4b0883(0xa2)+_0x51fb07+_0x4b0883(0x9b)];if(_0x2a9f65>0x0)_0x3a3b32['push'](_0x2a9f65+_0x4b0883(0xaa));return _0x3a3b32[_0x4b0883(0xb7)](',\x20');}const _0x51ab60=[_0x4b0883(0xa2)+_0x51fb07+_0x4b0883(0xbf)+_0x1053df+'\x20failed,\x20'+_0x2a9f65+'\x20skipped'];if(_0x9be4af['length']>0x0){_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0xbe));const _0x5b9f33=0x3;for(let _0x168862=0x0;_0x168862<Math['min'](_0x9be4af[_0x4b0883(0x98)],_0x5b9f33);_0x168862++){const _0x41e410=_0x9be4af[_0x168862];_0x51ab60[_0x4b0883(0xa9)]('\x20\x20'+(_0x168862+0x1)+'.\x20'+_0x41e410[_0x4b0883(0x99)]);for(const _0x291f0d of _0x41e410[_0x4b0883(0x9e)][_0x4b0883(0xa0)](0x0,0x5)){_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0xb2)+_0x291f0d['trim']());}_0x41e410[_0x4b0883(0x9e)][_0x4b0883(0x98)]>0x5&&_0x51ab60[_0x4b0883(0xa9)](_0x4b0883(0x9d)+(_0x41e410[_0x4b0883(0x9e)]['length']-0x5)+_0x4b0883(0xa6));}_0x9be4af['length']>_0x5b9f33&&_0x51ab60['push'](_0x4b0883(0xb9)+(_0x9be4af[_0x4b0883(0x98)]-_0x5b9f33)+'\x20more\x20failures');}return _0x51ab60[_0x4b0883(0xb7)]('\x0a');}function a0_0x5036(_0x2a6866,_0x481b6d){_0x2a6866=_0x2a6866-0x96;const _0x52241f=a0_0x5224();let _0x503608=_0x52241f[_0x2a6866];return _0x503608;}function a0_0x5224(){const _0x1a473c=['\x20more\x20issues','\x20issues\x20found','match','\x0aFailures:','\x20passed,\x20','5499640KcqKtX','===\x20RUN','split','length','name','Go\x20vet:\x20no\x20issues\x20found','\x20passed','3048EKamIw','\x20\x20\x20\x20...\x20+','lines','__esModule','slice','PASS','Go\x20test:\x20','startsWith','includes','1940672BxHSXw','\x20more\x20lines','...\x20+','trim','push','\x20skipped','FAIL','Go\x20test:\x20all\x20tests\x20passed','3314044swSsNu','Go\x20vet:\x20','4891416zzMXjO','28392520JBGZph','2835494IBmICU','\x20\x20\x20\x20','---\x20SKIP:','no\x20test\x20files','filterGoTest','filterGoVet','join','filter','\x20\x20...\x20+','1995joapsB'];a0_0x5224=function(){return _0x1a473c;};return a0_0x5224();}function filterGoVet(_0x49554a){const _0x47de02=a0_0x5881ef,_0xc05a37=_0x49554a[_0x47de02(0x97)]('\x0a')[_0x47de02(0xb8)](_0x283caa=>_0x283caa[_0x47de02(0xa8)]()[_0x47de02(0x98)]>0x0);if(_0xc05a37[_0x47de02(0x98)]===0x0)return _0x47de02(0x9a);if(_0xc05a37[_0x47de02(0x98)]<=0x14)return _0x49554a['trim']();const _0xd8a905=[_0x47de02(0xae)+_0xc05a37[_0x47de02(0x98)]+_0x47de02(0xbc)];return _0xd8a905[_0x47de02(0xa9)](..._0xc05a37['slice'](0x0,0xa)),_0xc05a37[_0x47de02(0x98)]>0xa&&_0xd8a905[_0x47de02(0xa9)](_0x47de02(0xa7)+(_0xc05a37['length']-0xa)+_0x47de02(0xbb)),_0xd8a905['join']('\x0a');}
|
package/filters/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a0_0x596d(_0x11b32f,_0xbfaff1){const _0x5cf4d2=a0_0x5cf4();return a0_0x596d=function(_0x596d72,_0x172591){_0x596d72=_0x596d72-0x157;let _0x99961e=_0x5cf4d2[_0x596d72];return _0x99961e;},a0_0x596d(_0x11b32f,_0xbfaff1);}const a0_0x18ac55=a0_0x596d;(function(_0x406ebe,_0x42ea49){const _0x2898b1=a0_0x596d,_0xfca3bc=_0x406ebe();while(!![]){try{const _0x210c59=-parseInt(_0x2898b1(0x183))/0x1+parseInt(_0x2898b1(0x15d))/0x2+parseInt(_0x2898b1(0x1a3))/0x3*(parseInt(_0x2898b1(0x1bb))/0x4)+-parseInt(_0x2898b1(0x1ba))/0x5+-parseInt(_0x2898b1(0x1b6))/0x6*(-parseInt(_0x2898b1(0x1bc))/0x7)+parseInt(_0x2898b1(0x18d))/0x8+-parseInt(_0x2898b1(0x16a))/0x9;if(_0x210c59===_0x42ea49)break;else _0xfca3bc['push'](_0xfca3bc['shift']());}catch(_0xbbcb19){_0xfca3bc['push'](_0xfca3bc['shift']());}}}(a0_0x5cf4,0xcd4a4));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x18ac55(0x19d)]=exports[a0_0x18ac55(0x19a)]=void 0x0,exports[a0_0x18ac55(0x1aa)]=compressOutput,exports['rewriteCommand']=rewriteCommand;const generic_1=require('./generic'),git_1=require('./git'),python_1=require(a0_0x18ac55(0x15e)),js_1=require('./js'),shell_1=require(a0_0x18ac55(0x167)),rust_1=require(a0_0x18ac55(0x1a6)),go_1=require(a0_0x18ac55(0x196)),devops_1=require('./devops'),redactor_1=require(a0_0x18ac55(0x169)),tracker_1=require(a0_0x18ac55(0x1a7));exports[a0_0x18ac55(0x19a)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x18ac55(0x19d)]=[];function isFeatureEnabled(_0x47bd11){const _0x473e1b=a0_0x18ac55;try{const _0x41b385=tracker_1[_0x473e1b(0x17e)][_0x473e1b(0x171)](),_0x2c3c1d=_0x41b385[_0x473e1b(0x197)];if(!_0x2c3c1d||_0x2c3c1d[_0x47bd11]===undefined)return!![];return _0x2c3c1d[_0x47bd11]!==![];}catch{return!![];}}function compressOutput(_0x576ec6,_0x1de331,_0x3163f2,_0x3be560=!![]){const _0xc4cf4e=a0_0x18ac55,_0xbd077b=_0x576ec6[_0xc4cf4e(0x192)]();let _0x11b24b=_0x1de331;_0x3163f2['trim']()[_0xc4cf4e(0x175)]>0x0&&(_0x11b24b=_0x1de331+'\x0a'+_0x3163f2);let _0x4c823a=isFeatureEnabled(_0xc4cf4e(0x15b))?(0x0,generic_1[_0xc4cf4e(0x165)])(_0x11b24b):_0x11b24b;const _0x90ee2b=[];if(_0x4c823a[_0xc4cf4e(0x175)]<_0x11b24b[_0xc4cf4e(0x175)])_0x90ee2b[_0xc4cf4e(0x182)](_0xc4cf4e(0x15b));const _0x3f63c9=(_0x86da5c,_0xce0b78)=>{const _0x599582=_0xc4cf4e;return _0x90ee2b[_0x599582(0x182)](_0x86da5c),exports[_0x599582(0x19d)]=_0x90ee2b,_0xce0b78;};if(_0x3be560&&isFeatureEnabled(_0xc4cf4e(0x160))){const _0x2af93d=redactor_1[_0xc4cf4e(0x174)][_0xc4cf4e(0x172)](_0x4c823a);_0x4c823a=_0x2af93d[_0xc4cf4e(0x1a1)],exports[_0xc4cf4e(0x19a)]={'secretsFound':_0x2af93d[_0xc4cf4e(0x16e)],'secretTypes':_0x2af93d[_0xc4cf4e(0x16b)]};if(_0x2af93d[_0xc4cf4e(0x16e)]>0x0)_0x90ee2b[_0xc4cf4e(0x182)](_0xc4cf4e(0x160));}else exports[_0xc4cf4e(0x19a)]={'secretsFound':0x0,'secretTypes':[]};const _0xee6caa=_0xbd077b['toLowerCase'](),_0xe93c8f=isFeatureEnabled(_0xc4cf4e(0x1ae));try{if(_0xe93c8f){if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x1a8))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x1b7)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,git_1['filterGitStatus'])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x15c))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x186)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,git_1['filterGitLog'])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x168))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x189))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x176)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,git_1[_0xc4cf4e(0x198)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)]('pytest')||_0xee6caa[_0xc4cf4e(0x177)](/python3?\s+-m\s+pytest/))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,python_1[_0xc4cf4e(0x1b8)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x185))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x161)))return _0x3f63c9('filter',(0x0,python_1[_0xc4cf4e(0x15a)])(_0x4c823a));if(_0xee6caa['includes'](_0xc4cf4e(0x188))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x18e)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,devops_1[_0xc4cf4e(0x195)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x199))||_0xee6caa['includes'](_0xc4cf4e(0x19b))||_0xee6caa[_0xc4cf4e(0x190)]('npm\x20i')||_0xee6caa['includes'](_0xc4cf4e(0x157))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x180)))return _0x3f63c9('filter',(0x0,js_1[_0xc4cf4e(0x1a5)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)]('jest')||_0xee6caa['includes']('vitest'))return _0x3f63c9('filter',(0x0,js_1[_0xc4cf4e(0x1b3)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)]('npm\x20test')||_0xee6caa['includes'](_0xc4cf4e(0x19e))||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x184))||_0xee6caa[_0xc4cf4e(0x187)]('npm\x20run\x20test'))return _0x3f63c9('filter',(0x0,js_1[_0xc4cf4e(0x1b3)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x1b9)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,rust_1[_0xc4cf4e(0x1a2)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x18c))||_0xee6caa[_0xc4cf4e(0x187)]('cargo\x20check')||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x18b)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,rust_1[_0xc4cf4e(0x18f)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)]('go\x20test'))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,go_1['filterGoTest'])(_0x4c823a));if(_0xee6caa['includes']('go\x20vet'))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,go_1[_0xc4cf4e(0x15f)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x177)](/docker\s+ps/))return _0x3f63c9('filter',(0x0,devops_1[_0xc4cf4e(0x19f)])(_0x4c823a));if(_0xee6caa['match'](/docker\s+images/))return _0x3f63c9('filter',(0x0,devops_1[_0xc4cf4e(0x191)])(_0x4c823a));if(_0xee6caa['match'](/docker\s+logs/))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,devops_1[_0xc4cf4e(0x1a4)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x187)]('kubectl')){const _0x5943fa=_0xee6caa['match'](/kubectl\s+(get|logs|describe|apply)/),_0x19ea8b=_0x5943fa?_0x5943fa[0x1]:_0xc4cf4e(0x17b);return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,devops_1[_0xc4cf4e(0x1ac)])(_0x4c823a,_0x19ea8b));}if(_0xee6caa[_0xc4cf4e(0x177)](/^(ls|dir)(\s|$)/)||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x1b0))||_0xee6caa[_0xc4cf4e(0x190)]('\x20ls'))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,shell_1[_0xc4cf4e(0x164)])(_0x4c823a));if(_0xee6caa['match'](/^tree(\s|$)/)||_0xee6caa[_0xc4cf4e(0x187)](_0xc4cf4e(0x1ad))||_0xee6caa[_0xc4cf4e(0x190)](_0xc4cf4e(0x173)))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,shell_1[_0xc4cf4e(0x1b4)])(_0x4c823a));if(_0xee6caa['match'](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x54ee64=(0x0,shell_1[_0xc4cf4e(0x1af)])(_0x4c823a,_0xbd077b);if(_0x54ee64[_0xc4cf4e(0x187)](_0xc4cf4e(0x17d)))_0x90ee2b[_0xc4cf4e(0x182)](_0xc4cf4e(0x1a9));else{if(_0x54ee64[_0xc4cf4e(0x187)]('[binary')||_0x54ee64[_0xc4cf4e(0x187)](_0xc4cf4e(0x17f)))_0x90ee2b['push']('binary');else{if(_0x54ee64[_0xc4cf4e(0x187)](_0xc4cf4e(0x16d)))_0x90ee2b['push'](_0xc4cf4e(0x158));else{if(_0x54ee64[_0xc4cf4e(0x187)]('|\x20')&&_0x54ee64[_0xc4cf4e(0x187)](_0xc4cf4e(0x18a))&&_0x54ee64[_0xc4cf4e(0x175)]<_0x4c823a['length']*0.5)_0x90ee2b['push'](_0xc4cf4e(0x170));else{if(_0x54ee64[_0xc4cf4e(0x187)]('lines\x20truncated'))_0x90ee2b['push'](_0xc4cf4e(0x1ae));}}}}if(_0x54ee64[_0xc4cf4e(0x175)]<_0x4c823a['length']&&!_0x90ee2b[_0xc4cf4e(0x193)](_0x37da3a=>_0x37da3a!=='ansi_strip'&&_0x37da3a!==_0xc4cf4e(0x160)))_0x90ee2b[_0xc4cf4e(0x182)](_0xc4cf4e(0x1ae));return exports[_0xc4cf4e(0x19d)]=_0x90ee2b,_0x54ee64;}if(_0xee6caa[_0xc4cf4e(0x177)](/^find(\s|$)/))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,shell_1[_0xc4cf4e(0x1b2)])(_0x4c823a));if(_0xee6caa[_0xc4cf4e(0x177)](/^(grep|rg|ripgrep)(\s|$)/))return _0x3f63c9(_0xc4cf4e(0x1ae),(0x0,shell_1[_0xc4cf4e(0x17c)])(_0x4c823a));}}catch(_0x1b044d){}return isFeatureEnabled(_0xc4cf4e(0x166))&&(_0x4c823a=(0x0,generic_1['collapseWhitespace'])(_0x4c823a),_0x90ee2b['push'](_0xc4cf4e(0x166))),_0x4c823a=(0x0,generic_1[_0xc4cf4e(0x16c)])(_0x4c823a),_0x4c823a=(0x0,generic_1[_0xc4cf4e(0x181)])(_0x4c823a,0x4e20),exports[_0xc4cf4e(0x19d)]=_0x90ee2b,_0x4c823a;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x18ac55(0x1ab)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':'trim\x20gh'},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x18ac55(0x162)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':'trim\x20cargo'},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':'trim\x20pnpm'},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x18ac55(0x194)},{'pattern':/^npx\s+/,'prefix':a0_0x18ac55(0x163)},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x18ac55(0x16f)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x18ac55(0x19c)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':a0_0x18ac55(0x178)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x18ac55(0x179)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x18ac55(0x159)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x18ac55(0x1b1)},{'pattern':/^ruff\s+(check|format)/,'prefix':'trim\x20ruff'},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':'trim\x20pip'},{'pattern':/^go\s+(test|build|vet)/,'prefix':'trim\x20go'}];function a0_0x5cf4(){const _0x55eb49=['./go','features_enabled','filterGitDiff','npm\x20install','lastRedactAudit','npm\x20i\x20','trim\x20ls','lastFeatures','pnpm\x20test','filterDockerPs','pattern','text','filterCargoTest','59127NKBhKC','filterDockerLogs','filterNpmInstall','./rust','../tracker','git\x20status','lock','compressOutput','trim\x20git','filterKubectl','\x20tree\x20','filter','filterCat','\x20ls\x20','trim\x20pytest','filterFind','filterJestVitest','filterTree','startsWith','390612Ppymdt','yadm\x20status','filterPytest','cargo\x20test','2064160JJkmAJ','52pJOfAx','28YLTDPf','pnpm\x20install','skeleton','trim\x20kubectl','filterPipInstall','ansi_strip','git\x20log','2885088yUEilj','./python','filterGoVet','redact','pip3\x20install','trim\x20glab','trim\x20npx','filterLs','stripAnsi','whitespace','./shell','git\x20diff','../redactor','3427956XmqFuz','secretTypes','collapseDuplicates','[code\x20skeleton]','secretsFound','trim\x20grep','json_crusher','getConfig','redactWithAudit','\x20tree','redactor','length','yadm\x20diff','match','trim\x20find','trim\x20docker','trim\x20','get','filterGrep','[lock\x20file]','tracker','[minified\x20file]','yarn\x20install','softTruncate','push','1419330ecZtYM','yarn\x20test','pip\x20install','yadm\x20log','includes','ruff\x20check','git\x20show','---','cargo\x20clippy','cargo\x20build','8757960SGBKgL','ruff\x20','filterCargoBuild','endsWith','filterDockerImages','trim','some','trim\x20npm','filterRuff'];a0_0x5cf4=function(){return _0x55eb49;};return a0_0x5cf4();}function rewriteCommand(_0x12d2e5){const _0x59c3ad=a0_0x18ac55,_0x5eb2a6=_0x12d2e5[_0x59c3ad(0x192)]();if(_0x5eb2a6[_0x59c3ad(0x1b5)]('trim\x20'))return _0x5eb2a6;for(const _0x2dc9da of REWRITE_RULES){if(_0x2dc9da[_0x59c3ad(0x1a0)]['test'](_0x5eb2a6))return _0x59c3ad(0x17a)+_0x5eb2a6;}return _0x5eb2a6;}
|
|
1
|
+
'use strict';function a0_0x2248(){const _0x2d4078=['lock','897928MtPRRm','npm\x20i\x20','trim\x20pip','filterGoVet','redactWithAudit','filterGitStatus','npm\x20test','cargo\x20clippy','trim\x20kubectl','./js','trim\x20git','filterPipInstall','pattern','filterCargoBuild','./git','6210JYFkQJ','getConfig','tracker','trim\x20pytest','trim','trim\x20npx','__esModule','filterFind','filterCargoTest','whitespace','length','collapseWhitespace','yadm\x20diff','cargo\x20build','trim\x20grep','trim\x20npm','11179mNcvIl','160182cTzkAg','skeleton','trim\x20gh','[lock\x20file]','match','cargo\x20test','pytest','filterGoTest','lines\x20truncated','trim\x20glab','trim\x20ls','./devops','git\x20status','filterGitLog','filterKubectl','push','includes','git\x20log','trim\x20pnpm','ansi_strip','filterDockerLogs','pip\x20install','../redactor','trim\x20tree','filterLs','1487332uDclOQ','lastRedactAudit','redact','ruff\x20check','\x20ls','../tracker','3770QKoMUn','filterDockerImages','yadm\x20log','18kLvDpz','808386mUUbkS','pnpm\x20test','4mqQftA','npm\x20run\x20test','1593220TgsezY','yarn\x20install','softTruncate','json_crusher','filterJestVitest','vitest','filterNpmInstall','kubectl','[minified\x20file]','pnpm\x20install','14MQMIZJ','startsWith','trim\x20go','ruff\x20','collapseDuplicates','text','trim\x20cargo','yarn\x20test','secretTypes','endsWith','\x20tree','lastFeatures','npm\x20install','compressOutput','features_enabled','npm\x20i','trim\x20','[binary','./python','filterCat','filterGitDiff','filter','some','---','defineProperty','cargo\x20check','\x20ls\x20','git\x20show','redactor','secretsFound'];a0_0x2248=function(){return _0x2d4078;};return a0_0x2248();}const a0_0x1c2412=a0_0x1400;(function(_0x141c05,_0x4e18c1){const _0x9df500=a0_0x1400,_0x485e99=_0x141c05();while(!![]){try{const _0x2748d9=parseInt(_0x9df500(0x117))/0x1*(-parseInt(_0x9df500(0x13a))/0x2)+-parseInt(_0x9df500(0x118))/0x3*(parseInt(_0x9df500(0x13d))/0x4)+parseInt(_0x9df500(0x13f))/0x5+-parseInt(_0x9df500(0x13b))/0x6*(parseInt(_0x9df500(0x149))/0x7)+-parseInt(_0x9df500(0xf8))/0x8+parseInt(_0x9df500(0x107))/0x9*(parseInt(_0x9df500(0x137))/0xa)+parseInt(_0x9df500(0x131))/0xb;if(_0x2748d9===_0x4e18c1)break;else _0x485e99['push'](_0x485e99['shift']());}catch(_0x10385e){_0x485e99['push'](_0x485e99['shift']());}}}(a0_0x2248,0x2b866));Object[a0_0x1c2412(0x161)](exports,a0_0x1c2412(0x10d),{'value':!![]}),exports[a0_0x1c2412(0x154)]=exports[a0_0x1c2412(0x132)]=void 0x0,exports[a0_0x1c2412(0x156)]=compressOutput,exports['rewriteCommand']=rewriteCommand;const generic_1=require('./generic'),git_1=require(a0_0x1c2412(0x106)),python_1=require(a0_0x1c2412(0x15b)),js_1=require(a0_0x1c2412(0x101)),shell_1=require('./shell'),rust_1=require('./rust'),go_1=require('./go'),devops_1=require(a0_0x1c2412(0x123)),redactor_1=require(a0_0x1c2412(0x12e)),tracker_1=require(a0_0x1c2412(0x136));exports[a0_0x1c2412(0x132)]={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x1c2412(0x154)]=[];function isFeatureEnabled(_0xf1d99b){const _0x14f45c=a0_0x1c2412;try{const _0x2959ee=tracker_1[_0x14f45c(0x109)][_0x14f45c(0x108)](),_0x1d8446=_0x2959ee[_0x14f45c(0x157)];if(!_0x1d8446||_0x1d8446[_0xf1d99b]===undefined)return!![];return _0x1d8446[_0xf1d99b]!==![];}catch{return!![];}}function compressOutput(_0x1c4412,_0x209252,_0x1e301d,_0x582300=!![]){const _0x20a4cc=a0_0x1c2412,_0x48a2d7=_0x1c4412['trim']();let _0x58df7f=_0x209252;_0x1e301d[_0x20a4cc(0x10b)]()[_0x20a4cc(0x111)]>0x0&&(_0x58df7f=_0x209252+'\x0a'+_0x1e301d);let _0x575921=isFeatureEnabled(_0x20a4cc(0x12b))?(0x0,generic_1['stripAnsi'])(_0x58df7f):_0x58df7f;const _0xc77eb3=[];if(_0x575921[_0x20a4cc(0x111)]<_0x58df7f[_0x20a4cc(0x111)])_0xc77eb3['push'](_0x20a4cc(0x12b));const _0x1f76c2=(_0x318921,_0x520a03)=>{const _0x178856=_0x20a4cc;return _0xc77eb3['push'](_0x318921),exports[_0x178856(0x154)]=_0xc77eb3,_0x520a03;};if(_0x582300&&isFeatureEnabled(_0x20a4cc(0x133))){const _0x372eb0=redactor_1[_0x20a4cc(0x165)][_0x20a4cc(0xfc)](_0x575921);_0x575921=_0x372eb0[_0x20a4cc(0x14e)],exports[_0x20a4cc(0x132)]={'secretsFound':_0x372eb0[_0x20a4cc(0x166)],'secretTypes':_0x372eb0[_0x20a4cc(0x151)]};if(_0x372eb0[_0x20a4cc(0x166)]>0x0)_0xc77eb3[_0x20a4cc(0x127)]('redact');}else exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};const _0x497eb4=_0x48a2d7['toLowerCase'](),_0x2305bb=isFeatureEnabled(_0x20a4cc(0x15e));try{if(_0x2305bb){if(_0x497eb4['includes'](_0x20a4cc(0x124))||_0x497eb4[_0x20a4cc(0x128)]('yadm\x20status'))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0xfd)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x129))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x139)))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0x125)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('git\x20diff')||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x164))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x113)))return _0x1f76c2('filter',(0x0,git_1[_0x20a4cc(0x15d)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x11e))||_0x497eb4[_0x20a4cc(0x11c)](/python3?\s+-m\s+pytest/))return _0x1f76c2('filter',(0x0,python_1['filterPytest'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x12d))||_0x497eb4[_0x20a4cc(0x128)]('pip3\x20install'))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,python_1[_0x20a4cc(0x103)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x134))||_0x497eb4['includes'](_0x20a4cc(0x14c)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1['filterRuff'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x155))||_0x497eb4['includes'](_0x20a4cc(0xf9))||_0x497eb4['endsWith'](_0x20a4cc(0x158))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x148))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x140)))return _0x1f76c2('filter',(0x0,js_1[_0x20a4cc(0x145)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('jest')||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x144)))return _0x1f76c2('filter',(0x0,js_1[_0x20a4cc(0x143)])(_0x575921));if(_0x497eb4['includes'](_0x20a4cc(0xfe))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x13c))||_0x497eb4['includes'](_0x20a4cc(0x150))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x13e)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,js_1[_0x20a4cc(0x143)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x11d)))return _0x1f76c2('filter',(0x0,rust_1[_0x20a4cc(0x10f)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x114))||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x162))||_0x497eb4['includes'](_0x20a4cc(0xff)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,rust_1[_0x20a4cc(0x105)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('go\x20test'))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,go_1[_0x20a4cc(0x11f)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)]('go\x20vet'))return _0x1f76c2('filter',(0x0,go_1[_0x20a4cc(0xfb)])(_0x575921));if(_0x497eb4['match'](/docker\s+ps/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1['filterDockerPs'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/docker\s+images/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1[_0x20a4cc(0x138)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/docker\s+logs/))return _0x1f76c2('filter',(0x0,devops_1[_0x20a4cc(0x12c)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x146))){const _0x4715ab=_0x497eb4[_0x20a4cc(0x11c)](/kubectl\s+(get|logs|describe|apply)/),_0x5c0add=_0x4715ab?_0x4715ab[0x1]:'get';return _0x1f76c2(_0x20a4cc(0x15e),(0x0,devops_1[_0x20a4cc(0x126)])(_0x575921,_0x5c0add));}if(_0x497eb4[_0x20a4cc(0x11c)](/^(ls|dir)(\s|$)/)||_0x497eb4[_0x20a4cc(0x128)](_0x20a4cc(0x163))||_0x497eb4[_0x20a4cc(0x152)](_0x20a4cc(0x135)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1[_0x20a4cc(0x130)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^tree(\s|$)/)||_0x497eb4[_0x20a4cc(0x128)]('\x20tree\x20')||_0x497eb4['endsWith'](_0x20a4cc(0x153)))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1['filterTree'])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x43c18a=(0x0,shell_1[_0x20a4cc(0x15c)])(_0x575921,_0x48a2d7);if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x11b)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x167));else{if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x15a))||_0x43c18a['includes'](_0x20a4cc(0x147)))_0xc77eb3['push']('binary');else{if(_0x43c18a[_0x20a4cc(0x128)]('[code\x20skeleton]'))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x119));else{if(_0x43c18a[_0x20a4cc(0x128)]('|\x20')&&_0x43c18a['includes'](_0x20a4cc(0x160))&&_0x43c18a[_0x20a4cc(0x111)]<_0x575921['length']*0.5)_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x142));else{if(_0x43c18a[_0x20a4cc(0x128)](_0x20a4cc(0x120)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x15e));}}}}if(_0x43c18a[_0x20a4cc(0x111)]<_0x575921[_0x20a4cc(0x111)]&&!_0xc77eb3[_0x20a4cc(0x15f)](_0x25892f=>_0x25892f!==_0x20a4cc(0x12b)&&_0x25892f!==_0x20a4cc(0x133)))_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x15e));return exports[_0x20a4cc(0x154)]=_0xc77eb3,_0x43c18a;}if(_0x497eb4[_0x20a4cc(0x11c)](/^find(\s|$)/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1[_0x20a4cc(0x10e)])(_0x575921));if(_0x497eb4[_0x20a4cc(0x11c)](/^(grep|rg|ripgrep)(\s|$)/))return _0x1f76c2(_0x20a4cc(0x15e),(0x0,shell_1['filterGrep'])(_0x575921));}}catch(_0x536276){}return isFeatureEnabled(_0x20a4cc(0x110))&&(_0x575921=(0x0,generic_1[_0x20a4cc(0x112)])(_0x575921),_0xc77eb3[_0x20a4cc(0x127)](_0x20a4cc(0x110))),_0x575921=(0x0,generic_1[_0x20a4cc(0x14d)])(_0x575921),_0x575921=(0x0,generic_1[_0x20a4cc(0x141)])(_0x575921,0x4e20),exports[_0x20a4cc(0x154)]=_0xc77eb3,_0x575921;}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':a0_0x1c2412(0x102)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':a0_0x1c2412(0x11a)},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x1c2412(0x121)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x1c2412(0x14f)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x1c2412(0x12a)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x1c2412(0x116)},{'pattern':/^npx\s+/,'prefix':a0_0x1c2412(0x10c)},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x1c2412(0x115)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x1c2412(0x122)},{'pattern':/^tree(\s|$)/,'prefix':a0_0x1c2412(0x12f)},{'pattern':/^find\s+/,'prefix':'trim\x20find'},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':'trim\x20docker'},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x1c2412(0x100)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x1c2412(0x10a)},{'pattern':/^ruff\s+(check|format)/,'prefix':'trim\x20ruff'},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x1c2412(0xfa)},{'pattern':/^go\s+(test|build|vet)/,'prefix':a0_0x1c2412(0x14b)}];function a0_0x1400(_0x296e42,_0x55931e){_0x296e42=_0x296e42-0xf8;const _0x2248ab=a0_0x2248();let _0x1400e0=_0x2248ab[_0x296e42];return _0x1400e0;}function rewriteCommand(_0x543955){const _0x1d1b83=a0_0x1c2412,_0x49abc3=_0x543955['trim']();if(_0x49abc3[_0x1d1b83(0x14a)](_0x1d1b83(0x159)))return _0x49abc3;for(const _0x14169f of REWRITE_RULES){if(_0x14169f[_0x1d1b83(0x104)]['test'](_0x49abc3))return'trim\x20'+_0x49abc3;}return _0x49abc3;}
|
package/filters/js.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a0_0x409b(_0x44942d,_0x13be9b){_0x44942d=_0x44942d-0xc3;const _0x2d5e24=a0_0x2d5e();let _0x409b21=_0x2d5e24[_0x44942d];return _0x409b21;}const a0_0x95a2da=a0_0x409b;function a0_0x2d5e(){const _0x24f7a3=['4249vIfPct','removed\x20','added\x20','Tests:','found\x20','__esModule','PASS','11889GlEijA','305xkExRu','trim','includes','all','filterJestVitest','audited\x20','629256gVenxJ','filterNpmInstall','join','NPM:\x20Packages\x20verified/installed\x20successfully','Test\x20Runner:\x20','\x20passed','\x0aFailures:','slice','split','\x20lines\x20of\x20trace\x20details\x20truncated)','1898128RLsqLX','2634cgqrBj','Test\x20Files:','replace','878769pWvMJp','FAIL','length','push','137512aInBhO','startsWith','25388rPbnzL','up\x20to\x20date','Test\x20Suites:','match','4430GJFqSw'];a0_0x2d5e=function(){return _0x24f7a3;};return a0_0x2d5e();}(function(_0x2f05ec,_0x1f4aa3){const _0x461270=a0_0x409b,_0x42b8b6=_0x2f05ec();while(!![]){try{const _0x2ae56c=parseInt(_0x461270(0xe2))/0x1+-parseInt(_0x461270(0xd0))/0x2+-parseInt(_0x461270(0xde))/0x3+-parseInt(_0x461270(0xe4))/0x4*(parseInt(_0x461270(0xca))/0x5)+parseInt(_0x461270(0xdb))/0x6*(parseInt(_0x461270(0xe9))/0x7)+parseInt(_0x461270(0xda))/0x8+parseInt(_0x461270(0xc9))/0x9*(parseInt(_0x461270(0xe8))/0xa);if(_0x2ae56c===_0x1f4aa3)break;else _0x42b8b6['push'](_0x42b8b6['shift']());}catch(_0x50b220){_0x42b8b6['push'](_0x42b8b6['shift']());}}}(a0_0x2d5e,0x38938));Object['defineProperty'](exports,a0_0x95a2da(0xc7),{'value':!![]}),exports[a0_0x95a2da(0xd1)]=filterNpmInstall,exports[a0_0x95a2da(0xce)]=filterJestVitest;function filterNpmInstall(_0x5bee8a){const _0x5bc5a9=a0_0x95a2da,_0x1351bc=_0x5bee8a[_0x5bc5a9(0xdd)](/\r/g,'\x0a'),_0x4be4f4=_0x1351bc[_0x5bc5a9(0xd8)]('\x0a'),_0x2ea20d=[];for(const _0x30056d of _0x4be4f4){const _0xeeefc2=_0x30056d[_0x5bc5a9(0xcb)]();(_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc4))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc3))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xcf))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xe5))||_0xeeefc2[_0x5bc5a9(0xcc)](_0x5bc5a9(0xc6)))&&(!_0xeeefc2[_0x5bc5a9(0xcc)]('%')&&!_0xeeefc2[_0x5bc5a9(0xe3)]('⠋')&&!_0xeeefc2['startsWith']('⠙')&&_0x2ea20d[_0x5bc5a9(0xe1)](_0xeeefc2));}const _0x55dee6=_0x2ea20d[_0x5bc5a9(0xd2)]('\x0a')['trim']();return _0x55dee6[_0x5bc5a9(0xe0)]>0x0?_0x55dee6:_0x5bc5a9(0xd3);}function filterJestVitest(_0x3857b4){const _0x83605e=a0_0x95a2da,_0x34b7e9=_0x3857b4[_0x83605e(0xd8)]('\x0a');let _0x1cdfad=0x0,_0xc2d0a3=0x0,_0xa416d7=0x0;const _0xa2e9c6=[];let _0x5b53a6=![];for(const _0x4219b1 of _0x34b7e9){const _0x470897=_0x4219b1[_0x83605e(0xcb)]();if(_0x470897[_0x83605e(0xe3)](_0x83605e(0xc5))||_0x470897[_0x83605e(0xcc)](_0x83605e(0xdc))){const _0x5ada20=_0x470897[_0x83605e(0xe7)](/(\d+)\s+passed/),_0x4ca1e5=_0x470897[_0x83605e(0xe7)](/(\d+)\s+failed/),_0x5e2968=_0x470897[_0x83605e(0xe7)](/(\d+)\s+total/);if(_0x5ada20)_0x1cdfad=parseInt(_0x5ada20[0x1]);if(_0x4ca1e5)_0xc2d0a3=parseInt(_0x4ca1e5[0x1]);if(_0x5e2968)_0xa416d7=parseInt(_0x5e2968[0x1]);continue;}(_0x470897['startsWith']('❯')||_0x470897['startsWith']('●')||_0x470897[_0x83605e(0xe3)]('FAIL\x20\x20'))&&(_0x5b53a6=!![]),_0x5b53a6&&(_0x470897['length']>0x0&&!_0x470897['startsWith'](_0x83605e(0xe6))&&!_0x470897[_0x83605e(0xe3)](_0x83605e(0xc5))&&_0xa2e9c6[_0x83605e(0xe1)](_0x4219b1));}if(_0xa416d7===0x0&&_0x1cdfad===0x0&&_0xc2d0a3===0x0){if(_0x3857b4[_0x83605e(0xcc)](_0x83605e(0xc8))&&!_0x3857b4[_0x83605e(0xcc)](_0x83605e(0xdf))){const _0x1eb801=_0x3857b4[_0x83605e(0xe7)](/(\d+)\s+passed/),_0x20b196=_0x1eb801?_0x1eb801[0x1]:_0x83605e(0xcd);return'Test\x20Runner:\x20'+_0x20b196+'\x20passed';}return _0x3857b4;}if(_0xc2d0a3===0x0&&_0x1cdfad>0x0)return _0x83605e(0xd4)+_0x1cdfad+_0x83605e(0xd5);const _0x356ce8=[_0x83605e(0xd4)+_0x1cdfad+'\x20passed,\x20'+_0xc2d0a3+'\x20failed\x20('+_0xa416d7+'\x20total)'];if(_0xa2e9c6[_0x83605e(0xe0)]>0x0){_0x356ce8[_0x83605e(0xe1)](_0x83605e(0xd6));const _0x313070=0x19,_0xdc57c=_0xa2e9c6[_0x83605e(0xd7)](0x0,_0x313070);for(const _0x38151f of _0xdc57c){_0x356ce8[_0x83605e(0xe1)]('\x20\x20'+_0x38151f);}_0xa2e9c6[_0x83605e(0xe0)]>_0x313070&&_0x356ce8['push']('\x20\x20...\x20('+(_0xa2e9c6[_0x83605e(0xe0)]-_0x313070)+_0x83605e(0xd9));}return _0x356ce8[_0x83605e(0xd2)]('\x0a');}
|
package/filters/python.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x156009=a0_0xba9f;(function(_0xa1cc72,_0x2880df){const _0x3f0cf4=a0_0xba9f,_0x41f13d=_0xa1cc72();while(!![]){try{const _0xf4f68b=parseInt(_0x3f0cf4(0x6a))/0x1*(parseInt(_0x3f0cf4(0x6b))/0x2)+-parseInt(_0x3f0cf4(0x87))/0x3+parseInt(_0x3f0cf4(0x7f))/0x4+-parseInt(_0x3f0cf4(0x74))/0x5*(-parseInt(_0x3f0cf4(0x85))/0x6)+-parseInt(_0x3f0cf4(0x8e))/0x7*(-parseInt(_0x3f0cf4(0x7c))/0x8)+-parseInt(_0x3f0cf4(0x82))/0x9+parseInt(_0x3f0cf4(0x90))/0xa*(-parseInt(_0x3f0cf4(0x93))/0xb);if(_0xf4f68b===_0x2880df)break;else _0x41f13d['push'](_0x41f13d['shift']());}catch(_0x7fc1d5){_0x41f13d['push'](_0x41f13d['shift']());}}}(a0_0x1b5e,0xda03a));function a0_0x1b5e(){const _0x4e80f6=['length','\x20xpassed\x20(warning!)','6QsReRK','startsWith','3093261lgKomf','Requirement\x20already\x20satisfied','join','\x20failed','filterPytest','Pytest:\x20','filter','7MDHhmY','includes','2929690NLrOsu','\x20passed','===\x20FAILURES\x20===','77VxUOrj','replace','split','\x20\x20...\x20+','1uqCEtl','1806594nzZWGN','\x0aFailures:','failed','defineProperty','slice','trim','===\x20short\x20test\x20summary\x20info\x20===','___','\x20skipped','5349695eLLBBK','Using\x20cached','push','\x20xfailed','\x20\x20\x20\x20...\x20(','Collecting','match','\x20lines\x20of\x20stacktrace\x20truncated)','7689312Dofisu','Successfully\x20installed','passed','4711040MUimUW','.\x20[FAIL]\x20','.py:','1235736XrqNhE'];a0_0x1b5e=function(){return _0x4e80f6;};return a0_0x1b5e();}function a0_0xba9f(_0x41d845,_0x297df8){_0x41d845=_0x41d845-0x67;const _0x1b5ea3=a0_0x1b5e();let _0xba9fa1=_0x1b5ea3[_0x41d845];return _0xba9fa1;}Object[a0_0x156009(0x6e)](exports,'__esModule',{'value':!![]}),exports[a0_0x156009(0x8b)]=filterPytest,exports['filterPipInstall']=filterPipInstall;function filterPytest(_0x1fc548){const _0x4b6b9c=a0_0x156009,_0x5ef9b6=_0x1fc548[_0x4b6b9c(0x68)]('\x0a');let _0x1044b0=0x0,_0x498ed9=0x0,_0x467523=0x0,_0x481c0c=0x0,_0x4e7fa4=0x0;const _0x499a46=[];let _0x11954a=[],_0x39c487=![];for(const _0xc0a4ef of _0x5ef9b6){const _0x5607b7=_0xc0a4ef['trim']();if(_0x5607b7['startsWith'](_0x4b6b9c(0x92))||_0x5607b7['startsWith']('===\x20ERRORS\x20===')){_0x39c487=!![];continue;}else(_0x5607b7[_0x4b6b9c(0x86)](_0x4b6b9c(0x71))||_0x5607b7['startsWith']('===')&&_0x5607b7[_0x4b6b9c(0x8f)](_0x4b6b9c(0x7e)))&&(_0x39c487=![],_0x11954a[_0x4b6b9c(0x83)]>0x0&&(_0x499a46[_0x4b6b9c(0x76)](_0x11954a),_0x11954a=[]));if(_0x39c487){if(_0x5607b7[_0x4b6b9c(0x86)](_0x4b6b9c(0x72)))_0x11954a['length']>0x0&&(_0x499a46['push'](_0x11954a),_0x11954a=[]),_0x11954a[_0x4b6b9c(0x76)](_0x5607b7);else _0x5607b7['length']>0x0&&_0x11954a[_0x4b6b9c(0x76)](_0xc0a4ef);continue;}if(_0x5607b7[_0x4b6b9c(0x86)]('===')&&_0x5607b7['includes']('\x20in\x20')){const _0x5dd694=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+passed/),_0x1b97c2=_0x5607b7['match'](/(\d+)\s+failed/),_0x4500a9=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+skipped/),_0x10b9d9=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+xfailed/),_0x365c00=_0x5607b7[_0x4b6b9c(0x7a)](/(\d+)\s+xpassed/);if(_0x5dd694)_0x1044b0=parseInt(_0x5dd694[0x1]);if(_0x1b97c2)_0x498ed9=parseInt(_0x1b97c2[0x1]);if(_0x4500a9)_0x467523=parseInt(_0x4500a9[0x1]);if(_0x10b9d9)_0x481c0c=parseInt(_0x10b9d9[0x1]);if(_0x365c00)_0x4e7fa4=parseInt(_0x365c00[0x1]);}}_0x11954a['length']>0x0&&_0x499a46[_0x4b6b9c(0x76)](_0x11954a);if(_0x1044b0===0x0&&_0x498ed9===0x0&&_0x467523===0x0&&_0x481c0c===0x0&&_0x4e7fa4===0x0){if(_0x1fc548[_0x4b6b9c(0x8f)](_0x4b6b9c(0x7e))&&!_0x1fc548['includes'](_0x4b6b9c(0x6d)))return'Pytest:\x20All\x20tests\x20passed';return _0x1fc548;}if(_0x498ed9===0x0&&_0x1044b0>0x0&&_0x467523===0x0&&_0x481c0c===0x0&&_0x4e7fa4===0x0)return _0x4b6b9c(0x8c)+_0x1044b0+'\x20passed';const _0x3422e5=[];_0x3422e5['push'](_0x4b6b9c(0x8c)+_0x1044b0+_0x4b6b9c(0x91));if(_0x498ed9>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x498ed9+_0x4b6b9c(0x8a));if(_0x467523>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x467523+_0x4b6b9c(0x73));if(_0x481c0c>0x0)_0x3422e5['push'](_0x481c0c+_0x4b6b9c(0x77));if(_0x4e7fa4>0x0)_0x3422e5[_0x4b6b9c(0x76)](_0x4e7fa4+_0x4b6b9c(0x84));const _0x27b0b0=[_0x3422e5[_0x4b6b9c(0x89)](',\x20')];if(_0x499a46[_0x4b6b9c(0x83)]>0x0){_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x6c));const _0x45196b=0x3,_0x30a02d=_0x499a46[_0x4b6b9c(0x6f)](0x0,_0x45196b);for(let _0x17110f=0x0;_0x17110f<_0x30a02d[_0x4b6b9c(0x83)];_0x17110f++){const _0x2e38a9=_0x30a02d[_0x17110f],_0x1ed29a=_0x2e38a9[0x0][_0x4b6b9c(0x67)](/_/g,'')[_0x4b6b9c(0x70)]();_0x27b0b0[_0x4b6b9c(0x76)]('\x20\x20'+(_0x17110f+0x1)+_0x4b6b9c(0x80)+_0x1ed29a);const _0x18109a=_0x2e38a9['slice'](0x1),_0x200a58=_0x18109a[_0x4b6b9c(0x8d)](_0x1f3526=>{const _0x37126c=_0x4b6b9c,_0x817dc3=_0x1f3526[_0x37126c(0x70)]();return _0x817dc3[_0x37126c(0x86)]('>')||_0x817dc3[_0x37126c(0x86)]('E\x20\x20\x20')||_0x817dc3[_0x37126c(0x8f)](_0x37126c(0x81))||_0x817dc3['includes']('AssertionError:');});for(const _0x1a5c4b of _0x200a58['slice'](0x0,0x8)){_0x27b0b0[_0x4b6b9c(0x76)]('\x20\x20\x20\x20'+_0x1a5c4b);}_0x200a58[_0x4b6b9c(0x83)]>0x8&&_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x78)+(_0x200a58[_0x4b6b9c(0x83)]-0x8)+_0x4b6b9c(0x7b));}_0x499a46[_0x4b6b9c(0x83)]>_0x45196b&&_0x27b0b0[_0x4b6b9c(0x76)](_0x4b6b9c(0x69)+(_0x499a46['length']-_0x45196b)+'\x20more\x20failures\x20truncated');}return _0x27b0b0['join']('\x0a');}function filterPipInstall(_0x2e738e){const _0x18939d=a0_0x156009,_0x482009=_0x2e738e[_0x18939d(0x68)]('\x0a'),_0x130f65=[];for(const _0x4f31d3 of _0x482009){const _0x22938a=_0x4f31d3['trim']();_0x22938a[_0x18939d(0x86)](_0x18939d(0x7d))&&_0x130f65[_0x18939d(0x76)](_0x22938a);}if(_0x130f65['length']>0x0)return _0x130f65[_0x18939d(0x89)]('\x0a');return _0x482009['filter'](_0x3a58b5=>{const _0x23ce5e=_0x18939d,_0x18e3b7=_0x3a58b5[_0x23ce5e(0x70)]();return!_0x18e3b7[_0x23ce5e(0x86)](_0x23ce5e(0x79))&&!_0x18e3b7[_0x23ce5e(0x86)]('Downloading')&&!_0x18e3b7[_0x23ce5e(0x8f)](_0x23ce5e(0x75))&&!_0x18e3b7[_0x23ce5e(0x86)](_0x23ce5e(0x88));})[_0x18939d(0x89)]('\x0a')[_0x18939d(0x70)]();}
|
package/filters/rust.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a0_0x12cd9c=a0_0x5e77;(function(_0x37d8d8,_0x15cb32){const _0x17a5be=a0_0x5e77,_0x3ca95e=_0x37d8d8();while(!![]){try{const _0xb41385=parseInt(_0x17a5be(0x9a))/0x1+-parseInt(_0x17a5be(0x98))/0x2+-parseInt(_0x17a5be(0xc2))/0x3*(-parseInt(_0x17a5be(0xae))/0x4)+-parseInt(_0x17a5be(0xa3))/0x5+-parseInt(_0x17a5be(0xb3))/0x6+-parseInt(_0x17a5be(0x9e))/0x7*(parseInt(_0x17a5be(0xbb))/0x8)+parseInt(_0x17a5be(0xac))/0x9*(parseInt(_0x17a5be(0xb2))/0xa);if(_0xb41385===_0x15cb32)break;else _0x3ca95e['push'](_0x3ca95e['shift']());}catch(_0x475f27){_0x3ca95e['push'](_0x3ca95e['shift']());}}}(a0_0x4e9a,0x6dd0d));Object['defineProperty'](exports,a0_0x12cd9c(0xc6),{'value':!![]}),exports[a0_0x12cd9c(0xb9)]=filterCargoTest,exports[a0_0x12cd9c(0xa5)]=filterCargoBuild;function a0_0x5e77(_0x59eb47,_0x5e8fe4){_0x59eb47=_0x59eb47-0x96;const _0x4e9afe=a0_0x4e9a();let _0x5e77d=_0x4e9afe[_0x59eb47];return _0x5e77d;}function filterCargoTest(_0x45452f){const _0x53dc5b=a0_0x12cd9c,_0x4f111f=_0x45452f[_0x53dc5b(0xb6)]('\x0a');let _0x26fb1c=0x0,_0x1952f8=0x0,_0x4615ba=0x0,_0x218fc5=0x0;const _0x3e340a=[];let _0x3f0293=![],_0x4ab4d6=[];for(const _0x27ec90 of _0x4f111f){const _0xb263a1=_0x27ec90[_0x53dc5b(0xc3)](),_0x3d9b6d=_0xb263a1[_0x53dc5b(0xc4)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x3d9b6d){_0x26fb1c+=parseInt(_0x3d9b6d[0x2]),_0x1952f8+=parseInt(_0x3d9b6d[0x3]),_0x4615ba+=parseInt(_0x3d9b6d[0x4]),_0x218fc5+=parseInt(_0x3d9b6d[0x5]);continue;}if(_0xb263a1===_0x53dc5b(0xb4)||_0xb263a1==='----\x20failures\x20----'){_0x3f0293=!![];continue;}if(_0x3f0293){if(_0xb263a1[_0x53dc5b(0x99)](_0x53dc5b(0x9d))&&_0xb263a1[_0x53dc5b(0xc0)](_0x53dc5b(0xc7))){if(_0x4ab4d6[_0x53dc5b(0xbc)]>0x0)_0x3e340a[_0x53dc5b(0xc1)](_0x4ab4d6[_0x53dc5b(0xb7)]('\x0a'));_0x4ab4d6=[_0xb263a1[_0x53dc5b(0xaa)](/^-+\s*/,'')['replace'](/\s*-+$/,'')];}else{if(_0xb263a1===_0x53dc5b(0xb4)||_0xb263a1[_0x53dc5b(0x99)]('test\x20result:')){if(_0x4ab4d6[_0x53dc5b(0xbc)]>0x0)_0x3e340a[_0x53dc5b(0xc1)](_0x4ab4d6[_0x53dc5b(0xb7)]('\x0a'));_0x4ab4d6=[],_0x3f0293=![];}else _0xb263a1[_0x53dc5b(0xbc)]>0x0&&_0x4ab4d6['push'](_0x27ec90);}}}if(_0x4ab4d6[_0x53dc5b(0xbc)]>0x0)_0x3e340a[_0x53dc5b(0xc1)](_0x4ab4d6[_0x53dc5b(0xb7)]('\x0a'));if(_0x26fb1c===0x0&&_0x1952f8===0x0&&_0x4615ba===0x0){if(_0x45452f[_0x53dc5b(0xa6)](_0x53dc5b(0xab)))return'Cargo\x20test:\x20all\x20tests\x20passed';return _0x45452f;}if(_0x1952f8===0x0){const _0x1f3e0b=['Cargo\x20test:\x20'+_0x26fb1c+_0x53dc5b(0xc8)];if(_0x4615ba>0x0)_0x1f3e0b[_0x53dc5b(0xc1)](_0x4615ba+'\x20ignored');return _0x1f3e0b['join'](',\x20');}const _0x4a9dce=[_0x53dc5b(0xa9)+_0x26fb1c+_0x53dc5b(0xa7)+_0x1952f8+_0x53dc5b(0x9f)+_0x4615ba+'\x20ignored'];if(_0x3e340a[_0x53dc5b(0xbc)]>0x0){_0x4a9dce[_0x53dc5b(0xc1)](_0x53dc5b(0x96));const _0x1b92ac=0x3;for(let _0x559c94=0x0;_0x559c94<Math[_0x53dc5b(0xbf)](_0x3e340a['length'],_0x1b92ac);_0x559c94++){const _0x5a2f4c=_0x3e340a[_0x559c94][_0x53dc5b(0xb6)]('\x0a');_0x4a9dce[_0x53dc5b(0xc1)]('\x20\x20'+(_0x559c94+0x1)+'.\x20'+_0x5a2f4c[0x0]);const _0x1311b2=_0x5a2f4c[_0x53dc5b(0xb8)](0x1),_0x37a7ea=_0x1311b2[_0x53dc5b(0xa4)](_0x59c2e3=>_0x59c2e3[_0x53dc5b(0xc3)]()['startsWith'](_0x53dc5b(0xa8))||_0x59c2e3[_0x53dc5b(0xa6)]('panicked')||_0x59c2e3[_0x53dc5b(0xa6)](_0x53dc5b(0xbd))||_0x59c2e3[_0x53dc5b(0xa6)]('left:')||_0x59c2e3['includes'](_0x53dc5b(0xa2)));for(const _0x40bf10 of _0x37a7ea[_0x53dc5b(0xb8)](0x0,0x5)){_0x4a9dce[_0x53dc5b(0xc1)]('\x20\x20\x20\x20'+_0x40bf10['trim']());}}_0x3e340a['length']>_0x1b92ac&&_0x4a9dce['push'](_0x53dc5b(0xa1)+(_0x3e340a[_0x53dc5b(0xbc)]-_0x1b92ac)+_0x53dc5b(0xa0));}return _0x4a9dce[_0x53dc5b(0xb7)]('\x0a');}function filterCargoBuild(_0x319cb7){const _0xabdbb=a0_0x12cd9c,_0x44153d=_0x319cb7[_0xabdbb(0xb6)]('\x0a'),_0x9ebba=[],_0x25c6cb=[];let _0x377029=0x0;for(const _0xa76936 of _0x44153d){const _0x222fdc=_0xa76936[_0xabdbb(0xc3)]();if(_0x222fdc['startsWith'](_0xabdbb(0xc5)))_0x377029++;else{if(_0x222fdc[_0xabdbb(0x99)]('warning[')||_0x222fdc[_0xabdbb(0x99)](_0xabdbb(0xbe)))_0x9ebba['push'](_0x222fdc);else{if(_0x222fdc[_0xabdbb(0x99)](_0xabdbb(0xb1))||_0x222fdc[_0xabdbb(0x99)](_0xabdbb(0xba)))_0x25c6cb[_0xabdbb(0xc1)](_0x222fdc);}}}if(_0x25c6cb[_0xabdbb(0xbc)]===0x0&&_0x9ebba[_0xabdbb(0xbc)]===0x0)return _0x377029>0x0?_0xabdbb(0x9b)+_0x377029+_0xabdbb(0xad):_0x319cb7['trim']();const _0x3639bb=[];if(_0x25c6cb[_0xabdbb(0xbc)]>0x0){_0x3639bb['push'](_0xabdbb(0xaf)+_0x25c6cb[_0xabdbb(0xbc)]+'\x20errors,\x20'+_0x9ebba[_0xabdbb(0xbc)]+'\x20warnings'),_0x3639bb['push'](_0xabdbb(0x97));for(const _0x37d8ff of _0x25c6cb[_0xabdbb(0xb8)](0x0,0x5))_0x3639bb['push']('\x20\x20'+_0x37d8ff);if(_0x25c6cb['length']>0x5)_0x3639bb['push']('\x20\x20...\x20+'+(_0x25c6cb[_0xabdbb(0xbc)]-0x5)+_0xabdbb(0x9c));}else _0x3639bb[_0xabdbb(0xc1)](_0xabdbb(0x9b)+_0x377029+'\x20crates,\x20'+_0x9ebba[_0xabdbb(0xbc)]+_0xabdbb(0xb0));if(_0x9ebba[_0xabdbb(0xbc)]>0x0&&_0x9ebba['length']<=0x5){_0x3639bb[_0xabdbb(0xc1)](_0xabdbb(0xb5));for(const _0x5ee65d of _0x9ebba)_0x3639bb['push']('\x20\x20'+_0x5ee65d);}else _0x9ebba[_0xabdbb(0xbc)]>0x5&&_0x3639bb['push']('\x0a('+_0x9ebba[_0xabdbb(0xbc)]+'\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)');return _0x3639bb[_0xabdbb(0xb7)]('\x0a');}function a0_0x4e9a(){const _0x585339=['right:','3795765VnASss','filter','filterCargoBuild','includes','\x20passed,\x20','thread','Cargo\x20test:\x20','replace','test\x20result:\x20ok','2889IZzdaB','\x20crates\x20successfully','4gjLEHb','Cargo:\x20','\x20warnings','error[','11140iYlmmY','1302588kMaYju','failures:','\x0aWarnings:','split','join','slice','filterCargoTest','error:','1656QjFYyr','length','assert','warning:','min','endsWith','push','2091792TXEaPf','trim','match','Compiling\x20','__esModule','\x20----','\x20passed','\x0aFailures:','\x0aErrors:','606912ZRSqFD','startsWith','715847VwCPIn','Cargo:\x20compiled\x20','\x20more\x20errors','----\x20','1393mepWjs','\x20failed,\x20','\x20more\x20failures','\x20\x20...\x20+'];a0_0x4e9a=function(){return _0x585339;};return a0_0x4e9a();}
|
package/filters/shell.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a0_0x16b6a4=a0_0x1537;(function(_0x52b05d,_0x14b566){const _0xa000b7=a0_0x1537,_0x263235=_0x52b05d();while(!![]){try{const _0x1e31b5=parseInt(_0xa000b7(0x1f4))/0x1*(-parseInt(_0xa000b7(0x1b8))/0x2)+-parseInt(_0xa000b7(0x1ba))/0x3*(parseInt(_0xa000b7(0x16c))/0x4)+parseInt(_0xa000b7(0x17a))/0x5+-parseInt(_0xa000b7(0x1c0))/0x6*(-parseInt(_0xa000b7(0x1ce))/0x7)+-parseInt(_0xa000b7(0x1eb))/0x8*(-parseInt(_0xa000b7(0x169))/0x9)+-parseInt(_0xa000b7(0x166))/0xa*(-parseInt(_0xa000b7(0x1b7))/0xb)+-parseInt(_0xa000b7(0x186))/0xc;if(_0x1e31b5===_0x14b566)break;else _0x263235['push'](_0x263235['shift']());}catch(_0xfcfa4){_0x263235['push'](_0x263235['shift']());}}}(a0_0x1f1a,0xad705));var __createBinding=this&&this[a0_0x16b6a4(0x1a1)]||(Object[a0_0x16b6a4(0x196)]?function(_0x5e7af5,_0x3a6dc5,_0xfe27ae,_0x2be574){const _0x5f3d12=a0_0x16b6a4;if(_0x2be574===undefined)_0x2be574=_0xfe27ae;var _0x1290dc=Object[_0x5f3d12(0x1c1)](_0x3a6dc5,_0xfe27ae);(!_0x1290dc||(_0x5f3d12(0x1ee)in _0x1290dc?!_0x3a6dc5[_0x5f3d12(0x194)]:_0x1290dc['writable']||_0x1290dc[_0x5f3d12(0x183)]))&&(_0x1290dc={'enumerable':!![],'get':function(){return _0x3a6dc5[_0xfe27ae];}}),Object['defineProperty'](_0x5e7af5,_0x2be574,_0x1290dc);}:function(_0x5b028e,_0x1dda5d,_0x525414,_0x199cd4){if(_0x199cd4===undefined)_0x199cd4=_0x525414;_0x5b028e[_0x199cd4]=_0x1dda5d[_0x525414];}),__setModuleDefault=this&&this[a0_0x16b6a4(0x1da)]||(Object[a0_0x16b6a4(0x196)]?function(_0x101847,_0x61c4c0){const _0x4a5967=a0_0x16b6a4;Object[_0x4a5967(0x188)](_0x101847,'default',{'enumerable':!![],'value':_0x61c4c0});}:function(_0x275cc6,_0x5cb83d){const _0x29ca31=a0_0x16b6a4;_0x275cc6[_0x29ca31(0x1ab)]=_0x5cb83d;}),__importStar=this&&this[a0_0x16b6a4(0x1ca)]||(function(){var _0x2febe4=function(_0x403f73){const _0x5e2041=a0_0x1537;return _0x2febe4=Object[_0x5e2041(0x1a8)]||function(_0x52e64d){const _0x1ac796=_0x5e2041;var _0x1e9909=[];for(var _0x4b79cc in _0x52e64d)if(Object[_0x1ac796(0x1b0)]['hasOwnProperty']['call'](_0x52e64d,_0x4b79cc))_0x1e9909[_0x1e9909[_0x1ac796(0x19d)]]=_0x4b79cc;return _0x1e9909;},_0x2febe4(_0x403f73);};return function(_0x20d81f){const _0x2851b2=a0_0x1537;if(_0x20d81f&&_0x20d81f['__esModule'])return _0x20d81f;var _0xd5c7a7={};if(_0x20d81f!=null){for(var _0x12f3aa=_0x2febe4(_0x20d81f),_0x6ca679=0x0;_0x6ca679<_0x12f3aa[_0x2851b2(0x19d)];_0x6ca679++)if(_0x12f3aa[_0x6ca679]!==_0x2851b2(0x1ab))__createBinding(_0xd5c7a7,_0x20d81f,_0x12f3aa[_0x6ca679]);}return __setModuleDefault(_0xd5c7a7,_0x20d81f),_0xd5c7a7;};}());Object[a0_0x16b6a4(0x188)](exports,a0_0x16b6a4(0x194),{'value':!![]}),exports['filterLs']=filterLs,exports[a0_0x16b6a4(0x17b)]=filterTree,exports[a0_0x16b6a4(0x16f)]=filterCat,exports[a0_0x16b6a4(0x170)]=filterGrep,exports[a0_0x16b6a4(0x1bf)]=filterFind;const path=__importStar(require(a0_0x16b6a4(0x1f2))),generic_1=require(a0_0x16b6a4(0x1e4)),tracker_1=require(a0_0x16b6a4(0x195));function isFeatureEnabled(_0x324f24){const _0x134663=a0_0x16b6a4;try{const _0x4f878c=tracker_1[_0x134663(0x1d7)][_0x134663(0x191)](),_0x170226=_0x4f878c[_0x134663(0x1ea)];if(!_0x170226||_0x170226[_0x324f24]===undefined)return!![];return _0x170226[_0x324f24]!==![];}catch{return!![];}}const LOCK_FILES=['package-lock.json',a0_0x16b6a4(0x1d0),a0_0x16b6a4(0x180),a0_0x16b6a4(0x1c9),a0_0x16b6a4(0x182),a0_0x16b6a4(0x1db),a0_0x16b6a4(0x1f8),'Gemfile.lock',a0_0x16b6a4(0x1cb)],BINARY_EXTENSIONS=[a0_0x16b6a4(0x1f3),'.min.css',a0_0x16b6a4(0x1e0),a0_0x16b6a4(0x1bc),a0_0x16b6a4(0x1fb),a0_0x16b6a4(0x1d8),'.jpeg',a0_0x16b6a4(0x1dd),a0_0x16b6a4(0x1cd),a0_0x16b6a4(0x17f),a0_0x16b6a4(0x193),a0_0x16b6a4(0x189),a0_0x16b6a4(0x1dc),'.zip',a0_0x16b6a4(0x1e2),a0_0x16b6a4(0x18b),a0_0x16b6a4(0x1c3),'.bz2',a0_0x16b6a4(0x1a4),a0_0x16b6a4(0x1e6),a0_0x16b6a4(0x1f7),a0_0x16b6a4(0x165),'.so',a0_0x16b6a4(0x1b2),a0_0x16b6a4(0x1b1),a0_0x16b6a4(0x1ec),a0_0x16b6a4(0x1e9),a0_0x16b6a4(0x1b6),a0_0x16b6a4(0x1d6),a0_0x16b6a4(0x1cc),a0_0x16b6a4(0x1f1),a0_0x16b6a4(0x19e),a0_0x16b6a4(0x1e7),a0_0x16b6a4(0x1ed),a0_0x16b6a4(0x1c8),a0_0x16b6a4(0x173),a0_0x16b6a4(0x1e1),a0_0x16b6a4(0x162),'.mov',a0_0x16b6a4(0x1d3),a0_0x16b6a4(0x197),a0_0x16b6a4(0x171),a0_0x16b6a4(0x16b),'.o',a0_0x16b6a4(0x187)];function extractFilename(_0xe71d1b){const _0x3baebc=a0_0x16b6a4,_0xeb5408=_0xe71d1b[_0x3baebc(0x1bb)]()['split'](/\s+/);for(let _0x202d09=0x1;_0x202d09<_0xeb5408[_0x3baebc(0x19d)];_0x202d09++){if(!_0xeb5408[_0x202d09][_0x3baebc(0x175)]('-'))return _0xeb5408[_0x202d09];}return null;}function filterLockFile(_0x13ae8e,_0x14e1c8){const _0x45462b=a0_0x16b6a4;try{const _0x2412d0=path[_0x45462b(0x178)](_0x14e1c8)['toLowerCase']();if(!LOCK_FILES[_0x45462b(0x1a9)](_0x33dff0=>_0x2412d0===_0x33dff0['toLowerCase']()))return null;const _0x4a74b6=_0x13ae8e[_0x45462b(0x19d)];let _0x51d142=0x0;if(_0x2412d0===_0x45462b(0x1d1))try{const _0x146796=JSON[_0x45462b(0x1d2)](_0x13ae8e);_0x51d142=Object[_0x45462b(0x1b3)](_0x146796[_0x45462b(0x177)]||_0x146796[_0x45462b(0x1ae)]||{})[_0x45462b(0x19d)];}catch{_0x51d142=(_0x13ae8e[_0x45462b(0x1c7)](/"resolved":/g)||[])['length'];}else{if(_0x2412d0===_0x45462b(0x1d0))_0x51d142=(_0x13ae8e[_0x45462b(0x1c7)](/^"?[^#\s][^:]*:$/gm)||[])[_0x45462b(0x19d)];else{if(_0x2412d0===_0x45462b(0x176)||_0x2412d0==='poetry.lock')_0x51d142=(_0x13ae8e['match'](/\[\[package\]\]/g)||[])[_0x45462b(0x19d)];else{if(_0x2412d0===_0x45462b(0x182))_0x51d142=Math[_0x45462b(0x1a7)](_0x13ae8e['split']('\x0a')['filter'](_0x430277=>_0x430277[_0x45462b(0x1bb)]())[_0x45462b(0x19d)]/0x2);else{if(_0x2412d0===_0x45462b(0x1f8))try{_0x51d142=JSON['parse'](_0x13ae8e)[_0x45462b(0x177)]?.[_0x45462b(0x19d)]||0x0;}catch{}else _0x2412d0===_0x45462b(0x180)?_0x51d142=(_0x13ae8e[_0x45462b(0x1c7)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x51d142=_0x13ae8e['split']('\x0a')[_0x45462b(0x1e3)](_0x513385=>_0x513385[_0x45462b(0x1bb)]())[_0x45462b(0x19d)];}}}}return _0x45462b(0x172)+path[_0x45462b(0x178)](_0x14e1c8)+':\x20'+_0x51d142+_0x45462b(0x198)+_0x4a74b6[_0x45462b(0x1f9)]()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function filterBinaryOrMinified(_0x279872,_0x3918df){const _0x39a108=a0_0x16b6a4;try{if(_0x3918df){const _0x3201d4=_0x3918df[_0x39a108(0x19a)]();for(const _0x5cf759 of BINARY_EXTENSIONS){if(_0x3201d4[_0x39a108(0x1d9)](_0x5cf759))return'[binary/minified\x20file]\x20'+path[_0x39a108(0x178)](_0x3918df)+',\x20'+_0x279872[_0x39a108(0x19d)]['toLocaleString']()+'\x20chars,\x20type:\x20'+_0x5cf759+_0x39a108(0x168);}}const _0x4af47=_0x279872[_0x39a108(0x1df)](0x0,0x3e8);let _0x3f4291=0x0;for(let _0xdc5654=0x0;_0xdc5654<_0x4af47['length'];_0xdc5654++){if(_0x4af47[_0x39a108(0x181)](_0xdc5654)===0x0)_0x3f4291++;}if(_0x3f4291>0x0)return _0x39a108(0x19f)+_0x279872['length'][_0x39a108(0x1f9)]()+'\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)';let _0x4c5d2e=0x0;for(let _0x50a3b9=0x0;_0x50a3b9<_0x4af47['length'];_0x50a3b9++){const _0x53ec07=_0x4af47[_0x39a108(0x181)](_0x50a3b9);if(_0x53ec07<0x20&&_0x53ec07!==0xa&&_0x53ec07!==0xd&&_0x53ec07!==0x9)_0x4c5d2e++;}if(_0x4af47[_0x39a108(0x19d)]>0x64&&_0x4c5d2e>_0x4af47[_0x39a108(0x19d)]*0.1)return _0x39a108(0x19f)+_0x279872[_0x39a108(0x19d)][_0x39a108(0x1f9)]()+_0x39a108(0x1bd);const _0x4933a6=_0x279872[_0x39a108(0x184)]('\x0a');if(_0x4933a6[_0x39a108(0x19d)]<=0x3&&_0x279872[_0x39a108(0x19d)]>0x1388)return _0x39a108(0x1ad)+_0x279872[_0x39a108(0x19d)][_0x39a108(0x1f9)]()+_0x39a108(0x1f0)+_0x4933a6['length']+_0x39a108(0x1cf);return null;}catch{return null;}}function filterJsonMinify(_0x461460){const _0x593a2f=a0_0x16b6a4;try{const _0x2b975f=_0x461460[_0x593a2f(0x1bb)]();if(!_0x2b975f['startsWith']('{')&&!_0x2b975f[_0x593a2f(0x175)]('['))return null;const _0x119569=_0x2b975f['split']('\x0a');if(_0x119569[_0x593a2f(0x19d)]<=0x14)return null;const _0x5c1f95=JSON[_0x593a2f(0x1d2)](_0x2b975f),_0x27304e=JSON[_0x593a2f(0x18e)](_0x5c1f95);if(_0x27304e[_0x593a2f(0x19d)]<_0x2b975f[_0x593a2f(0x19d)])return _0x27304e;return null;}catch{return null;}}function a0_0x1537(_0x15c938,_0xae9882){const _0x1f1ae0=a0_0x1f1a();return a0_0x1537=function(_0x15379b,_0x1e5b84){_0x15379b=_0x15379b-0x162;let _0x1ff1d1=_0x1f1ae0[_0x15379b];return _0x1ff1d1;},a0_0x1537(_0x15c938,_0xae9882);}function filterLs(_0x176084){const _0xd111ac=a0_0x16b6a4,_0x480273=_0x176084['split']('\x0a')['filter'](_0x4556d2=>_0x4556d2['trim']()[_0xd111ac(0x19d)]>0x0);if(_0x480273[_0xd111ac(0x19d)]===0x0)return _0xd111ac(0x1a6);if(_0x480273['length']<=0x1e)return _0x176084['trim']();const _0x197c93=[],_0x21c988=[];for(const _0x1bd820 of _0x480273){const _0x26a42e=_0x1bd820[_0xd111ac(0x1bb)]();if(_0x26a42e['startsWith'](_0xd111ac(0x163))||_0x26a42e[_0xd111ac(0x175)]('d')&&_0x26a42e[_0xd111ac(0x17d)]('..'))continue;_0x26a42e[_0xd111ac(0x1d9)]('/')||_0x26a42e[_0xd111ac(0x175)]('d')&&_0x26a42e['includes']('\x20')?_0x197c93[_0xd111ac(0x1af)](_0x26a42e):_0x21c988[_0xd111ac(0x1af)](_0x26a42e);}const _0x1393c8=[];return _0x197c93[_0xd111ac(0x19d)]>0x0&&(_0x197c93[_0xd111ac(0x19d)]<=0xf?_0x1393c8[_0xd111ac(0x1af)](..._0x197c93):(_0x1393c8['push'](..._0x197c93[_0xd111ac(0x164)](0x0,0xa)),_0x1393c8[_0xd111ac(0x1af)](_0xd111ac(0x18a)+(_0x197c93[_0xd111ac(0x19d)]-0xa)+_0xd111ac(0x18c)))),_0x21c988[_0xd111ac(0x19d)]>0x0&&(_0x21c988['length']<=0x14?_0x1393c8['push'](..._0x21c988):(_0x1393c8['push'](..._0x21c988[_0xd111ac(0x164)](0x0,0xf)),_0x1393c8['push'](_0xd111ac(0x18a)+(_0x21c988[_0xd111ac(0x19d)]-0xf)+_0xd111ac(0x1d5)))),_0x1393c8[_0xd111ac(0x1af)]('\x0a('+_0x197c93[_0xd111ac(0x19d)]+_0xd111ac(0x1e5)+_0x21c988[_0xd111ac(0x19d)]+'\x20files)'),_0x1393c8[_0xd111ac(0x1b4)]('\x0a');}function filterTree(_0x5ef299){const _0x9f7299=a0_0x16b6a4,_0x3b6975=_0x5ef299['split']('\x0a');if(_0x3b6975['length']<=0x32)return _0x5ef299[_0x9f7299(0x1bb)]();const _0x36bd3c=[];let _0x1c4e19=0x0,_0xf657fc=0x0,_0x12ff26=0x0;for(const _0x1790f1 of _0x3b6975){const _0x2ca84a=_0x1790f1[_0x9f7299(0x1c7)](/(\d+)\s+director/),_0x301add=_0x1790f1[_0x9f7299(0x1c7)](/(\d+)\s+file/);if(_0x2ca84a)_0x12ff26=parseInt(_0x2ca84a[0x1]);if(_0x301add)_0xf657fc=parseInt(_0x301add[0x1]);const _0x5c48e3=(_0x1790f1[_0x9f7299(0x1c7)](/^[│├└\s─]+/)||[''])[0x0]['length'];_0x5c48e3<=0x4&&(_0x36bd3c[_0x9f7299(0x1af)](_0x1790f1),_0x1c4e19++);}return _0x3b6975[_0x9f7299(0x19d)]>_0x36bd3c['length']&&_0x36bd3c[_0x9f7299(0x1af)]('\x0a...\x20('+_0x12ff26+'\x20directories,\x20'+_0xf657fc+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x36bd3c[_0x9f7299(0x1b4)]('\x0a');}function filterCat(_0x46cb43,_0x7cee88=''){const _0x258155=a0_0x16b6a4,_0x3d6987=extractFilename(_0x7cee88);try{if(_0x3d6987&&isFeatureEnabled(_0x258155(0x1be))){const _0xa20760=filterLockFile(_0x46cb43,_0x3d6987);if(_0xa20760)return _0xa20760;}if(isFeatureEnabled('binary')){const _0x1810f6=filterBinaryOrMinified(_0x46cb43,_0x3d6987);if(_0x1810f6)return _0x1810f6;}if(isFeatureEnabled('json_crusher')){const _0x180460=(0x0,generic_1['smartCrushJson'])(_0x46cb43);if(_0x180460)return _0x180460;}const _0x15a308=filterJsonMinify(_0x46cb43);if(_0x15a308)return _0x15a308;if(_0x3d6987&&isFeatureEnabled(_0x258155(0x192))){const _0x8ffaa1=path[_0x258155(0x18d)](_0x3d6987)['toLowerCase'](),_0x4c1e86=[_0x258155(0x1de),_0x258155(0x167),'.tsx',_0x258155(0x18f),'.py','.go','.rs',_0x258155(0x190),'.c',_0x258155(0x1fa),_0x258155(0x1e8),'.rb',_0x258155(0x185),'.kt'];if(_0x4c1e86[_0x258155(0x17d)](_0x8ffaa1)){const _0x376723=_0x46cb43[_0x258155(0x184)]('\x0a');if(_0x376723['length']>0x64){const _0x11d158=[];_0x11d158[_0x258155(0x1af)](_0x258155(0x17c)+path[_0x258155(0x178)](_0x3d6987)+'\x20('+_0x376723[_0x258155(0x19d)]+_0x258155(0x1aa)),_0x11d158['push']('');for(const _0x307478 of _0x376723){const _0x4bdb3f=_0x307478['trim']();if(_0x4bdb3f[_0x258155(0x175)](_0x258155(0x19b))||_0x4bdb3f[_0x258155(0x175)](_0x258155(0x179))||_0x4bdb3f[_0x258155(0x175)](_0x258155(0x16d))||_0x4bdb3f[_0x258155(0x1c7)](/=\s*require\(/)||_0x4bdb3f[_0x258155(0x175)](_0x258155(0x19c))||_0x4bdb3f[_0x258155(0x175)]('use\x20')||_0x4bdb3f[_0x258155(0x175)](_0x258155(0x1a0)))_0x11d158[_0x258155(0x1af)](_0x307478);else{if(_0x4bdb3f[_0x258155(0x1c7)](/^(export\s+)?(async\s+)?function\s+/)||_0x4bdb3f[_0x258155(0x1c7)](/^(export\s+)?(default\s+)?class\s+/)||_0x4bdb3f['match'](/^(export\s+)?(type|interface|enum)\s+/)||_0x4bdb3f['match'](/^(async\s+)?def\s+/)||_0x4bdb3f[_0x258155(0x1c7)](/^func\s+/)||_0x4bdb3f[_0x258155(0x1c7)](/^type\s+\w+\s+(struct|interface)/)||_0x4bdb3f['match'](/^(pub\s+)?(async\s+)?fn\s+/)||_0x4bdb3f[_0x258155(0x1c7)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x4bdb3f['match'](/^(public|private|protected|static)\s+/))_0x11d158['push'](_0x307478);else{if(_0x4bdb3f[_0x258155(0x175)](_0x258155(0x16a))&&!_0x4bdb3f[_0x258155(0x17d)]('=>')&&_0x4bdb3f[_0x258155(0x19d)]<0x78)_0x11d158['push'](_0x307478);else _0x4bdb3f[_0x258155(0x175)]('@')&&!_0x4bdb3f[_0x258155(0x175)](_0x258155(0x199))&&!_0x4bdb3f[_0x258155(0x175)]('@return')&&_0x11d158['push'](_0x307478);}}}_0x11d158[_0x258155(0x1af)](''),_0x11d158[_0x258155(0x1af)]('('+_0x376723[_0x258155(0x19d)]+'\x20lines\x20total,\x20'+(_0x11d158[_0x258155(0x19d)]-0x2)+'\x20structural\x20lines\x20shown)');const _0x1825ed=_0x11d158[_0x258155(0x1b4)]('\x0a');if(_0x1825ed[_0x258155(0x19d)]<_0x46cb43[_0x258155(0x19d)])return _0x1825ed;}}}}catch{}let _0x1e12ac=(0x0,generic_1[_0x258155(0x16e)])(_0x46cb43);if(_0x3d6987){const _0x59edce=path[_0x258155(0x18d)](_0x3d6987)[_0x258155(0x19a)]();_0x1e12ac=(0x0,generic_1[_0x258155(0x1a2)])(_0x1e12ac,_0x59edce);}const _0x1249b2=_0x1e12ac[_0x258155(0x184)]('\x0a');if(_0x1249b2[_0x258155(0x19d)]<=0x64)return _0x1e12ac;const _0x5c20f3=[];return _0x5c20f3[_0x258155(0x1af)](..._0x1249b2[_0x258155(0x164)](0x0,0x32)),_0x5c20f3[_0x258155(0x1af)](_0x258155(0x1ac)+(_0x1249b2['length']-0x50)+_0x258155(0x1f5)),_0x5c20f3[_0x258155(0x1af)](..._0x1249b2['slice'](-0x1e)),_0x5c20f3[_0x258155(0x1af)]('\x0a('+_0x1249b2[_0x258155(0x19d)]+_0x258155(0x1b9)),_0x5c20f3[_0x258155(0x1b4)]('\x0a');}function filterGrep(_0x203f38){const _0x372f45=a0_0x16b6a4,_0x2d81d3=_0x203f38[_0x372f45(0x184)]('\x0a')[_0x372f45(0x1e3)](_0x101427=>_0x101427['trim']()[_0x372f45(0x19d)]>0x0);if(_0x2d81d3[_0x372f45(0x19d)]===0x0)return _0x372f45(0x1c5);if(_0x2d81d3[_0x372f45(0x19d)]<=0x32)return _0x203f38[_0x372f45(0x1bb)]();const _0x437060={},_0x3ddc3b=[];for(const _0x209847 of _0x2d81d3){const _0x10b45c=_0x209847[_0x372f45(0x174)](':');if(_0x10b45c>0x0&&_0x10b45c<0xc8){const _0x1d44ec=_0x209847['substring'](0x0,_0x10b45c);if(_0x1d44ec['includes']('/')||_0x1d44ec[_0x372f45(0x17d)]('\x5c')||_0x1d44ec[_0x372f45(0x17d)]('.')){if(!_0x437060[_0x1d44ec])_0x437060[_0x1d44ec]=[];_0x437060[_0x1d44ec][_0x372f45(0x1af)](_0x209847[_0x372f45(0x1df)](_0x10b45c+0x1)[_0x372f45(0x1bb)]());continue;}}_0x3ddc3b[_0x372f45(0x1af)](_0x209847);}const _0x8ca53e=[],_0xc2f5c3=Object[_0x372f45(0x1b3)](_0x437060);if(_0xc2f5c3[_0x372f45(0x19d)]>0x0){const _0x2f3aca=0x14,_0x3651b8=_0xc2f5c3['slice'](0x0,_0x2f3aca);for(const _0x13e547 of _0x3651b8){const _0x4bc7d6=_0x437060[_0x13e547];if(_0x4bc7d6[_0x372f45(0x19d)]<=0x3)for(const _0x474f49 of _0x4bc7d6){_0x8ca53e[_0x372f45(0x1af)](_0x13e547+':\x20'+_0x474f49);}else _0x8ca53e[_0x372f45(0x1af)](_0x13e547+':\x20'+_0x4bc7d6[0x0]),_0x8ca53e[_0x372f45(0x1af)](_0x13e547+_0x372f45(0x17e)+_0x4bc7d6['length']+'\x20matches\x20in\x20this\x20file)');}_0xc2f5c3[_0x372f45(0x19d)]>_0x2f3aca&&_0x8ca53e['push'](_0x372f45(0x18a)+(_0xc2f5c3[_0x372f45(0x19d)]-_0x2f3aca)+_0x372f45(0x1a3));}if(_0x3ddc3b[_0x372f45(0x19d)]>0x0){const _0x3f97d4=0x1e;_0x8ca53e[_0x372f45(0x1af)](..._0x3ddc3b[_0x372f45(0x164)](0x0,_0x3f97d4)),_0x3ddc3b[_0x372f45(0x19d)]>_0x3f97d4&&_0x8ca53e[_0x372f45(0x1af)](_0x372f45(0x18a)+(_0x3ddc3b[_0x372f45(0x19d)]-_0x3f97d4)+_0x372f45(0x1f6));}const _0x4cdc9c=_0x2d81d3['length'];return _0x8ca53e[_0x372f45(0x1af)]('\x0a('+_0x4cdc9c+'\x20matches\x20across\x20'+(_0xc2f5c3[_0x372f45(0x19d)]||'?')+_0x372f45(0x1c4)),_0x8ca53e[_0x372f45(0x1b4)]('\x0a');}function filterFind(_0x4b1f60){const _0xaa8187=a0_0x16b6a4,_0x54c42e=_0x4b1f60[_0xaa8187(0x184)]('\x0a')[_0xaa8187(0x1e3)](_0x241174=>_0x241174[_0xaa8187(0x1bb)]()[_0xaa8187(0x19d)]>0x0);if(_0x54c42e[_0xaa8187(0x19d)]===0x0)return _0xaa8187(0x1c2);if(_0x54c42e[_0xaa8187(0x19d)]<=0x32)return _0x4b1f60[_0xaa8187(0x1bb)]();const _0x52fd9e={};for(const _0x33226 of _0x54c42e){const _0x1116c9=path['dirname'](_0x33226['trim']())||'.';_0x52fd9e[_0x1116c9]=(_0x52fd9e[_0x1116c9]||0x0)+0x1;}const _0x46d4b6=Object['entries'](_0x52fd9e)[_0xaa8187(0x1b5)]((_0x2cf30e,_0x48aa05)=>_0x48aa05[0x1]-_0x2cf30e[0x1]),_0x43a01a=[_0x54c42e[_0xaa8187(0x19d)]+_0xaa8187(0x1a5)+_0x46d4b6[_0xaa8187(0x19d)]+_0xaa8187(0x1c6),''],_0x19ed7d=0x1e;for(const [_0x526600,_0x979f67]of _0x46d4b6[_0xaa8187(0x164)](0x0,_0x19ed7d)){_0x43a01a['push']('\x20\x20'+_0x526600+_0xaa8187(0x1d4)+_0x979f67+_0xaa8187(0x1c4));}return _0x46d4b6[_0xaa8187(0x19d)]>_0x19ed7d&&_0x43a01a[_0xaa8187(0x1af)](_0xaa8187(0x1ef)+(_0x46d4b6['length']-_0x19ed7d)+_0xaa8187(0x18c)),_0x43a01a[_0xaa8187(0x1b4)]('\x0a');}function a0_0x1f1a(){const _0x5090da=['export\x20','.class','1704704BxtZOj','require(','collapseWhitespace','filterCat','filterGrep','.pyo','[lock\x20file]\x20','.mp4','indexOf','startsWith','cargo.lock','packages','basename','from\x20','6863990lsswSV','filterTree','[code\x20skeleton]\x20','includes',':\x20...\x20(','.bmp','pnpm-lock.yaml','charCodeAt','go.sum','configurable','split','.swift','19736868kxySCd','.obj','defineProperty','.svg','...\x20+','.tgz','\x20more\x20directories','extname','stringify','.jsx','.java','getConfig','skeleton','.webp','__esModule','../tracker','create','.pyc','\x20dependencies,\x20','@param','toLowerCase','import\x20','#include\x20','length','.ttf','[binary\x20file]\x20','package\x20','__createBinding','stripComments','\x20more\x20files\x20with\x20matches','.7z','\x20files\x20found\x20across\x20','Empty\x20directory','floor','getOwnPropertyNames','some','\x20lines)','default','\x0a...\x20[','[minified\x20file]\x20','dependencies','push','prototype','.bin','.dylib','keys','join','sort','.db','11slAbtK','821950lYiiGc','\x20lines\x20total)','3XwqMdV','trim','.wasm','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','lock','filterFind','3220458moMGdE','getOwnPropertyDescriptor','No\x20files\x20found','.gz','\x20files)','No\x20matches\x20found','\x20directories','match','.mp3','Cargo.lock','__importStar','bun.lockb','.woff','.ico','7aZjCQZ','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','yarn.lock','package-lock.json','parse','.webm','/\x20(','\x20more\x20files','.sqlite3','tracker','.jpg','endsWith','__setModuleDefault','poetry.lock','.pdf','.gif','.ts','substring','.map','.wav','.tar.gz','filter','./generic','\x20directories,\x20','.rar','.eot','.cs','.sqlite','features_enabled','104taYdqX','.dat','.otf','get','\x20\x20...\x20+','\x20chars\x20across\x20','.woff2','path','.min.js','1rZzKZv','\x20lines\x20truncated]\x20...\x0a','\x20more\x20matches','.exe','composer.lock','toLocaleString','.cpp','.png','.avi','total\x20','slice','.dll','9561550iUxUlu','.js','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','226107PGaASt'];a0_0x1f1a=function(){return _0x5090da;};return a0_0x1f1a();}
|
|
1
|
+
'use strict';const a0_0x348bf5=a0_0x5374;(function(_0x3d3242,_0x468759){const _0x274e1c=a0_0x5374,_0x514059=_0x3d3242();while(!![]){try{const _0x44da2f=parseInt(_0x274e1c(0x22b))/0x1*(parseInt(_0x274e1c(0x1b8))/0x2)+-parseInt(_0x274e1c(0x1d5))/0x3+-parseInt(_0x274e1c(0x1f3))/0x4+-parseInt(_0x274e1c(0x211))/0x5*(-parseInt(_0x274e1c(0x204))/0x6)+parseInt(_0x274e1c(0x1d6))/0x7+parseInt(_0x274e1c(0x226))/0x8*(-parseInt(_0x274e1c(0x1a9))/0x9)+-parseInt(_0x274e1c(0x209))/0xa;if(_0x44da2f===_0x468759)break;else _0x514059['push'](_0x514059['shift']());}catch(_0x7e0d5d){_0x514059['push'](_0x514059['shift']());}}}(a0_0x4567,0x24f39));function a0_0x4567(){const _0x5851b5=['\x20\x20...\x20+','.otf','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','slice','filterCat','json_crusher','.tar.gz','dependencies','\x0a...\x20(','keys','.eot','.zip','.webp','.dll','startsWith','.dylib','.mp4','parse','.class','#include\x20','includes','dirname','sort','\x20directories,\x20','__esModule','length','.go','Cargo.lock','206112hGzOMM','[binary\x20file]\x20','...\x20+','.min.js','export\x20','\x0a...\x20[','filterLs','\x20files\x20found\x20across\x20','package\x20','.woff2','create','.db','.bz2','require(','features_enabled','.tgz','filter','6zrGkQn','writable','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','getOwnPropertyDescriptor','.sqlite3','3125160gyjLCb','./generic','.rs','pnpm-lock.yaml','.woff','.tsx','\x20chars\x20across\x20','.ts','446585jjSgpz','lock','push','\x20lines\x20total,\x20','use\x20',':\x20...\x20(','indexOf','extname','.7z','collapseWhitespace','toLocaleString','join','.js','.java','\x20structural\x20lines\x20shown)','default','@return','match','smartCrushJson','.cs','../tracker','8kHWYWt','\x20chars,\x20type:\x20','composer.lock','.bin','[lock\x20file]\x20','266833UeoHKm','.ttf','.svg','.gz','split','tracker','charCodeAt','.pdf','.map','.mp3','basename','from\x20','/\x20(','stringify','.pyo','getConfig','No\x20matches\x20found','.wav','\x20more\x20directories','import\x20','490689GXcyRW','.pyc','trim','total\x20','.wasm','hasOwnProperty','package-lock.json','.cpp','yarn.lock','stripComments','__importStar','poetry.lock','.swift','getOwnPropertyNames','defineProperty','2zMIadi','.rb','\x20more\x20files','.mov','.webm','.bmp','entries','Empty\x20directory','\x20directories','cargo.lock','.ico','some','\x20files)','toLowerCase','go.sum','.sqlite','.exe','packages','[minified\x20file]\x20','__createBinding','filterGrep','@param','.py','.rar','.png','\x20more\x20files\x20with\x20matches','.gif','filterFind','\x20lines\x20total)','256986jFnzFL','2096010obmOUY'];a0_0x4567=function(){return _0x5851b5;};return a0_0x4567();}var __createBinding=this&&this[a0_0x348bf5(0x1cb)]||(Object[a0_0x348bf5(0x1fd)]?function(_0x2103fd,_0x54ba66,_0x1affba,_0x40f0fd){const _0x4425fe=a0_0x348bf5;if(_0x40f0fd===undefined)_0x40f0fd=_0x1affba;var _0x344374=Object[_0x4425fe(0x207)](_0x54ba66,_0x1affba);(!_0x344374||('get'in _0x344374?!_0x54ba66[_0x4425fe(0x1ef)]:_0x344374[_0x4425fe(0x205)]||_0x344374['configurable']))&&(_0x344374={'enumerable':!![],'get':function(){return _0x54ba66[_0x1affba];}}),Object[_0x4425fe(0x1b7)](_0x2103fd,_0x40f0fd,_0x344374);}:function(_0x186ac8,_0x5aace4,_0x44c47b,_0x553b66){if(_0x553b66===undefined)_0x553b66=_0x44c47b;_0x186ac8[_0x553b66]=_0x5aace4[_0x44c47b];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object['create']?function(_0x2abab7,_0x5c2161){const _0x13f3ab=a0_0x348bf5;Object[_0x13f3ab(0x1b7)](_0x2abab7,_0x13f3ab(0x220),{'enumerable':!![],'value':_0x5c2161});}:function(_0x41ce93,_0x321b7b){_0x41ce93['default']=_0x321b7b;}),__importStar=this&&this[a0_0x348bf5(0x1b3)]||(function(){var _0x54b26f=function(_0x3457ff){const _0x1bb7ba=a0_0x5374;return _0x54b26f=Object[_0x1bb7ba(0x1b6)]||function(_0x51c863){const _0x29cd7c=_0x1bb7ba;var _0x2c7c19=[];for(var _0x186630 in _0x51c863)if(Object['prototype'][_0x29cd7c(0x1ae)]['call'](_0x51c863,_0x186630))_0x2c7c19[_0x2c7c19[_0x29cd7c(0x1f0)]]=_0x186630;return _0x2c7c19;},_0x54b26f(_0x3457ff);};return function(_0x5e5281){const _0x2b4ee3=a0_0x5374;if(_0x5e5281&&_0x5e5281[_0x2b4ee3(0x1ef)])return _0x5e5281;var _0x5b1d5d={};if(_0x5e5281!=null){for(var _0x5daa5d=_0x54b26f(_0x5e5281),_0x4fe341=0x0;_0x4fe341<_0x5daa5d[_0x2b4ee3(0x1f0)];_0x4fe341++)if(_0x5daa5d[_0x4fe341]!=='default')__createBinding(_0x5b1d5d,_0x5e5281,_0x5daa5d[_0x4fe341]);}return __setModuleDefault(_0x5b1d5d,_0x5e5281),_0x5b1d5d;};}());Object[a0_0x348bf5(0x1b7)](exports,a0_0x348bf5(0x1ef),{'value':!![]}),exports[a0_0x348bf5(0x1f9)]=filterLs,exports['filterTree']=filterTree,exports[a0_0x348bf5(0x1db)]=filterCat,exports[a0_0x348bf5(0x1cc)]=filterGrep,exports[a0_0x348bf5(0x1d3)]=filterFind;const path=__importStar(require('path')),generic_1=require(a0_0x348bf5(0x20a)),tracker_1=require(a0_0x348bf5(0x225));function isFeatureEnabled(_0x35a505){const _0x2f1f27=a0_0x348bf5;try{const _0x46511e=tracker_1[_0x2f1f27(0x19a)][_0x2f1f27(0x1a4)](),_0x1e9137=_0x46511e[_0x2f1f27(0x201)];if(!_0x1e9137||_0x1e9137[_0x35a505]===undefined)return!![];return _0x1e9137[_0x35a505]!==![];}catch{return!![];}}const LOCK_FILES=[a0_0x348bf5(0x1af),a0_0x348bf5(0x1b1),a0_0x348bf5(0x20c),a0_0x348bf5(0x1f2),a0_0x348bf5(0x1c6),a0_0x348bf5(0x1b4),a0_0x348bf5(0x228),'Gemfile.lock','bun.lockb'],BINARY_EXTENSIONS=[a0_0x348bf5(0x1f6),'.min.css',a0_0x348bf5(0x19d),a0_0x348bf5(0x1ad),a0_0x348bf5(0x1d0),'.jpg','.jpeg',a0_0x348bf5(0x1d2),a0_0x348bf5(0x1c2),a0_0x348bf5(0x1bd),a0_0x348bf5(0x1e3),a0_0x348bf5(0x22d),a0_0x348bf5(0x19c),a0_0x348bf5(0x1e2),a0_0x348bf5(0x1dd),a0_0x348bf5(0x202),a0_0x348bf5(0x198),a0_0x348bf5(0x1ff),a0_0x348bf5(0x219),a0_0x348bf5(0x1cf),a0_0x348bf5(0x1c8),a0_0x348bf5(0x1e4),'.so',a0_0x348bf5(0x1e6),a0_0x348bf5(0x229),'.dat',a0_0x348bf5(0x1c7),a0_0x348bf5(0x1fe),a0_0x348bf5(0x208),a0_0x348bf5(0x20d),a0_0x348bf5(0x1fc),a0_0x348bf5(0x22c),a0_0x348bf5(0x1e1),a0_0x348bf5(0x1d8),a0_0x348bf5(0x19e),a0_0x348bf5(0x1e7),a0_0x348bf5(0x1a6),'.avi',a0_0x348bf5(0x1bb),a0_0x348bf5(0x1bc),a0_0x348bf5(0x1aa),a0_0x348bf5(0x1a3),a0_0x348bf5(0x1e9),'.o','.obj'];function extractFilename(_0x4a58a9){const _0x47fb21=a0_0x348bf5,_0x32bf7d=_0x4a58a9[_0x47fb21(0x1ab)]()[_0x47fb21(0x199)](/\s+/);for(let _0x236862=0x1;_0x236862<_0x32bf7d[_0x47fb21(0x1f0)];_0x236862++){if(!_0x32bf7d[_0x236862]['startsWith']('-'))return _0x32bf7d[_0x236862];}return null;}function filterLockFile(_0x2d48bc,_0x187c88){const _0x5bcf85=a0_0x348bf5;try{const _0x47ec01=path[_0x5bcf85(0x19f)](_0x187c88)['toLowerCase']();if(!LOCK_FILES[_0x5bcf85(0x1c3)](_0x221eb7=>_0x47ec01===_0x221eb7['toLowerCase']()))return null;const _0x1db99a=_0x2d48bc[_0x5bcf85(0x1f0)];let _0x38e082=0x0;if(_0x47ec01===_0x5bcf85(0x1af))try{const _0x3e1cd0=JSON[_0x5bcf85(0x1e8)](_0x2d48bc);_0x38e082=Object[_0x5bcf85(0x1e0)](_0x3e1cd0[_0x5bcf85(0x1c9)]||_0x3e1cd0[_0x5bcf85(0x1de)]||{})['length'];}catch{_0x38e082=(_0x2d48bc['match'](/"resolved":/g)||[])['length'];}else{if(_0x47ec01===_0x5bcf85(0x1b1))_0x38e082=(_0x2d48bc[_0x5bcf85(0x222)](/^"?[^#\s][^:]*:$/gm)||[])[_0x5bcf85(0x1f0)];else{if(_0x47ec01===_0x5bcf85(0x1c1)||_0x47ec01===_0x5bcf85(0x1b4))_0x38e082=(_0x2d48bc[_0x5bcf85(0x222)](/\[\[package\]\]/g)||[])[_0x5bcf85(0x1f0)];else{if(_0x47ec01==='go.sum')_0x38e082=Math['floor'](_0x2d48bc[_0x5bcf85(0x199)]('\x0a')[_0x5bcf85(0x203)](_0x69eff3=>_0x69eff3[_0x5bcf85(0x1ab)]())['length']/0x2);else{if(_0x47ec01===_0x5bcf85(0x228))try{_0x38e082=JSON['parse'](_0x2d48bc)[_0x5bcf85(0x1c9)]?.[_0x5bcf85(0x1f0)]||0x0;}catch{}else _0x47ec01===_0x5bcf85(0x20c)?_0x38e082=(_0x2d48bc[_0x5bcf85(0x222)](/^\s{2}['"@a-z]/gm)||[])[_0x5bcf85(0x1f0)]:_0x38e082=_0x2d48bc[_0x5bcf85(0x199)]('\x0a')[_0x5bcf85(0x203)](_0x52c498=>_0x52c498['trim']())[_0x5bcf85(0x1f0)];}}}}return _0x5bcf85(0x22a)+path[_0x5bcf85(0x19f)](_0x187c88)+':\x20'+_0x38e082+'\x20dependencies,\x20'+_0x1db99a[_0x5bcf85(0x21b)]()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function filterBinaryOrMinified(_0x1be49a,_0x1a3666){const _0x2accf5=a0_0x348bf5;try{if(_0x1a3666){const _0x3608f8=_0x1a3666[_0x2accf5(0x1c5)]();for(const _0x1e9f18 of BINARY_EXTENSIONS){if(_0x3608f8['endsWith'](_0x1e9f18))return'[binary/minified\x20file]\x20'+path[_0x2accf5(0x19f)](_0x1a3666)+',\x20'+_0x1be49a[_0x2accf5(0x1f0)][_0x2accf5(0x21b)]()+_0x2accf5(0x227)+_0x1e9f18+_0x2accf5(0x206);}}const _0x345f5a=_0x1be49a['substring'](0x0,0x3e8);let _0x47ee1a=0x0;for(let _0x34da48=0x0;_0x34da48<_0x345f5a[_0x2accf5(0x1f0)];_0x34da48++){if(_0x345f5a[_0x2accf5(0x19b)](_0x34da48)===0x0)_0x47ee1a++;}if(_0x47ee1a>0x0)return _0x2accf5(0x1f4)+_0x1be49a[_0x2accf5(0x1f0)]['toLocaleString']()+'\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)';let _0x482f3c=0x0;for(let _0x3ed9c6=0x0;_0x3ed9c6<_0x345f5a[_0x2accf5(0x1f0)];_0x3ed9c6++){const _0x125696=_0x345f5a[_0x2accf5(0x19b)](_0x3ed9c6);if(_0x125696<0x20&&_0x125696!==0xa&&_0x125696!==0xd&&_0x125696!==0x9)_0x482f3c++;}if(_0x345f5a[_0x2accf5(0x1f0)]>0x64&&_0x482f3c>_0x345f5a['length']*0.1)return _0x2accf5(0x1f4)+_0x1be49a[_0x2accf5(0x1f0)][_0x2accf5(0x21b)]()+'\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)';const _0x12dd1a=_0x1be49a['split']('\x0a');if(_0x12dd1a[_0x2accf5(0x1f0)]<=0x3&&_0x1be49a[_0x2accf5(0x1f0)]>0x1388)return _0x2accf5(0x1ca)+_0x1be49a[_0x2accf5(0x1f0)]['toLocaleString']()+_0x2accf5(0x20f)+_0x12dd1a[_0x2accf5(0x1f0)]+'\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)';return null;}catch{return null;}}function filterJsonMinify(_0x4c7be5){const _0x43df66=a0_0x348bf5;try{const _0x11c3df=_0x4c7be5[_0x43df66(0x1ab)]();if(!_0x11c3df[_0x43df66(0x1e5)]('{')&&!_0x11c3df['startsWith']('['))return null;const _0x3c0622=_0x11c3df[_0x43df66(0x199)]('\x0a');if(_0x3c0622[_0x43df66(0x1f0)]<=0x14)return null;const _0x365f31=JSON[_0x43df66(0x1e8)](_0x11c3df),_0x2b167a=JSON[_0x43df66(0x1a2)](_0x365f31);if(_0x2b167a['length']<_0x11c3df[_0x43df66(0x1f0)])return _0x2b167a;return null;}catch{return null;}}function filterLs(_0x5f2c5a){const _0x32ce9c=a0_0x348bf5,_0x1a56dc=_0x5f2c5a[_0x32ce9c(0x199)]('\x0a')[_0x32ce9c(0x203)](_0x2a0bb4=>_0x2a0bb4['trim']()['length']>0x0);if(_0x1a56dc['length']===0x0)return _0x32ce9c(0x1bf);if(_0x1a56dc[_0x32ce9c(0x1f0)]<=0x1e)return _0x5f2c5a['trim']();const _0x480f4e=[],_0x5477df=[];for(const _0x4e8953 of _0x1a56dc){const _0x2031d1=_0x4e8953['trim']();if(_0x2031d1[_0x32ce9c(0x1e5)](_0x32ce9c(0x1ac))||_0x2031d1[_0x32ce9c(0x1e5)]('d')&&_0x2031d1['includes']('..'))continue;_0x2031d1['endsWith']('/')||_0x2031d1[_0x32ce9c(0x1e5)]('d')&&_0x2031d1[_0x32ce9c(0x1eb)]('\x20')?_0x480f4e[_0x32ce9c(0x213)](_0x2031d1):_0x5477df[_0x32ce9c(0x213)](_0x2031d1);}const _0x15415a=[];return _0x480f4e[_0x32ce9c(0x1f0)]>0x0&&(_0x480f4e[_0x32ce9c(0x1f0)]<=0xf?_0x15415a[_0x32ce9c(0x213)](..._0x480f4e):(_0x15415a[_0x32ce9c(0x213)](..._0x480f4e[_0x32ce9c(0x1da)](0x0,0xa)),_0x15415a[_0x32ce9c(0x213)](_0x32ce9c(0x1f5)+(_0x480f4e[_0x32ce9c(0x1f0)]-0xa)+'\x20more\x20directories'))),_0x5477df['length']>0x0&&(_0x5477df['length']<=0x14?_0x15415a[_0x32ce9c(0x213)](..._0x5477df):(_0x15415a[_0x32ce9c(0x213)](..._0x5477df['slice'](0x0,0xf)),_0x15415a[_0x32ce9c(0x213)](_0x32ce9c(0x1f5)+(_0x5477df[_0x32ce9c(0x1f0)]-0xf)+_0x32ce9c(0x1ba)))),_0x15415a['push']('\x0a('+_0x480f4e[_0x32ce9c(0x1f0)]+_0x32ce9c(0x1ee)+_0x5477df[_0x32ce9c(0x1f0)]+_0x32ce9c(0x1c4)),_0x15415a['join']('\x0a');}function a0_0x5374(_0x2946ca,_0x199e1a){_0x2946ca=_0x2946ca-0x198;const _0x456714=a0_0x4567();let _0x5374d9=_0x456714[_0x2946ca];return _0x5374d9;}function filterTree(_0x44b707){const _0x474399=a0_0x348bf5,_0x1ae170=_0x44b707[_0x474399(0x199)]('\x0a');if(_0x1ae170['length']<=0x32)return _0x44b707[_0x474399(0x1ab)]();const _0x4571a6=[];let _0x182e8b=0x0,_0x258e6d=0x0,_0x4208e1=0x0;for(const _0x4b6c90 of _0x1ae170){const _0x478b98=_0x4b6c90[_0x474399(0x222)](/(\d+)\s+director/),_0x4018b9=_0x4b6c90[_0x474399(0x222)](/(\d+)\s+file/);if(_0x478b98)_0x4208e1=parseInt(_0x478b98[0x1]);if(_0x4018b9)_0x258e6d=parseInt(_0x4018b9[0x1]);const _0x3d8315=(_0x4b6c90[_0x474399(0x222)](/^[│├└\s─]+/)||[''])[0x0][_0x474399(0x1f0)];_0x3d8315<=0x4&&(_0x4571a6[_0x474399(0x213)](_0x4b6c90),_0x182e8b++);}return _0x1ae170[_0x474399(0x1f0)]>_0x4571a6['length']&&_0x4571a6[_0x474399(0x213)](_0x474399(0x1df)+_0x4208e1+'\x20directories,\x20'+_0x258e6d+_0x474399(0x1d9)),_0x4571a6[_0x474399(0x21c)]('\x0a');}function filterCat(_0x5cdd75,_0x4dce67=''){const _0x5857c9=a0_0x348bf5,_0x542ea1=extractFilename(_0x4dce67);try{if(_0x542ea1&&isFeatureEnabled(_0x5857c9(0x212))){const _0x4184c8=filterLockFile(_0x5cdd75,_0x542ea1);if(_0x4184c8)return _0x4184c8;}if(isFeatureEnabled('binary')){const _0x350271=filterBinaryOrMinified(_0x5cdd75,_0x542ea1);if(_0x350271)return _0x350271;}if(isFeatureEnabled(_0x5857c9(0x1dc))){const _0x590827=(0x0,generic_1[_0x5857c9(0x223)])(_0x5cdd75);if(_0x590827)return _0x590827;}const _0x30c52d=filterJsonMinify(_0x5cdd75);if(_0x30c52d)return _0x30c52d;if(_0x542ea1&&isFeatureEnabled('skeleton')){const _0x69da86=path[_0x5857c9(0x218)](_0x542ea1)[_0x5857c9(0x1c5)](),_0x31d939=[_0x5857c9(0x210),_0x5857c9(0x21d),_0x5857c9(0x20e),'.jsx',_0x5857c9(0x1ce),_0x5857c9(0x1f1),_0x5857c9(0x20b),_0x5857c9(0x21e),'.c',_0x5857c9(0x1b0),_0x5857c9(0x224),_0x5857c9(0x1b9),_0x5857c9(0x1b5),'.kt'];if(_0x31d939[_0x5857c9(0x1eb)](_0x69da86)){const _0x2c3e57=_0x5cdd75[_0x5857c9(0x199)]('\x0a');if(_0x2c3e57[_0x5857c9(0x1f0)]>0x64){const _0xf83585=[];_0xf83585['push']('[code\x20skeleton]\x20'+path[_0x5857c9(0x19f)](_0x542ea1)+'\x20('+_0x2c3e57[_0x5857c9(0x1f0)]+'\x20lines)'),_0xf83585[_0x5857c9(0x213)]('');for(const _0x2a2bd1 of _0x2c3e57){const _0x2595a3=_0x2a2bd1[_0x5857c9(0x1ab)]();if(_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x1a8))||_0x2595a3['startsWith'](_0x5857c9(0x1a0))||_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x200))||_0x2595a3[_0x5857c9(0x222)](/=\s*require\(/)||_0x2595a3['startsWith'](_0x5857c9(0x1ea))||_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x215))||_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x1fb)))_0xf83585[_0x5857c9(0x213)](_0x2a2bd1);else{if(_0x2595a3[_0x5857c9(0x222)](/^(export\s+)?(async\s+)?function\s+/)||_0x2595a3['match'](/^(export\s+)?(default\s+)?class\s+/)||_0x2595a3[_0x5857c9(0x222)](/^(export\s+)?(type|interface|enum)\s+/)||_0x2595a3[_0x5857c9(0x222)](/^(async\s+)?def\s+/)||_0x2595a3[_0x5857c9(0x222)](/^func\s+/)||_0x2595a3[_0x5857c9(0x222)](/^type\s+\w+\s+(struct|interface)/)||_0x2595a3[_0x5857c9(0x222)](/^(pub\s+)?(async\s+)?fn\s+/)||_0x2595a3[_0x5857c9(0x222)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x2595a3[_0x5857c9(0x222)](/^(public|private|protected|static)\s+/))_0xf83585[_0x5857c9(0x213)](_0x2a2bd1);else{if(_0x2595a3['startsWith'](_0x5857c9(0x1f7))&&!_0x2595a3[_0x5857c9(0x1eb)]('=>')&&_0x2595a3[_0x5857c9(0x1f0)]<0x78)_0xf83585[_0x5857c9(0x213)](_0x2a2bd1);else _0x2595a3[_0x5857c9(0x1e5)]('@')&&!_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x1cd))&&!_0x2595a3[_0x5857c9(0x1e5)](_0x5857c9(0x221))&&_0xf83585[_0x5857c9(0x213)](_0x2a2bd1);}}}_0xf83585[_0x5857c9(0x213)](''),_0xf83585['push']('('+_0x2c3e57[_0x5857c9(0x1f0)]+_0x5857c9(0x214)+(_0xf83585[_0x5857c9(0x1f0)]-0x2)+_0x5857c9(0x21f));const _0x3e4e49=_0xf83585[_0x5857c9(0x21c)]('\x0a');if(_0x3e4e49[_0x5857c9(0x1f0)]<_0x5cdd75[_0x5857c9(0x1f0)])return _0x3e4e49;}}}}catch{}let _0x5873fd=(0x0,generic_1[_0x5857c9(0x21a)])(_0x5cdd75);if(_0x542ea1){const _0x356957=path['extname'](_0x542ea1)['toLowerCase']();_0x5873fd=(0x0,generic_1[_0x5857c9(0x1b2)])(_0x5873fd,_0x356957);}const _0x32fec0=_0x5873fd[_0x5857c9(0x199)]('\x0a');if(_0x32fec0[_0x5857c9(0x1f0)]<=0x64)return _0x5873fd;const _0x48ae23=[];return _0x48ae23[_0x5857c9(0x213)](..._0x32fec0[_0x5857c9(0x1da)](0x0,0x32)),_0x48ae23[_0x5857c9(0x213)](_0x5857c9(0x1f8)+(_0x32fec0[_0x5857c9(0x1f0)]-0x50)+'\x20lines\x20truncated]\x20...\x0a'),_0x48ae23['push'](..._0x32fec0['slice'](-0x1e)),_0x48ae23[_0x5857c9(0x213)]('\x0a('+_0x32fec0[_0x5857c9(0x1f0)]+_0x5857c9(0x1d4)),_0x48ae23[_0x5857c9(0x21c)]('\x0a');}function filterGrep(_0x34e3f1){const _0x5692b9=a0_0x348bf5,_0x35a697=_0x34e3f1[_0x5692b9(0x199)]('\x0a')['filter'](_0x405174=>_0x405174[_0x5692b9(0x1ab)]()[_0x5692b9(0x1f0)]>0x0);if(_0x35a697['length']===0x0)return _0x5692b9(0x1a5);if(_0x35a697[_0x5692b9(0x1f0)]<=0x32)return _0x34e3f1[_0x5692b9(0x1ab)]();const _0x47208f={},_0x246864=[];for(const _0xaec369 of _0x35a697){const _0x2cea7e=_0xaec369[_0x5692b9(0x217)](':');if(_0x2cea7e>0x0&&_0x2cea7e<0xc8){const _0x57a769=_0xaec369['substring'](0x0,_0x2cea7e);if(_0x57a769[_0x5692b9(0x1eb)]('/')||_0x57a769[_0x5692b9(0x1eb)]('\x5c')||_0x57a769[_0x5692b9(0x1eb)]('.')){if(!_0x47208f[_0x57a769])_0x47208f[_0x57a769]=[];_0x47208f[_0x57a769][_0x5692b9(0x213)](_0xaec369['substring'](_0x2cea7e+0x1)['trim']());continue;}}_0x246864['push'](_0xaec369);}const _0x121b20=[],_0xfe4f30=Object[_0x5692b9(0x1e0)](_0x47208f);if(_0xfe4f30['length']>0x0){const _0x7f28ee=0x14,_0x3198cb=_0xfe4f30[_0x5692b9(0x1da)](0x0,_0x7f28ee);for(const _0x5e7c0b of _0x3198cb){const _0x274274=_0x47208f[_0x5e7c0b];if(_0x274274['length']<=0x3)for(const _0x3f19f0 of _0x274274){_0x121b20['push'](_0x5e7c0b+':\x20'+_0x3f19f0);}else _0x121b20[_0x5692b9(0x213)](_0x5e7c0b+':\x20'+_0x274274[0x0]),_0x121b20['push'](_0x5e7c0b+_0x5692b9(0x216)+_0x274274['length']+'\x20matches\x20in\x20this\x20file)');}_0xfe4f30[_0x5692b9(0x1f0)]>_0x7f28ee&&_0x121b20[_0x5692b9(0x213)]('...\x20+'+(_0xfe4f30['length']-_0x7f28ee)+_0x5692b9(0x1d1));}if(_0x246864['length']>0x0){const _0x12b677=0x1e;_0x121b20[_0x5692b9(0x213)](..._0x246864['slice'](0x0,_0x12b677)),_0x246864[_0x5692b9(0x1f0)]>_0x12b677&&_0x121b20[_0x5692b9(0x213)](_0x5692b9(0x1f5)+(_0x246864[_0x5692b9(0x1f0)]-_0x12b677)+'\x20more\x20matches');}const _0x5cc953=_0x35a697[_0x5692b9(0x1f0)];return _0x121b20['push']('\x0a('+_0x5cc953+'\x20matches\x20across\x20'+(_0xfe4f30['length']||'?')+'\x20files)'),_0x121b20[_0x5692b9(0x21c)]('\x0a');}function filterFind(_0x107055){const _0xd59c9=a0_0x348bf5,_0x1d1e0f=_0x107055[_0xd59c9(0x199)]('\x0a')[_0xd59c9(0x203)](_0x13c519=>_0x13c519[_0xd59c9(0x1ab)]()['length']>0x0);if(_0x1d1e0f[_0xd59c9(0x1f0)]===0x0)return'No\x20files\x20found';if(_0x1d1e0f[_0xd59c9(0x1f0)]<=0x32)return _0x107055[_0xd59c9(0x1ab)]();const _0x566d37={};for(const _0x2c28d7 of _0x1d1e0f){const _0x4e429a=path[_0xd59c9(0x1ec)](_0x2c28d7[_0xd59c9(0x1ab)]())||'.';_0x566d37[_0x4e429a]=(_0x566d37[_0x4e429a]||0x0)+0x1;}const _0x2bd376=Object[_0xd59c9(0x1be)](_0x566d37)[_0xd59c9(0x1ed)]((_0x19ebd7,_0x293312)=>_0x293312[0x1]-_0x19ebd7[0x1]),_0x290508=[_0x1d1e0f['length']+_0xd59c9(0x1fa)+_0x2bd376[_0xd59c9(0x1f0)]+_0xd59c9(0x1c0),''],_0x35f35c=0x1e;for(const [_0x5b5453,_0x7c28e5]of _0x2bd376[_0xd59c9(0x1da)](0x0,_0x35f35c)){_0x290508[_0xd59c9(0x213)]('\x20\x20'+_0x5b5453+_0xd59c9(0x1a1)+_0x7c28e5+_0xd59c9(0x1c4));}return _0x2bd376[_0xd59c9(0x1f0)]>_0x35f35c&&_0x290508[_0xd59c9(0x213)](_0xd59c9(0x1d7)+(_0x2bd376['length']-_0x35f35c)+_0xd59c9(0x1a7)),_0x290508['join']('\x0a');}
|