trimprompt 1.0.25 → 1.0.27

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/filters/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x5c6426=a0_0x2812;(function(_0x356f7c,_0x357d54){const _0x2bf207=a0_0x2812,_0x55bf5e=_0x356f7c();while(!![]){try{const _0x186bb0=parseInt(_0x2bf207(0x1ce))/0x1*(-parseInt(_0x2bf207(0x1d6))/0x2)+parseInt(_0x2bf207(0x1ac))/0x3+parseInt(_0x2bf207(0x1b1))/0x4+parseInt(_0x2bf207(0x1b5))/0x5*(parseInt(_0x2bf207(0x1ae))/0x6)+parseInt(_0x2bf207(0x1ba))/0x7*(-parseInt(_0x2bf207(0x1f2))/0x8)+-parseInt(_0x2bf207(0x1bb))/0x9*(-parseInt(_0x2bf207(0x1df))/0xa)+-parseInt(_0x2bf207(0x1d1))/0xb*(-parseInt(_0x2bf207(0x19e))/0xc);if(_0x186bb0===_0x357d54)break;else _0x55bf5e['push'](_0x55bf5e['shift']());}catch(_0x15adf9){_0x55bf5e['push'](_0x55bf5e['shift']());}}}(a0_0x117e,0x2653a));Object[a0_0x5c6426(0x1b8)](exports,'__esModule',{'value':!![]}),exports[a0_0x5c6426(0x1c2)]=void 0x0,exports[a0_0x5c6426(0x1d8)]=compressOutput,exports[a0_0x5c6426(0x1e1)]=rewriteCommand;const generic_1=require(a0_0x5c6426(0x1bf)),git_1=require(a0_0x5c6426(0x1b4)),python_1=require('./python'),js_1=require('./js'),shell_1=require(a0_0x5c6426(0x1bc)),rust_1=require(a0_0x5c6426(0x1f3)),go_1=require(a0_0x5c6426(0x1b2)),devops_1=require(a0_0x5c6426(0x1cf)),redactor_1=require('../redactor');function a0_0x2812(_0x269786,_0x220534){_0x269786=_0x269786-0x199;const _0x117e81=a0_0x117e();let _0x2812ee=_0x117e81[_0x269786];return _0x2812ee;}exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};function compressOutput(_0x416194,_0x8556a3,_0x421e97,_0x1affd5=!![]){const _0xa2b060=a0_0x5c6426,_0x223e7e=_0x416194[_0xa2b060(0x1ec)]();let _0x395a41=_0x8556a3;_0x421e97[_0xa2b060(0x1ec)]()[_0xa2b060(0x19a)]>0x0&&(_0x395a41=_0x8556a3+'\x0a'+_0x421e97);let _0x1584b8=(0x0,generic_1[_0xa2b060(0x1a7)])(_0x395a41);if(_0x1affd5){const _0x11a3f5=redactor_1[_0xa2b060(0x1e4)]['redactWithAudit'](_0x1584b8);_0x1584b8=_0x11a3f5[_0xa2b060(0x1e9)],exports[_0xa2b060(0x1c2)]={'secretsFound':_0x11a3f5[_0xa2b060(0x19d)],'secretTypes':_0x11a3f5[_0xa2b060(0x1e5)]};}else exports[_0xa2b060(0x1c2)]={'secretsFound':0x0,'secretTypes':[]};const _0x3e1c7d=_0x223e7e[_0xa2b060(0x1c3)]();try{if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1db))||_0x3e1c7d[_0xa2b060(0x1c7)]('yadm\x20status'))return(0x0,git_1[_0xa2b060(0x1b0)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)]('git\x20log')||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1eb)))return(0x0,git_1[_0xa2b060(0x1bd)])(_0x1584b8);if(_0x3e1c7d['includes']('git\x20diff')||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1f4))||_0x3e1c7d['includes'](_0xa2b060(0x1d0)))return(0x0,git_1[_0xa2b060(0x1f5)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1e2))||_0x3e1c7d[_0xa2b060(0x1e7)](/python3?\s+-m\s+pytest/))return(0x0,python_1[_0xa2b060(0x1c0)])(_0x1584b8);if(_0x3e1c7d['includes'](_0xa2b060(0x1ad))||_0x3e1c7d['includes'](_0xa2b060(0x1a2)))return(0x0,python_1['filterPipInstall'])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x19c))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1b7)))return(0x0,devops_1[_0xa2b060(0x1c8)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1a6))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1b3))||_0x3e1c7d[_0xa2b060(0x1e3)](_0xa2b060(0x1cc))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1f9))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1e0)))return(0x0,js_1['filterNpmInstall'])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1d7))||_0x3e1c7d['includes'](_0xa2b060(0x1c5)))return(0x0,js_1['filterJestVitest'])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1a0))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1ab))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1a3))||_0x3e1c7d['includes'](_0xa2b060(0x19f)))return(0x0,js_1[_0xa2b060(0x1f8)])(_0x1584b8);if(_0x3e1c7d['includes']('cargo\x20test'))return(0x0,rust_1[_0xa2b060(0x1dc)])(_0x1584b8);if(_0x3e1c7d['includes'](_0xa2b060(0x1a1))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x19b))||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1f0)))return(0x0,rust_1[_0xa2b060(0x1ca)])(_0x1584b8);if(_0x3e1c7d['includes'](_0xa2b060(0x1de)))return(0x0,go_1[_0xa2b060(0x1cb)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1c9)))return(0x0,go_1[_0xa2b060(0x1ef)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1e7)](/docker\s+ps/))return(0x0,devops_1[_0xa2b060(0x1f7)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1e7)](/docker\s+images/))return(0x0,devops_1[_0xa2b060(0x199)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1e7)](/docker\s+logs/))return(0x0,devops_1[_0xa2b060(0x1b6)])(_0x1584b8);if(_0x3e1c7d['includes'](_0xa2b060(0x1d4))){const _0x548a4b=_0x3e1c7d['match'](/kubectl\s+(get|logs|describe|apply)/),_0x868f5=_0x548a4b?_0x548a4b[0x1]:_0xa2b060(0x1aa);return(0x0,devops_1['filterKubectl'])(_0x1584b8,_0x868f5);}if(_0x3e1c7d[_0xa2b060(0x1e7)](/^(ls|dir)(\s|$)/)||_0x3e1c7d['includes'](_0xa2b060(0x1dd))||_0x3e1c7d[_0xa2b060(0x1e3)](_0xa2b060(0x1ea)))return(0x0,shell_1[_0xa2b060(0x1be)])(_0x1584b8);if(_0x3e1c7d['match'](/^tree(\s|$)/)||_0x3e1c7d[_0xa2b060(0x1c7)](_0xa2b060(0x1a4))||_0x3e1c7d[_0xa2b060(0x1e3)](_0xa2b060(0x1c1)))return(0x0,shell_1[_0xa2b060(0x1cd)])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1e7)](/^(cat|head|tail|read|bat)(\s|$)/))return(0x0,shell_1[_0xa2b060(0x1a5)])(_0x1584b8,_0x223e7e);if(_0x3e1c7d['match'](/^find(\s|$)/))return(0x0,shell_1['filterFind'])(_0x1584b8);if(_0x3e1c7d[_0xa2b060(0x1e7)](/^(grep|rg|ripgrep)(\s|$)/))return(0x0,shell_1[_0xa2b060(0x1f6)])(_0x1584b8);}catch(_0x3b4480){}return _0x1584b8=(0x0,generic_1[_0xa2b060(0x1a8)])(_0x1584b8),_0x1584b8=(0x0,generic_1['softTruncate'])(_0x1584b8,0x4e20),_0x1584b8;}function a0_0x117e(){const _0x4cd823=['664BOpXPg','jest','compressOutput','trim\x20npm','trim\x20','git\x20status','filterCargoTest','\x20ls\x20','go\x20test','10sTJbqs','yarn\x20install','rewriteCommand','pytest','endsWith','redactor','secretTypes','trim\x20ls','match','trim\x20grep','text','\x20ls','yadm\x20log','trim','startsWith','trim\x20docker','filterGoVet','cargo\x20clippy','trim\x20glab','1130696pVsnUf','./rust','git\x20show','filterGitDiff','filterGrep','filterDockerPs','filterJestVitest','pnpm\x20install','filterDockerImages','length','cargo\x20check','ruff\x20check','secretsFound','3522576aNapWM','npm\x20run\x20test','npm\x20test','cargo\x20build','pip3\x20install','yarn\x20test','\x20tree\x20','filterCat','npm\x20install','stripAnsi','collapseDuplicates','trim\x20npx','get','pnpm\x20test','154569YTDogk','pip\x20install','138DXEyxk','trim\x20pnpm','filterGitStatus','214704EfLaXh','./go','npm\x20i\x20','./git','38965UKSCxP','filterDockerLogs','ruff\x20','defineProperty','trim\x20pytest','7FIoDpu','249921wKALAP','./shell','filterGitLog','filterLs','./generic','filterPytest','\x20tree','lastRedactAudit','toLowerCase','trim\x20pip','vitest','test','includes','filterRuff','go\x20vet','filterCargoBuild','filterGoTest','npm\x20i','filterTree','926bqtnWQ','./devops','yadm\x20diff','11mveJrb','trim\x20kubectl','trim\x20find','kubectl','trim\x20ruff'];a0_0x117e=function(){return _0x4cd823;};return a0_0x117e();}const REWRITE_RULES=[{'pattern':/^(?:git|yadm)\s+(?:-[Cc]\s+\S+\s+)*(status|log|diff|show|add|commit|push|pull|branch|fetch|stash|worktree)/,'prefix':'trim\x20git'},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':'trim\x20gh'},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x5c6426(0x1f1)},{'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':a0_0x5c6426(0x1af)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x5c6426(0x1d9)},{'pattern':/^npx\s+/,'prefix':a0_0x5c6426(0x1a9)},{'pattern':/^(cat|head|tail)\s+/,'prefix':'trim\x20read'},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x5c6426(0x1e8)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x5c6426(0x1e6)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':a0_0x5c6426(0x1d3)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':a0_0x5c6426(0x1ee)},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x5c6426(0x1d2)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':a0_0x5c6426(0x1b9)},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x5c6426(0x1d5)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x5c6426(0x1c4)},{'pattern':/^go\s+(test|build|vet)/,'prefix':'trim\x20go'}];function rewriteCommand(_0x53cced){const _0x482627=a0_0x5c6426,_0x2dcfbe=_0x53cced['trim']();if(_0x2dcfbe[_0x482627(0x1ed)]('trim\x20'))return _0x2dcfbe;for(const _0x25181f of REWRITE_RULES){if(_0x25181f['pattern'][_0x482627(0x1c6)](_0x2dcfbe))return _0x482627(0x1da)+_0x2dcfbe;}return _0x2dcfbe;}
1
+ 'use strict';const a0_0x236a9b=a0_0x538f;(function(_0x144966,_0x25bf86){const _0x3a2619=a0_0x538f,_0x4c48b1=_0x144966();while(!![]){try{const _0x22097a=-parseInt(_0x3a2619(0x13a))/0x1*(-parseInt(_0x3a2619(0x114))/0x2)+-parseInt(_0x3a2619(0x10d))/0x3*(-parseInt(_0x3a2619(0xfd))/0x4)+parseInt(_0x3a2619(0x113))/0x5+-parseInt(_0x3a2619(0xfc))/0x6*(parseInt(_0x3a2619(0x110))/0x7)+parseInt(_0x3a2619(0xf5))/0x8+parseInt(_0x3a2619(0x129))/0x9*(-parseInt(_0x3a2619(0x14f))/0xa)+-parseInt(_0x3a2619(0x135))/0xb;if(_0x22097a===_0x25bf86)break;else _0x4c48b1['push'](_0x4c48b1['shift']());}catch(_0x4b672b){_0x4c48b1['push'](_0x4c48b1['shift']());}}}(a0_0x1a6f,0xed38d));function a0_0x1a6f(){const _0x450cce=['json_crusher','filterCat','pnpm\x20install','redactor','startsWith','trim','1229061vwREDH','go\x20vet','ansi_strip','315YoFMhY','pytest','redact','5250355hZjjvz','7466icllkk','trim\x20ls','trim\x20npx','./git','collapseWhitespace','filterLs','kubectl','git\x20status','vitest','./js','go\x20test','yadm\x20status','cargo\x20clippy','\x20tree\x20','ruff\x20','trim\x20kubectl','filter','trim\x20npm','./rust','features_enabled','trim\x20','6841377LpljBk','[lock\x20file]','endsWith','some','lines\x20truncated','binary','pip3\x20install','get','yarn\x20install','filterJestVitest','\x20ls','length','7811925oLADNx','compressOutput','../redactor','filterCargoBuild','filterGitLog','186YIwVCp','match','trim\x20ruff','lastFeatures','redactWithAudit','filterGoTest','softTruncate','trim\x20grep','lock','trim\x20find','[binary','jest','npm\x20i\x20','defineProperty','git\x20log','cargo\x20check','pattern','npm\x20i','rewriteCommand','trim\x20glab','filterKubectl','10xvyPvh','pnpm\x20test','filterNpmInstall','npm\x20install','yarn\x20test','[minified\x20file]','trim\x20cargo','trim\x20git','filterCargoTest','text','\x20tree','lastRedactAudit','4962104VZgECS','trim\x20pnpm','./go','\x20ls\x20','tracker','includes','filterTree','44316PKSQQS','4lFOknP','secretsFound','filterGitStatus','push','trim\x20pip','whitespace','./shell','git\x20show','trim\x20read','yadm\x20log'];a0_0x1a6f=function(){return _0x450cce;};return a0_0x1a6f();}Object[a0_0x236a9b(0x147)](exports,'__esModule',{'value':!![]}),exports[a0_0x236a9b(0x13d)]=exports[a0_0x236a9b(0xf4)]=void 0x0,exports[a0_0x236a9b(0x136)]=compressOutput,exports[a0_0x236a9b(0x14c)]=rewriteCommand;const generic_1=require('./generic'),git_1=require(a0_0x236a9b(0x117)),python_1=require('./python'),js_1=require(a0_0x236a9b(0x11d)),shell_1=require(a0_0x236a9b(0x103)),rust_1=require(a0_0x236a9b(0x126)),go_1=require(a0_0x236a9b(0xf7)),devops_1=require('./devops'),redactor_1=require(a0_0x236a9b(0x137)),tracker_1=require('../tracker');exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]},exports[a0_0x236a9b(0x13d)]=[];function isFeatureEnabled(_0x555ad0){const _0x13bf57=a0_0x236a9b;try{const _0x2202cf=tracker_1[_0x13bf57(0xf9)]['getConfig'](),_0x1cf884=_0x2202cf[_0x13bf57(0x127)];if(!_0x1cf884||_0x1cf884[_0x555ad0]===undefined)return!![];return _0x1cf884[_0x555ad0]!==![];}catch{return!![];}}function compressOutput(_0x3a463d,_0x33c309,_0x17a8b2,_0x51c806=!![]){const _0x40e17=a0_0x236a9b,_0x1da175=_0x3a463d[_0x40e17(0x10c)]();let _0x3dceb8=_0x33c309;_0x17a8b2[_0x40e17(0x10c)]()[_0x40e17(0x134)]>0x0&&(_0x3dceb8=_0x33c309+'\x0a'+_0x17a8b2);let _0x4cdee8=isFeatureEnabled(_0x40e17(0x10f))?(0x0,generic_1['stripAnsi'])(_0x3dceb8):_0x3dceb8;const _0x541fb1=[];if(_0x4cdee8[_0x40e17(0x134)]<_0x3dceb8[_0x40e17(0x134)])_0x541fb1[_0x40e17(0x100)]('ansi_strip');const _0x5117d8=(_0x434b81,_0x402b19)=>{const _0x5b172c=_0x40e17;return _0x541fb1[_0x5b172c(0x100)](_0x434b81),exports['lastFeatures']=_0x541fb1,_0x402b19;};if(_0x51c806&&isFeatureEnabled('redact')){const _0x5b63f6=redactor_1[_0x40e17(0x10a)][_0x40e17(0x13e)](_0x4cdee8);_0x4cdee8=_0x5b63f6[_0x40e17(0xf2)],exports[_0x40e17(0xf4)]={'secretsFound':_0x5b63f6['secretsFound'],'secretTypes':_0x5b63f6['secretTypes']};if(_0x5b63f6[_0x40e17(0xfe)]>0x0)_0x541fb1[_0x40e17(0x100)](_0x40e17(0x112));}else exports['lastRedactAudit']={'secretsFound':0x0,'secretTypes':[]};const _0x9ea65f=_0x1da175['toLowerCase'](),_0x27c3ce=isFeatureEnabled(_0x40e17(0x124));try{if(_0x27c3ce){if(_0x9ea65f['includes'](_0x40e17(0x11b))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x11f)))return _0x5117d8('filter',(0x0,git_1[_0x40e17(0xff)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x148))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x106)))return _0x5117d8(_0x40e17(0x124),(0x0,git_1[_0x40e17(0x139)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('git\x20diff')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x104))||_0x9ea65f['includes']('yadm\x20diff'))return _0x5117d8(_0x40e17(0x124),(0x0,git_1['filterGitDiff'])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x111))||_0x9ea65f[_0x40e17(0x13b)](/python3?\s+-m\s+pytest/))return _0x5117d8(_0x40e17(0x124),(0x0,python_1['filterPytest'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('pip\x20install')||_0x9ea65f['includes'](_0x40e17(0x12f)))return _0x5117d8(_0x40e17(0x124),(0x0,python_1['filterPipInstall'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('ruff\x20check')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x122)))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterRuff'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xec))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x146))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0x14b))||_0x9ea65f['includes'](_0x40e17(0x109))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x131)))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0xeb)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x145))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x11c)))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0x132)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('npm\x20test')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x150))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xed))||_0x9ea65f[_0x40e17(0xfa)]('npm\x20run\x20test'))return _0x5117d8(_0x40e17(0x124),(0x0,js_1[_0x40e17(0x132)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('cargo\x20test'))return _0x5117d8('filter',(0x0,rust_1[_0x40e17(0xf1)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0xfa)]('cargo\x20build')||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x149))||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x120)))return _0x5117d8('filter',(0x0,rust_1[_0x40e17(0x138)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x11e)))return _0x5117d8(_0x40e17(0x124),(0x0,go_1[_0x40e17(0x13f)])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x10e)))return _0x5117d8(_0x40e17(0x124),(0x0,go_1['filterGoVet'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+ps/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerPs'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+images/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerImages'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/docker\s+logs/))return _0x5117d8(_0x40e17(0x124),(0x0,devops_1['filterDockerLogs'])(_0x4cdee8));if(_0x9ea65f['includes'](_0x40e17(0x11a))){const _0x16e5fc=_0x9ea65f[_0x40e17(0x13b)](/kubectl\s+(get|logs|describe|apply)/),_0x55223a=_0x16e5fc?_0x16e5fc[0x1]:_0x40e17(0x130);return _0x5117d8('filter',(0x0,devops_1[_0x40e17(0x14e)])(_0x4cdee8,_0x55223a));}if(_0x9ea65f[_0x40e17(0x13b)](/^(ls|dir)(\s|$)/)||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0xf8))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0x133)))return _0x5117d8('filter',(0x0,shell_1[_0x40e17(0x119)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^tree(\s|$)/)||_0x9ea65f[_0x40e17(0xfa)](_0x40e17(0x121))||_0x9ea65f[_0x40e17(0x12b)](_0x40e17(0xf3)))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1[_0x40e17(0xfb)])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^(cat|head|tail|read|bat)(\s|$)/)){const _0x6484b3=(0x0,shell_1[_0x40e17(0x108)])(_0x4cdee8,_0x1da175);if(_0x6484b3['includes'](_0x40e17(0x12a)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x142));else{if(_0x6484b3[_0x40e17(0xfa)](_0x40e17(0x144))||_0x6484b3[_0x40e17(0xfa)](_0x40e17(0xee)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x12e));else{if(_0x6484b3[_0x40e17(0xfa)]('[code\x20skeleton]'))_0x541fb1[_0x40e17(0x100)]('skeleton');else{if(_0x6484b3[_0x40e17(0xfa)]('|\x20')&&_0x6484b3[_0x40e17(0xfa)]('---')&&_0x6484b3[_0x40e17(0x134)]<_0x4cdee8[_0x40e17(0x134)]*0.5)_0x541fb1['push'](_0x40e17(0x107));else{if(_0x6484b3[_0x40e17(0xfa)](_0x40e17(0x12d)))_0x541fb1[_0x40e17(0x100)]('filter');}}}}if(_0x6484b3['length']<_0x4cdee8[_0x40e17(0x134)]&&!_0x541fb1[_0x40e17(0x12c)](_0xaf9776=>_0xaf9776!==_0x40e17(0x10f)&&_0xaf9776!==_0x40e17(0x112)))_0x541fb1[_0x40e17(0x100)](_0x40e17(0x124));return exports[_0x40e17(0x13d)]=_0x541fb1,_0x6484b3;}if(_0x9ea65f[_0x40e17(0x13b)](/^find(\s|$)/))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1['filterFind'])(_0x4cdee8));if(_0x9ea65f[_0x40e17(0x13b)](/^(grep|rg|ripgrep)(\s|$)/))return _0x5117d8(_0x40e17(0x124),(0x0,shell_1['filterGrep'])(_0x4cdee8));}}catch(_0x9db3c7){}return isFeatureEnabled(_0x40e17(0x102))&&(_0x4cdee8=(0x0,generic_1[_0x40e17(0x118)])(_0x4cdee8),_0x541fb1[_0x40e17(0x100)](_0x40e17(0x102))),_0x4cdee8=(0x0,generic_1['collapseDuplicates'])(_0x4cdee8),_0x4cdee8=(0x0,generic_1[_0x40e17(0x140)])(_0x4cdee8,0x4e20),exports['lastFeatures']=_0x541fb1,_0x4cdee8;}function a0_0x538f(_0x145b67,_0xbd9e86){_0x145b67=_0x145b67-0xeb;const _0x1a6f1a=a0_0x1a6f();let _0x538f6f=_0x1a6f1a[_0x145b67];return _0x538f6f;}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_0x236a9b(0xf0)},{'pattern':/^gh\s+(pr|issue|run|repo|api|release)/,'prefix':'trim\x20gh'},{'pattern':/^glab\s+(mr|issue|ci|pipeline|api|release)/,'prefix':a0_0x236a9b(0x14d)},{'pattern':/^cargo\s+(build|test|clippy|check|fmt|install)/,'prefix':a0_0x236a9b(0xef)},{'pattern':/^pnpm\s+(exec|i|install|list|ls|outdated|run|run-script)/,'prefix':a0_0x236a9b(0xf6)},{'pattern':/^npm\s+(exec|run|run-script|rum|urn|x|test)(\s|$)/,'prefix':a0_0x236a9b(0x125)},{'pattern':/^npx\s+/,'prefix':a0_0x236a9b(0x116)},{'pattern':/^(cat|head|tail)\s+/,'prefix':a0_0x236a9b(0x105)},{'pattern':/^(rg|grep)\s+/,'prefix':a0_0x236a9b(0x141)},{'pattern':/^ls(\s|$)/,'prefix':a0_0x236a9b(0x115)},{'pattern':/^tree(\s|$)/,'prefix':'trim\x20tree'},{'pattern':/^find\s+/,'prefix':a0_0x236a9b(0x143)},{'pattern':/^docker\s+(ps|images|logs|run|exec|build|compose)/,'prefix':'trim\x20docker'},{'pattern':/^kubectl\s+(get|logs|describe|apply)/,'prefix':a0_0x236a9b(0x123)},{'pattern':/^(python3?\s+-m\s+)?pytest(\s|$)/,'prefix':'trim\x20pytest'},{'pattern':/^ruff\s+(check|format)/,'prefix':a0_0x236a9b(0x13c)},{'pattern':/^(pip3?|uv\s+pip)\s+(list|outdated|install|show)/,'prefix':a0_0x236a9b(0x101)},{'pattern':/^go\s+(test|build|vet)/,'prefix':'trim\x20go'}];function rewriteCommand(_0x410729){const _0xb38259=a0_0x236a9b,_0x2a7f91=_0x410729[_0xb38259(0x10c)]();if(_0x2a7f91[_0xb38259(0x10b)](_0xb38259(0x128)))return _0x2a7f91;for(const _0x3afd69 of REWRITE_RULES){if(_0x3afd69[_0xb38259(0x14a)]['test'](_0x2a7f91))return _0xb38259(0x128)+_0x2a7f91;}return _0x2a7f91;}
package/filters/js.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0xde49d4=a0_0x3bf3;(function(_0x4f229a,_0x190ade){const _0x1c2fee=a0_0x3bf3,_0x5a199d=_0x4f229a();while(!![]){try{const _0x5e0abd=parseInt(_0x1c2fee(0x16b))/0x1*(parseInt(_0x1c2fee(0x171))/0x2)+-parseInt(_0x1c2fee(0x167))/0x3*(parseInt(_0x1c2fee(0x15c))/0x4)+-parseInt(_0x1c2fee(0x15e))/0x5*(parseInt(_0x1c2fee(0x14d))/0x6)+parseInt(_0x1c2fee(0x14f))/0x7+-parseInt(_0x1c2fee(0x163))/0x8*(parseInt(_0x1c2fee(0x173))/0x9)+-parseInt(_0x1c2fee(0x150))/0xa+-parseInt(_0x1c2fee(0x169))/0xb*(-parseInt(_0x1c2fee(0x154))/0xc);if(_0x5e0abd===_0x190ade)break;else _0x5a199d['push'](_0x5a199d['shift']());}catch(_0x44974d){_0x5a199d['push'](_0x5a199d['shift']());}}}(a0_0x5331,0xeffb5));function a0_0x3bf3(_0xdef86,_0x34d7e2){_0xdef86=_0xdef86-0x14c;const _0x533142=a0_0x5331();let _0x3bf303=_0x533142[_0xdef86];return _0x3bf303;}function a0_0x5331(){const _0x1c8645=['151794bSsYoC','Test\x20Suites:','6271657hwcFnM','283950QhutUL','replace','length','removed\x20','45048228IaCRmk','startsWith','all','filterJestVitest','\x20\x20...\x20(','\x20passed','defineProperty','push','8QsQNVE','filterNpmInstall','270VpXFCI','Test\x20Files:','up\x20to\x20date','includes','Test\x20Runner:\x20','26680ZeRpUs','split','\x0aFailures:','PASS','2355459iFGdcx','Tests:','11XFUzWQ','join','1KxEXWh','trim','\x20passed,\x20','\x20failed\x20(','match','FAIL','990214nyiMYi','\x20lines\x20of\x20trace\x20details\x20truncated)','3231TSnEFh','FAIL\x20\x20'];a0_0x5331=function(){return _0x1c8645;};return a0_0x5331();}Object[a0_0xde49d4(0x15a)](exports,'__esModule',{'value':!![]}),exports[a0_0xde49d4(0x15d)]=filterNpmInstall,exports[a0_0xde49d4(0x157)]=filterJestVitest;function filterNpmInstall(_0xb42a18){const _0x26e721=a0_0xde49d4,_0x9cfa35=_0xb42a18[_0x26e721(0x151)](/\r/g,'\x0a'),_0x2c8b3f=_0x9cfa35[_0x26e721(0x164)]('\x0a'),_0xad9064=[];for(const _0x3196fc of _0x2c8b3f){const _0x1dd5bf=_0x3196fc[_0x26e721(0x16c)]();(_0x1dd5bf['includes']('added\x20')||_0x1dd5bf[_0x26e721(0x161)](_0x26e721(0x153))||_0x1dd5bf[_0x26e721(0x161)]('audited\x20')||_0x1dd5bf[_0x26e721(0x161)](_0x26e721(0x160))||_0x1dd5bf[_0x26e721(0x161)]('found\x20'))&&(!_0x1dd5bf[_0x26e721(0x161)]('%')&&!_0x1dd5bf[_0x26e721(0x155)]('⠋')&&!_0x1dd5bf[_0x26e721(0x155)]('⠙')&&_0xad9064[_0x26e721(0x15b)](_0x1dd5bf));}const _0x2c5f34=_0xad9064[_0x26e721(0x16a)]('\x0a')[_0x26e721(0x16c)]();return _0x2c5f34[_0x26e721(0x152)]>0x0?_0x2c5f34:'NPM:\x20Packages\x20verified/installed\x20successfully';}function filterJestVitest(_0x50a14b){const _0x1babb7=a0_0xde49d4,_0x28b719=_0x50a14b[_0x1babb7(0x164)]('\x0a');let _0x4b2f56=0x0,_0x4971fb=0x0,_0x59abcd=0x0;const _0x16ae4c=[];let _0x339ede=![];for(const _0x58777f of _0x28b719){const _0xccc0a5=_0x58777f[_0x1babb7(0x16c)]();if(_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x168))||_0xccc0a5[_0x1babb7(0x161)](_0x1babb7(0x15f))){const _0x792c1d=_0xccc0a5[_0x1babb7(0x16f)](/(\d+)\s+passed/),_0x196b9f=_0xccc0a5[_0x1babb7(0x16f)](/(\d+)\s+failed/),_0x304cb3=_0xccc0a5['match'](/(\d+)\s+total/);if(_0x792c1d)_0x4b2f56=parseInt(_0x792c1d[0x1]);if(_0x196b9f)_0x4971fb=parseInt(_0x196b9f[0x1]);if(_0x304cb3)_0x59abcd=parseInt(_0x304cb3[0x1]);continue;}(_0xccc0a5[_0x1babb7(0x155)]('❯')||_0xccc0a5[_0x1babb7(0x155)]('●')||_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x14c)))&&(_0x339ede=!![]),_0x339ede&&(_0xccc0a5[_0x1babb7(0x152)]>0x0&&!_0xccc0a5[_0x1babb7(0x155)](_0x1babb7(0x14e))&&!_0xccc0a5['startsWith'](_0x1babb7(0x168))&&_0x16ae4c[_0x1babb7(0x15b)](_0x58777f));}if(_0x59abcd===0x0&&_0x4b2f56===0x0&&_0x4971fb===0x0){if(_0x50a14b[_0x1babb7(0x161)](_0x1babb7(0x166))&&!_0x50a14b[_0x1babb7(0x161)](_0x1babb7(0x170))){const _0x501c8f=_0x50a14b[_0x1babb7(0x16f)](/(\d+)\s+passed/),_0x4adffe=_0x501c8f?_0x501c8f[0x1]:_0x1babb7(0x156);return _0x1babb7(0x162)+_0x4adffe+'\x20passed';}return _0x50a14b;}if(_0x4971fb===0x0&&_0x4b2f56>0x0)return'Test\x20Runner:\x20'+_0x4b2f56+_0x1babb7(0x159);const _0x5cee73=[_0x1babb7(0x162)+_0x4b2f56+_0x1babb7(0x16d)+_0x4971fb+_0x1babb7(0x16e)+_0x59abcd+'\x20total)'];if(_0x16ae4c[_0x1babb7(0x152)]>0x0){_0x5cee73[_0x1babb7(0x15b)](_0x1babb7(0x165));const _0x2fd69b=0x19,_0x5f2b1a=_0x16ae4c['slice'](0x0,_0x2fd69b);for(const _0x300472 of _0x5f2b1a){_0x5cee73[_0x1babb7(0x15b)]('\x20\x20'+_0x300472);}_0x16ae4c['length']>_0x2fd69b&&_0x5cee73[_0x1babb7(0x15b)](_0x1babb7(0x158)+(_0x16ae4c[_0x1babb7(0x152)]-_0x2fd69b)+_0x1babb7(0x172));}return _0x5cee73['join']('\x0a');}
1
+ 'use strict';function a0_0xfeec(){const _0x41781c=['5835972ZiGFNE','Test\x20Files:','match','981112WSrXBM','filterJestVitest','NPM:\x20Packages\x20verified/installed\x20successfully','\x20passed','4427793ZNBagD','audited\x20','Test\x20Runner:\x20','\x20lines\x20of\x20trace\x20details\x20truncated)','50GAOXJp','7uxNUZF','push','up\x20to\x20date','\x0aFailures:','FAIL','Tests:','slice','998272BnUaqk','trim','PASS','join','6313192uAqzYQ','Test\x20Suites:','defineProperty','\x20\x20...\x20(','length','8042qZFxQp','added\x20','FAIL\x20\x20','replace','\x20failed\x20(','split','\x20total)','startsWith','\x20passed,\x20','all','includes','__esModule','5rCeeqO','370359xQiTXm'];a0_0xfeec=function(){return _0x41781c;};return a0_0xfeec();}const a0_0x22c1ea=a0_0x3679;(function(_0x24f145,_0x565fd1){const _0x3a255f=a0_0x3679,_0x5eeae7=_0x24f145();while(!![]){try{const _0x421ce8=-parseInt(_0x3a255f(0x176))/0x1+-parseInt(_0x3a255f(0x15d))/0x2+parseInt(_0x3a255f(0x183))/0x3+parseInt(_0x3a255f(0x16d))/0x4*(parseInt(_0x3a255f(0x182))/0x5)+-parseInt(_0x3a255f(0x184))/0x6+-parseInt(_0x3a255f(0x166))/0x7*(parseInt(_0x3a255f(0x171))/0x8)+-parseInt(_0x3a255f(0x161))/0x9*(-parseInt(_0x3a255f(0x165))/0xa);if(_0x421ce8===_0x565fd1)break;else _0x5eeae7['push'](_0x5eeae7['shift']());}catch(_0x3bf051){_0x5eeae7['push'](_0x5eeae7['shift']());}}}(a0_0xfeec,0x8bc51));function a0_0x3679(_0x29d0be,_0x26ae7d){_0x29d0be=_0x29d0be-0x15d;const _0xfeecf=a0_0xfeec();let _0x36794f=_0xfeecf[_0x29d0be];return _0x36794f;}Object[a0_0x22c1ea(0x173)](exports,a0_0x22c1ea(0x181),{'value':!![]}),exports['filterNpmInstall']=filterNpmInstall,exports[a0_0x22c1ea(0x15e)]=filterJestVitest;function filterNpmInstall(_0x2472c9){const _0x555f3b=a0_0x22c1ea,_0x16c394=_0x2472c9[_0x555f3b(0x179)](/\r/g,'\x0a'),_0x28a24f=_0x16c394[_0x555f3b(0x17b)]('\x0a'),_0x43fdee=[];for(const _0x29e4af of _0x28a24f){const _0x10fd5d=_0x29e4af[_0x555f3b(0x16e)]();(_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x177))||_0x10fd5d[_0x555f3b(0x180)]('removed\x20')||_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x162))||_0x10fd5d[_0x555f3b(0x180)](_0x555f3b(0x168))||_0x10fd5d[_0x555f3b(0x180)]('found\x20'))&&(!_0x10fd5d[_0x555f3b(0x180)]('%')&&!_0x10fd5d[_0x555f3b(0x17d)]('⠋')&&!_0x10fd5d['startsWith']('⠙')&&_0x43fdee[_0x555f3b(0x167)](_0x10fd5d));}const _0x6adc23=_0x43fdee[_0x555f3b(0x170)]('\x0a')[_0x555f3b(0x16e)]();return _0x6adc23[_0x555f3b(0x175)]>0x0?_0x6adc23:_0x555f3b(0x15f);}function filterJestVitest(_0x53dde5){const _0x3ff425=a0_0x22c1ea,_0x27db79=_0x53dde5[_0x3ff425(0x17b)]('\x0a');let _0x5312ef=0x0,_0x396373=0x0,_0x466897=0x0;const _0x2ba197=[];let _0x4f5696=![];for(const _0x3b92a1 of _0x27db79){const _0x49218d=_0x3b92a1[_0x3ff425(0x16e)]();if(_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x16b))||_0x49218d[_0x3ff425(0x180)](_0x3ff425(0x185))){const _0x599d0b=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+passed/),_0xda1b86=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+failed/),_0x4cc516=_0x49218d[_0x3ff425(0x186)](/(\d+)\s+total/);if(_0x599d0b)_0x5312ef=parseInt(_0x599d0b[0x1]);if(_0xda1b86)_0x396373=parseInt(_0xda1b86[0x1]);if(_0x4cc516)_0x466897=parseInt(_0x4cc516[0x1]);continue;}(_0x49218d[_0x3ff425(0x17d)]('❯')||_0x49218d[_0x3ff425(0x17d)]('●')||_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x178)))&&(_0x4f5696=!![]),_0x4f5696&&(_0x49218d['length']>0x0&&!_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x172))&&!_0x49218d[_0x3ff425(0x17d)](_0x3ff425(0x16b))&&_0x2ba197[_0x3ff425(0x167)](_0x3b92a1));}if(_0x466897===0x0&&_0x5312ef===0x0&&_0x396373===0x0){if(_0x53dde5['includes'](_0x3ff425(0x16f))&&!_0x53dde5[_0x3ff425(0x180)](_0x3ff425(0x16a))){const _0x5c7dcd=_0x53dde5['match'](/(\d+)\s+passed/),_0x353b12=_0x5c7dcd?_0x5c7dcd[0x1]:_0x3ff425(0x17f);return _0x3ff425(0x163)+_0x353b12+'\x20passed';}return _0x53dde5;}if(_0x396373===0x0&&_0x5312ef>0x0)return'Test\x20Runner:\x20'+_0x5312ef+_0x3ff425(0x160);const _0x4cd570=[_0x3ff425(0x163)+_0x5312ef+_0x3ff425(0x17e)+_0x396373+_0x3ff425(0x17a)+_0x466897+_0x3ff425(0x17c)];if(_0x2ba197['length']>0x0){_0x4cd570[_0x3ff425(0x167)](_0x3ff425(0x169));const _0x35dfc7=0x19,_0x378d3a=_0x2ba197[_0x3ff425(0x16c)](0x0,_0x35dfc7);for(const _0x41c5bd of _0x378d3a){_0x4cd570[_0x3ff425(0x167)]('\x20\x20'+_0x41c5bd);}_0x2ba197['length']>_0x35dfc7&&_0x4cd570[_0x3ff425(0x167)](_0x3ff425(0x174)+(_0x2ba197[_0x3ff425(0x175)]-_0x35dfc7)+_0x3ff425(0x164));}return _0x4cd570['join']('\x0a');}
package/filters/python.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x52e35f=a0_0x3209;(function(_0x399291,_0x5619cb){const _0x28bd19=a0_0x3209,_0x1a259b=_0x399291();while(!![]){try{const _0x3d96db=parseInt(_0x28bd19(0xcf))/0x1+parseInt(_0x28bd19(0xdc))/0x2+-parseInt(_0x28bd19(0xd2))/0x3+parseInt(_0x28bd19(0xdf))/0x4+parseInt(_0x28bd19(0xe0))/0x5*(parseInt(_0x28bd19(0xd1))/0x6)+parseInt(_0x28bd19(0xd4))/0x7+-parseInt(_0x28bd19(0xdd))/0x8*(parseInt(_0x28bd19(0xbe))/0x9);if(_0x3d96db===_0x5619cb)break;else _0x1a259b['push'](_0x1a259b['shift']());}catch(_0xe8c0ae){_0x1a259b['push'](_0x1a259b['shift']());}}}(a0_0x286d,0x52746));Object[a0_0x52e35f(0xc4)](exports,a0_0x52e35f(0xd7),{'value':!![]}),exports[a0_0x52e35f(0xcc)]=filterPytest,exports[a0_0x52e35f(0xd8)]=filterPipInstall;function a0_0x3209(_0x26fff8,_0x2b6ed0){_0x26fff8=_0x26fff8-0xbd;const _0x286dbb=a0_0x286d();let _0x320927=_0x286dbb[_0x26fff8];return _0x320927;}function filterPytest(_0x12acb6){const _0x4ad63c=a0_0x52e35f,_0x5941ca=_0x12acb6[_0x4ad63c(0xc0)]('\x0a');let _0x5e5e55=0x0,_0x11e939=0x0,_0x9a1515=0x0,_0x2b07bc=0x0,_0x52cc56=0x0;const _0x2047b0=[];let _0x1b200e=[],_0x2d9a31=![];for(const _0x4256c9 of _0x5941ca){const _0x37477c=_0x4256c9[_0x4ad63c(0xd0)]();if(_0x37477c['startsWith'](_0x4ad63c(0xc9))||_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xdb))){_0x2d9a31=!![];continue;}else(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xec))||_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xe1))&&_0x37477c[_0x4ad63c(0xeb)](_0x4ad63c(0xd9)))&&(_0x2d9a31=![],_0x1b200e[_0x4ad63c(0xda)]>0x0&&(_0x2047b0['push'](_0x1b200e),_0x1b200e=[]));if(_0x2d9a31){if(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xc3)))_0x1b200e[_0x4ad63c(0xda)]>0x0&&(_0x2047b0[_0x4ad63c(0xe5)](_0x1b200e),_0x1b200e=[]),_0x1b200e[_0x4ad63c(0xe5)](_0x37477c);else _0x37477c[_0x4ad63c(0xda)]>0x0&&_0x1b200e[_0x4ad63c(0xe5)](_0x4256c9);continue;}if(_0x37477c[_0x4ad63c(0xe3)](_0x4ad63c(0xe1))&&_0x37477c['includes'](_0x4ad63c(0xed))){const _0x4e96d8=_0x37477c['match'](/(\d+)\s+passed/),_0x5b70e8=_0x37477c['match'](/(\d+)\s+failed/),_0x54923a=_0x37477c['match'](/(\d+)\s+skipped/),_0x5be237=_0x37477c[_0x4ad63c(0xd6)](/(\d+)\s+xfailed/),_0x67604=_0x37477c[_0x4ad63c(0xd6)](/(\d+)\s+xpassed/);if(_0x4e96d8)_0x5e5e55=parseInt(_0x4e96d8[0x1]);if(_0x5b70e8)_0x11e939=parseInt(_0x5b70e8[0x1]);if(_0x54923a)_0x9a1515=parseInt(_0x54923a[0x1]);if(_0x5be237)_0x2b07bc=parseInt(_0x5be237[0x1]);if(_0x67604)_0x52cc56=parseInt(_0x67604[0x1]);}}_0x1b200e[_0x4ad63c(0xda)]>0x0&&_0x2047b0[_0x4ad63c(0xe5)](_0x1b200e);if(_0x5e5e55===0x0&&_0x11e939===0x0&&_0x9a1515===0x0&&_0x2b07bc===0x0&&_0x52cc56===0x0){if(_0x12acb6['includes']('passed')&&!_0x12acb6[_0x4ad63c(0xeb)](_0x4ad63c(0xca)))return _0x4ad63c(0xe8);return _0x12acb6;}if(_0x11e939===0x0&&_0x5e5e55>0x0&&_0x9a1515===0x0&&_0x2b07bc===0x0&&_0x52cc56===0x0)return _0x4ad63c(0xe7)+_0x5e5e55+_0x4ad63c(0xe2);const _0x3a6fc2=[];_0x3a6fc2[_0x4ad63c(0xe5)](_0x4ad63c(0xe7)+_0x5e5e55+_0x4ad63c(0xe2));if(_0x11e939>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x11e939+_0x4ad63c(0xcd));if(_0x9a1515>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x9a1515+_0x4ad63c(0xcb));if(_0x2b07bc>0x0)_0x3a6fc2['push'](_0x2b07bc+'\x20xfailed');if(_0x52cc56>0x0)_0x3a6fc2[_0x4ad63c(0xe5)](_0x52cc56+'\x20xpassed\x20(warning!)');const _0x44a29c=[_0x3a6fc2[_0x4ad63c(0xea)](',\x20')];if(_0x2047b0[_0x4ad63c(0xda)]>0x0){_0x44a29c['push'](_0x4ad63c(0xc1));const _0x58110a=0x3,_0x3d6969=_0x2047b0[_0x4ad63c(0xc8)](0x0,_0x58110a);for(let _0x34f6c0=0x0;_0x34f6c0<_0x3d6969[_0x4ad63c(0xda)];_0x34f6c0++){const _0xad000d=_0x3d6969[_0x34f6c0],_0x40a466=_0xad000d[0x0][_0x4ad63c(0xc6)](/_/g,'')['trim']();_0x44a29c['push']('\x20\x20'+(_0x34f6c0+0x1)+_0x4ad63c(0xc2)+_0x40a466);const _0x3e9094=_0xad000d['slice'](0x1),_0x483d34=_0x3e9094[_0x4ad63c(0xe4)](_0x1a9bb4=>{const _0x23ca27=_0x4ad63c,_0x51c404=_0x1a9bb4['trim']();return _0x51c404[_0x23ca27(0xe3)]('>')||_0x51c404['startsWith']('E\x20\x20\x20')||_0x51c404[_0x23ca27(0xeb)](_0x23ca27(0xbd))||_0x51c404[_0x23ca27(0xeb)](_0x23ca27(0xd3));});for(const _0x2b2a26 of _0x483d34[_0x4ad63c(0xc8)](0x0,0x8)){_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xde)+_0x2b2a26);}_0x483d34[_0x4ad63c(0xda)]>0x8&&_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xce)+(_0x483d34[_0x4ad63c(0xda)]-0x8)+_0x4ad63c(0xe9));}_0x2047b0['length']>_0x58110a&&_0x44a29c[_0x4ad63c(0xe5)](_0x4ad63c(0xbf)+(_0x2047b0[_0x4ad63c(0xda)]-_0x58110a)+_0x4ad63c(0xe6));}return _0x44a29c[_0x4ad63c(0xea)]('\x0a');}function filterPipInstall(_0x56691b){const _0x49f48b=a0_0x52e35f,_0x31c3d7=_0x56691b[_0x49f48b(0xc0)]('\x0a'),_0x431774=[];for(const _0x74b0a2 of _0x31c3d7){const _0x334b45=_0x74b0a2[_0x49f48b(0xd0)]();_0x334b45['startsWith'](_0x49f48b(0xd5))&&_0x431774['push'](_0x334b45);}if(_0x431774[_0x49f48b(0xda)]>0x0)return _0x431774[_0x49f48b(0xea)]('\x0a');return _0x31c3d7[_0x49f48b(0xe4)](_0x3d288b=>{const _0x33c8b0=_0x49f48b,_0x38edc1=_0x3d288b[_0x33c8b0(0xd0)]();return!_0x38edc1['startsWith']('Collecting')&&!_0x38edc1[_0x33c8b0(0xe3)](_0x33c8b0(0xc7))&&!_0x38edc1[_0x33c8b0(0xeb)](_0x33c8b0(0xc5))&&!_0x38edc1[_0x33c8b0(0xe3)]('Requirement\x20already\x20satisfied');})[_0x49f48b(0xea)]('\x0a')[_0x49f48b(0xd0)]();}function a0_0x286d(){const _0x5ed2bb=['Successfully\x20installed','match','__esModule','filterPipInstall','passed','length','===\x20ERRORS\x20===','653160huNVWl','8711592LrKIny','\x20\x20\x20\x20','1283096CpKXnH','481775rilWYo','===','\x20passed','startsWith','filter','push','\x20more\x20failures\x20truncated','Pytest:\x20','Pytest:\x20All\x20tests\x20passed','\x20lines\x20of\x20stacktrace\x20truncated)','join','includes','===\x20short\x20test\x20summary\x20info\x20===','\x20in\x20','.py:','9waFBfb','\x20\x20...\x20+','split','\x0aFailures:','.\x20[FAIL]\x20','___','defineProperty','Using\x20cached','replace','Downloading','slice','===\x20FAILURES\x20===','failed','\x20skipped','filterPytest','\x20failed','\x20\x20\x20\x20...\x20(','437789qPcnuO','trim','6icqyKZ','1057404ayRXgd','AssertionError:','4183571qzNCQH'];a0_0x286d=function(){return _0x5ed2bb;};return a0_0x286d();}
1
+ 'use strict';const a0_0x116475=a0_0x5307;function a0_0x5307(_0x2e5829,_0x4ddf6d){_0x2e5829=_0x2e5829-0xd5;const _0x4fcf3d=a0_0x4fcf();let _0x530765=_0x4fcf3d[_0x2e5829];return _0x530765;}function a0_0x4fcf(){const _0x47c4a2=['Successfully\x20installed','36264uSeZmx','filterPytest','\x20xfailed','E\x20\x20\x20','\x20\x20...\x20+','36327467HltNSX','trim','__esModule','10916140Okjrmk','388128vHoCJR','startsWith','\x0aFailures:','1635338LPMSGR','slice','8691QVcKHn','135UhTPhg','\x20passed','\x20failed','match','685SfIKgp','filterPipInstall','\x20\x20\x20\x20...\x20(','.\x20[FAIL]\x20','includes','defineProperty','join','Pytest:\x20All\x20tests\x20passed','___','1OfdNgZ','Using\x20cached','push','===','===\x20FAILURES\x20===','Downloading','Pytest:\x20','filter','1612jKJjHe','length','1603770ROuPwC','split','AssertionError:','===\x20ERRORS\x20===','passed','\x20more\x20failures\x20truncated','\x20xpassed\x20(warning!)','\x20lines\x20of\x20stacktrace\x20truncated)','12FUvNsO','Collecting','failed','Requirement\x20already\x20satisfied'];a0_0x4fcf=function(){return _0x47c4a2;};return a0_0x4fcf();}(function(_0x24aef8,_0x5693f2){const _0xc5da97=a0_0x5307,_0x3b65fa=_0x24aef8();while(!![]){try{const _0x3923b4=-parseInt(_0xc5da97(0xd6))/0x1*(parseInt(_0xc5da97(0xf9))/0x2)+parseInt(_0xc5da97(0xfb))/0x3*(parseInt(_0xc5da97(0xde))/0x4)+parseInt(_0xc5da97(0x100))/0x5*(-parseInt(_0xc5da97(0xed))/0x6)+-parseInt(_0xc5da97(0xe0))/0x7+parseInt(_0xc5da97(0xf6))/0x8*(-parseInt(_0xc5da97(0xfc))/0x9)+-parseInt(_0xc5da97(0xf5))/0xa+parseInt(_0xc5da97(0xf2))/0xb*(parseInt(_0xc5da97(0xe8))/0xc);if(_0x3923b4===_0x5693f2)break;else _0x3b65fa['push'](_0x3b65fa['shift']());}catch(_0xbc47b0){_0x3b65fa['push'](_0x3b65fa['shift']());}}}(a0_0x4fcf,0xbd693));Object[a0_0x116475(0x105)](exports,a0_0x116475(0xf4),{'value':!![]}),exports[a0_0x116475(0xee)]=filterPytest,exports[a0_0x116475(0x101)]=filterPipInstall;function filterPytest(_0x5060ae){const _0x105447=a0_0x116475,_0x49c1a4=_0x5060ae[_0x105447(0xe1)]('\x0a');let _0x2c5ceb=0x0,_0x23e84f=0x0,_0xd822ec=0x0,_0x419b7b=0x0,_0x2a140c=0x0;const _0x613d2=[];let _0x448fc1=[],_0x562a75=![];for(const _0x5e5a57 of _0x49c1a4){const _0x4a58d2=_0x5e5a57[_0x105447(0xf3)]();if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xda))||_0x4a58d2[_0x105447(0xf7)](_0x105447(0xe3))){_0x562a75=!![];continue;}else(_0x4a58d2[_0x105447(0xf7)]('===\x20short\x20test\x20summary\x20info\x20===')||_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd9))&&_0x4a58d2[_0x105447(0x104)](_0x105447(0xe4)))&&(_0x562a75=![],_0x448fc1[_0x105447(0xdf)]>0x0&&(_0x613d2[_0x105447(0xd8)](_0x448fc1),_0x448fc1=[]));if(_0x562a75){if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd5)))_0x448fc1[_0x105447(0xdf)]>0x0&&(_0x613d2[_0x105447(0xd8)](_0x448fc1),_0x448fc1=[]),_0x448fc1[_0x105447(0xd8)](_0x4a58d2);else _0x4a58d2[_0x105447(0xdf)]>0x0&&_0x448fc1[_0x105447(0xd8)](_0x5e5a57);continue;}if(_0x4a58d2[_0x105447(0xf7)](_0x105447(0xd9))&&_0x4a58d2['includes']('\x20in\x20')){const _0x2750b4=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+passed/),_0x132484=_0x4a58d2['match'](/(\d+)\s+failed/),_0x5108e3=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+skipped/),_0x101994=_0x4a58d2[_0x105447(0xff)](/(\d+)\s+xfailed/),_0x5ee8dd=_0x4a58d2['match'](/(\d+)\s+xpassed/);if(_0x2750b4)_0x2c5ceb=parseInt(_0x2750b4[0x1]);if(_0x132484)_0x23e84f=parseInt(_0x132484[0x1]);if(_0x5108e3)_0xd822ec=parseInt(_0x5108e3[0x1]);if(_0x101994)_0x419b7b=parseInt(_0x101994[0x1]);if(_0x5ee8dd)_0x2a140c=parseInt(_0x5ee8dd[0x1]);}}_0x448fc1[_0x105447(0xdf)]>0x0&&_0x613d2[_0x105447(0xd8)](_0x448fc1);if(_0x2c5ceb===0x0&&_0x23e84f===0x0&&_0xd822ec===0x0&&_0x419b7b===0x0&&_0x2a140c===0x0){if(_0x5060ae['includes'](_0x105447(0xe4))&&!_0x5060ae[_0x105447(0x104)](_0x105447(0xea)))return _0x105447(0x107);return _0x5060ae;}if(_0x23e84f===0x0&&_0x2c5ceb>0x0&&_0xd822ec===0x0&&_0x419b7b===0x0&&_0x2a140c===0x0)return _0x105447(0xdc)+_0x2c5ceb+_0x105447(0xfd);const _0x287a3=[];_0x287a3['push']('Pytest:\x20'+_0x2c5ceb+_0x105447(0xfd));if(_0x23e84f>0x0)_0x287a3['push'](_0x23e84f+_0x105447(0xfe));if(_0xd822ec>0x0)_0x287a3[_0x105447(0xd8)](_0xd822ec+'\x20skipped');if(_0x419b7b>0x0)_0x287a3[_0x105447(0xd8)](_0x419b7b+_0x105447(0xef));if(_0x2a140c>0x0)_0x287a3[_0x105447(0xd8)](_0x2a140c+_0x105447(0xe6));const _0x343214=[_0x287a3[_0x105447(0x106)](',\x20')];if(_0x613d2['length']>0x0){_0x343214[_0x105447(0xd8)](_0x105447(0xf8));const _0x29b129=0x3,_0x43ff01=_0x613d2['slice'](0x0,_0x29b129);for(let _0x3565ef=0x0;_0x3565ef<_0x43ff01[_0x105447(0xdf)];_0x3565ef++){const _0x3a84fd=_0x43ff01[_0x3565ef],_0x1ccc56=_0x3a84fd[0x0]['replace'](/_/g,'')[_0x105447(0xf3)]();_0x343214['push']('\x20\x20'+(_0x3565ef+0x1)+_0x105447(0x103)+_0x1ccc56);const _0x40bcf6=_0x3a84fd['slice'](0x1),_0x5e616c=_0x40bcf6[_0x105447(0xdd)](_0x2bb61d=>{const _0xfbf179=_0x105447,_0x4869e5=_0x2bb61d[_0xfbf179(0xf3)]();return _0x4869e5['startsWith']('>')||_0x4869e5[_0xfbf179(0xf7)](_0xfbf179(0xf0))||_0x4869e5['includes']('.py:')||_0x4869e5['includes'](_0xfbf179(0xe2));});for(const _0x42cfa1 of _0x5e616c[_0x105447(0xfa)](0x0,0x8)){_0x343214[_0x105447(0xd8)]('\x20\x20\x20\x20'+_0x42cfa1);}_0x5e616c[_0x105447(0xdf)]>0x8&&_0x343214[_0x105447(0xd8)](_0x105447(0x102)+(_0x5e616c['length']-0x8)+_0x105447(0xe7));}_0x613d2[_0x105447(0xdf)]>_0x29b129&&_0x343214[_0x105447(0xd8)](_0x105447(0xf1)+(_0x613d2['length']-_0x29b129)+_0x105447(0xe5));}return _0x343214['join']('\x0a');}function filterPipInstall(_0x2ea846){const _0x430922=a0_0x116475,_0x1ffca9=_0x2ea846[_0x430922(0xe1)]('\x0a'),_0x305373=[];for(const _0x320585 of _0x1ffca9){const _0x492702=_0x320585[_0x430922(0xf3)]();_0x492702['startsWith'](_0x430922(0xec))&&_0x305373[_0x430922(0xd8)](_0x492702);}if(_0x305373[_0x430922(0xdf)]>0x0)return _0x305373['join']('\x0a');return _0x1ffca9[_0x430922(0xdd)](_0x144e60=>{const _0x416476=_0x430922,_0x5d9f6a=_0x144e60[_0x416476(0xf3)]();return!_0x5d9f6a['startsWith'](_0x416476(0xe9))&&!_0x5d9f6a[_0x416476(0xf7)](_0x416476(0xdb))&&!_0x5d9f6a[_0x416476(0x104)](_0x416476(0xd7))&&!_0x5d9f6a[_0x416476(0xf7)](_0x416476(0xeb));})['join']('\x0a')[_0x430922(0xf3)]();}
package/filters/rust.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a0_0x593f(_0x3719b8,_0x4b1691){_0x3719b8=_0x3719b8-0x1d8;const _0x4df4dc=a0_0x4df4();let _0x593f66=_0x4df4dc[_0x3719b8];return _0x593f66;}const a0_0x1f1659=a0_0x593f;(function(_0x498792,_0x53f0ac){const _0x46eba6=a0_0x593f,_0x2020dd=_0x498792();while(!![]){try{const _0x365af0=parseInt(_0x46eba6(0x204))/0x1+-parseInt(_0x46eba6(0x1f1))/0x2*(parseInt(_0x46eba6(0x1f9))/0x3)+parseInt(_0x46eba6(0x1e5))/0x4+parseInt(_0x46eba6(0x206))/0x5+parseInt(_0x46eba6(0x1fa))/0x6*(parseInt(_0x46eba6(0x20c))/0x7)+parseInt(_0x46eba6(0x202))/0x8+-parseInt(_0x46eba6(0x205))/0x9*(parseInt(_0x46eba6(0x1e2))/0xa);if(_0x365af0===_0x53f0ac)break;else _0x2020dd['push'](_0x2020dd['shift']());}catch(_0xba3b2e){_0x2020dd['push'](_0x2020dd['shift']());}}}(a0_0x4df4,0xa4dbb));Object['defineProperty'](exports,a0_0x1f1659(0x20b),{'value':!![]}),exports[a0_0x1f1659(0x1da)]=filterCargoTest,exports[a0_0x1f1659(0x20a)]=filterCargoBuild;function filterCargoTest(_0x44be3d){const _0x5113fe=a0_0x1f1659,_0x4316c0=_0x44be3d[_0x5113fe(0x1e7)]('\x0a');let _0x2f3c8f=0x0,_0x1fe789=0x0,_0x817618=0x0,_0x3ea514=0x0;const _0xcf8f8=[];let _0x383b1b=![],_0x4c35f9=[];for(const _0x451e51 of _0x4316c0){const _0x1e01c9=_0x451e51[_0x5113fe(0x200)](),_0x49072c=_0x1e01c9[_0x5113fe(0x1de)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x49072c){_0x2f3c8f+=parseInt(_0x49072c[0x2]),_0x1fe789+=parseInt(_0x49072c[0x3]),_0x817618+=parseInt(_0x49072c[0x4]),_0x3ea514+=parseInt(_0x49072c[0x5]);continue;}if(_0x1e01c9==='failures:'||_0x1e01c9===_0x5113fe(0x1dd)){_0x383b1b=!![];continue;}if(_0x383b1b){if(_0x1e01c9[_0x5113fe(0x1eb)](_0x5113fe(0x1e3))&&_0x1e01c9['endsWith'](_0x5113fe(0x1ee))){if(_0x4c35f9[_0x5113fe(0x1fd)]>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));_0x4c35f9=[_0x1e01c9[_0x5113fe(0x201)](/^-+\s*/,'')[_0x5113fe(0x201)](/\s*-+$/,'')];}else{if(_0x1e01c9==='failures:'||_0x1e01c9[_0x5113fe(0x1eb)]('test\x20result:')){if(_0x4c35f9[_0x5113fe(0x1fd)]>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));_0x4c35f9=[],_0x383b1b=![];}else _0x1e01c9[_0x5113fe(0x1fd)]>0x0&&_0x4c35f9[_0x5113fe(0x1ec)](_0x451e51);}}}if(_0x4c35f9['length']>0x0)_0xcf8f8[_0x5113fe(0x1ec)](_0x4c35f9[_0x5113fe(0x1ed)]('\x0a'));if(_0x2f3c8f===0x0&&_0x1fe789===0x0&&_0x817618===0x0){if(_0x44be3d[_0x5113fe(0x209)](_0x5113fe(0x207)))return _0x5113fe(0x1d9);return _0x44be3d;}if(_0x1fe789===0x0){const _0x10fe4a=['Cargo\x20test:\x20'+_0x2f3c8f+_0x5113fe(0x1fb)];if(_0x817618>0x0)_0x10fe4a[_0x5113fe(0x1ec)](_0x817618+_0x5113fe(0x1db));return _0x10fe4a[_0x5113fe(0x1ed)](',\x20');}const _0x5e3bc3=[_0x5113fe(0x1d8)+_0x2f3c8f+'\x20passed,\x20'+_0x1fe789+_0x5113fe(0x1e0)+_0x817618+_0x5113fe(0x1db)];if(_0xcf8f8[_0x5113fe(0x1fd)]>0x0){_0x5e3bc3[_0x5113fe(0x1ec)]('\x0aFailures:');const _0x5827e8=0x3;for(let _0x3e29ef=0x0;_0x3e29ef<Math['min'](_0xcf8f8[_0x5113fe(0x1fd)],_0x5827e8);_0x3e29ef++){const _0x159b94=_0xcf8f8[_0x3e29ef][_0x5113fe(0x1e7)]('\x0a');_0x5e3bc3['push']('\x20\x20'+(_0x3e29ef+0x1)+'.\x20'+_0x159b94[0x0]);const _0x1c8d6e=_0x159b94['slice'](0x1),_0x48653d=_0x1c8d6e[_0x5113fe(0x1fc)](_0x4eea3e=>_0x4eea3e['trim']()[_0x5113fe(0x1eb)](_0x5113fe(0x1e8))||_0x4eea3e[_0x5113fe(0x209)]('panicked')||_0x4eea3e['includes'](_0x5113fe(0x1df))||_0x4eea3e[_0x5113fe(0x209)](_0x5113fe(0x1e9))||_0x4eea3e['includes'](_0x5113fe(0x1f3)));for(const _0xf51e47 of _0x48653d[_0x5113fe(0x1e4)](0x0,0x5)){_0x5e3bc3[_0x5113fe(0x1ec)](_0x5113fe(0x1ef)+_0xf51e47[_0x5113fe(0x200)]());}}_0xcf8f8[_0x5113fe(0x1fd)]>_0x5827e8&&_0x5e3bc3[_0x5113fe(0x1ec)](_0x5113fe(0x1f2)+(_0xcf8f8[_0x5113fe(0x1fd)]-_0x5827e8)+'\x20more\x20failures');}return _0x5e3bc3[_0x5113fe(0x1ed)]('\x0a');}function a0_0x4df4(){const _0x21b1d2=['join','\x20----','\x20\x20\x20\x20','\x20errors,\x20','6986zViiGC','\x20\x20...\x20+','right:','error[','error:','\x20warnings','\x20more\x20errors','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','906IToobB','534kcFDcE','\x20passed','filter','length','Cargo:\x20','Cargo:\x20compiled\x20','trim','replace','3411504CkmVgT','\x20crates\x20successfully','535108MxpdeZ','1254429YofXRJ','3487995CSsktK','test\x20result:\x20ok','\x0aWarnings:','includes','filterCargoBuild','__esModule','3157cRyWau','Cargo\x20test:\x20','Cargo\x20test:\x20all\x20tests\x20passed','filterCargoTest','\x20ignored','warning:','----\x20failures\x20----','match','assert','\x20failed,\x20','\x20crates,\x20','90vbcrQh','----\x20','slice','5141160IRUtIS','\x0aErrors:','split','thread','left:','warning[','startsWith','push'];a0_0x4df4=function(){return _0x21b1d2;};return a0_0x4df4();}function filterCargoBuild(_0x34c3ff){const _0x501609=a0_0x1f1659,_0x37f23e=_0x34c3ff[_0x501609(0x1e7)]('\x0a'),_0x24337b=[],_0x3199d7=[];let _0x56d96a=0x0;for(const _0x182ab1 of _0x37f23e){const _0x1d5485=_0x182ab1[_0x501609(0x200)]();if(_0x1d5485[_0x501609(0x1eb)]('Compiling\x20'))_0x56d96a++;else{if(_0x1d5485['startsWith'](_0x501609(0x1ea))||_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1dc)))_0x24337b['push'](_0x1d5485);else{if(_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1f4))||_0x1d5485[_0x501609(0x1eb)](_0x501609(0x1f5)))_0x3199d7['push'](_0x1d5485);}}}if(_0x3199d7['length']===0x0&&_0x24337b[_0x501609(0x1fd)]===0x0)return _0x56d96a>0x0?_0x501609(0x1ff)+_0x56d96a+_0x501609(0x203):_0x34c3ff[_0x501609(0x200)]();const _0x896f9e=[];if(_0x3199d7[_0x501609(0x1fd)]>0x0){_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1fe)+_0x3199d7[_0x501609(0x1fd)]+_0x501609(0x1f0)+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f6)),_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1e6));for(const _0x31d13d of _0x3199d7['slice'](0x0,0x5))_0x896f9e[_0x501609(0x1ec)]('\x20\x20'+_0x31d13d);if(_0x3199d7['length']>0x5)_0x896f9e[_0x501609(0x1ec)](_0x501609(0x1f2)+(_0x3199d7['length']-0x5)+_0x501609(0x1f7));}else _0x896f9e[_0x501609(0x1ec)](_0x501609(0x1ff)+_0x56d96a+_0x501609(0x1e1)+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f6));if(_0x24337b['length']>0x0&&_0x24337b[_0x501609(0x1fd)]<=0x5){_0x896f9e['push'](_0x501609(0x208));for(const _0x5d50ba of _0x24337b)_0x896f9e[_0x501609(0x1ec)]('\x20\x20'+_0x5d50ba);}else _0x24337b[_0x501609(0x1fd)]>0x5&&_0x896f9e[_0x501609(0x1ec)]('\x0a('+_0x24337b[_0x501609(0x1fd)]+_0x501609(0x1f8));return _0x896f9e['join']('\x0a');}
1
+ 'use strict';function a0_0x4d02(){const _0x1a6741=['match','panicked','57678yxrDuN','\x20ignored','__esModule','Cargo:\x20','\x0aErrors:','17126IgacsC','\x20\x20...\x20+','right:','Cargo:\x20compiled\x20','\x20crates\x20successfully','\x20warnings','includes','length','defineProperty','894360mWUwgC','trim','min','\x20more\x20failures','\x20----','\x20failed,\x20','14uOhbhe','filterCargoBuild','test\x20result:','566200hmripx','error:','filterCargoTest','2GzYWXx','Cargo\x20test:\x20all\x20tests\x20passed','20NjaOzZ','\x20crates,\x20','\x0aWarnings:','warning:','error[','15UbzNIf','\x20passed','test\x20result:\x20ok','left:','push','300Qswrgk','----\x20failures\x20----','filter','89428WPKhTz','join','\x20errors,\x20','failures:','Cargo\x20test:\x20','\x20more\x20errors','\x20warnings\x20—\x20run\x20cargo\x20clippy\x20for\x20details)','startsWith','1362951KtQxYB','replace','split','slice','\x20\x20\x20\x20','295823OsfJpD'];a0_0x4d02=function(){return _0x1a6741;};return a0_0x4d02();}const a0_0x23407b=a0_0x4f4f;function a0_0x4f4f(_0x4ce806,_0x3e0217){_0x4ce806=_0x4ce806-0x13c;const _0x4d0287=a0_0x4d02();let _0x4f4f2b=_0x4d0287[_0x4ce806];return _0x4f4f2b;}(function(_0x154d0d,_0x324cce){const _0x4dadca=a0_0x4f4f,_0x1d847f=_0x154d0d();while(!![]){try{const _0x45b9ca=parseInt(_0x4dadca(0x13e))/0x1*(parseInt(_0x4dadca(0x153))/0x2)+-parseInt(_0x4dadca(0x147))/0x3+-parseInt(_0x4dadca(0x162))/0x4*(parseInt(_0x4dadca(0x15a))/0x5)+parseInt(_0x4dadca(0x172))/0x6+-parseInt(_0x4dadca(0x14d))/0x7*(-parseInt(_0x4dadca(0x150))/0x8)+parseInt(_0x4dadca(0x16a))/0x9*(-parseInt(_0x4dadca(0x155))/0xa)+-parseInt(_0x4dadca(0x16f))/0xb*(-parseInt(_0x4dadca(0x15f))/0xc);if(_0x45b9ca===_0x324cce)break;else _0x1d847f['push'](_0x1d847f['shift']());}catch(_0x1047a5){_0x1d847f['push'](_0x1d847f['shift']());}}}(a0_0x4d02,0x2a201));Object[a0_0x23407b(0x146)](exports,a0_0x23407b(0x174),{'value':!![]}),exports[a0_0x23407b(0x152)]=filterCargoTest,exports[a0_0x23407b(0x14e)]=filterCargoBuild;function filterCargoTest(_0x5a68fb){const _0x2644df=a0_0x23407b,_0xcef4e6=_0x5a68fb['split']('\x0a');let _0x275b84=0x0,_0x36f463=0x0,_0x22ce07=0x0,_0x32cd88=0x0;const _0x5f217f=[];let _0x4d20d1=![],_0x1fc35a=[];for(const _0x1bcbf8 of _0xcef4e6){const _0x22b200=_0x1bcbf8[_0x2644df(0x148)](),_0x48c0de=_0x22b200[_0x2644df(0x170)](/test result:\s*(\w+)\.\s*(\d+)\s+passed;\s*(\d+)\s+failed;\s*(\d+)\s+ignored;\s*(\d+)\s+measured/);if(_0x48c0de){_0x275b84+=parseInt(_0x48c0de[0x2]),_0x36f463+=parseInt(_0x48c0de[0x3]),_0x22ce07+=parseInt(_0x48c0de[0x4]),_0x32cd88+=parseInt(_0x48c0de[0x5]);continue;}if(_0x22b200===_0x2644df(0x165)||_0x22b200===_0x2644df(0x160)){_0x4d20d1=!![];continue;}if(_0x4d20d1){if(_0x22b200[_0x2644df(0x169)]('----\x20')&&_0x22b200['endsWith'](_0x2644df(0x14b))){if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f[_0x2644df(0x15e)](_0x1fc35a[_0x2644df(0x163)]('\x0a'));_0x1fc35a=[_0x22b200[_0x2644df(0x16b)](/^-+\s*/,'')[_0x2644df(0x16b)](/\s*-+$/,'')];}else{if(_0x22b200===_0x2644df(0x165)||_0x22b200[_0x2644df(0x169)](_0x2644df(0x14f))){if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f[_0x2644df(0x15e)](_0x1fc35a[_0x2644df(0x163)]('\x0a'));_0x1fc35a=[],_0x4d20d1=![];}else _0x22b200[_0x2644df(0x145)]>0x0&&_0x1fc35a['push'](_0x1bcbf8);}}}if(_0x1fc35a[_0x2644df(0x145)]>0x0)_0x5f217f['push'](_0x1fc35a[_0x2644df(0x163)]('\x0a'));if(_0x275b84===0x0&&_0x36f463===0x0&&_0x22ce07===0x0){if(_0x5a68fb['includes'](_0x2644df(0x15c)))return _0x2644df(0x154);return _0x5a68fb;}if(_0x36f463===0x0){const _0x4a6e22=['Cargo\x20test:\x20'+_0x275b84+_0x2644df(0x15b)];if(_0x22ce07>0x0)_0x4a6e22[_0x2644df(0x15e)](_0x22ce07+_0x2644df(0x173));return _0x4a6e22[_0x2644df(0x163)](',\x20');}const _0x5f3257=[_0x2644df(0x166)+_0x275b84+'\x20passed,\x20'+_0x36f463+_0x2644df(0x14c)+_0x22ce07+_0x2644df(0x173)];if(_0x5f217f['length']>0x0){_0x5f3257['push']('\x0aFailures:');const _0x11758a=0x3;for(let _0x407916=0x0;_0x407916<Math[_0x2644df(0x149)](_0x5f217f[_0x2644df(0x145)],_0x11758a);_0x407916++){const _0x295ace=_0x5f217f[_0x407916]['split']('\x0a');_0x5f3257[_0x2644df(0x15e)]('\x20\x20'+(_0x407916+0x1)+'.\x20'+_0x295ace[0x0]);const _0x3dfcb9=_0x295ace[_0x2644df(0x16d)](0x1),_0x4e3003=_0x3dfcb9[_0x2644df(0x161)](_0x1a97b8=>_0x1a97b8[_0x2644df(0x148)]()[_0x2644df(0x169)]('thread')||_0x1a97b8[_0x2644df(0x144)](_0x2644df(0x171))||_0x1a97b8[_0x2644df(0x144)]('assert')||_0x1a97b8['includes'](_0x2644df(0x15d))||_0x1a97b8[_0x2644df(0x144)](_0x2644df(0x140)));for(const _0x5e580d of _0x4e3003[_0x2644df(0x16d)](0x0,0x5)){_0x5f3257['push'](_0x2644df(0x16e)+_0x5e580d[_0x2644df(0x148)]());}}_0x5f217f['length']>_0x11758a&&_0x5f3257[_0x2644df(0x15e)](_0x2644df(0x13f)+(_0x5f217f[_0x2644df(0x145)]-_0x11758a)+_0x2644df(0x14a));}return _0x5f3257[_0x2644df(0x163)]('\x0a');}function filterCargoBuild(_0x205762){const _0x409c81=a0_0x23407b,_0x398311=_0x205762[_0x409c81(0x16c)]('\x0a'),_0x4c24d5=[],_0x42bc22=[];let _0x9c8469=0x0;for(const _0x4c9189 of _0x398311){const _0x1df9d7=_0x4c9189[_0x409c81(0x148)]();if(_0x1df9d7['startsWith']('Compiling\x20'))_0x9c8469++;else{if(_0x1df9d7['startsWith']('warning[')||_0x1df9d7['startsWith'](_0x409c81(0x158)))_0x4c24d5[_0x409c81(0x15e)](_0x1df9d7);else{if(_0x1df9d7['startsWith'](_0x409c81(0x159))||_0x1df9d7[_0x409c81(0x169)](_0x409c81(0x151)))_0x42bc22[_0x409c81(0x15e)](_0x1df9d7);}}}if(_0x42bc22[_0x409c81(0x145)]===0x0&&_0x4c24d5[_0x409c81(0x145)]===0x0)return _0x9c8469>0x0?_0x409c81(0x141)+_0x9c8469+_0x409c81(0x142):_0x205762[_0x409c81(0x148)]();const _0x46ca30=[];if(_0x42bc22[_0x409c81(0x145)]>0x0){_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13c)+_0x42bc22[_0x409c81(0x145)]+_0x409c81(0x164)+_0x4c24d5[_0x409c81(0x145)]+_0x409c81(0x143)),_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13d));for(const _0x175cc6 of _0x42bc22[_0x409c81(0x16d)](0x0,0x5))_0x46ca30[_0x409c81(0x15e)]('\x20\x20'+_0x175cc6);if(_0x42bc22[_0x409c81(0x145)]>0x5)_0x46ca30[_0x409c81(0x15e)](_0x409c81(0x13f)+(_0x42bc22[_0x409c81(0x145)]-0x5)+_0x409c81(0x167));}else _0x46ca30[_0x409c81(0x15e)](_0x409c81(0x141)+_0x9c8469+_0x409c81(0x156)+_0x4c24d5[_0x409c81(0x145)]+_0x409c81(0x143));if(_0x4c24d5['length']>0x0&&_0x4c24d5[_0x409c81(0x145)]<=0x5){_0x46ca30['push'](_0x409c81(0x157));for(const _0x2df325 of _0x4c24d5)_0x46ca30[_0x409c81(0x15e)]('\x20\x20'+_0x2df325);}else _0x4c24d5['length']>0x5&&_0x46ca30[_0x409c81(0x15e)]('\x0a('+_0x4c24d5['length']+_0x409c81(0x168));return _0x46ca30[_0x409c81(0x163)]('\x0a');}
package/filters/shell.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x223c89=a0_0x4871;(function(_0x140138,_0x2ef695){const _0x18a889=a0_0x4871,_0x3abc07=_0x140138();while(!![]){try{const _0x21c6d8=-parseInt(_0x18a889(0x243))/0x1*(parseInt(_0x18a889(0x1cd))/0x2)+-parseInt(_0x18a889(0x209))/0x3*(-parseInt(_0x18a889(0x229))/0x4)+-parseInt(_0x18a889(0x23c))/0x5+-parseInt(_0x18a889(0x23f))/0x6+-parseInt(_0x18a889(0x222))/0x7*(parseInt(_0x18a889(0x212))/0x8)+-parseInt(_0x18a889(0x22d))/0x9*(parseInt(_0x18a889(0x1d7))/0xa)+parseInt(_0x18a889(0x1e2))/0xb;if(_0x21c6d8===_0x2ef695)break;else _0x3abc07['push'](_0x3abc07['shift']());}catch(_0x2da892){_0x3abc07['push'](_0x3abc07['shift']());}}}(a0_0x5e0d,0x52750));var __createBinding=this&&this[a0_0x223c89(0x220)]||(Object['create']?function(_0x28ee0d,_0x3aaed3,_0x43b0cc,_0x4c49a0){const _0x188d6c=a0_0x223c89;if(_0x4c49a0===undefined)_0x4c49a0=_0x43b0cc;var _0x555a50=Object[_0x188d6c(0x205)](_0x3aaed3,_0x43b0cc);(!_0x555a50||(_0x188d6c(0x22f)in _0x555a50?!_0x3aaed3[_0x188d6c(0x1f4)]:_0x555a50[_0x188d6c(0x218)]||_0x555a50[_0x188d6c(0x1ea)]))&&(_0x555a50={'enumerable':!![],'get':function(){return _0x3aaed3[_0x43b0cc];}}),Object[_0x188d6c(0x1de)](_0x28ee0d,_0x4c49a0,_0x555a50);}:function(_0x382ab6,_0x308255,_0x677f0f,_0x139036){if(_0x139036===undefined)_0x139036=_0x677f0f;_0x382ab6[_0x139036]=_0x308255[_0x677f0f];}),__setModuleDefault=this&&this[a0_0x223c89(0x1ce)]||(Object['create']?function(_0x4a90f9,_0x8abe3c){const _0x341099=a0_0x223c89;Object['defineProperty'](_0x4a90f9,_0x341099(0x1ec),{'enumerable':!![],'value':_0x8abe3c});}:function(_0x110a6c,_0x2bf82c){const _0x468e25=a0_0x223c89;_0x110a6c[_0x468e25(0x1ec)]=_0x2bf82c;}),__importStar=this&&this[a0_0x223c89(0x22a)]||(function(){var _0x48a7ad=function(_0xfdcf8d){return _0x48a7ad=Object['getOwnPropertyNames']||function(_0x58c66f){const _0x1cc65=a0_0x4871;var _0x3da82a=[];for(var _0xfa7b88 in _0x58c66f)if(Object[_0x1cc65(0x216)][_0x1cc65(0x1dd)][_0x1cc65(0x1e1)](_0x58c66f,_0xfa7b88))_0x3da82a[_0x3da82a[_0x1cc65(0x20d)]]=_0xfa7b88;return _0x3da82a;},_0x48a7ad(_0xfdcf8d);};return function(_0x507d63){const _0x49855f=a0_0x4871;if(_0x507d63&&_0x507d63[_0x49855f(0x1f4)])return _0x507d63;var _0x54c710={};if(_0x507d63!=null){for(var _0x4cda25=_0x48a7ad(_0x507d63),_0x477ae9=0x0;_0x477ae9<_0x4cda25[_0x49855f(0x20d)];_0x477ae9++)if(_0x4cda25[_0x477ae9]!=='default')__createBinding(_0x54c710,_0x507d63,_0x4cda25[_0x477ae9]);}return __setModuleDefault(_0x54c710,_0x507d63),_0x54c710;};}());Object[a0_0x223c89(0x1de)](exports,a0_0x223c89(0x1f4),{'value':!![]}),exports[a0_0x223c89(0x22e)]=filterLs,exports[a0_0x223c89(0x20b)]=filterTree,exports[a0_0x223c89(0x1fd)]=filterCat,exports[a0_0x223c89(0x215)]=filterGrep,exports[a0_0x223c89(0x1d3)]=filterFind;const path=__importStar(require('path')),LOCK_FILES=['package-lock.json','yarn.lock','pnpm-lock.yaml','Cargo.lock','go.sum',a0_0x223c89(0x1fb),a0_0x223c89(0x1cf),a0_0x223c89(0x1d2),a0_0x223c89(0x1f8)],BINARY_EXTENSIONS=[a0_0x223c89(0x233),a0_0x223c89(0x21f),a0_0x223c89(0x20a),a0_0x223c89(0x213),a0_0x223c89(0x1d6),a0_0x223c89(0x1fc),'.jpeg',a0_0x223c89(0x1d4),'.ico','.bmp',a0_0x223c89(0x23a),a0_0x223c89(0x23b),a0_0x223c89(0x1df),a0_0x223c89(0x1d9),a0_0x223c89(0x1d5),a0_0x223c89(0x201),'.gz',a0_0x223c89(0x1e9),'.7z',a0_0x223c89(0x23d),a0_0x223c89(0x1db),'.dll',a0_0x223c89(0x1ee),a0_0x223c89(0x230),a0_0x223c89(0x1f5),a0_0x223c89(0x22c),'.sqlite',a0_0x223c89(0x232),a0_0x223c89(0x207),a0_0x223c89(0x1f6),'.woff2',a0_0x223c89(0x1dc),a0_0x223c89(0x231),'.otf',a0_0x223c89(0x1e6),a0_0x223c89(0x1e3),a0_0x223c89(0x239),a0_0x223c89(0x1fa),a0_0x223c89(0x206),'.webm',a0_0x223c89(0x1f9),a0_0x223c89(0x23e),a0_0x223c89(0x1cb),'.o',a0_0x223c89(0x211)];function extractFilename(_0x152595){const _0x3ff7a6=a0_0x223c89,_0xeb4f49=_0x152595[_0x3ff7a6(0x1e5)]()[_0x3ff7a6(0x1ff)](/\s+/);for(let _0xe773cb=0x1;_0xe773cb<_0xeb4f49[_0x3ff7a6(0x20d)];_0xe773cb++){if(!_0xeb4f49[_0xe773cb][_0x3ff7a6(0x21d)]('-'))return _0xeb4f49[_0xe773cb];}return null;}function a0_0x4871(_0x17652b,_0x45ee0d){_0x17652b=_0x17652b-0x1cb;const _0x5e0d8b=a0_0x5e0d();let _0x4871c2=_0x5e0d8b[_0x17652b];return _0x4871c2;}function filterLockFile(_0x3d5df2,_0x6b6f88){const _0x18416e=a0_0x223c89;try{const _0x3cf7fe=path['basename'](_0x6b6f88)[_0x18416e(0x22b)]();if(!LOCK_FILES['some'](_0x93e5e1=>_0x3cf7fe===_0x93e5e1[_0x18416e(0x22b)]()))return null;const _0x3d9ad6=_0x3d5df2['length'];let _0x3e8b98=0x0;if(_0x3cf7fe===_0x18416e(0x210))try{const _0x34a965=JSON[_0x18416e(0x20c)](_0x3d5df2);_0x3e8b98=Object[_0x18416e(0x202)](_0x34a965[_0x18416e(0x219)]||_0x34a965[_0x18416e(0x21a)]||{})['length'];}catch{_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/"resolved":/g)||[])['length'];}else{if(_0x3cf7fe==='yarn.lock')_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/^"?[^#\s][^:]*:$/gm)||[])[_0x18416e(0x20d)];else{if(_0x3cf7fe==='cargo.lock'||_0x3cf7fe===_0x18416e(0x1fb))_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/\[\[package\]\]/g)||[])[_0x18416e(0x20d)];else{if(_0x3cf7fe===_0x18416e(0x1f0))_0x3e8b98=Math[_0x18416e(0x241)](_0x3d5df2[_0x18416e(0x1ff)]('\x0a')[_0x18416e(0x1cc)](_0x37e7d3=>_0x37e7d3['trim']())['length']/0x2);else{if(_0x3cf7fe===_0x18416e(0x1cf))try{_0x3e8b98=JSON[_0x18416e(0x20c)](_0x3d5df2)[_0x18416e(0x219)]?.['length']||0x0;}catch{}else _0x3cf7fe===_0x18416e(0x228)?_0x3e8b98=(_0x3d5df2[_0x18416e(0x227)](/^\s{2}['"@a-z]/gm)||[])[_0x18416e(0x20d)]:_0x3e8b98=_0x3d5df2['split']('\x0a')['filter'](_0x13425f=>_0x13425f[_0x18416e(0x1e5)]())[_0x18416e(0x20d)];}}}}return _0x18416e(0x1e0)+path[_0x18416e(0x226)](_0x6b6f88)+':\x20'+_0x3e8b98+_0x18416e(0x204)+_0x3d9ad6['toLocaleString']()+'\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)';}catch{return null;}}function a0_0x5e0d(){const _0x234b16=['.dylib','.eot','.db','.min.js',':\x20...\x20(','\x20more\x20files\x20with\x20matches','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','\x20chars,\x20type:\x20','includes','.wav','.webp','.svg','825865KXNVgG','.rar','.pyo','919284PtKibM','total\x20','floor','join','1TMEHhz','.class','filter','644896FZSCjD','__setModuleDefault','composer.lock','\x20more\x20matches','\x20files)','Gemfile.lock','filterFind','.gif','.tar.gz','.png','20CySUzL','...\x20+','.zip','push','.exe','.ttf','hasOwnProperty','defineProperty','.pdf','[lock\x20file]\x20','call','12913538AegbXW','.mp4','toLocaleString','trim','.mp3','stringify','dirname','.bz2','configurable','substring','default','\x20directories','.so','\x20lines\x20total)','go.sum','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','\x0a...\x20(','sort','__esModule','.bin','.woff','Empty\x20directory','bun.lockb','.pyc','.avi','poetry.lock','.jpg','filterCat','\x20matches\x20in\x20this\x20file)','split','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','.tgz','keys','endsWith','\x20dependencies,\x20','getOwnPropertyDescriptor','.mov','.sqlite3','[binary/minified\x20file]\x20','795603odjyPP','.map','filterTree','parse','length','No\x20matches\x20found','\x20directories,\x20','package-lock.json','.obj','39384ZPIxnN','.wasm','slice','filterGrep','prototype','entries','writable','packages','dependencies','charCodeAt','[binary\x20file]\x20','startsWith','\x20more\x20directories','.min.css','__createBinding','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','91yBODjR','\x20matches\x20across\x20','indexOf','No\x20files\x20found','basename','match','pnpm-lock.yaml','8lkTCVE','__importStar','toLowerCase','.dat','2978019LOmmaY','filterLs','get'];a0_0x5e0d=function(){return _0x234b16;};return a0_0x5e0d();}function filterBinaryOrMinified(_0x42432d,_0x101801){const _0x15a14e=a0_0x223c89;try{if(_0x101801){const _0x240d14=_0x101801[_0x15a14e(0x22b)]();for(const _0x450d28 of BINARY_EXTENSIONS){if(_0x240d14[_0x15a14e(0x203)](_0x450d28))return _0x15a14e(0x208)+path['basename'](_0x101801)+',\x20'+_0x42432d['length']['toLocaleString']()+_0x15a14e(0x237)+_0x450d28+_0x15a14e(0x236);}}const _0x5b8736=_0x42432d[_0x15a14e(0x1eb)](0x0,0x3e8);let _0x55012b=0x0;for(let _0x17e372=0x0;_0x17e372<_0x5b8736[_0x15a14e(0x20d)];_0x17e372++){if(_0x5b8736[_0x15a14e(0x21b)](_0x17e372)===0x0)_0x55012b++;}if(_0x55012b>0x0)return _0x15a14e(0x21c)+_0x42432d[_0x15a14e(0x20d)][_0x15a14e(0x1e4)]()+_0x15a14e(0x200);let _0x71e9e5=0x0;for(let _0x1aa57c=0x0;_0x1aa57c<_0x5b8736[_0x15a14e(0x20d)];_0x1aa57c++){const _0x407ee5=_0x5b8736[_0x15a14e(0x21b)](_0x1aa57c);if(_0x407ee5<0x20&&_0x407ee5!==0xa&&_0x407ee5!==0xd&&_0x407ee5!==0x9)_0x71e9e5++;}if(_0x5b8736['length']>0x64&&_0x71e9e5>_0x5b8736[_0x15a14e(0x20d)]*0.1)return _0x15a14e(0x21c)+_0x42432d[_0x15a14e(0x20d)][_0x15a14e(0x1e4)]()+_0x15a14e(0x1f1);const _0x56e5fa=_0x42432d[_0x15a14e(0x1ff)]('\x0a');if(_0x56e5fa['length']<=0x3&&_0x42432d[_0x15a14e(0x20d)]>0x1388)return'[minified\x20file]\x20'+_0x42432d['length'][_0x15a14e(0x1e4)]()+'\x20chars\x20across\x20'+_0x56e5fa[_0x15a14e(0x20d)]+_0x15a14e(0x221);return null;}catch{return null;}}function filterJsonMinify(_0x573d43){const _0x41d6c9=a0_0x223c89;try{const _0xae867b=_0x573d43[_0x41d6c9(0x1e5)]();if(!_0xae867b[_0x41d6c9(0x21d)]('{')&&!_0xae867b[_0x41d6c9(0x21d)]('['))return null;const _0x35ee82=_0xae867b[_0x41d6c9(0x1ff)]('\x0a');if(_0x35ee82['length']<=0x14)return null;const _0x101176=JSON['parse'](_0xae867b),_0x8e9522=JSON[_0x41d6c9(0x1e7)](_0x101176);if(_0x8e9522[_0x41d6c9(0x20d)]<_0xae867b[_0x41d6c9(0x20d)])return _0x8e9522;return null;}catch{return null;}}function filterLs(_0x151e12){const _0xfebf47=a0_0x223c89,_0x124977=_0x151e12[_0xfebf47(0x1ff)]('\x0a')[_0xfebf47(0x1cc)](_0x57eb2=>_0x57eb2[_0xfebf47(0x1e5)]()[_0xfebf47(0x20d)]>0x0);if(_0x124977['length']===0x0)return _0xfebf47(0x1f7);if(_0x124977[_0xfebf47(0x20d)]<=0x1e)return _0x151e12[_0xfebf47(0x1e5)]();const _0x328908=[],_0x2ed992=[];for(const _0x457394 of _0x124977){const _0x4e38ab=_0x457394[_0xfebf47(0x1e5)]();if(_0x4e38ab[_0xfebf47(0x21d)](_0xfebf47(0x240))||_0x4e38ab['startsWith']('d')&&_0x4e38ab['includes']('..'))continue;_0x4e38ab[_0xfebf47(0x203)]('/')||_0x4e38ab[_0xfebf47(0x21d)]('d')&&_0x4e38ab[_0xfebf47(0x238)]('\x20')?_0x328908[_0xfebf47(0x1da)](_0x4e38ab):_0x2ed992[_0xfebf47(0x1da)](_0x4e38ab);}const _0x1ec358=[];return _0x328908[_0xfebf47(0x20d)]>0x0&&(_0x328908[_0xfebf47(0x20d)]<=0xf?_0x1ec358[_0xfebf47(0x1da)](..._0x328908):(_0x1ec358['push'](..._0x328908[_0xfebf47(0x214)](0x0,0xa)),_0x1ec358[_0xfebf47(0x1da)](_0xfebf47(0x1d8)+(_0x328908[_0xfebf47(0x20d)]-0xa)+_0xfebf47(0x21e)))),_0x2ed992['length']>0x0&&(_0x2ed992[_0xfebf47(0x20d)]<=0x14?_0x1ec358[_0xfebf47(0x1da)](..._0x2ed992):(_0x1ec358['push'](..._0x2ed992['slice'](0x0,0xf)),_0x1ec358[_0xfebf47(0x1da)]('...\x20+'+(_0x2ed992[_0xfebf47(0x20d)]-0xf)+'\x20more\x20files'))),_0x1ec358[_0xfebf47(0x1da)]('\x0a('+_0x328908['length']+'\x20directories,\x20'+_0x2ed992[_0xfebf47(0x20d)]+'\x20files)'),_0x1ec358[_0xfebf47(0x242)]('\x0a');}function filterTree(_0x22c08f){const _0x27dab3=a0_0x223c89,_0x15da7d=_0x22c08f[_0x27dab3(0x1ff)]('\x0a');if(_0x15da7d[_0x27dab3(0x20d)]<=0x32)return _0x22c08f[_0x27dab3(0x1e5)]();const _0x106398=[];let _0x4afa2c=0x0,_0x50e6f7=0x0,_0x1d57a5=0x0;for(const _0x417ccb of _0x15da7d){const _0x389a31=_0x417ccb[_0x27dab3(0x227)](/(\d+)\s+director/),_0x52a776=_0x417ccb[_0x27dab3(0x227)](/(\d+)\s+file/);if(_0x389a31)_0x1d57a5=parseInt(_0x389a31[0x1]);if(_0x52a776)_0x50e6f7=parseInt(_0x52a776[0x1]);const _0x42f560=(_0x417ccb[_0x27dab3(0x227)](/^[│├└\s─]+/)||[''])[0x0][_0x27dab3(0x20d)];_0x42f560<=0x4&&(_0x106398[_0x27dab3(0x1da)](_0x417ccb),_0x4afa2c++);}return _0x15da7d['length']>_0x106398['length']&&_0x106398[_0x27dab3(0x1da)](_0x27dab3(0x1f2)+_0x1d57a5+_0x27dab3(0x20f)+_0x50e6f7+'\x20files\x20total\x20—\x20deep\x20entries\x20truncated)'),_0x106398['join']('\x0a');}function filterCat(_0x4266a,_0x431e1a=''){const _0x1007d3=a0_0x223c89,_0xbf2421=extractFilename(_0x431e1a);try{if(_0xbf2421){const _0x4f9e7f=filterLockFile(_0x4266a,_0xbf2421);if(_0x4f9e7f)return _0x4f9e7f;}const _0x462564=filterBinaryOrMinified(_0x4266a,_0xbf2421);if(_0x462564)return _0x462564;const _0x56c90c=filterJsonMinify(_0x4266a);if(_0x56c90c)return _0x56c90c;}catch{}const _0x2ee603=_0x4266a[_0x1007d3(0x1ff)]('\x0a');if(_0x2ee603[_0x1007d3(0x20d)]<=0x64)return _0x4266a;const _0x144512=[];return _0x144512['push'](..._0x2ee603[_0x1007d3(0x214)](0x0,0x32)),_0x144512[_0x1007d3(0x1da)]('\x0a...\x20['+(_0x2ee603[_0x1007d3(0x20d)]-0x50)+'\x20lines\x20truncated]\x20...\x0a'),_0x144512[_0x1007d3(0x1da)](..._0x2ee603['slice'](-0x1e)),_0x144512[_0x1007d3(0x1da)]('\x0a('+_0x2ee603['length']+_0x1007d3(0x1ef)),_0x144512[_0x1007d3(0x242)]('\x0a');}function filterGrep(_0x467a1d){const _0xc5f7d7=a0_0x223c89,_0x16dfa6=_0x467a1d['split']('\x0a')[_0xc5f7d7(0x1cc)](_0x5cf0ff=>_0x5cf0ff[_0xc5f7d7(0x1e5)]()[_0xc5f7d7(0x20d)]>0x0);if(_0x16dfa6[_0xc5f7d7(0x20d)]===0x0)return _0xc5f7d7(0x20e);if(_0x16dfa6[_0xc5f7d7(0x20d)]<=0x32)return _0x467a1d[_0xc5f7d7(0x1e5)]();const _0x354f24={},_0x307d1e=[];for(const _0x3956da of _0x16dfa6){const _0x308581=_0x3956da[_0xc5f7d7(0x224)](':');if(_0x308581>0x0&&_0x308581<0xc8){const _0x3fcbd2=_0x3956da[_0xc5f7d7(0x1eb)](0x0,_0x308581);if(_0x3fcbd2[_0xc5f7d7(0x238)]('/')||_0x3fcbd2[_0xc5f7d7(0x238)]('\x5c')||_0x3fcbd2[_0xc5f7d7(0x238)]('.')){if(!_0x354f24[_0x3fcbd2])_0x354f24[_0x3fcbd2]=[];_0x354f24[_0x3fcbd2]['push'](_0x3956da['substring'](_0x308581+0x1)[_0xc5f7d7(0x1e5)]());continue;}}_0x307d1e[_0xc5f7d7(0x1da)](_0x3956da);}const _0x33017c=[],_0x3d67c1=Object[_0xc5f7d7(0x202)](_0x354f24);if(_0x3d67c1[_0xc5f7d7(0x20d)]>0x0){const _0x31549a=0x14,_0x5e7b9e=_0x3d67c1[_0xc5f7d7(0x214)](0x0,_0x31549a);for(const _0x253809 of _0x5e7b9e){const _0x3e6602=_0x354f24[_0x253809];if(_0x3e6602[_0xc5f7d7(0x20d)]<=0x3)for(const _0x20c7c7 of _0x3e6602){_0x33017c[_0xc5f7d7(0x1da)](_0x253809+':\x20'+_0x20c7c7);}else _0x33017c[_0xc5f7d7(0x1da)](_0x253809+':\x20'+_0x3e6602[0x0]),_0x33017c[_0xc5f7d7(0x1da)](_0x253809+_0xc5f7d7(0x234)+_0x3e6602['length']+_0xc5f7d7(0x1fe));}_0x3d67c1['length']>_0x31549a&&_0x33017c[_0xc5f7d7(0x1da)]('...\x20+'+(_0x3d67c1[_0xc5f7d7(0x20d)]-_0x31549a)+_0xc5f7d7(0x235));}if(_0x307d1e[_0xc5f7d7(0x20d)]>0x0){const _0x2282d0=0x1e;_0x33017c[_0xc5f7d7(0x1da)](..._0x307d1e['slice'](0x0,_0x2282d0)),_0x307d1e[_0xc5f7d7(0x20d)]>_0x2282d0&&_0x33017c[_0xc5f7d7(0x1da)](_0xc5f7d7(0x1d8)+(_0x307d1e[_0xc5f7d7(0x20d)]-_0x2282d0)+_0xc5f7d7(0x1d0));}const _0x2191ba=_0x16dfa6['length'];return _0x33017c[_0xc5f7d7(0x1da)]('\x0a('+_0x2191ba+_0xc5f7d7(0x223)+(_0x3d67c1[_0xc5f7d7(0x20d)]||'?')+_0xc5f7d7(0x1d1)),_0x33017c[_0xc5f7d7(0x242)]('\x0a');}function filterFind(_0x2b51f6){const _0x3cdc4c=a0_0x223c89,_0x111e4c=_0x2b51f6[_0x3cdc4c(0x1ff)]('\x0a')[_0x3cdc4c(0x1cc)](_0x4895d1=>_0x4895d1[_0x3cdc4c(0x1e5)]()[_0x3cdc4c(0x20d)]>0x0);if(_0x111e4c['length']===0x0)return _0x3cdc4c(0x225);if(_0x111e4c['length']<=0x32)return _0x2b51f6[_0x3cdc4c(0x1e5)]();const _0x346744={};for(const _0xa85ae9 of _0x111e4c){const _0x2f596f=path[_0x3cdc4c(0x1e8)](_0xa85ae9['trim']())||'.';_0x346744[_0x2f596f]=(_0x346744[_0x2f596f]||0x0)+0x1;}const _0x11c3e2=Object[_0x3cdc4c(0x217)](_0x346744)[_0x3cdc4c(0x1f3)]((_0x349fdb,_0x33a79f)=>_0x33a79f[0x1]-_0x349fdb[0x1]),_0x238e12=[_0x111e4c[_0x3cdc4c(0x20d)]+'\x20files\x20found\x20across\x20'+_0x11c3e2['length']+_0x3cdc4c(0x1ed),''],_0x10db4b=0x1e;for(const [_0x3442ed,_0x3ba74a]of _0x11c3e2[_0x3cdc4c(0x214)](0x0,_0x10db4b)){_0x238e12[_0x3cdc4c(0x1da)]('\x20\x20'+_0x3442ed+'/\x20('+_0x3ba74a+'\x20files)');}return _0x11c3e2[_0x3cdc4c(0x20d)]>_0x10db4b&&_0x238e12[_0x3cdc4c(0x1da)]('\x20\x20...\x20+'+(_0x11c3e2[_0x3cdc4c(0x20d)]-_0x10db4b)+_0x3cdc4c(0x21e)),_0x238e12['join']('\x0a');}
1
+ 'use strict';const a0_0x2b0a30=a0_0x4144;(function(_0x31137d,_0x505422){const _0x17bb99=a0_0x4144,_0x10e6ae=_0x31137d();while(!![]){try{const _0x5d3931=parseInt(_0x17bb99(0x16f))/0x1+-parseInt(_0x17bb99(0x1d3))/0x2+parseInt(_0x17bb99(0x15c))/0x3+-parseInt(_0x17bb99(0x161))/0x4*(parseInt(_0x17bb99(0x1b2))/0x5)+parseInt(_0x17bb99(0x1c4))/0x6+-parseInt(_0x17bb99(0x168))/0x7+-parseInt(_0x17bb99(0x1a6))/0x8;if(_0x5d3931===_0x505422)break;else _0x10e6ae['push'](_0x10e6ae['shift']());}catch(_0x6ccfe8){_0x10e6ae['push'](_0x10e6ae['shift']());}}}(a0_0xd24e,0xb80be));function a0_0xd24e(){const _0x91cd63=['path','\x20lines\x20truncated]\x20...\x0a','split','.jpg','slice','extname','.tsx','.wav','filterLs','.rb','\x20(content\x20omitted\x20—\x20not\x20useful\x20for\x20LLM\x20context)','.pyo','getOwnPropertyDescriptor','.gz','.mov','configurable','length','charCodeAt','export\x20','.ttf','[lock\x20file]\x20','trim','.gif','use\x20','writable','.obj','bun.lockb','\x20lines)','defineProperty','No\x20matches\x20found','\x20dependencies,\x20','parse','.dylib','match','packages','startsWith','\x20lines\x20total,\x20','.go','\x20chars\x20(contains\x20null\x20bytes\x20—\x20binary\x20content\x20omitted)','\x20more\x20matches','.map','Gemfile.lock','\x20more\x20files','smartCrushJson','\x20\x20...\x20+','composer.lock','955008jkmbwy','.java','require(','indexOf','hasOwnProperty','go.sum','\x20more\x20directories','tracker','keys','endsWith','.jpeg','floor','5ktUZeK','stripComments','poetry.lock','.min.css','\x20files)','filterTree','@param','json_crusher','/\x20(','basename','.bz2','.ts','.bmp','create','...\x20+','skeleton','total\x20','.db','4481136WVuZII','.cs','sort','.ico','dirname','binary','.mp4','getConfig','call','.dat','.otf','.jsx','\x20matches\x20in\x20this\x20file)','.tar.gz','\x20more\x20files\x20with\x20matches','2190686KDFPvw','[minified\x20file]\x20','join','\x20directories,\x20','.js','\x20matches\x20across\x20','.bin','filterCat','.woff','.rar','./generic','../tracker','substring','filterGrep','import\x20','\x20chars\x20(high\x20non-printable\x20ratio\x20—\x20content\x20omitted)','\x20files\x20total\x20—\x20deep\x20entries\x20truncated)','.swift','push','.so','.7z','package-lock.json','.dll','.webp','\x20chars\x20across\x20',':\x20...\x20(','\x20chars\x20(content\x20omitted\x20—\x20lock\x20files\x20are\x20not\x20useful\x20for\x20LLM\x20context)','2763261CWvrIY','#include\x20','.sqlite','__esModule','toLocaleString','364972jhZzeW','\x0a...\x20(','.mp3','.sqlite3','Empty\x20directory','includes','toLowerCase','4300282tiBmOY','\x20lines\x20total)','filter','__createBinding','[code\x20skeleton]\x20','pnpm-lock.yaml','No\x20files\x20found','1006199aMCjie','\x20line(s)\x20(content\x20omitted\x20—\x20not\x20human-readable)','\x0a...\x20[','.exe','.rs','\x20chars,\x20type:\x20','default','.woff2','yarn.lock'];a0_0xd24e=function(){return _0x91cd63;};return a0_0xd24e();}var __createBinding=this&&this[a0_0x2b0a30(0x16b)]||(Object[a0_0x2b0a30(0x1bf)]?function(_0x5409b9,_0x3a72a9,_0x4a2256,_0x18b00d){const _0x4a7888=a0_0x2b0a30;if(_0x18b00d===undefined)_0x18b00d=_0x4a2256;var _0xa52ae1=Object[_0x4a7888(0x184)](_0x3a72a9,_0x4a2256);(!_0xa52ae1||('get'in _0xa52ae1?!_0x3a72a9[_0x4a7888(0x15f)]:_0xa52ae1[_0x4a7888(0x190)]||_0xa52ae1[_0x4a7888(0x187)]))&&(_0xa52ae1={'enumerable':!![],'get':function(){return _0x3a72a9[_0x4a2256];}}),Object[_0x4a7888(0x194)](_0x5409b9,_0x18b00d,_0xa52ae1);}:function(_0x3af6ff,_0x12eff8,_0x39cdb9,_0x2f8a01){if(_0x2f8a01===undefined)_0x2f8a01=_0x39cdb9;_0x3af6ff[_0x2f8a01]=_0x12eff8[_0x39cdb9];}),__setModuleDefault=this&&this['__setModuleDefault']||(Object[a0_0x2b0a30(0x1bf)]?function(_0x4d8820,_0x1eab40){const _0x55d450=a0_0x2b0a30;Object[_0x55d450(0x194)](_0x4d8820,'default',{'enumerable':!![],'value':_0x1eab40});}:function(_0x1f186e,_0xaf62fe){const _0x6150b3=a0_0x2b0a30;_0x1f186e[_0x6150b3(0x175)]=_0xaf62fe;}),__importStar=this&&this['__importStar']||(function(){var _0x12816e=function(_0x3a4f17){return _0x12816e=Object['getOwnPropertyNames']||function(_0x520bca){const _0x5a7bc9=a0_0x4144;var _0x5018c2=[];for(var _0xed6921 in _0x520bca)if(Object['prototype'][_0x5a7bc9(0x1aa)][_0x5a7bc9(0x1cc)](_0x520bca,_0xed6921))_0x5018c2[_0x5018c2[_0x5a7bc9(0x188)]]=_0xed6921;return _0x5018c2;},_0x12816e(_0x3a4f17);};return function(_0x480176){const _0x3d06f8=a0_0x4144;if(_0x480176&&_0x480176[_0x3d06f8(0x15f)])return _0x480176;var _0x409ba2={};if(_0x480176!=null){for(var _0x9d6772=_0x12816e(_0x480176),_0x331ec1=0x0;_0x331ec1<_0x9d6772[_0x3d06f8(0x188)];_0x331ec1++)if(_0x9d6772[_0x331ec1]!==_0x3d06f8(0x175))__createBinding(_0x409ba2,_0x480176,_0x9d6772[_0x331ec1]);}return __setModuleDefault(_0x409ba2,_0x480176),_0x409ba2;};}());Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0x2b0a30(0x180)]=filterLs,exports[a0_0x2b0a30(0x1b7)]=filterTree,exports[a0_0x2b0a30(0x1da)]=filterCat,exports[a0_0x2b0a30(0x14e)]=filterGrep,exports['filterFind']=filterFind;const path=__importStar(require(a0_0x2b0a30(0x178))),generic_1=require(a0_0x2b0a30(0x1dd)),tracker_1=require(a0_0x2b0a30(0x1de));function isFeatureEnabled(_0x3c8c84){const _0x37aadd=a0_0x2b0a30;try{const _0x31b229=tracker_1[_0x37aadd(0x1ad)][_0x37aadd(0x1cb)](),_0xeeb803=_0x31b229['features_enabled'];if(!_0xeeb803||_0xeeb803[_0x3c8c84]===undefined)return!![];return _0xeeb803[_0x3c8c84]!==![];}catch{return!![];}}const LOCK_FILES=[a0_0x2b0a30(0x156),'yarn.lock',a0_0x2b0a30(0x16d),'Cargo.lock','go.sum',a0_0x2b0a30(0x1b4),a0_0x2b0a30(0x1a5),a0_0x2b0a30(0x1a1),a0_0x2b0a30(0x192)],BINARY_EXTENSIONS=['.min.js',a0_0x2b0a30(0x1b5),a0_0x2b0a30(0x1a0),'.wasm','.png',a0_0x2b0a30(0x17b),a0_0x2b0a30(0x1b0),a0_0x2b0a30(0x18e),a0_0x2b0a30(0x1c7),a0_0x2b0a30(0x1be),a0_0x2b0a30(0x158),'.svg','.pdf','.zip',a0_0x2b0a30(0x1d1),'.tgz',a0_0x2b0a30(0x185),a0_0x2b0a30(0x1bc),a0_0x2b0a30(0x155),a0_0x2b0a30(0x1dc),a0_0x2b0a30(0x172),a0_0x2b0a30(0x157),a0_0x2b0a30(0x154),a0_0x2b0a30(0x198),a0_0x2b0a30(0x1d9),a0_0x2b0a30(0x1cd),a0_0x2b0a30(0x15e),a0_0x2b0a30(0x1c3),a0_0x2b0a30(0x164),a0_0x2b0a30(0x1db),a0_0x2b0a30(0x176),a0_0x2b0a30(0x18b),'.eot',a0_0x2b0a30(0x1ce),a0_0x2b0a30(0x163),a0_0x2b0a30(0x1ca),a0_0x2b0a30(0x17f),'.avi',a0_0x2b0a30(0x186),'.webm','.pyc',a0_0x2b0a30(0x183),'.class','.o',a0_0x2b0a30(0x191)];function extractFilename(_0x4ef697){const _0x5c603c=a0_0x2b0a30,_0x52ba4e=_0x4ef697[_0x5c603c(0x18d)]()[_0x5c603c(0x17a)](/\s+/);for(let _0x5dc5ff=0x1;_0x5dc5ff<_0x52ba4e['length'];_0x5dc5ff++){if(!_0x52ba4e[_0x5dc5ff][_0x5c603c(0x19b)]('-'))return _0x52ba4e[_0x5dc5ff];}return null;}function filterLockFile(_0x48a18e,_0x4959db){const _0x51394a=a0_0x2b0a30;try{const _0x1dca25=path['basename'](_0x4959db)[_0x51394a(0x167)]();if(!LOCK_FILES['some'](_0x48c975=>_0x1dca25===_0x48c975[_0x51394a(0x167)]()))return null;const _0x308865=_0x48a18e['length'];let _0x38a49d=0x0;if(_0x1dca25===_0x51394a(0x156))try{const _0x183396=JSON[_0x51394a(0x197)](_0x48a18e);_0x38a49d=Object['keys'](_0x183396[_0x51394a(0x19a)]||_0x183396['dependencies']||{})['length'];}catch{_0x38a49d=(_0x48a18e['match'](/"resolved":/g)||[])[_0x51394a(0x188)];}else{if(_0x1dca25===_0x51394a(0x177))_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/^"?[^#\s][^:]*:$/gm)||[])[_0x51394a(0x188)];else{if(_0x1dca25==='cargo.lock'||_0x1dca25===_0x51394a(0x1b4))_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/\[\[package\]\]/g)||[])[_0x51394a(0x188)];else{if(_0x1dca25===_0x51394a(0x1ab))_0x38a49d=Math[_0x51394a(0x1b1)](_0x48a18e[_0x51394a(0x17a)]('\x0a')[_0x51394a(0x16a)](_0x5a3ac6=>_0x5a3ac6[_0x51394a(0x18d)]())[_0x51394a(0x188)]/0x2);else{if(_0x1dca25===_0x51394a(0x1a5))try{_0x38a49d=JSON[_0x51394a(0x197)](_0x48a18e)[_0x51394a(0x19a)]?.[_0x51394a(0x188)]||0x0;}catch{}else _0x1dca25===_0x51394a(0x16d)?_0x38a49d=(_0x48a18e[_0x51394a(0x199)](/^\s{2}['"@a-z]/gm)||[])['length']:_0x38a49d=_0x48a18e[_0x51394a(0x17a)]('\x0a')[_0x51394a(0x16a)](_0x5797a4=>_0x5797a4['trim']())['length'];}}}}return _0x51394a(0x18c)+path['basename'](_0x4959db)+':\x20'+_0x38a49d+_0x51394a(0x196)+_0x308865[_0x51394a(0x160)]()+_0x51394a(0x15b);}catch{return null;}}function filterBinaryOrMinified(_0xab6e39,_0x44a9b0){const _0x2d9155=a0_0x2b0a30;try{if(_0x44a9b0){const _0x648587=_0x44a9b0['toLowerCase']();for(const _0x54beb6 of BINARY_EXTENSIONS){if(_0x648587[_0x2d9155(0x1af)](_0x54beb6))return'[binary/minified\x20file]\x20'+path[_0x2d9155(0x1bb)](_0x44a9b0)+',\x20'+_0xab6e39['length'][_0x2d9155(0x160)]()+_0x2d9155(0x174)+_0x54beb6+_0x2d9155(0x182);}}const _0x5ac389=_0xab6e39[_0x2d9155(0x14d)](0x0,0x3e8);let _0x30f0fd=0x0;for(let _0x2f76a5=0x0;_0x2f76a5<_0x5ac389[_0x2d9155(0x188)];_0x2f76a5++){if(_0x5ac389[_0x2d9155(0x189)](_0x2f76a5)===0x0)_0x30f0fd++;}if(_0x30f0fd>0x0)return'[binary\x20file]\x20'+_0xab6e39['length']['toLocaleString']()+_0x2d9155(0x19e);let _0x1c9e8e=0x0;for(let _0x423101=0x0;_0x423101<_0x5ac389[_0x2d9155(0x188)];_0x423101++){const _0x4e617c=_0x5ac389[_0x2d9155(0x189)](_0x423101);if(_0x4e617c<0x20&&_0x4e617c!==0xa&&_0x4e617c!==0xd&&_0x4e617c!==0x9)_0x1c9e8e++;}if(_0x5ac389[_0x2d9155(0x188)]>0x64&&_0x1c9e8e>_0x5ac389[_0x2d9155(0x188)]*0.1)return'[binary\x20file]\x20'+_0xab6e39[_0x2d9155(0x188)][_0x2d9155(0x160)]()+_0x2d9155(0x150);const _0x56c24b=_0xab6e39[_0x2d9155(0x17a)]('\x0a');if(_0x56c24b[_0x2d9155(0x188)]<=0x3&&_0xab6e39['length']>0x1388)return _0x2d9155(0x1d4)+_0xab6e39[_0x2d9155(0x188)][_0x2d9155(0x160)]()+_0x2d9155(0x159)+_0x56c24b[_0x2d9155(0x188)]+_0x2d9155(0x170);return null;}catch{return null;}}function filterJsonMinify(_0xaca7a3){const _0x1eec30=a0_0x2b0a30;try{const _0x574eef=_0xaca7a3['trim']();if(!_0x574eef[_0x1eec30(0x19b)]('{')&&!_0x574eef[_0x1eec30(0x19b)]('['))return null;const _0x51d239=_0x574eef[_0x1eec30(0x17a)]('\x0a');if(_0x51d239['length']<=0x14)return null;const _0x285df4=JSON[_0x1eec30(0x197)](_0x574eef),_0x57c8f0=JSON['stringify'](_0x285df4);if(_0x57c8f0['length']<_0x574eef['length'])return _0x57c8f0;return null;}catch{return null;}}function filterLs(_0x5c289e){const _0xd33e0e=a0_0x2b0a30,_0x8d7574=_0x5c289e['split']('\x0a')[_0xd33e0e(0x16a)](_0x2ebdc7=>_0x2ebdc7['trim']()[_0xd33e0e(0x188)]>0x0);if(_0x8d7574[_0xd33e0e(0x188)]===0x0)return _0xd33e0e(0x165);if(_0x8d7574[_0xd33e0e(0x188)]<=0x1e)return _0x5c289e[_0xd33e0e(0x18d)]();const _0x4dbf7e=[],_0x23198f=[];for(const _0x1829d0 of _0x8d7574){const _0x5d507a=_0x1829d0[_0xd33e0e(0x18d)]();if(_0x5d507a[_0xd33e0e(0x19b)](_0xd33e0e(0x1c2))||_0x5d507a['startsWith']('d')&&_0x5d507a['includes']('..'))continue;_0x5d507a[_0xd33e0e(0x1af)]('/')||_0x5d507a[_0xd33e0e(0x19b)]('d')&&_0x5d507a['includes']('\x20')?_0x4dbf7e[_0xd33e0e(0x153)](_0x5d507a):_0x23198f[_0xd33e0e(0x153)](_0x5d507a);}const _0x486823=[];return _0x4dbf7e[_0xd33e0e(0x188)]>0x0&&(_0x4dbf7e['length']<=0xf?_0x486823[_0xd33e0e(0x153)](..._0x4dbf7e):(_0x486823[_0xd33e0e(0x153)](..._0x4dbf7e[_0xd33e0e(0x17c)](0x0,0xa)),_0x486823[_0xd33e0e(0x153)](_0xd33e0e(0x1c0)+(_0x4dbf7e['length']-0xa)+_0xd33e0e(0x1ac)))),_0x23198f[_0xd33e0e(0x188)]>0x0&&(_0x23198f[_0xd33e0e(0x188)]<=0x14?_0x486823[_0xd33e0e(0x153)](..._0x23198f):(_0x486823[_0xd33e0e(0x153)](..._0x23198f[_0xd33e0e(0x17c)](0x0,0xf)),_0x486823['push'](_0xd33e0e(0x1c0)+(_0x23198f[_0xd33e0e(0x188)]-0xf)+_0xd33e0e(0x1a2)))),_0x486823[_0xd33e0e(0x153)]('\x0a('+_0x4dbf7e['length']+_0xd33e0e(0x1d6)+_0x23198f[_0xd33e0e(0x188)]+_0xd33e0e(0x1b6)),_0x486823[_0xd33e0e(0x1d5)]('\x0a');}function filterTree(_0x1da0c1){const _0x4b0fe2=a0_0x2b0a30,_0x101d1c=_0x1da0c1[_0x4b0fe2(0x17a)]('\x0a');if(_0x101d1c[_0x4b0fe2(0x188)]<=0x32)return _0x1da0c1[_0x4b0fe2(0x18d)]();const _0x5bac10=[];let _0xf4b0e6=0x0,_0x4ec856=0x0,_0x840645=0x0;for(const _0x1b5ea4 of _0x101d1c){const _0x36b939=_0x1b5ea4[_0x4b0fe2(0x199)](/(\d+)\s+director/),_0x1cfa1f=_0x1b5ea4[_0x4b0fe2(0x199)](/(\d+)\s+file/);if(_0x36b939)_0x840645=parseInt(_0x36b939[0x1]);if(_0x1cfa1f)_0x4ec856=parseInt(_0x1cfa1f[0x1]);const _0x5b4af8=(_0x1b5ea4[_0x4b0fe2(0x199)](/^[│├└\s─]+/)||[''])[0x0][_0x4b0fe2(0x188)];_0x5b4af8<=0x4&&(_0x5bac10[_0x4b0fe2(0x153)](_0x1b5ea4),_0xf4b0e6++);}return _0x101d1c['length']>_0x5bac10['length']&&_0x5bac10[_0x4b0fe2(0x153)](_0x4b0fe2(0x162)+_0x840645+'\x20directories,\x20'+_0x4ec856+_0x4b0fe2(0x151)),_0x5bac10['join']('\x0a');}function filterCat(_0x1d55f2,_0x5c9283=''){const _0xade677=a0_0x2b0a30,_0x2b0e2f=extractFilename(_0x5c9283);try{if(_0x2b0e2f&&isFeatureEnabled('lock')){const _0x5b75a3=filterLockFile(_0x1d55f2,_0x2b0e2f);if(_0x5b75a3)return _0x5b75a3;}if(isFeatureEnabled(_0xade677(0x1c9))){const _0x23f8c0=filterBinaryOrMinified(_0x1d55f2,_0x2b0e2f);if(_0x23f8c0)return _0x23f8c0;}if(isFeatureEnabled(_0xade677(0x1b9))){const _0x297a3a=(0x0,generic_1[_0xade677(0x1a3)])(_0x1d55f2);if(_0x297a3a)return _0x297a3a;}const _0x18f626=filterJsonMinify(_0x1d55f2);if(_0x18f626)return _0x18f626;if(_0x2b0e2f&&isFeatureEnabled(_0xade677(0x1c1))){const _0x3a668c=path[_0xade677(0x17d)](_0x2b0e2f)[_0xade677(0x167)](),_0x8884c7=[_0xade677(0x1bd),_0xade677(0x1d7),_0xade677(0x17e),_0xade677(0x1cf),'.py',_0xade677(0x19d),_0xade677(0x173),_0xade677(0x1a7),'.c','.cpp',_0xade677(0x1c5),_0xade677(0x181),_0xade677(0x152),'.kt'];if(_0x8884c7['includes'](_0x3a668c)){const _0x5ab27c=_0x1d55f2[_0xade677(0x17a)]('\x0a');if(_0x5ab27c[_0xade677(0x188)]>0x64){const _0x3d18df=[];_0x3d18df['push'](_0xade677(0x16c)+path[_0xade677(0x1bb)](_0x2b0e2f)+'\x20('+_0x5ab27c[_0xade677(0x188)]+_0xade677(0x193)),_0x3d18df[_0xade677(0x153)]('');for(const _0x2da204 of _0x5ab27c){const _0x3ad3c5=_0x2da204['trim']();if(_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x14f))||_0x3ad3c5[_0xade677(0x19b)]('from\x20')||_0x3ad3c5['startsWith'](_0xade677(0x1a8))||_0x3ad3c5[_0xade677(0x199)](/=\s*require\(/)||_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x15d))||_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x18f))||_0x3ad3c5['startsWith']('package\x20'))_0x3d18df[_0xade677(0x153)](_0x2da204);else{if(_0x3ad3c5['match'](/^(export\s+)?(async\s+)?function\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(export\s+)?(default\s+)?class\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(export\s+)?(type|interface|enum)\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(async\s+)?def\s+/)||_0x3ad3c5[_0xade677(0x199)](/^func\s+/)||_0x3ad3c5[_0xade677(0x199)](/^type\s+\w+\s+(struct|interface)/)||_0x3ad3c5['match'](/^(pub\s+)?(async\s+)?fn\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(pub\s+)?(struct|enum|trait|impl)\s+/)||_0x3ad3c5[_0xade677(0x199)](/^(public|private|protected|static)\s+/))_0x3d18df['push'](_0x2da204);else{if(_0x3ad3c5[_0xade677(0x19b)](_0xade677(0x18a))&&!_0x3ad3c5[_0xade677(0x166)]('=>')&&_0x3ad3c5['length']<0x78)_0x3d18df[_0xade677(0x153)](_0x2da204);else _0x3ad3c5[_0xade677(0x19b)]('@')&&!_0x3ad3c5['startsWith'](_0xade677(0x1b8))&&!_0x3ad3c5['startsWith']('@return')&&_0x3d18df['push'](_0x2da204);}}}_0x3d18df[_0xade677(0x153)](''),_0x3d18df[_0xade677(0x153)]('('+_0x5ab27c[_0xade677(0x188)]+_0xade677(0x19c)+(_0x3d18df['length']-0x2)+'\x20structural\x20lines\x20shown)');const _0x10c4da=_0x3d18df['join']('\x0a');if(_0x10c4da['length']<_0x1d55f2[_0xade677(0x188)])return _0x10c4da;}}}}catch{}let _0x81e9ee=(0x0,generic_1['collapseWhitespace'])(_0x1d55f2);if(_0x2b0e2f){const _0x412636=path[_0xade677(0x17d)](_0x2b0e2f)[_0xade677(0x167)]();_0x81e9ee=(0x0,generic_1[_0xade677(0x1b3)])(_0x81e9ee,_0x412636);}const _0x2299b7=_0x81e9ee[_0xade677(0x17a)]('\x0a');if(_0x2299b7[_0xade677(0x188)]<=0x64)return _0x81e9ee;const _0x5e164c=[];return _0x5e164c[_0xade677(0x153)](..._0x2299b7[_0xade677(0x17c)](0x0,0x32)),_0x5e164c[_0xade677(0x153)](_0xade677(0x171)+(_0x2299b7[_0xade677(0x188)]-0x50)+_0xade677(0x179)),_0x5e164c[_0xade677(0x153)](..._0x2299b7[_0xade677(0x17c)](-0x1e)),_0x5e164c['push']('\x0a('+_0x2299b7[_0xade677(0x188)]+_0xade677(0x169)),_0x5e164c[_0xade677(0x1d5)]('\x0a');}function a0_0x4144(_0x656bb5,_0xd769e3){_0x656bb5=_0x656bb5-0x14d;const _0xd24e52=a0_0xd24e();let _0x414401=_0xd24e52[_0x656bb5];return _0x414401;}function filterGrep(_0x2ffd00){const _0x5134f8=a0_0x2b0a30,_0x4f431e=_0x2ffd00[_0x5134f8(0x17a)]('\x0a')[_0x5134f8(0x16a)](_0x1c92ea=>_0x1c92ea[_0x5134f8(0x18d)]()[_0x5134f8(0x188)]>0x0);if(_0x4f431e[_0x5134f8(0x188)]===0x0)return _0x5134f8(0x195);if(_0x4f431e[_0x5134f8(0x188)]<=0x32)return _0x2ffd00[_0x5134f8(0x18d)]();const _0x363bf3={},_0xdc69a=[];for(const _0x1b8709 of _0x4f431e){const _0x17b8f1=_0x1b8709[_0x5134f8(0x1a9)](':');if(_0x17b8f1>0x0&&_0x17b8f1<0xc8){const _0x57d976=_0x1b8709['substring'](0x0,_0x17b8f1);if(_0x57d976[_0x5134f8(0x166)]('/')||_0x57d976['includes']('\x5c')||_0x57d976[_0x5134f8(0x166)]('.')){if(!_0x363bf3[_0x57d976])_0x363bf3[_0x57d976]=[];_0x363bf3[_0x57d976]['push'](_0x1b8709[_0x5134f8(0x14d)](_0x17b8f1+0x1)[_0x5134f8(0x18d)]());continue;}}_0xdc69a[_0x5134f8(0x153)](_0x1b8709);}const _0x2d10a4=[],_0x4d3c8b=Object[_0x5134f8(0x1ae)](_0x363bf3);if(_0x4d3c8b[_0x5134f8(0x188)]>0x0){const _0x463295=0x14,_0x579eee=_0x4d3c8b[_0x5134f8(0x17c)](0x0,_0x463295);for(const _0x2c78f0 of _0x579eee){const _0x44256f=_0x363bf3[_0x2c78f0];if(_0x44256f[_0x5134f8(0x188)]<=0x3)for(const _0x97cac7 of _0x44256f){_0x2d10a4['push'](_0x2c78f0+':\x20'+_0x97cac7);}else _0x2d10a4['push'](_0x2c78f0+':\x20'+_0x44256f[0x0]),_0x2d10a4[_0x5134f8(0x153)](_0x2c78f0+_0x5134f8(0x15a)+_0x44256f['length']+_0x5134f8(0x1d0));}_0x4d3c8b[_0x5134f8(0x188)]>_0x463295&&_0x2d10a4[_0x5134f8(0x153)](_0x5134f8(0x1c0)+(_0x4d3c8b[_0x5134f8(0x188)]-_0x463295)+_0x5134f8(0x1d2));}if(_0xdc69a['length']>0x0){const _0x5db571=0x1e;_0x2d10a4['push'](..._0xdc69a[_0x5134f8(0x17c)](0x0,_0x5db571)),_0xdc69a[_0x5134f8(0x188)]>_0x5db571&&_0x2d10a4[_0x5134f8(0x153)]('...\x20+'+(_0xdc69a['length']-_0x5db571)+_0x5134f8(0x19f));}const _0x165f48=_0x4f431e[_0x5134f8(0x188)];return _0x2d10a4['push']('\x0a('+_0x165f48+_0x5134f8(0x1d8)+(_0x4d3c8b[_0x5134f8(0x188)]||'?')+'\x20files)'),_0x2d10a4[_0x5134f8(0x1d5)]('\x0a');}function filterFind(_0xe15df){const _0x1cfaf0=a0_0x2b0a30,_0x3b8f06=_0xe15df[_0x1cfaf0(0x17a)]('\x0a')[_0x1cfaf0(0x16a)](_0x46c43f=>_0x46c43f[_0x1cfaf0(0x18d)]()[_0x1cfaf0(0x188)]>0x0);if(_0x3b8f06['length']===0x0)return _0x1cfaf0(0x16e);if(_0x3b8f06[_0x1cfaf0(0x188)]<=0x32)return _0xe15df[_0x1cfaf0(0x18d)]();const _0x3d3c8a={};for(const _0x2e4043 of _0x3b8f06){const _0x4744c0=path[_0x1cfaf0(0x1c8)](_0x2e4043[_0x1cfaf0(0x18d)]())||'.';_0x3d3c8a[_0x4744c0]=(_0x3d3c8a[_0x4744c0]||0x0)+0x1;}const _0xe36c3b=Object['entries'](_0x3d3c8a)[_0x1cfaf0(0x1c6)]((_0x10939f,_0x2da746)=>_0x2da746[0x1]-_0x10939f[0x1]),_0x16be58=[_0x3b8f06[_0x1cfaf0(0x188)]+'\x20files\x20found\x20across\x20'+_0xe36c3b[_0x1cfaf0(0x188)]+'\x20directories',''],_0x3a5376=0x1e;for(const [_0x1b26d6,_0x4028dd]of _0xe36c3b['slice'](0x0,_0x3a5376)){_0x16be58[_0x1cfaf0(0x153)]('\x20\x20'+_0x1b26d6+_0x1cfaf0(0x1ba)+_0x4028dd+_0x1cfaf0(0x1b6));}return _0xe36c3b[_0x1cfaf0(0x188)]>_0x3a5376&&_0x16be58['push'](_0x1cfaf0(0x1a4)+(_0xe36c3b['length']-_0x3a5376)+'\x20more\x20directories'),_0x16be58[_0x1cfaf0(0x1d5)]('\x0a');}