function$parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function$parcel$interopDefault(e){returne&&e.__esModule?e.default:e;}var$k14yv$path=require("path"),$k14yv$os=require("os"),$k14yv$fs=require("fs"),$k14yv$stream=require("stream"),$k14yv$util=require("util"),$k14yv$assert=require("assert"),$k14yv$child_process=require("child_process"),$k14yv$http=require("http"),$k14yv$https=require("https"),$parcel$global="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:{},parcelRequire=$parcel$global.parcelRequire810d;parcelRequire.register("4kQHk",function(e,t){varr,i,s,n,o,a,h,l,c;functionu(e){returne.startsWith("pypy");}asyncfunctionp(e,t,o){h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");letl=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeofl&&""!==l&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,n.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){lett;if(u(e)){letr=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,s.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{leti=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,s.info)(`Successfully set up ${i.impl} (${t})`);}letn=!1;if(n){let{cacheDependencies:e}=awaitparcelRequire("1qJ3r");awaite("pip",t);}}a.GITHUB_ACTIONS&&(awaitf());}asyncfunctionf(){lete=(0,o.join)(c,"python_matcher.json");if(!(await(0,l.pathExists)(e)))return(0,s.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,s.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("11OPo"),i=parcelRequire("dVzcM"),s=parcelRequire("ER74K"),n=parcelRequire("lcRzN"),o=parcelRequire("ceI0e"),a=parcelRequire("dTX7a"),h=parcelRequire("6PFnG"),l=parcelRequire("dOmbL"),c=$k14yv$path.resolve(__dirname,"../../src/python");letd=!1;}),parcelRequire.register("11OPo",function(e,t){varr,i,s,n,o;functiona(e){returnr.IS_WINDOWS?$k14yv$path.join(e,"Scripts"):$k14yv$path.join(e,"bin");}asyncfunctionh(e,t,h,p,f){letd=null,y=l(e),m=u(y,f);if(n.debug(`Semantic version spec of ${e} is ${m}`),p){d=awaits.getManifest();lete=(awaits.findReleaseFromManifest(m,t,d))?.version;e?(m=e,n.info(`Resolved as '${m}'`)):n.info(`Failed to resolve version ${m} from manifest`);}letg=o.find("Python",m,t);if(!g){n.info(`Version ${m} was not found in the local cache`);lete=awaits.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${m} is available for downloading`),awaits.installCpythonFromRelease(e),g=o.find("Python",m,t));}if(!g){leti=await(0,r.getOSInfo)();throwError([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName}${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($k14yv$os.EOL));}letx=a(g),w=r.IS_WINDOWS?".exe":"",b=$k14yv$path.join(r.IS_WINDOWS?g:x,"python"+w);if(h){if(n.exportVariable("pythonLocation",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),n.exportVariable("pythonLocation",g),n.exportVariable("Python_ROOT_DIR",g),n.exportVariable("Python2_ROOT_DIR",g),n.exportVariable("Python3_ROOT_DIR",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),r.IS_LINUX){lete=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$k14yv$path.join(g,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(g),n.addPath(x),r.IS_WINDOWS){lete=$k14yv$path.basename($k14yv$path.dirname(g)),t=i.major(e),r=i.minor(e),s=$k14yv$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}letv=c(g);returnn.setOutput("python-version",v),n.setOutput("python-path",b),{impl:"CPython",version:v};}functionl(e){lett=/^(\d+)\.(\d+)-dev$/;returne.replace(t,"~$1.$2.0-0");}functionc(e){lett=e.split($k14yv$path.sep),r