"use strict";var n=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var c=(r,e)=>n(r,"name",{value:e,configurable:true});var f=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:true})};var d=(r,e,t,i)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let o of l(e))if(!h.call(r,o)&&o!==t)n(r,o,{get:()=>e[o],enumerable:!(i=g(e,o))||i.enumerable})}return r};var m=r=>d(n({},"__esModule",{value:true}),r);var v={};f(v,{getDevRecipeDirectory:()=>u,getRecipeDirectory:()=>p,loadRecipeConfig:()=>q});module.exports=m(v);var a=require("node:path");var s=require("../environment-remote");const p=c((r="")=>{return(0,s.userDataRecipesPath)(r)},"getRecipeDirectory");const u=c((r="")=>{return(0,s.userDataRecipesPath)("dev",r)},"getDevRecipeDirectory");const q=c(r=>{try{const e=`${r}/package.json`;delete require.cache[require.resolve(e)];const t=require(e);const i=require.resolve(e);t.path=(0,a.parse)(i).dir;return t}catch(e){console.error(e);return null}},"loadRecipeConfig");module.paths.unshift(u(),p());
