import{a as e,c as t,i as n,s as r,t as i}from"./web-provider-public-artifacts-BlpRwIUS-DbVhDOrY.mjs";import{n as a,r as o,t as s}from"./web-search-providers.runtime--0aUtC3b-Bjh4Bmrz.mjs";let c=a();function l(e){return r({contract:`webFetchProviders`,configKey:`webFetch`,config:e.config,workspaceDir:e.workspaceDir,env:e.env,onlyPluginIds:e.onlyPluginIds,origin:e.origin})}function u(e){return n({entries:e.registry.webFetchProviders,onlyPluginIds:e.onlyPluginIds,sortProviders:t})}function d(t){return o(t,{snapshotCache:c,resolveBundledResolutionConfig:e,resolveCandidatePluginIds:l,mapRegistryProviders:u,resolveBundledPublicArtifactProviders:i})}const f={resolvePluginWebFetchProviders:d,resolvePluginWebSearchProviders:s};export{f as runtimeWebToolsFallbackProviders};