import{u as s}from"./i18n.DI4_U1ww.js";import{u as o,l as t,k as a,i as e,aj as i,ap as d,a6 as n,g as l}from"./vue-vendor.CIPxpJKQ.js";import{s as p}from"./index.M4bJ7AyN.js";const r={class:"live-badge"},m={key:0,class:"live-badge-dot"},v={class:"live-badge-text"},c={key:1,class:"live-badge-dot"},f=p(o({__name:"index",props:{text:{},showDot:{type:Boolean,default:!0},dotPosition:{default:"right"}},setup(o){const{t:p}=s(),f=o,g=l(()=>f.text||p("common.live"));return(s,l)=>(n(),t("div",r,[o.showDot&&"left"===o.dotPosition?(n(),t("span",m)):a("",!0),e("span",v,i(d(g)),1),o.showDot&&"right"===o.dotPosition?(n(),t("span",c)):a("",!0)]))}}),[["__scopeId","data-v-a1888f4e"]]);export{f as _};