!function(){function e(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,u=[],a=!0,o=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(u.push(r.value),!t||u.length!==t);a=!0);}catch(l){o=!0,i=l}finally{try{a||null==n.return||n.return()}finally{if(o)throw i}}return u}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}System.register(["./index-legacy.2ae28dc5.js"],(function(t){"use strict";var n,r,i,u,a,o,l,c,s,f,m,d;return{setters:[function(e){n=e.C,r=e.m,i=e.q,u=e.n,a=e.t,o=e.d,l=e.D,c=e.v,s=e.E,f=e.G,m=e.k,d=e.y}],execute:function(){var p=e(r("count-down"),2),y=p[0],S=p[1],h={time:i(0),format:u("HH:mm:ss"),autoStart:a,millisecond:Boolean},v=o({name:y,props:h,emits:["change","finish"],setup:function(e,t){var r=t.emit,i=t.slots,u=l({time:+e.time,millisecond:e.millisecond,onChange:function(e){return r("change",e)},onFinish:function(){return r("finish")}}),a=u.start,o=u.pause,d=u.reset,p=u.current,y=c((function(){return function(e,t){var r=t.days,i=t.hours,u=t.minutes,a=t.seconds,o=t.milliseconds;if(e.includes("DD")?e=e.replace("DD",n(r)):i+=24*r,e.includes("HH")?e=e.replace("HH",n(i)):u+=60*i,e.includes("mm")?e=e.replace("mm",n(u)):a+=60*u,e.includes("ss")?e=e.replace("ss",n(a)):o+=1e3*a,e.includes("S")){var l=n(o,3);e=e.includes("SSS")?e.replace("SSS",l):e.includes("SS")?e.replace("SS",l.slice(0,2)):e.replace("S",l.charAt(0))}return e}(e.format,p.value)})),h=function(){d(+e.time),e.autoStart&&a()};return s((function(){return e.time}),h,{immediate:!0}),f({start:a,pause:o,reset:h}),function(){return m("div",{role:"timer",class:S()},[i.default?i.default(p.value):y.value])}}});t("C",d(v))}}}))}();
