import{API_ENVIRONMENTS as l,ANALYTICS_ENVIRONMENTS as n,CDN_ENVIRONMENTS as a}from"./constants.js";const i=(l,n,a)=>a||(n[l]||n.fallback),o=(o,r)=>{var s,t;return{apiUrl:i(o,l,null==r?void 0:r.api),analyticsUrl:i(o,n,null==r?void 0:r.analytics),cdnImagesUrl:i(o,a,null==r||null===(s=r.cdn)||void 0===s?void 0:s.images),cdnTranslationsUrl:i(o,a,null==r||null===(t=r.cdn)||void 0===t?void 0:t.translations)}};export{i as getUrlFromMap,o as resolveEnvironments};
//# sourceMappingURL=Environment.js.map
