function n(r,e="en-US"){if(!r)return"";try{return new Date(r).toLocaleDateString(e,{year:"numeric",month:"short",day:"numeric"})}catch{return r}}function a(r){return{draft:"Draft",published:"Published",pending:"Pending Review",archived:"Archived"}[r]||r}function o(r){return{draft:"default",published:"success",pending:"warning",archived:"error"}[r]||"default"}function s(r){if(!r||r<=0)return"-";const e=Math.floor(r/60),t=r%60;return e===0?`${t}m`:t===0?`${e}h`:`${e}h ${t}m`}function c(r){return{easy:"Easy",medium:"Medium",hard:"Hard",expert:"Expert"}[r]||r}export{s as a,n as b,a as c,c as f,o as g};
