(()=>{vare={88:function(e,t,r){"use strict";varn=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;vari=Object.getOwnPropertyDescriptor(t,r);if(!i||("get"ini?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){returnt[r]}}}Object.defineProperty(e,n,i)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});vari=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});vars=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(e!=null)for(varrine)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);returnt};Object.defineProperty(t,"__esModule",{value:true});t.addINIValuesUnix=addINIValuesUnix;t.addINIValuesWindows=addINIValuesWindows;t.addINIValues=addINIValues;consto=s(r(918));asyncfunctionaddINIValuesUnix(e){constt=awaito.CSVArray(e);letr="";awaito.asyncForEach(t,(asyncfunction(e){r+="\n"+awaito.addLog("$tick",e,"Added to php.ini","linux")}));return'echo "'+t.join("\n")+'" | sudo tee -a "${pecl_file:-${ini_file[@]}}" '+r}asyncfunctionaddINIValuesWindows(e){constt=awaito.CSVArray(e);letr="\n";awaito.asyncForEach(t,(asyncfunction(e){r+=awaito.addLog("$tick",e,"Added to php.ini","win32")+"\n"}));return'Add-Content "$php_dir\\php.ini" "'+t.join("\n")+'"'+r}asyncfunctionaddINIValues(e,t,r=false){letn="\n";switch(r){casetrue:n+=awaito.stepLog("Add php.ini values",t)+awaito.suppressOutput(t)+"\n";break;casefalse:default:n+=awaito.stepLog("Add php.ini values",t)+"\n";break}switch(t){case"win32":returnn+awaitaddINIValuesWindows(e);case"darwin":case"linux":returnn+awaitaddINIValuesUnix(e);default:returnawaito.log("Platform "+t+" is not supported",t,"error")}}},5730:function(e,t,r){"use strict";varn=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;vari=Object.getOwnPropertyDescriptor(t,r);if(!i||("get"ini?!t.__esModule:i.writable||i.configurable)){i={enumerable:true,get:function(){returnt[r]}}}Object.defineProperty(e,n,i)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});vari=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});vars=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(e!=null)for(varrine)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);returnt};Object.defineProperty(t,"__esModule",{value:true});t.checkXdebugError=checkXdebugError;t.addCoverageXdebug=addCoverageXdebug;t.addCoveragePCOV=addCoveragePCOV;t.disableCoverage=disableCoverage;t.addCoverage=addCoverage;consto=s(r(918));consta=s(r(3390));constu=s(r(88));asyncfunctioncheckXdebugError(e,t){if(/^5\.[3-6]$|^7\.[0-1]$/.test(t)&&e=="xdebug3"||/^8\.[0-9]$/.test(t)&&e=="xdebug2"){returne+" is not supported on PHP "+t}return""}asyncfunctionaddCoverageXdebug(e,t,r,n){leti="\n";consts=awaitcheckXdebugError(e,t);if(!s){i+=awaita.addExtension(":pcov:false",t,r,true)+n;e=e=="xdebug3"?"xdebug":e;i+=awaita.addExtension(e,t,r,true)+n;i+=awaito.setVariable("xdebug_version","php -r \"echo phpversion('xdebug');\"",r);i+=awaito.getCommand(r,"extension_log")+'xdebug "Xdebug $xdebug_version enabled as coverage driver"'}else{i+=awaito.addLog("$cross",e,s,r)}returni}asyncfunctionaddCoveragePCOV(e,t,r){letn="\n";switch(true){default:n+=awaita.addExtension(":xdebug:false",e,t,true)+r;n+=awaita.addExtension("pcov",e,t,true)+r;n+=awaitu.addINIValues("pcov.enabled=1",t,true)+"\n";n+=awaito.setVariable("pcov_version","php -r \"echo phpversion('pcov');\"",t);n+=awaito.getCommand(t,"extension_log")+'pcov "PCOV $pcov_version enabled as coverage driver"';break;case/5\.[3-6]|7\.0/.test(e):n+=awaito.addLog("$cross","pcov","PHP 7.1 or newer is required",t);break}returnn}asyncfunctiondisableCoverage(e,t,r){letn="\n";n+=awaita.addExtension(":pcov:false",e,t,true)+r;n+=awaita.addExtension(":xdebug:false",e,t,true)+r;n+=awaito.addLog("$tick",