function a(a){if(0===a)return"has-value-0";if(null===a)return"";const s=[{min:200,max:1/0,class:"has-value-200or-larger"},{min:100,max:200,class:"has-value-100to200"},{min:90,max:100,class:"has-value-90to100"},{min:80,max:90,class:"has-value-80to90"},{min:70,max:80,class:"has-value-70to80"},{min:60,max:70,class:"has-value-60to70"},{min:50,max:60,class:"has-value-50to60"},{min:40,max:50,class:"has-value-40to50"},{min:30,max:40,class:"has-value-30to40"},{min:20,max:30,class:"has-value-20to30"},{min:10,max:20,class:"has-value-10to20"},{min:0,max:10,class:"has-value-0to10"},{min:-10,max:0,class:"has-value-10to0"},{min:-20,max:-10,class:"has-value-20to10"},{min:-30,max:-20,class:"has-value-30to20"},{min:-40,max:-30,class:"has-value-40to30"},{min:-50,max:-40,class:"has-value-50to40"},{min:-60,max:-50,class:"has-value-60to50"},{min:-70,max:-60,class:"has-value-70to60"},{min:-80,max:-70,class:"has-value-80to70"},{min:-90,max:-80,class:"has-value-90to80"},{min:-100,max:-90,class:"has-value-100to90"},{min:-200,max:-100,class:"has-value-200to100"},{min:-1/0,max:-200,class:"has-value-200or-larger"}].find((s=>a>=s.min&&a<s.max));return s?`${s.class}-${a>0?"positive":"negative"}`:""}function s(a,s){switch(s.toLowerCase().split(/[-_]/)[0]){case"da":case"de":case"nl":return a.replaceAll(".","").replace(",",".");case"nb":case"no":case"sv":case"fi":case"fr":return a.replaceAll(/[\s\u00A0]/g,"").replace(",",".");case"en":return a.replaceAll(",","");default:return a}}export{a as g,s as n}