const t=[{minScore:0,maxScore:250,labelKey:"very_easy"},{minScore:251,maxScore:450,labelKey:"easy"},{minScore:451,maxScore:650,labelKey:"medium"},{minScore:651,maxScore:800,labelKey:"hard"},{minScore:801,maxScore:1e3,labelKey:"very_hard"}];function n(e,a=t){for(const r of a)if(e>=r.minScore&&e<=r.maxScore)return r.labelKey;return"medium"}function o(e){switch(e){case"very_easy":return"bg-nature-forest/15 text-nature-forest border-nature-forest/30";case"easy":return"bg-nature-forest text-white border-transparent";case"medium":return"bg-nature-honey text-nature-honey-ink border-transparent";case"hard":return"bg-nature-coral/20 text-nature-coral border-nature-coral/40";case"very_hard":return"bg-nature-coral text-white border-transparent";default:return"bg-gray-100 text-gray-800 border-gray-300"}}export{t as S,o as a,n as g};