import{__module as r}from"../../_virtual/index42.mjs";import t from"../../_virtual/_node_path.mjs";import e from"../../_virtual/_node_module.mjs";import o from"../../_virtual/_node_fs.mjs";var i;function n(){if(i)return r.exports;i=1;const n=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;throw t}r=n.resolve(r)}const o=n.join(r,"noop.js"),i=()=>p._resolveFilename(t,{id:o,filename:o,paths:p._nodeModulePaths(r)});if(e)try{return i()}catch(r){return}return i()};return r.exports=(r,t)=>f(r,t),r.exports.silent=(r,t)=>f(r,t,!0),r.exports}export{n as __require};