import{S as l}from"./star.657407f3.js";import{_ as d,y as m,o as e,s as a,n as c,m as r,e as p,v as g,F as i,z as _,c as u}from"./entry.4a1e3e7a.js";const y={components:{Star:l},props:{rating:{type:Number,default:3},reviewCount:{type:Number,default:0}},computed:{rest(){return 5-this.rating},ratinglabel(){return`${this.rating} out of 5 Stars.`}}},h={class:"rating",itemscope:"",itemtype:"https://schema.org/AggregateRating"},f=["content"],v=["content"],x={class:"at-text"};function k(C,S,t,N,b,s){const o=m("Star");return e(),a("div",h,[c("meta",{itemprop:"ratingValue",content:t.rating},null,8,f),r(),t.reviewCount>0?(e(),a("meta",{key:0,itemprop:"reviewCount",content:t.reviewCount},null,8,v)):p("",!0),r(),c("span",x,g(s.ratinglabel),1),r(),(e(!0),a(i,null,_([...Array(t.rating)],n=>(e(),u(o,{key:n,class:"star filled","aria-hidden":"true"}))),128)),r(),(e(!0),a(i,null,_([...Array(s.rest)],n=>(e(),u(o,{key:n,class:"star","aria-hidden":"true"}))),128))])}const V=d(y,[["render",k],["__scopeId","data-v-3a1d1480"]]);export{V as _};