"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("../../../../../../_virtual/index10.js"),x=require("../../../../../../_virtual/___vite-browser-external.js"),y=require("./Explorer.js"),S=require("./ExplorerSync.js"),v=require("./loaders.js");var l;function b(){if(l)return a.__exports;l=1,Object.defineProperty(a.__exports,"__esModule",{value:!0}),a.__exports.cosmiconfig=p,a.__exports.cosmiconfigSync=h,a.__exports.defaultLoaders=void 0;var i=u(x),d=y.__require(),_=S.__require(),n=v.__require();function u(r){return r&&r.__esModule?r:{default:r}}function p(r,o={}){const c=t(r,o),e=new d.Explorer(c);return{search:e.search.bind(e),load:e.load.bind(e),clearLoadCache:e.clearLoadCache.bind(e),clearSearchCache:e.clearSearchCache.bind(e),clearCaches:e.clearCaches.bind(e)}}function h(r,o={}){const c=t(r,o),e=new _.ExplorerSync(c);return{search:e.searchSync.bind(e),load:e.loadSync.bind(e),clearLoadCache:e.clearLoadCache.bind(e),clearSearchCache:e.clearSearchCache.bind(e),clearCaches:e.clearCaches.bind(e)}}const s=Object.freeze({".js":n.loaders.loadJs,".json":n.loaders.loadJson,".yaml":n.loaders.loadYaml,".yml":n.loaders.loadYaml,noExt:n.loaders.loadYaml});a.__exports.defaultLoaders=s;function t(r,o){const c={packageProp:r,searchPlaces:["package.json",`.${r}rc`,`.${r}rc.json`,`.${r}rc.yaml`,`.${r}rc.yml`,`.${r}rc.js`,`${r}.config.js`],ignoreEmptySearchPlaces:!0,stopDir:i.default.homedir(),cache:!0,transform:f,loaders:s};return{...c,...o,loaders:{...c.loaders,...o.loaders}}}const f=function(o){return o};return a.__exports}exports.__require=b;
//# sourceMappingURL=index.js.map
