function m(i,a){if(i==null)return i;try{return Number(i).toLocaleString("pt-br",{maximumFractionDigits:(a==null?void 0:a.maximumFractionDigits)||2,minimumFractionDigits:(a==null?void 0:a.minimumFractionDigits)||2})}catch{return i}}function r(i){return m(i,{maximumFractionDigits:7,minimumFractionDigits:7})}function c(i,a,t){return Math.min(Math.max(i,a),t)}export{m as a,c,r as f};
