import{commonjsRequire as r}from"../../_virtual/_commonjs-dynamic-modules.mjs";import e from"../../_virtual/_node_path.mjs";import{__require as o}from"./node_modules/resolve-from/index.mjs";import{__require as t}from"../parent-module/index.mjs";var i,m;function n(){if(m)return i;m=1;const n=e,a=o(),d=t();return i=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const o=d(c),t=o?n.dirname(o):u,i=a(t,e),m=l.cache[i];if(m&&m.parent){let r=m.parent.children.length;for(;r--;)m.parent.children[r].id===i&&m.parent.children.splice(r,1)}delete l.cache[i];const p=l.cache[o];return void 0===p||void 0===p.require?r(i):p.require(i)}}export{n as __require};import a from"node:url";import d from"node:path";import p from"node:module";const c=a.fileURLToPath(import.meta.url),u=d.dirname(c),l=p.createRequire(import.meta.url);