1 |
- import{j as c,s as o}from"./index-f53ab261.js";import{c as s,d as n}from"./runtime-core.esm-bundler-8a997806.js";import{s as i,a5 as l,q as d}from"./index-ecf281fc.js";import{P as m}from"./request-9a0f9c1d.js";const p="_dot_188qh_1",u="_active_188qh_9",f="_first_188qh_12",h="_container_188qh_15",e={dot:p,active:u,first:f,container:h},_=t=>s("div",{class:e.container},[Array(t.dots*(t.repeat||1)).fill(0).map((a,r)=>s("div",{class:c(e.dot,{[e.first]:r%t.dots===0},{[e.active]:o.activeTick>=0&&o.activeTick===r})},null))]),y=n({name:"DetailTick",props:{show:{type:Boolean,default:!1},score:{default:""}},render(){return this.score&&i.osmd||this.show?s(m,{show:o.activeTick>-1,closeable:!0,"close-icon-position":"bottom-right",onClickCloseIcon:l,style:{width:"100%",height:"100%",display:"flex",background:"transparent"}},{default:()=>{var t,a;return[s(_,{dots:((a=(t=i)==null?void 0:t.osmd)==null?void 0:a.numerator)||d(i.osmd).numerator||0,repeat:o.activeTickRepeat},null)]}}):null}});export{y as T};
|