!function(){function n(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==t)return;var r,o,a=[],i=!0,u=!1;try{for(t=t.call(n);!(i=(r=t.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(c){u=!0,o=c}finally{try{i||null==t.return||t.return()}finally{if(u)throw o}}return a}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(n,t)}(n,t)||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 e(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}var t=document.createElement("style");t.innerHTML=":root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}\n",document.head.appendChild(t),System.register(["./index-legacy.2562bdba.js"],(function(e){"use strict";var t,r,o,a,i,u,c,l,s,f,d,m;return{setters:[function(n){t=n.aP,r=n.A,o=n.aa,a=n.$,i=n.G,u=n.d,c=n.aQ,l=n.V,s=n.a2,f=n.aj,d=n.j,m=n.N}],execute:function(){var v=n(r("count-down"),2),h=v[0],p=v[1],y={time:o(0),format:a("HH:mm:ss"),autoStart:i,millisecond:Boolean},S=u({name:h,props:y,emits:["change","finish"],setup:function(n,e){var r=e.emit,o=e.slots,a=c({time:+n.time,millisecond:n.millisecond,onChange:function(n){return r("change",n)},onFinish:function(){return r("finish")}}),i=a.start,u=a.pause,m=a.reset,v=a.current,h=l((function(){return function(n,e){var r=e.days,o=e.hours,a=e.minutes,i=e.seconds,u=e.milliseconds;if(n.includes("DD")?n=n.replace("DD",t(r)):o+=24*r,n.includes("HH")?n=n.replace("HH",t(o)):a+=60*o,n.includes("mm")?n=n.replace("mm",t(a)):i+=60*a,n.includes("ss")?n=n.replace("ss",t(i)):u+=1e3*i,n.includes("S")){var c=t(u,3);n=n.includes("SSS")?n.replace("SSS",c):n.includes("SS")?n.replace("SS",c.slice(0,2)):n.replace("S",c.charAt(0))}return n}(n.format,v.value)})),y=function(){m(+n.time),n.autoStart&&i()};return s((function(){return n.time}),y,{immediate:!0}),f({start:i,pause:u,reset:y}),function(){return d("div",{role:"timer",class:p()},[o.default?o.default(v.value):h.value])}}});e("C",m(S))}}}))}();
