import{a as defaultLocale}from"./config.default-RE8-gLMQ.js";import{g as useBalConfig}from"./config.utils-B7jugjyM.js";var getLocale=function(){var e=useBalConfig();if(e&&e.locale&&e.locale==="fr-CH"){return"de-CH"}return e&&e.locale||defaultLocale};function getDecimalSeparator(){return Intl.NumberFormat(getLocale()).format(1.1).replace(/\p{Number}/gu,"")}function getThousandSeparator(){return Intl.NumberFormat(getLocale()).format(11111).replace(/\p{Number}/gu,"")}function formatLocaleNumber(e,a){var t=a!==undefined?{minimumFractionDigits:a,maximumFractionDigits:a}:{};var r=Intl.NumberFormat(getLocale(),Object.assign({},t)).format(e);if(r==="NaN"){return""}return r}var getNegativeSymbol=function(){return"-"};export{getDecimalSeparator as a,getThousandSeparator as b,formatLocaleNumber as f,getNegativeSymbol as g};