<<<<<<<< HEAD:dist/assets/index-4e71f1a6.js
import{bJ as u,c as r,b as S,m,t as p,d as h,al as w,e as D,w as H,a2 as v,a as C,k as g}from"./index-4228b913.js";function P(e,n){const{days:i}=n;let{hours:s,minutes:c,seconds:l,milliseconds:t}=n;if(e.includes("DD")?e=e.replace("DD",u(i)):s+=i*24,e.includes("HH")?e=e.replace("HH",u(s)):c+=s*60,e.includes("mm")?e=e.replace("mm",u(c)):l+=c*60,e.includes("ss")?e=e.replace("ss",u(l)):t+=l*1e3,e.includes("S")){const a=u(t,3);e.includes("SSS")?e=e.replace("SSS",a):e.includes("SS")?e=e.replace("SS",a.slice(0,2)):e=e.replace("S",a.charAt(0))}return e}const[b,k]=r("count-down"),x={time:S(0),format:m("HH:mm:ss"),autoStart:p,millisecond:Boolean};var N=h({name:b,props:x,emits:["change","finish"],setup(e,{emit:n,slots:i}){const{start:s,pause:c,reset:l,current:t}=w({time:+e.time,millisecond:e.millisecond,onChange:o=>n("change",o),onFinish:()=>n("finish")}),a=D(()=>P(e.format,t.value)),d=()=>{l(+e.time),e.autoStart&&s()};return H(()=>e.time,d,{immediate:!0}),v({start:s,pause:c,reset:d}),()=>C("div",{role:"timer",class:k()},[i.default?i.default(t.value):a.value])}});const y=g(N);export{y as C};
========
import{bJ as u,c as r,b as S,m,t as p,d as h,al as w,e as D,w as H,a2 as v,a as C,k as g}from"./index-c4313132.js";function P(e,n){const{days:i}=n;let{hours:s,minutes:c,seconds:l,milliseconds:t}=n;if(e.includes("DD")?e=e.replace("DD",u(i)):s+=i*24,e.includes("HH")?e=e.replace("HH",u(s)):c+=s*60,e.includes("mm")?e=e.replace("mm",u(c)):l+=c*60,e.includes("ss")?e=e.replace("ss",u(l)):t+=l*1e3,e.includes("S")){const a=u(t,3);e.includes("SSS")?e=e.replace("SSS",a):e.includes("SS")?e=e.replace("SS",a.slice(0,2)):e=e.replace("S",a.charAt(0))}return e}const[b,k]=r("count-down"),x={time:S(0),format:m("HH:mm:ss"),autoStart:p,millisecond:Boolean};var N=h({name:b,props:x,emits:["change","finish"],setup(e,{emit:n,slots:i}){const{start:s,pause:c,reset:l,current:t}=w({time:+e.time,millisecond:e.millisecond,onChange:o=>n("change",o),onFinish:()=>n("finish")}),a=D(()=>P(e.format,t.value)),d=()=>{l(+e.time),e.autoStart&&s()};return H(()=>e.time,d,{immediate:!0}),v({start:s,pause:c,reset:d}),()=>C("div",{role:"timer",class:k()},[i.default?i.default(t.value):a.value])}});const y=g(N);export{y as C};
>>>>>>>> 0f2588f61580675e1c866dc0769d4ceb917efcec:dist/assets/index-1e7189a7.js
