import { ConfigService } from "../../configService/index.mjs";
import { createAzureMapsProviders } from "udp-stencil-component-library";
//#region src/UI/fluent-web-components/UdpLocationInput.azure.ts
/**
* Reads the default Azure Maps subscription key from `ConfigService.config`.
*
* Consumer apps are expected to bootstrap `ConfigService.config` at startup
* (e.g. from `import.meta.env.VITE_AZURE_MAP_SUBSCRIPTION_KEY` or
* `process.env.REACT_APP_AZURE_MAP_SUBSCRIPTION_KEY` on the app side) — the
* lint rule `custom-rules/no-process-env` prevents library code from reading
* `process.env` directly.
*
* Returns `''` when the key hasn't been configured — the wrapper then leaves
* providers unwired.
*/
const getDefaultAzureMapsKey = () => ConfigService.config.AZURE_MAP_SUBSCRIPTION_KEY ?? "";
//#endregion
export { createAzureMapsProviders, getDefaultAzureMapsKey };

//# sourceMappingURL=UdpLocationInput.azure.mjs.map