const s = (e) => e ? [
  "en-US",
  "de-DE",
  "es-ES",
  "fi-FI",
  "fr-FR",
  "it-IT",
  "nl-NL",
  "pl-PL",
  "pt-BR",
  "pt-PT",
  "ru-RU",
  "tr-TR",
  "zh-CN"
].find((o) => o.startsWith(e)) : void 0, n = (e, i, o, r) => {
  const t = H.ui.UI.createDefault(e, i, s(r));
  return t && (t.getControl("scalebar").setVisibility(o), t.getControl("scalebar").setAlignment(H.ui.LayoutAlignment.BOTTOM_LEFT), t.getControl("mapsettings").setVisibility(!1), t.removeControl("zoom")), t;
};
export {
  n as getHereUi
};
//# sourceMappingURL=mapUi.js.map
