import{g as n,o as c,c as a,q as u,D as l,t as i,H as p}from"./vue.esm-bundler.CWQFYt9y.js";const d=["id"],m={__name:"ScoreButton",props:{score:{type:Number,default:0},postId:{type:Number,default:0}},setup(o){const e=o,t=n(()=>0<e.postId?`score-button-${e.postId}`:null),r=n(()=>80<e.score?"score-green":50<e.score?"score-orange":1<e.score?"score-red":"score-disabled");return(s,_)=>(c(),a("div",{class:p(["aioseo-score-button",r.value]),id:t.value},[u(s.$slots,"icon"),l(" "+i(o.score===0?"N/A":`${o.score}/100`),1)],10,d))}};export{m as _};
