!function(){function e(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,u=[],a=!0,o=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(u.push(n.value),!t||u.length!==t);a=!0);}catch(c){o=!0,i=c}finally{try{a||null==r.return||r.return()}finally{if(o)throw i}}return u}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||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 r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}System.register(["./index-legacy.c77ea834.js"],(function(t){"use strict";var r,n,i,u,a,o,c,l,s,f,m,d;return{setters:[function(e){r=e.a7,n=e.t,i=e.z,u=e.y,a=e.u,o=e.d,c=e.a8,l=e.D,s=e.Z,f=e.W,m=e.c,d=e.x}],execute:function(){var p=e(n("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 n=t.emit,i=t.slots,u=c({time:+e.time,millisecond:e.millisecond,onChange:function(e){return n("change",e)},onFinish:function(){return n("finish")}}),a=u.start,o=u.pause,d=u.reset,p=u.current,y=l((function(){return function(e,t){var n=t.days,i=t.hours,u=t.minutes,a=t.seconds,o=t.milliseconds;if(e.includes("DD")?e=e.replace("DD",r(n)):i+=24*n,e.includes("HH")?e=e.replace("HH",r(i)):u+=60*i,e.includes("mm")?e=e.replace("mm",r(u)):a+=60*u,e.includes("ss")?e=e.replace("ss",r(a)):o+=1e3*a,e.includes("S")){var c=r(o,3);e=e.includes("SSS")?e.replace("SSS",c):e.includes("SS")?e.replace("SS",c.slice(0,2)):e.replace("S",c.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))}}}))}();
