!function(){function n(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null==r)return;var t,u,o=[],a=!0,i=!1;try{for(r=r.call(n);!(a=(t=r.next()).done)&&(o.push(t.value),!e||o.length!==e);a=!0);}catch(c){i=!0,u=c}finally{try{a||null==r.return||r.return()}finally{if(i)throw u}}return o}(n,r)||function(n,r){if(!n)return;if("string"==typeof n)return e(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e(n,r)}(n,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 e(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}System.register(["./index-legacy.c77ea834.js","./utils-legacy.d74b7e74.js","./index-legacy.6a3212e0.js"],(function(e){"use strict";var r,t,u,o,a,i,c,l,f,m,s,d,y,p,v,h,g;return{setters:[function(n){r=n.t,t=n.N,u=n.z,o=n.d,a=n.R,i=n.D,c=n.Z,l=n.aW,f=n.c,m=n.v,s=n.am,d=n.x},function(n){y=n.s,p=n.a,v=n.f,h=n.p},function(n){g=n.P}],execute:function(){var x=n(r("time-picker"),1)[0],b=t({},y,{minHour:u(0),maxHour:u(23),minMinute:u(0),maxMinute:u(59),minSecond:u(0),maxSecond:u(59),columnsType:{type:Array,default:function(){return["hour","minute"]}}}),w=o({name:x,props:b,emits:["confirm","cancel","change","update:modelValue"],setup:function(n,e){var r=e.emit,t=e.slots,u=a(n.modelValue),o=i((function(){return n.columnsType.map((function(e){var r=n.filter,t=n.formatter;switch(e){case"hour":return p(+n.minHour,+n.maxHour,e,t,r);case"minute":return p(+n.minMinute,+n.maxMinute,e,t,r);case"second":return p(+n.minSecond,+n.maxSecond,e,t,r);default:throw new Error("[Vant] DatePicker: unsupported columns type: ".concat(e))}}))}));c(u,(function(e){l(e,n.modelValue)||r("update:modelValue",e)})),c((function(){return n.modelValue}),(function(n){n=v(n,o.value),l(n,u.value)||(u.value=n)}),{immediate:!0});var d=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return r.apply(void 0,["change"].concat(e))},y=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return r.apply(void 0,["cancel"].concat(e))},x=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return r.apply(void 0,["confirm"].concat(e))};return function(){return f(g,m({modelValue:u.value,"onUpdate:modelValue":function(n){return u.value=n},columns:o.value,onChange:d,onCancel:y,onConfirm:x},s(n,h)),t)}}});e("T",d(w))}}}))}();
