require('./sourcemap-register.js');module.exports=function(e,t){"use strict";varn={};function__webpack_require__(t){if(n[t]){returnn[t].exports}varr=n[t]={i:t,l:false,exports:{}};vari=true;try{e[t].call(r.exports,r,r.exports,__webpack_require__);i=false}finally{if(i)deleten[t]}r.l=true;returnr.exports}__webpack_require__.ab=__dirname+"/";functionstartup(){return__webpack_require__(131)}returnstartup()}([,function(e,t,n){"use strict";varr=this&&this.__createBinding||(Object.create?function(e,t,n,r){if(r===undefined)r=n;Object.defineProperty(e,r,{enumerable:true,get:function(){returnt[n]}})}:function(e,t,n,r){if(r===undefined)r=n;e[r]=t[n]});vari=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});varo=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(e!=null)for(varnine)if(n!=="default"&&Object.hasOwnProperty.call(e,n))r(t,e,n);i(t,e);returnt};vara=this&&this.__awaiter||function(e,t,n,r){functionadopt(e){returneinstanceofn?e:newn(function(t){t(e)})}returnnew(n||(n=Promise))(function(n,i){functionfulfilled(e){try{step(r.next(e))}catch(e){i(e)}}functionrejected(e){try{step(r["throw"](e))}catch(e){i(e)}}functionstep(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void0;consts=n(357);constc=o(n(129));constu=o(n(622));constl=n(669);constp=o(n(672));constm=l.promisify(c.exec);constd=l.promisify(c.execFile);functioncp(e,t,n={}){returna(this,void0,void0,function*(){const{force:r,recursive:i,copySourceDirectory:o}=readCopyOptions(n);consta=(yieldp.exists(t))?yieldp.stat(t):null;if(a&&a.isFile()&&!r){return}consts=a&&a.isDirectory()&&o?u.join(t,u.basename(e)):t;if(!(yieldp.exists(e))){thrownewError(`no such file or directory: ${e}`)}constc=yieldp.stat(e);if(c.isDirectory()){if(!i){thrownewError(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yieldcpDirRecursive(e,s,0,r)}}else{if(u.relative(e,s)===""){thrownewError(`'${s}' and '${e}' are the same file`)}yieldcopyFile(e,s,r)}})}t.cp=cp;functionmv(e,t,n={}){returna(this,void0,void0,function*(){if(yieldp.exists(t)){letr=true;if(yieldp.isDirectory(t)){t=u.join(t,u.basename(e));r=yieldp.exists(t)}if(r){if(n.force==null||n.force){yieldrmRF(t)}else{thrownewError("Destination already exists")}}}yieldmkdirP(u.dirname(t));yieldp.rename(e,t)})}t.mv=mv;functionrmRF(e){returna(this,void0,void0,function*(){if(p.IS_WINDOWS){if(/[*"<>|]/.test(e)){thrownewError('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{constt=p.getCmdPath();if(yieldp.isDirectory(e,true)){yieldm(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yieldm(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throwe}try{yieldp.unlink(e)}catch(e){if(e.code!=="ENOENT")throwe}}else{lett=false;try{t=yieldp.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throwe;return}if(t){yieldd(`rm`,[`-rf`,`${e}`])}else{yieldp.unlink(e)}}})}t.rmRF=rmRF;functionmkdirP(e){returna(this,void0,void0,function*(){s.ok(e,"a path argument must be provided");yieldp.mkdir(e,{recursive:true})})}t.mkdirP=mkdirP;functionwhich(e,t){returna(this,void0,void0,function*(){if(!e){thrownewError("parameter 'tool' is required")}if(t){constt=yieldwhich(e,false);if(!t){if(p.IS_WINDOWS){thrownewError(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{thrownewError(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}returnt}cons