const s=i=>{let t=0;const e=n=>{Object.keys(n).forEach(o=>{o==="valid"&&n[o]===!1&&t++,typeof n[o]=="object"&&n[o]!==null&&e(n[o])})};return e(i),t},r=(i,t)=>{const e=i[t];return e?typeof e=="function"?e():Promise.resolve(e):new Promise((n,o)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(o.bind(null,new Error("Unknown variable dynamic import: "+t)))})};export{r as _,s as u};