import{n as useBalConfig,U as defaultLocale}from"./index-CklISCW5.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(){console.log("getDecimalSeparator called",getLocale());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};