import{__exports as r}from"../../../../_virtual/async.mjs";import{__require as e}from"../readers/async.mjs";import{__require as t}from"./provider.mjs";var s;function a(){if(s)return r;s=1,Object.defineProperty(r,"__esModule",{value:!0});const a=e(),i=t();class n extends i.default{constructor(){super(...arguments),this._reader=new a.default(this._settings)}async read(r){const e=this._getRootDirectory(r),t=this._getReaderOptions(r);return(await this.api(e,r,t)).map(r=>t.transform(r))}api(r,e,t){return e.dynamic?this._reader.dynamic(r,t):this._reader.static(e.patterns,t)}}return r.default=n,r}export{a as __require};