import{__module as r}from"../../../../_virtual/index55.mjs";import t from"../../../../_virtual/_node_path.mjs";import e from"../../../../_virtual/_node_module.mjs";import o from"../../../../_virtual/_node_fs.mjs";var n;function i(){if(n)return r.exports;n=1;const i=t,p=e,s=o,f=(r,t,e)=>{if("string"!=typeof r)throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof r}\``);if("string"!=typeof t)throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``);try{r=s.realpathSync(r)}catch(t){if("ENOENT"!==t.code){if(e)return null;throw t}r=i.resolve(r)}const o=i.join(r,"noop.js"),n=()=>p._resolveFilename(t,{id:o,filename:o,paths:p._nodeModulePaths(r)});if(e)try{return n()}catch(r){return null}return n()};return r.exports=(r,t)=>f(r,t),r.exports.silent=(r,t)=>f(r,t,!0),r.exports}export{i as __require};