vue2-timepicker
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,2 +5,8 @@ # CHANGELOG | ||
## v 1.0.3 | ||
### New | ||
Added `lazy` event mode. (Thanks to @VictorCazanave) | ||
## v 1.0.2 | ||
@@ -10,5 +16,5 @@ | ||
- Support customized label for hour, minute, second, and APM pickers (Thanks to @maritaria). | ||
- Support customized labels for the hour, minute, second, and APM pickers (Thanks to @maritaria). | ||
- Support setting customized text to replace the `am`/`pm` (`AM`/`PM`) string in the UI. | ||
- Added `input-width` property to help adjusting Timepicker's width with ease. | ||
- Added `input-width` property to help to adjust Timepicker's width with ease. | ||
@@ -15,0 +21,0 @@ ### Improvements |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["VueTimepicker"]=t():e["VueTimepicker"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),u=n("41a0"),c=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",y=function(){return this};e.exports=function(e,t,n,g,b,v,x){u(n,t,g);var k,S,w,T=function(e){if(!h&&e in D)return D[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",_=b==m,C=!1,D=e.prototype,I=D[f]||D[d]||b&&D[b],R=I||T(b),E=b?_?T("entries"):R:void 0,A="Array"==t&&D.entries||I;if(A&&(w=l(A.call(new e)),w!==Object.prototype&&w.next&&(c(w,O,!0),i||"function"==typeof w[f]||s(w,f,y))),_&&I&&I.name!==m&&(C=!0,R=function(){return I.call(this)}),i&&!x||!h&&!C&&D[f]||s(D,f,R),a[t]=R,a[O]=y,b)if(k={values:_?R:T(m),keys:v?R:T(p),entries:E},x)for(S in k)S in D||o(D,S,k[S]);else r(r.P+r.F*(h||C),t,k);return k}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),u=i(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,h=5==e||f,d=t||a;return function(t,a,p){for(var m,y,g=o(t),b=r(g),v=i(a,p,3),x=s(b.length),k=0,S=n?d(t,x):u?d(t,0):void 0;x>k;k++)if((h||k in b)&&(m=b[k],y=v(m,k,g),e))if(n)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:S.push(m)}else if(l)return!1;return f?-1:c||l?l:S}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),u=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,s=o(t),a=s.length,u=0;while(a>u)i.f(e,n=s[u++],t[n]);return e}},"20d6":function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),u=n("520a"),c=a("species"),l=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=a(e),d=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),p=d?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t}):void 0;if(!d||!p||"replace"===e&&!l||"split"===e&&!f){var m=/./[h],y=n(s,h,""[e],function(e,t,n,i,r){return t.exec===u?d&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),g=y[0],b=y[1];i(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),u="toString",c=(""+a).split(u);n("8378").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,s)||r(n,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[s]||a.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},u="prototype",c=function(){var e,t=n("230e")("iframe"),i=o.length,r="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+s+"document.F=Object"+r+"/script"+s),e.close(),c=e.F;while(i--)delete c[u][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[u]=i(e),n=new a,a[u]=null,n[s]=e):n=c(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))};a.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2f21":function(e,t,n){"use strict";var i=n("79e5");e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},"2fdb":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(e){return!!~r(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"37c8":function(e,t,n){t.f=n("2b4c")},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("2d00"),s=n("37c8"),a=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},"3b2b":function(e,t,n){var i=n("7726"),r=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),u=n("0bfb"),c=i.RegExp,l=c,f=c.prototype,h=/a/g,d=/a/g,p=new c(h)!==h;if(n("9e1e")&&(!p||n("79e5")(function(){return d[n("2b4c")("match")]=!1,c(h)!=h||c(d)==d||"/a/i"!=c(h,"i")}))){c=function(e,t){var n=this instanceof c,i=a(e),o=void 0===t;return!n&&i&&e.constructor===c&&o?e:r(p?new l(i&&!o?e.source:e,t):l((i=e instanceof c)?e.source:e,i&&o?u.call(e):t),n?this:f,c)};for(var m=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},y=s(l),g=0;y.length>g;)m(y[g++]);f.constructor=c,c.prototype=f,n("2aba")(i,"RegExp",c)}n("7a56")("RegExp")},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,function(e,t,n,a){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var u=i(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;var f,h=[],d=0;while(null!==(f=s(u,c))){var p=String(f[0]);h[d]=p,""===p&&(u.lastIndex=o(c,r(u.lastIndex),l)),d++}return 0===d?null:h}]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(r){}}return!0}},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a="lastIndex",u=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[a]||0!==t[a]}(),c=void 0!==/()??/.exec("")[1],l=u||c;l&&(s=function(e){var t,n,s,l,f=this;return c&&(n=new RegExp("^"+f.source+"$(?!\\s)",i.call(f))),u&&(t=f[a]),s=r.call(f,e),u&&s&&(f[a]=f.global?s.index+s[0].length:t),c&&s&&s.length>1&&o.call(s[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)}),s}),e.exports=s},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",s=r[o]||(r[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"Β© 2019 Denis Pushkarev (zloirock.ru)"})},"55dd":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d8e8"),o=n("4bf8"),s=n("79e5"),a=[].sort,u=[1,2,3];i(i.P+i.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!n("2f21")(a)),"Array",{sort:function(e){return void 0===e?a.call(o(this)):a.call(o(this),r(e))}})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),u="prototype",c=function(e,t,n){var l,f,h,d,p=e&c.F,m=e&c.G,y=e&c.S,g=e&c.P,b=e&c.B,v=m?i:y?i[t]||(i[t]={}):(i[t]||{})[u],x=m?r:r[t]||(r[t]={}),k=x[u]||(x[u]={});for(l in m&&(n=t),n)f=!p&&v&&void 0!==v[l],h=(f?v:n)[l],d=b&&f?a(h,i):g&&"function"==typeof h?a(Function.call,h):h,v&&s(v,l,h,e&c.U),x[l]!=h&&o(x,l,d),g&&k[l]!=h&&(k[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),o=n("69a8"),s=n("86cc").f,a=0,u=Object.isExtensible||function(){return!0},c=!n("79e5")(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[i].w},d=function(e){return c&&p.NEED&&u(e)&&!o(e,i)&&l(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),u=n("626a"),c=Object.assign;e.exports=!c||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=a(e),c=arguments.length,l=1,f=o.f,h=s.f;while(c>l){var d,p=u(arguments[l++]),m=f?r(p).concat(f(p)):r(p),y=m.length,g=0;while(y>g)d=m[g++],i&&!h.call(p,d)||(n[d]=p[d])}return n}:c},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return r(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):r(i(e))}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var i=n("86cc").f,r=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in r||n("9e1e")&&i(r,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},8378:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8a81":function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("9e1e"),s=n("5ca1"),a=n("2aba"),u=n("67ab").KEY,c=n("79e5"),l=n("5537"),f=n("7f20"),h=n("ca5a"),d=n("2b4c"),p=n("37c8"),m=n("3a72"),y=n("d4c0"),g=n("1169"),b=n("cb7c"),v=n("d3f4"),x=n("4bf8"),k=n("6821"),S=n("6a99"),w=n("4630"),T=n("2aeb"),O=n("7bbc"),_=n("11e9"),C=n("2621"),D=n("86cc"),I=n("0d58"),R=_.f,E=D.f,A=O.f,L=i.Symbol,N=i.JSON,H=N&&N.stringify,M="prototype",P=d("_hidden"),F=d("toPrimitive"),j={}.propertyIsEnumerable,V=l("symbol-registry"),K=l("symbols"),B=l("op-symbols"),$=Object[M],J="function"==typeof L&&!!C.f,U=i.QObject,W=!U||!U[M]||!U[M].findChild,G=o&&c(function(){return 7!=T(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=R($,t);i&&delete $[t],E(e,t,n),i&&e!==$&&E($,t,i)}:E,Y=function(e){var t=K[e]=T(L[M]);return t._k=e,t},z=J&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},q=function(e,t,n){return e===$&&q(B,t,n),b(e),t=S(t,!0),b(n),r(K,t)?(n.enumerable?(r(e,P)&&e[P][t]&&(e[P][t]=!1),n=T(n,{enumerable:w(0,!1)})):(r(e,P)||E(e,P,w(1,{})),e[P][t]=!0),G(e,t,n)):E(e,t,n)},X=function(e,t){b(e);var n,i=y(t=k(t)),r=0,o=i.length;while(o>r)q(e,n=i[r++],t[n]);return e},Q=function(e,t){return void 0===t?T(e):X(T(e),t)},Z=function(e){var t=j.call(this,e=S(e,!0));return!(this===$&&r(K,e)&&!r(B,e))&&(!(t||!r(this,e)||!r(K,e)||r(this,P)&&this[P][e])||t)},ee=function(e,t){if(e=k(e),t=S(t,!0),e!==$||!r(K,t)||r(B,t)){var n=R(e,t);return!n||!r(K,t)||r(e,P)&&e[P][t]||(n.enumerable=!0),n}},te=function(e){var t,n=A(k(e)),i=[],o=0;while(n.length>o)r(K,t=n[o++])||t==P||t==u||i.push(t);return i},ne=function(e){var t,n=e===$,i=A(n?B:k(e)),o=[],s=0;while(i.length>s)!r(K,t=i[s++])||n&&!r($,t)||o.push(K[t]);return o};J||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(B,n),r(this,P)&&r(this[P],e)&&(this[P][e]=!1),G(this,e,w(1,n))};return o&&W&&G($,e,{configurable:!0,set:t}),Y(e)},a(L[M],"toString",function(){return this._k}),_.f=ee,D.f=q,n("9093").f=O.f=te,n("52a7").f=Z,C.f=ne,o&&!n("2d00")&&a($,"propertyIsEnumerable",Z,!0),p.f=function(e){return Y(d(e))}),s(s.G+s.W+s.F*!J,{Symbol:L});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=I(d.store),se=0;oe.length>se;)m(oe[se++]);s(s.S+s.F*!J,"Symbol",{for:function(e){return r(V,e+="")?V[e]:V[e]=L(e)},keyFor:function(e){if(!z(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!J,"Object",{create:Q,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var ae=c(function(){C.f(1)});s(s.S+s.F*ae,"Object",{getOwnPropertySymbols:function(e){return C.f(x(e))}}),N&&s(s.S+s.F*(!J||c(function(){var e=L();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(v(t)||void 0!==e)&&!z(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!z(t))return t}),i[1]=t,H.apply(N,i)}}),L[M][F]||n("32e9")(L[M],F,L[M].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),u=n("5f1b"),c=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,function(e,t,n,m){return[function(i,r){var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=m(n,e,this,t);if(r.done)return r.value;var f=i(e),h=String(this),d="function"===typeof t;d||(t=String(t));var g=f.global;if(g){var b=f.unicode;f.lastIndex=0}var v=[];while(1){var x=u(f,h);if(null===x)break;if(v.push(x),!g)break;var k=String(x[0]);""===k&&(f.lastIndex=a(h,o(f.lastIndex),b))}for(var S="",w=0,T=0;T<v.length;T++){x=v[T];for(var O=String(x[0]),_=c(l(s(x.index),h.length),0),C=[],D=1;D<x.length;D++)C.push(p(x[D]));var I=x.groups;if(d){var R=[O].concat(C,_,h);void 0!==I&&R.push(I);var E=String(t.apply(void 0,R))}else E=y(O,h,_,C,I,t);_>=w&&(S+=h.slice(w,_)+E,w=_+O.length)}return S+h.slice(w)}];function y(e,t,i,o,s,a){var u=i+e.length,c=o.length,l=d;return void 0!==s&&(s=r(s),l=h),n.call(a,l,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(u);case"<":a=s[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>c){var h=f(l/10);return 0===h?n:h<=c?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}a=o[l-1]}return void 0===a?"":a})}})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",u="βΒ ",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(e,t,n){var r={},a=o(function(){return!!s[e]()||u[e]()!=u}),c=r[e]=a?t(h):s[e];n&&(r[n]=c),i(i.P+i.F*a,"String",r)},h=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},aab0:function(e,t,n){"use strict";var i=n("bfaf"),r=n.n(i);r.a},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),u=n("84f2"),c=n("2b4c"),l=c("iterator"),f=c("toStringTag"),h=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(d),m=0;m<p.length;m++){var y,g=p[m],b=d[g],v=s[g],x=v&&v.prototype;if(x&&(x[l]||a(x,l,h),x[f]||a(x,f,g),u[g]=h,b))for(y in i)x[y]||o(x,y,i[y],!0)}},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bfaf:function(e,t,n){},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){while(c>l)if(a=u[l++],a!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),u=n("79e5"),c=n("9093").f,l=n("11e9").f,f=n("86cc").f,h=n("aa77").trim,d="Number",p=i[d],m=p,y=p.prototype,g=o(n("2aeb")(y))==d,b="trim"in String.prototype,v=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){t=b?t.trim():h(t,3);var n,i,r,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,u=t.slice(2),c=0,l=u.length;c<l;c++)if(s=u.charCodeAt(c),s<48||s>r)return NaN;return parseInt(u,i)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?u(function(){y.valueOf.call(n)}):o(n)!=d)?s(new m(v(t)),n,p):v(t)};for(var x,k=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;k.length>S;S++)r(m,x=k[S])&&!r(p,x)&&f(p,x,l(m,x));p.prototype=y,y.constructor=p,n("2aba")(i,d,p)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);while(t.length>u)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),o=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var s,a=n(e),u=o.f,c=0;while(a.length>c)u.call(e,s=a[c++])&&t.push(s)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"vue__time-picker time-picker",style:e.inputWidthStyle},[n("input",{staticClass:"display-time",class:[e.inputClass,{disabled:e.disabled}],style:e.inputWidthStyle,attrs:{type:"text",id:e.id,name:e.name,placeholder:e.placeholder||e.formatString,tabindex:e.disabled?null:e.tabindex,disabled:e.disabled,readonly:""},domProps:{value:e.inputIsEmpty?null:e.customDisplayTime},on:{focus:e.onFocus,blur:e.debounceBlur,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.escBlur(t)}}}),!e.showDropdown&&e.showClearBtn?n("span",{staticClass:"clear-btn",on:{click:e.clearTime}},[e._v("Γ")]):e._e(),e.showDropdown?n("div",{staticClass:"time-picker-overlay",on:{click:e.toggleDropdown}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDropdown,expression:"showDropdown"}],staticClass:"dropdown",style:e.inputWidthStyle,on:{mouseup:e.keepFocusing,click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"select-list",style:e.inputWidthStyle},[e.advancedKeyboard?e._e():[n("ul",{staticClass:"hours"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.hourLabelText)}}),e._l(e.hours,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledHour(t)?n("li",{key:i,class:{active:e.hour===t},attrs:{disabled:e.isDisabledHour(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("hour",t)}}}):e._e()]})],2),n("ul",{staticClass:"minutes"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.minuteLabelText)}}),e._l(e.minutes,function(t,i){return[!e.opts.hideDisabledMinutes||e.opts.hideDisabledMinutes&&!e.isDisabledMinute(t)?n("li",{key:i,class:{active:e.minute===t},attrs:{disabled:e.isDisabledMinute(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("minute",t)}}}):e._e()]})],2),e.secondType?n("ul",{staticClass:"seconds"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.secondLabelText)}}),e._l(e.seconds,function(t,i){return[!e.opts.hideDisabledSeconds||e.opts.hideDisabledSeconds&&!e.isDisabledSecond(t)?n("li",{key:i,class:{active:e.second===t},attrs:{disabled:e.isDisabledSecond(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("second",t)}}}):e._e()]})],2):e._e(),e.apmType?n("ul",{staticClass:"apms"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.apmLabelText)}}),e._l(e.apms,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledApm(t)?n("li",{key:i,class:{active:e.apm===t},attrs:{disabled:e.isDisabledApm(t)},domProps:{textContent:e._s(e.apmDisplayText(t))},on:{click:function(n){return e.select("apm",t)}}}):e._e()]})],2):e._e()],e.advancedKeyboard?[n("ul",{staticClass:"hours"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.hourLabelText)}}),e._l(e.hours,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledHour(t)?n("li",{key:i,class:{active:e.hour===t},attrs:{tabindex:e.isDisabledHour(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledHour(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("hour",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("hour",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("hour",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("hours",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("hours",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("hours"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("hours"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2),n("ul",{staticClass:"minutes"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.minuteLabelText)}}),e._l(e.minutes,function(t,i){return[!e.opts.hideDisabledMinutes||e.opts.hideDisabledMinutes&&!e.isDisabledMinute(t)?n("li",{key:i,class:{active:e.minute===t},attrs:{tabindex:e.isDisabledMinute(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledMinute(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("minute",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("minute",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("minute",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("minutes",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("minutes",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("minutes"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("minutes"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2),e.secondType?n("ul",{staticClass:"seconds"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.secondLabelText)}}),e._l(e.seconds,function(t,i){return[!e.opts.hideDisabledSeconds||e.opts.hideDisabledSeconds&&!e.isDisabledSecond(t)?n("li",{key:i,class:{active:e.second===t},attrs:{tabindex:e.isDisabledSecond(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledSecond(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("second",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("second",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("second",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("seconds",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("seconds",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("seconds"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("seconds"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2):e._e(),e.apmType?n("ul",{staticClass:"apms"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.apmLabelText)}}),e._l(e.apms,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledApm(t)?n("li",{key:i,class:{active:e.apm===t},attrs:{tabindex:e.isDisabledApm(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledApm(t)},domProps:{textContent:e._s(e.apmDisplayText(t))},on:{click:function(n){return e.select("apm",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("apm",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("apm",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("apms",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("apms",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("apms"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("apms"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2):e._e()]:e._e()],2)])])},o=[],s=(n("7f7f"),n("2fdb"),n("20d6"),n("ac4d"),n("8a81"),n("4917"),n("cadf"),n("456d"),n("55dd"),n("6762"),n("ac6a"),n("3b2b"),n("a481"),n("f751"),n("c5f6"),{HOUR_TOKENS:["HH","H","hh","h","kk","k"],MINUTE_TOKENS:["mm","m"],SECOND_TOKENS:["ss","s"],APM_TOKENS:["A","a"]}),a={format:"HH:mm",minuteInterval:1,secondInterval:1,hourRange:null,minuteRange:null,secondRange:null,hideDisabledHours:!1,hideDisabledMinutes:!1,hideDisabledSeconds:!1,hideDisabledItems:!1},u={name:"VueTimepicker",props:{value:{type:[Object,String]},format:{type:String},minuteInterval:{type:[Number,String]},secondInterval:{type:[Number,String]},hourRange:{type:Array},minuteRange:{type:Array},secondRange:{type:Array},hideDisabledHours:{type:Boolean,default:!1},hideDisabledMinutes:{type:Boolean,default:!1},hideDisabledSeconds:{type:Boolean,default:!1},hideDisabledItems:{type:Boolean,default:!1},hideClearButton:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closeOnComplete:{type:Boolean,default:!1},id:{type:String},name:{type:String},inputClass:{type:String},placeholder:{type:String},tabindex:{type:[Number,String],default:0},inputWidth:{type:String},hourLabel:{type:String},minuteLabel:{type:String},secondLabel:{type:String},apmLabel:{type:String},amText:{type:String},pmText:{type:String},blurDelay:{type:[Number,String]},advancedKeyboard:{type:Boolean,default:!1},debugMode:{type:Boolean,default:!1}},data:function(){return{timeValue:{},hours:[],minutes:[],seconds:[],apms:[],showDropdown:!1,isFocusing:!1,debounceTimer:void 0,hourType:"HH",minuteType:"mm",secondType:"",apmType:"",hour:"",minute:"",second:"",apm:"",fullValues:void 0}},computed:{opts:function(){var e=Object.assign({},a);return this.format&&this.format.length&&(e.format=String(this.format)),this.isNumber(this.minuteInterval)&&(e.minuteInterval=+this.minuteInterval),(!e.minuteInterval||e.minuteInterval<1||e.minuteInterval>60)&&(0===e.minuteInterval?e.minuteInterval=60:(this.debugMode&&(e.minuteInterval>60?this.debugLog('"minute-interval" should be less than 60. Current value is '.concat(this.minuteInterval)):e.minuteInterval<1&&this.debugLog('"minute-interval" should be NO less than 1. Current value is '.concat(this.minuteInterval))),e.minuteInterval=1)),this.isNumber(this.secondInterval)&&(e.secondInterval=+this.secondInterval),(!e.secondInterval||e.secondInterval<1||e.secondInterval>60)&&(0===e.secondInterval?e.secondInterval=60:(this.debugMode&&(e.secondInterval>60?this.debugLog('"second-interval" should be less than 60. Current value is '.concat(this.secondInterval)):e.secondInterval<1&&this.debugLog('"second-interval" should be NO less than 1. Current value is '.concat(this.secondInterval))),e.secondInterval=1)),this.hourRange&&Array.isArray(this.hourRange)&&(e.hourRange=JSON.parse(JSON.stringify(this.hourRange)),!this.hourRange.length&&this.debugMode&&this.debugLog('The "hour-range" array is empty (length === 0)')),this.minuteRange&&Array.isArray(this.minuteRange)&&(e.minuteRange=JSON.parse(JSON.stringify(this.minuteRange)),!this.minuteRange.length&&this.debugMode&&this.debugLog('The "minute-range" array is empty (length === 0)')),this.secondRange&&Array.isArray(this.secondRange)&&(e.secondRange=JSON.parse(JSON.stringify(this.secondRange)),!this.secondRange.length&&this.debugMode&&this.debugLog('The "second-range" array is empty (length === 0)')),this.hideDisabledItems&&(e.hideDisabledItems=!0),(this.hideDisabledHours||this.hideDisabledItems)&&(e.hideDisabledHours=!0),(this.hideDisabledMinutes||this.hideDisabledItems)&&(e.hideDisabledMinutes=!0),(this.hideDisabledSeconds||this.hideDisabledItems)&&(e.hideDisabledSeconds=!0),e},useStringValue:function(){return"string"===typeof this.value},formatString:function(){return this.opts.format||a.format},displayTime:function(){var e=String(this.formatString);return this.hour&&(e=e.replace(new RegExp(this.hourType,"g"),this.hour)),this.minute&&(e=e.replace(new RegExp(this.minuteType,"g"),this.minute)),this.second&&this.secondType&&(e=e.replace(new RegExp(this.secondType,"g"),this.second)),this.apm&&this.apmType&&(e=e.replace(new RegExp(this.apmType,"g"),this.apm)),e},customDisplayTime:function(){return this.amText||this.pmText?this.displayTime.replace(new RegExp(this.apm,"g"),this.apmDisplayText(this.apm)):this.displayTime},inputIsEmpty:function(){return this.formatString===this.displayTime},allValueSelected:function(){return!!(this.hour&&this.hour.length&&this.minute&&this.minute.length&&(!this.secondType||this.second&&this.second.length)&&(!this.apmType||this.apm&&this.apm.length))},showClearBtn:function(){return!this.hideClearButton&&!this.disabled&&!this.inputIsEmpty},baseOn12Hours:function(){return"h"===this.hourType||"hh"===this.hourType},hourRangeIn24HrFormat:function(){var e=this;if(!this.opts.hourRange)return!1;if(!this.opts.hourRange.length)return[];var t=[];return this.opts.hourRange.forEach(function(n){if(n instanceof Array){n.length>2&&e.debugMode&&e.debugLog('Nested array within "hour-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(n)," will be taken into account."));var i=n[0],r=n[1]||n[0];e.is12hRange(i)&&(i=e.translate12hRange(i)),e.is12hRange(r)&&(r=e.translate12hRange(r));for(var o=+i;o<=+r;o++)o<0||o>24||t.includes(o)||t.push(o)}else{if(n=e.is12hRange(n)?e.translate12hRange(n):+n,n<0||n>24)return;t.includes(n)||t.push(n)}}),t.sort(function(e,t){return e-t}),t},restrictedHourRange:function(){if(!this.hourRangeIn24HrFormat)return!1;if(this.baseOn12Hours){var e=this.hourRangeIn24HrFormat.map(function(e){return 12===e?"12p":24===e||0===e?"12a":e>12?"".concat(e%12,"p"):"".concat(e,"a")});return e}return this.hourRangeIn24HrFormat},has:function(){var e={am:!0,pm:!0};if(this.hourRangeIn24HrFormat&&this.hourRangeIn24HrFormat.length){var t=[].concat([],this.hourRangeIn24HrFormat);e.am=t.some(this.hasAm),e.pm=t.some(this.hasPm)}return e},minuteRangeList:function(){var e=this;if(!this.opts.minuteRange)return!1;if(!this.opts.minuteRange.length)return[];var t,n=[];if(this.opts.minuteRange.forEach(function(i){if(i instanceof Array){i.length>2&&e.debugMode&&e.debugLog('Nested array within "minute-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(i)," will be taken into account."));for(var r=i[0],o=i[1]||i[0],s=+r;s<=+o;s++)s<0||s>59||(t=e.formatValue(e.minuteType,s),n.includes(t)||n.push(t))}else{if(i<0||i>59)return;t=e.formatValue(e.minuteType,i),n.includes(t)||n.push(t)}}),n.sort(function(e,t){return e-t}),this.debugMode){var i=(this.minutes||[]).filter(function(e){return n.includes(e)});i&&i.length||this.debugLog('The minute list is empty due to the "minute-range" config\nminute-range: '.concat(JSON.stringify(this.minuteRange),"\nminute-interval: ").concat(this.opts.minuteInterval))}return n},secondRangeList:function(){var e=this;if(!this.opts.secondRange)return!1;if(!this.opts.secondRange.length)return[];var t,n=[];if(this.opts.secondRange.forEach(function(i){if(i instanceof Array){i.length>2&&e.debugMode&&e.debugLog('Nested array within "second-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(i)," will be taken into account."));for(var r=i[0],o=i[1]||i[0],s=+r;s<=+o;s++)s<0||s>59||(t=e.formatValue(e.secondType,s),n.includes(t)||n.push(t))}else{if(i<0||i>59)return;t=e.formatValue(e.secondType,i),n.includes(t)||n.push(t)}}),n.sort(function(e,t){return e-t}),this.debugMode){var i=(this.seconds||[]).filter(function(e){return n.includes(e)});i&&i.length||this.debugLog('The second list is empty due to the "second-range" config\nsecond-range: '.concat(JSON.stringify(this.secondRange),"\nsecond-interval: ").concat(this.opts.secondInterval))}return n},hourLabelText:function(){return this.hourLabel||this.hourType},minuteLabelText:function(){return this.minuteLabel||this.minuteType},secondLabelText:function(){return this.secondLabel||this.secondType},apmLabelText:function(){return this.apmLabel||this.apmType},inputWidthStyle:function(){if(this.inputWidth&&this.inputWidth.length)return{width:this.inputWidth}}},watch:{"opts.format":function(e){this.renderFormat(e)},"opts.minuteInterval":function(e){this.renderList("minute",e)},"opts.secondInterval":function(e){this.renderList("second",e)},value:{deep:!0,handler:function(){this.readValues()}},displayTime:function(){this.fillValues()},disabled:function(e){e&&this.showDropdown&&(this.showDropdown=!1)}},methods:{formatValue:function(e,t){switch(e){case"H":case"m":case"s":return String(t);case"HH":case"mm":case"ss":return t<10?"0".concat(t):String(t);case"h":return 0===t?"12":String(t);case"k":return String(t+1);case"hh":return 0===t?"12":t<10?"0".concat(t):String(t);case"kk":return t+1<10?"0".concat(t+1):String(t+1);default:return""}},checkAcceptingType:function(e,t,n){if(!e||!t||!t.length)return"";for(var i=0;i<e.length;i++)if(t.indexOf(e[i])>-1)return e[i];return n||""},renderFormat:function(e){var t=this;e=e||this.opts.format||a.format,this.hourType=this.checkAcceptingType(s.HOUR_TOKENS,e,"HH"),this.minuteType=this.checkAcceptingType(s.MINUTE_TOKENS,e,"mm"),this.secondType=this.checkAcceptingType(s.SECOND_TOKENS,e),this.apmType=this.checkAcceptingType(s.APM_TOKENS,e),this.renderHoursList(),this.renderList("minute"),this.secondType&&this.renderList("second"),this.apmType&&this.renderApmList(),this.$nextTick(function(){t.readValues()})},renderHoursList:function(){for(var e=this.baseOn12Hours?12:24,t=[],n=0;n<e;n++)t.push(this.formatValue(this.hourType,n));this.hours=t},renderList:function(e,t){if(e&&("minute"===e||"second"===e)){t="minute"===e?t||this.opts.minuteInterval||a.minuteInterval:t||this.opts.secondInterval||a.secondInterval;for(var n=[],i=0;i<60;i+=t)"minute"===e?n.push(this.formatValue(this.minuteType,i)):n.push(this.formatValue(this.secondType,i));"minute"===e?this.minutes=n:this.seconds=n}},renderApmList:function(){var e=[];this.apmType&&(e="A"===this.apmType?["AM","PM"]:["am","pm"]),this.apms=e},readValues:function(){this.useStringValue?(this.debugMode&&this.debugLog('Received a string value: "'.concat(this.value,'"')),this.readStringValues(this.value)):(this.debugMode&&this.debugLog('Received an object value: "'.concat(JSON.stringify(this.value||{}),'"')),this.readObjectValues(this.value))},readObjectValues:function(e){var t=this,n=JSON.parse(JSON.stringify(e||{})),i=Object.keys(n);0!==i.length?(["hour","minute","second","apm"].forEach(function(e){var r=t["".concat(e,"Type")];if(i.indexOf(r)>-1){var o=t.sanitizedValue(r,n[r]);t[e]=o,n[r]=o}else t[e]=""}),this.timeValue=n):this.addFallbackValues()},readStringValues:function(e){var t=this;if(e&&e.length){var n=String(this.formatString),i="".concat(this.hourType,"|").concat(this.minuteType);this.secondType&&(i+="|".concat(this.secondType)),this.apmType&&(i+="|".concat(this.apmType));var r="[(".concat(i,")]+"),o="[^(".concat(i,")]+"),s=Boolean(!n.matchAll||"function"!==typeof n.matchAll),a=s?this.matchAllPolyfill(n,r):n.matchAll(new RegExp(r,"g")),u=s?this.matchAllPolyfill(n,o):n.matchAll(new RegExp(o,"g")),c=[],l=[],f=!0,h=!1,d=void 0;try{for(var p,m=a[Symbol.iterator]();!(f=(p=m.next()).done);f=!0){var y=p.value,g={index:y.index,token:y[0],isValueToken:!0};c.push(g),l.push(g)}}catch(R){h=!0,d=R}finally{try{f||null==m.return||m.return()}finally{if(h)throw d}}var b=!0,v=!1,x=void 0;try{for(var k,S=u[Symbol.iterator]();!(b=(k=S.next()).done);b=!0){var w=k.value;c.push({index:w.index,token:w[0]})}}catch(R){v=!0,x=R}finally{try{b||null==S.return||S.return()}finally{if(v)throw x}}c.sort(function(e,t){return e.index<t.index?-1:1});var T="";c.forEach(function(e){if(e.isValueToken){var n=t.getTokenRegex(e.token)||"";T+=n}else{var i=e.token.replace(/\\{0}(\*|\?|\.|\+)/g,"\\$1");T+="(?:".concat(i,")")}});var O=new RegExp(T);if(O.test(e)){var _=e.match(new RegExp(T)),C=_.slice(1,l.length+1),D={};if(C.forEach(function(e,n){if(l[n]){var i=l[n].token;D[i]=t.setValueFromString(e,i)}}),this.timeValue=D,this.debugMode){var I=l.map(function(e){return e&&e.token});this.debugLog("Successfully parsed values ".concat(JSON.stringify(C),"\nfor ").concat(JSON.stringify(I),"\nin format pattern '").concat(this.formatString,"'"))}}else this.debugMode&&this.debugLog('The input string in "v-model" does NOT match the "format" pattern\nformat: '.concat(this.formatString,"\nv-model: ").concat(this.value))}else this.addFallbackValues()},matchAllPolyfill:function(e,t){var n=e.match(new RegExp(t,"g")),i=[],r=[];return n&&n.length&&n.forEach(function(t){var n,o=r.findIndex(function(e){return e.str===t});if(o>=0)r[o]&&r[o].regex&&(n=r[o].regex.exec(e).index);else{var s=new RegExp(t,"g");n=s.exec(e).index,r.push({str:String(t),regex:s})}i.push({0:String(t),index:n})}),i},addFallbackValues:function(){var e={};e[this.hourType]="",e[this.minuteType]="",this.secondType&&(e[this.secondType]=""),this.apmType&&(e[this.apmType]=""),this.timeValue=e},setValueFromString:function(e,t){if(!t||!e)return"";var n="";switch(t){case"".concat(this.hourType):n=e!==this.hourType?e:"",this.hour=n;break;case"".concat(this.minuteType):n=e!==this.minuteType?e:"",this.minute=n;break;case"".concat(this.secondType):n=e!==this.secondType?e:"",this.second=n;break;case"".concat(this.apmType):n=e!==this.apmType?e:"",this.apm=n;break}return n},fillValues:function(){var e=this,t={},n=this.hour,i=this.hourType,r=n||0===n?Number(n):"",o=!(!this.baseOn12Hours||!this.apm)&&String(this.apm).toLowerCase();if(s.HOUR_TOKENS.forEach(function(s){var a,u;if(s!==i)switch(s){case"H":case"HH":if(!String(r).length)return void(t[s]="");a=e.baseOn12Hours?"pm"===o?r<12?r+12:r:r%12:r%24,t[s]="HH"===s&&a<10?"0".concat(a):String(a);break;case"k":case"kk":if(!String(r).length)return void(t[s]="");a=e.baseOn12Hours?"pm"===o?r<12?r+12:r:12===r?24:r:0===r?24:r,t[s]="kk"===s&&a<10?"0".concat(a):String(a);break;case"h":case"hh":if(o)a=r,u=o||"am";else{if(!String(r).length)return t[s]="",t.a="",void(t.A="");r>11?(u="pm",a=12===r?12:r%12):(u=e.baseOn12Hours?"":"am",a=r%12===0?12:r)}t[s]="hh"===s&&a<10?"0".concat(a):String(a),t.a=u,t.A=u.toUpperCase();break}else t[s]=n}),this.minute||0===this.minute){var a=Number(this.minute);t.m=String(a),t.mm=a<10?"0".concat(a):String(a)}else t.m="",t.mm="";if(this.second||0===this.second){var u=Number(this.second);t.s=String(u),t.ss=u<10?"0".concat(u):String(u)}else t.s="",t.ss="";this.fullValues=t,this.updateTimeValue(t)},updateTimeValue:function(e){if(e){var t=Object.assign({},e),n=JSON.parse(JSON.stringify(this.timeValue||{})),i={};Object.keys(n).forEach(function(e){i[e]=t[e]||""}),this.useStringValue?this.$emit("input",this.inputIsEmpty?"":String(this.displayTime)):this.$emit("input",JSON.parse(JSON.stringify(i))),this.$emit("change",{data:e,displayTime:this.inputIsEmpty?"":String(this.displayTime)}),this.closeOnComplete&&this.allValueSelected&&this.showDropdown&&this.toggleDropdown()}},translate12hRange:function(e){var t=e.match(/^(\d{1,2})(a|p|A|P)$/);return 12===+t[1]?+t[1]+("p"===t[2].toLowerCase()?0:12):+t[1]+("p"===t[2].toLowerCase()?12:0)},hasAm:function(e){return e<12||24===e},hasPm:function(e){return e>=12&&e<24},doubleCheckHourValue:function(){if(this.hour&&this.apm&&this.restrictedHourRange&&this.hourRangeIn24HrFormat){var e=this.translate12hRange("".concat(this.hour).concat(this.apm.substr(0,1)));this.hourRangeIn24HrFormat.includes(e)||(this.hour="",this.debugMode&&this.debugLog('After switching AM/PM, the hour value is no longer in the "hour-range". Reset it to empty now.'))}},isDisabledHour:function(e){if(!this.restrictedHourRange)return!1;if(this.baseOn12Hours){if(this.apm&&this.apm.length){var t="am"===this.apm.toLowerCase()?"a":"p";return!this.restrictedHourRange.includes("".concat(+e).concat(t))}return!1}return("HH"!==this.hourType&&"H"!==this.hourType||0!==+e||!this.restrictedHourRange.includes(24))&&!this.restrictedHourRange.includes(+e)},isDisabledMinute:function(e){return!!this.minuteRangeList&&!this.minuteRangeList.includes(e)},isDisabledSecond:function(e){return!!this.secondRangeList&&!this.secondRangeList.includes(e)},isDisabledApm:function(e){return!!this.restrictedHourRange&&!this.has[(e||"").toLowerCase()]},forceApmSelection:function(){this.apm&&this.apm.length||(this.has.am?this.apm="A"===this.apmType?"AM":"am":this.has.pm&&(this.apm="A"===this.apmType?"PM":"pm"))},emptyApmSelection:function(){""===this.hour&&""===this.minute&&""===this.second&&(this.apm="")},apmDisplayText:function(e){return this.amText&&"am"===(e||"").toLowerCase()?this.amText:this.pmText&&"pm"===(e||"").toLowerCase()?this.pmText:e},toggleDropdown:function(){this.disabled||(this.showDropdown=!this.showDropdown,this.showDropdown?(this.$emit("open"),this.isFocusing=!0):(this.$emit("close"),this.isFocusing=!1),this.restrictedHourRange&&this.baseOn12Hours&&(this.showDropdown?this.forceApmSelection():this.emptyApmSelection()))},select:function(e,t){if("hour"===e){if(this.isDisabledHour(t))return;this.hour=t}else if("minute"===e){if(this.isDisabledMinute(t))return;this.minute=t}else if("second"===e){if(this.isDisabledSecond(t))return;this.second=t}else if("apm"===e){if(this.isDisabledApm(t))return;this.apm=t,this.restrictedHourRange&&this.doubleCheckHourValue()}},clearTime:function(){this.disabled||(this.hour="",this.minute="",this.second="",this.apm="")},onFocus:function(){this.disabled||(this.isFocusing||(this.isFocusing=!0),this.showDropdown||this.toggleDropdown())},escBlur:function(){if(!this.disabled){this.isFocusing=!1;var e=this.$el.querySelectorAll("input.display-time")[0];e&&e.blur()}},debounceBlur:function(){var e=this;if(!this.disabled){this.isFocusing=!1;var t=+(this.blurDelay||0)||200;window.clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(function(){window.clearTimeout(e.debounceTimer),e.onBlur()},t)}},onBlur:function(){this.disabled||this.isFocusing||this.showDropdown&&this.toggleDropdown()},keepFocusing:function(){this.isFocusing=!0},validItemsInCol:function(e){return this.$el.querySelectorAll("ul.".concat(e," > li:not(.hint):not([disabled])"))},getSideItems:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.validItemsInCol(e),r=Array.prototype.findIndex.call(i,function(e){return e.getAttribute("data-key")===t});if(n&&0===r)this.debugMode&&this.debugLog('"'.concat(t,'" is the first valid item in "').concat(e,'" list already'));else{if(n||r!==i.length-1)return n?i[r-1]:i[r+1];this.debugMode&&this.debugLog('"'.concat(t,'" is the last valid item in "').concat(e,'" list already'))}},prevItem:function(e,t){var n=this.getSideItems(e,t,!0);n&&n.focus()},nextItem:function(e,t){var n=this.getSideItems(e,t,!1);n&&n.focus()},getSideColumnClass:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n)switch(e){case"hours":t=-1;break;case"minutes":t="hours";break;case"seconds":t="minutes";break;case"apms":t=this.secondType?"seconds":"minutes";break}else switch(e){case"hours":t="minutes";break;case"minutes":t=this.secondType?"seconds":this.apmType?"apms":1;break;case"seconds":t=this.apmType?"apms":1;break;case"apms":t=1;break}if(-1!==t){if(1!==t)return t;this.debugMode&&this.debugLog("You're in the rightmost list already")}else this.debugMode&&this.debugLog("You're in the leftmost list already")},getFirstItemInSideColumn:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getSideColumnClass(e,t);if(n){var i=this.validItemsInCol(n);return i&&i[0]?i[0]:void 0}},toLeftColumn:function(e){var t=this.getFirstItemInSideColumn(e,!0);t&&t.focus()},toRightColumn:function(e){var t=this.getFirstItemInSideColumn(e,!1);t&&t.focus()},is12hRange:function(e){return/^\d{1,2}(a|p|A|P)$/.test(e)},isNumber:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getTokenRegex:function(e){switch(e){case"HH":return"([01][0-9]|2[0-3]|H{2})";case"H":return"([0-9]{1}|1[0-9]|2[0-3]|H{1})";case"hh":return"(0[1-9]|1[0-2]|h{2})";case"h":return"([1-9]{1}|1[0-2]|h{1})";case"kk":return"(0[1-9]|1[0-9]|2[0-4]|k{2})";case"k":return"([1-9]{1}|1[0-9]|2[0-4]|k{1})";case"mm":return"([0-5][0-9]|m{2})";case"ss":return"([0-5][0-9]|s{2})";case"m":return"([0-9]{1}|[1-5][0-9]|m{1})";case"s":return"([0-9]{1}|[1-5][0-9]|s{1})";case"A":return"(AM|PM|A{1})";case"a":return"(am|pm|a{1})";default:return""}},isEmptyValue:function(e,t){return!t||!t.length||t&&t===e},isValidValue:function(e,t){if(!e||this.isEmptyValue(e,t))return!1;var n=this.getTokenRegex(e);return!(!n||!n.length)&&new RegExp("^".concat(n,"$")).test(t)},sanitizedValue:function(e,t){return this.isValidValue(e,t)?t:""},debugLog:function(e){if(e&&e.length){var t="";this.id&&(t+="#".concat(this.id)),this.name&&(t+="[name=".concat(this.name,"]")),this.inputClass&&(t+=".".concat(this.inputClass));var n="DEBUG: ".concat(e).concat(t?"\n\t(".concat(t,")"):"");window.console.debug&&"function"===typeof window.console.debug?window.console.debug(n):window.console.log(n)}}},mounted:function(){window.clearTimeout(this.debounceTimer),this.renderFormat()},beforeDestroy:function(){window.clearTimeout(this.debounceTimer)}},c=u;n("aab0");function l(e,t,n,i,r,o,s,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}var f=l(c,r,o,!1,null,null,null),h=f.exports,d=h;t["default"]=d},fdef:function(e,t){e.exports="\t\n\v\f\r Β αα ββββββ ββββββ―βγ\u2028\u2029\ufeff"}})}); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["VueTimepicker"]=t():e["VueTimepicker"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),u=n("41a0"),c=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",m="values",y=function(){return this};e.exports=function(e,t,n,g,b,v,x){u(n,t,g);var k,S,w,T=function(e){if(!h&&e in D)return D[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},O=t+" Iterator",_=b==m,C=!1,D=e.prototype,I=D[f]||D[d]||b&&D[b],R=I||T(b),E=b?_?T("entries"):R:void 0,A="Array"==t&&D.entries||I;if(A&&(w=l(A.call(new e)),w!==Object.prototype&&w.next&&(c(w,O,!0),i||"function"==typeof w[f]||s(w,f,y))),_&&I&&I.name!==m&&(C=!0,R=function(){return I.call(this)}),i&&!x||!h&&!C&&D[f]||s(D,f,R),a[t]=R,a[O]=y,b)if(k={values:_?R:T(m),keys:v?R:T(p),entries:E},x)for(S in k)S in D||o(D,S,k[S]);else r(r.P+r.F*(h||C),t,k);return k}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,s,a=String(r(t)),u=i(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0a49":function(e,t,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,f=6==e,h=5==e||f,d=t||a;return function(t,a,p){for(var m,y,g=o(t),b=r(g),v=i(a,p,3),x=s(b.length),k=0,S=n?d(t,x):u?d(t,0):void 0;x>k;k++)if((h||k in b)&&(m=b[k],y=v(m,k,g),e))if(n)S[k]=y;else if(y)switch(e){case 3:return!0;case 5:return m;case 6:return k;case 2:S.push(m)}else if(l)return!1;return f?-1:c||l?l:S}}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),u=n("c69a"),c=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(n){}if(a(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,s=o(t),a=s.length,u=0;while(a>u)i.f(e,n=s[u++],t[n]);return e}},"20d6":function(e,t,n){"use strict";var i=n("5ca1"),r=n("0a49")(6),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),i(i.P+i.F*s,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"214f":function(e,t,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),u=n("520a"),c=a("species"),l=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=a(e),d=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),p=d?!o(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!t}):void 0;if(!d||!p||"replace"===e&&!l||"split"===e&&!f){var m=/./[h],y=n(s,h,""[e],function(e,t,n,i,r){return t.exec===u?d&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),g=y[0],b=y[1];i(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},"23c6":function(e,t,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),u="toString",c=(""+a).split(u);n("8378").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,s)||r(n,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[s]||a.call(this)})},"2aeb":function(e,t,n){var i=n("cb7c"),r=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},u="prototype",c=function(){var e,t=n("230e")("iframe"),i=o.length,r="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+s+"document.F=Object"+r+"/script"+s),e.close(),c=e.F;while(i--)delete c[u][o[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[u]=i(e),n=new a,a[u]=null,n[s]=e):n=c(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=e.exports=function(e){return i[e]||(i[e]=s&&o[e]||(s?o:r)("Symbol."+e))};a.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2f21":function(e,t,n){"use strict";var i=n("79e5");e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},"2fdb":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(e){return!!~r(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"37c8":function(e,t,n){t.f=n("2b4c")},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("2d00"),s=n("37c8"),a=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:s.f(e)})}},"3b2b":function(e,t,n){var i=n("7726"),r=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),u=n("0bfb"),c=i.RegExp,l=c,f=c.prototype,h=/a/g,d=/a/g,p=new c(h)!==h;if(n("9e1e")&&(!p||n("79e5")(function(){return d[n("2b4c")("match")]=!1,c(h)!=h||c(d)==d||"/a/i"!=c(h,"i")}))){c=function(e,t){var n=this instanceof c,i=a(e),o=void 0===t;return!n&&i&&e.constructor===c&&o?e:r(p?new l(i&&!o?e.source:e,t):l((i=e instanceof c)?e.source:e,i&&o?u.call(e):t),n?this:f,c)};for(var m=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},y=s(l),g=0;y.length>g;)m(y[g++]);f.constructor=c,c.prototype=f,n("2aba")(i,"RegExp",c)}n("7a56")("RegExp")},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(s,{next:r(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",function(){return function(e){return r(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,function(e,t,n,a){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var u=i(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;var f,h=[],d=0;while(null!==(f=s(u,c))){var p=String(f[0]);h[d]=p,""===p&&(u.lastIndex=o(c,r(u.lastIndex),l)),d++}return 0===d?null:h}]})},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(r){}}return!0}},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,s=r,a="lastIndex",u=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[a]||0!==t[a]}(),c=void 0!==/()??/.exec("")[1],l=u||c;l&&(s=function(e){var t,n,s,l,f=this;return c&&(n=new RegExp("^"+f.source+"$(?!\\s)",i.call(f))),u&&(t=f[a]),s=r.call(f,e),u&&s&&(f[a]=f.global?s.index+s[0].length:t),c&&s&&s.length>1&&o.call(s[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)}),s}),e.exports=s},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",s=r[o]||(r[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"Β© 2019 Denis Pushkarev (zloirock.ru)"})},"55dd":function(e,t,n){"use strict";var i=n("5ca1"),r=n("d8e8"),o=n("4bf8"),s=n("79e5"),a=[].sort,u=[1,2,3];i(i.P+i.F*(s(function(){u.sort(void 0)})||!s(function(){u.sort(null)})||!n("2f21")(a)),"Array",{sort:function(e){return void 0===e?a.call(o(this)):a.call(o(this),r(e))}})},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),u="prototype",c=function(e,t,n){var l,f,h,d,p=e&c.F,m=e&c.G,y=e&c.S,g=e&c.P,b=e&c.B,v=m?i:y?i[t]||(i[t]={}):(i[t]||{})[u],x=m?r:r[t]||(r[t]={}),k=x[u]||(x[u]={});for(l in m&&(n=t),n)f=!p&&v&&void 0!==v[l],h=(f?v:n)[l],d=b&&f?a(h,i):g&&"function"==typeof h?a(Function.call,h):h,v&&s(v,l,h,e&c.U),x[l]!=h&&o(x,l,d),g&&k[l]!=h&&(k[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],s={};s[e]=t(n),i(i.S+i.F*o(function(){n(1)}),"Object",s)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),o=n("69a8"),s=n("86cc").f,a=0,u=Object.isExtensible||function(){return!0},c=!n("79e5")(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,i,{value:{i:"O"+ ++a,w:{}}})},f=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[i].w},d=function(e){return c&&p.NEED&&u(e)&&!o(e,i)&&l(e),e},p=e.exports={KEY:i,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),u=n("626a"),c=Object.assign;e.exports=!c||n("79e5")(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=i})?function(e,t){var n=a(e),c=arguments.length,l=1,f=o.f,h=s.f;while(c>l){var d,p=u(arguments[l++]),m=f?r(p).concat(f(p)):r(p),y=m.length,g=0;while(y>g)d=m[g++],i&&!h.call(p,d)||(n[d]=p[d])}return n}:c},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");e.exports=function(e){var t=i[e];o&&t&&!t[s]&&r.f(t,s,{configurable:!0,get:function(){return this}})}},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return r(e)}catch(t){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):r(i(e))}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var i=n("86cc").f,r=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in r||n("9e1e")&&i(r,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},8378:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8a81":function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("9e1e"),s=n("5ca1"),a=n("2aba"),u=n("67ab").KEY,c=n("79e5"),l=n("5537"),f=n("7f20"),h=n("ca5a"),d=n("2b4c"),p=n("37c8"),m=n("3a72"),y=n("d4c0"),g=n("1169"),b=n("cb7c"),v=n("d3f4"),x=n("4bf8"),k=n("6821"),S=n("6a99"),w=n("4630"),T=n("2aeb"),O=n("7bbc"),_=n("11e9"),C=n("2621"),D=n("86cc"),I=n("0d58"),R=_.f,E=D.f,A=O.f,L=i.Symbol,N=i.JSON,H=N&&N.stringify,M="prototype",P=d("_hidden"),F=d("toPrimitive"),j={}.propertyIsEnumerable,V=l("symbol-registry"),K=l("symbols"),B=l("op-symbols"),$=Object[M],J="function"==typeof L&&!!C.f,U=i.QObject,W=!U||!U[M]||!U[M].findChild,G=o&&c(function(){return 7!=T(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,n){var i=R($,t);i&&delete $[t],E(e,t,n),i&&e!==$&&E($,t,i)}:E,z=function(e){var t=K[e]=T(L[M]);return t._k=e,t},Y=J&&"symbol"==typeof L.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof L},q=function(e,t,n){return e===$&&q(B,t,n),b(e),t=S(t,!0),b(n),r(K,t)?(n.enumerable?(r(e,P)&&e[P][t]&&(e[P][t]=!1),n=T(n,{enumerable:w(0,!1)})):(r(e,P)||E(e,P,w(1,{})),e[P][t]=!0),G(e,t,n)):E(e,t,n)},X=function(e,t){b(e);var n,i=y(t=k(t)),r=0,o=i.length;while(o>r)q(e,n=i[r++],t[n]);return e},Q=function(e,t){return void 0===t?T(e):X(T(e),t)},Z=function(e){var t=j.call(this,e=S(e,!0));return!(this===$&&r(K,e)&&!r(B,e))&&(!(t||!r(this,e)||!r(K,e)||r(this,P)&&this[P][e])||t)},ee=function(e,t){if(e=k(e),t=S(t,!0),e!==$||!r(K,t)||r(B,t)){var n=R(e,t);return!n||!r(K,t)||r(e,P)&&e[P][t]||(n.enumerable=!0),n}},te=function(e){var t,n=A(k(e)),i=[],o=0;while(n.length>o)r(K,t=n[o++])||t==P||t==u||i.push(t);return i},ne=function(e){var t,n=e===$,i=A(n?B:k(e)),o=[],s=0;while(i.length>s)!r(K,t=i[s++])||n&&!r($,t)||o.push(K[t]);return o};J||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(B,n),r(this,P)&&r(this[P],e)&&(this[P][e]=!1),G(this,e,w(1,n))};return o&&W&&G($,e,{configurable:!0,set:t}),z(e)},a(L[M],"toString",function(){return this._k}),_.f=ee,D.f=q,n("9093").f=O.f=te,n("52a7").f=Z,C.f=ne,o&&!n("2d00")&&a($,"propertyIsEnumerable",Z,!0),p.f=function(e){return z(d(e))}),s(s.G+s.W+s.F*!J,{Symbol:L});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=I(d.store),se=0;oe.length>se;)m(oe[se++]);s(s.S+s.F*!J,"Symbol",{for:function(e){return r(V,e+="")?V[e]:V[e]=L(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in V)if(V[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!J,"Object",{create:Q,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var ae=c(function(){C.f(1)});s(s.S+s.F*ae,"Object",{getOwnPropertySymbols:function(e){return C.f(x(e))}}),N&&s(s.S+s.F*(!J||c(function(){var e=L();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))})),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(v(t)||void 0!==e)&&!Y(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,H.apply(N,i)}}),L[M][F]||n("32e9")(L[M],F,L[M].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),u=n("5f1b"),c=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,function(e,t,n,m){return[function(i,r){var o=e(this),s=void 0==i?void 0:i[t];return void 0!==s?s.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=m(n,e,this,t);if(r.done)return r.value;var f=i(e),h=String(this),d="function"===typeof t;d||(t=String(t));var g=f.global;if(g){var b=f.unicode;f.lastIndex=0}var v=[];while(1){var x=u(f,h);if(null===x)break;if(v.push(x),!g)break;var k=String(x[0]);""===k&&(f.lastIndex=a(h,o(f.lastIndex),b))}for(var S="",w=0,T=0;T<v.length;T++){x=v[T];for(var O=String(x[0]),_=c(l(s(x.index),h.length),0),C=[],D=1;D<x.length;D++)C.push(p(x[D]));var I=x.groups;if(d){var R=[O].concat(C,_,h);void 0!==I&&R.push(I);var E=String(t.apply(void 0,R))}else E=y(O,h,_,C,I,t);_>=w&&(S+=h.slice(w,_)+E,w=_+O.length)}return S+h.slice(w)}];function y(e,t,i,o,s,a){var u=i+e.length,c=o.length,l=d;return void 0!==s&&(s=r(s),l=h),n.call(a,l,function(n,r){var a;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(u);case"<":a=s[r.slice(1,-1)];break;default:var l=+r;if(0===l)return n;if(l>c){var h=f(l/10);return 0===h?n:h<=c?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}a=o[l-1]}return void 0===a?"":a})}})},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",u="βΒ ",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(e,t,n){var r={},a=o(function(){return!!s[e]()||u[e]()!=u}),c=r[e]=a?t(h):s[e];n&&(r[n]=c),i(i.P+i.F*a,"String",r)},h=f.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},aab0:function(e,t,n){"use strict";var i=n("bfaf"),r=n.n(i);r.a},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),u=n("84f2"),c=n("2b4c"),l=c("iterator"),f=c("toStringTag"),h=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(d),m=0;m<p.length;m++){var y,g=p[m],b=d[g],v=s[g],x=v&&v.prototype;if(x&&(x[l]||a(x,l,h),x[f]||a(x,f,g),u[g]=h,b))for(y in i)x[y]||o(x,y,i[y],!0)}},b0c5:function(e,t,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bfaf:function(e,t,n){},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,s){var a,u=i(t),c=r(u.length),l=o(s,c);if(e&&n!=n){while(c>l)if(a=u[l++],a!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),u=n("79e5"),c=n("9093").f,l=n("11e9").f,f=n("86cc").f,h=n("aa77").trim,d="Number",p=i[d],m=p,y=p.prototype,g=o(n("2aeb")(y))==d,b="trim"in String.prototype,v=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){t=b?t.trim():h(t,3);var n,i,r,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var s,u=t.slice(2),c=0,l=u.length;c<l;c++)if(s=u.charCodeAt(c),s<48||s>r)return NaN;return parseInt(u,i)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?u(function(){y.valueOf.call(n)}):o(n)!=d)?s(new m(v(t)),n,p):v(t)};for(var x,k=n("9e1e")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;k.length>S;S++)r(m,x=k[S])&&!r(p,x)&&f(p,x,l(m,x));p.prototype=y,y.constructor=p,n("2aba")(i,d,p)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},cd1c:function(e,t,n){var i=n("e853");e.exports=function(e,t){return new(i(e))(t)}},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=s&&i(a,n)&&c.push(n);while(t.length>u)i(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),o=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var s,a=n(e),u=o.f,c=0;while(a.length>c)u.call(e,s=a[c++])&&t.push(s)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e853:function(e,t,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"vue__time-picker time-picker",style:e.inputWidthStyle},[n("input",{staticClass:"display-time",class:[e.inputClass,{disabled:e.disabled}],style:e.inputWidthStyle,attrs:{type:"text",id:e.id,name:e.name,placeholder:e.placeholder||e.formatString,tabindex:e.disabled?null:e.tabindex,disabled:e.disabled,readonly:""},domProps:{value:e.inputIsEmpty?null:e.customDisplayTime},on:{focus:e.onFocus,blur:e.debounceBlur,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.escBlur(t)}}}),!e.showDropdown&&e.showClearBtn?n("span",{staticClass:"clear-btn",on:{click:e.clearTime}},[e._v("Γ")]):e._e(),e.showDropdown?n("div",{staticClass:"time-picker-overlay",on:{click:e.toggleDropdown}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDropdown,expression:"showDropdown"}],staticClass:"dropdown",style:e.inputWidthStyle,on:{mouseup:e.keepFocusing,click:function(e){e.stopPropagation()}}},[n("div",{staticClass:"select-list",style:e.inputWidthStyle},[e.advancedKeyboard?e._e():[n("ul",{staticClass:"hours"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.hourLabelText)}}),e._l(e.hours,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledHour(t)?n("li",{key:i,class:{active:e.hour===t},attrs:{disabled:e.isDisabledHour(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("hour",t)}}}):e._e()]})],2),n("ul",{staticClass:"minutes"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.minuteLabelText)}}),e._l(e.minutes,function(t,i){return[!e.opts.hideDisabledMinutes||e.opts.hideDisabledMinutes&&!e.isDisabledMinute(t)?n("li",{key:i,class:{active:e.minute===t},attrs:{disabled:e.isDisabledMinute(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("minute",t)}}}):e._e()]})],2),e.secondType?n("ul",{staticClass:"seconds"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.secondLabelText)}}),e._l(e.seconds,function(t,i){return[!e.opts.hideDisabledSeconds||e.opts.hideDisabledSeconds&&!e.isDisabledSecond(t)?n("li",{key:i,class:{active:e.second===t},attrs:{disabled:e.isDisabledSecond(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("second",t)}}}):e._e()]})],2):e._e(),e.apmType?n("ul",{staticClass:"apms"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.apmLabelText)}}),e._l(e.apms,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledApm(t)?n("li",{key:i,class:{active:e.apm===t},attrs:{disabled:e.isDisabledApm(t)},domProps:{textContent:e._s(e.apmDisplayText(t))},on:{click:function(n){return e.select("apm",t)}}}):e._e()]})],2):e._e()],e.advancedKeyboard?[n("ul",{staticClass:"hours"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.hourLabelText)}}),e._l(e.hours,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledHour(t)?n("li",{key:i,class:{active:e.hour===t},attrs:{tabindex:e.isDisabledHour(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledHour(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("hour",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("hour",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("hour",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("hours",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("hours",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("hours"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("hours"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2),n("ul",{staticClass:"minutes"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.minuteLabelText)}}),e._l(e.minutes,function(t,i){return[!e.opts.hideDisabledMinutes||e.opts.hideDisabledMinutes&&!e.isDisabledMinute(t)?n("li",{key:i,class:{active:e.minute===t},attrs:{tabindex:e.isDisabledMinute(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledMinute(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("minute",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("minute",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("minute",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("minutes",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("minutes",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("minutes"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("minutes"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2),e.secondType?n("ul",{staticClass:"seconds"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.secondLabelText)}}),e._l(e.seconds,function(t,i){return[!e.opts.hideDisabledSeconds||e.opts.hideDisabledSeconds&&!e.isDisabledSecond(t)?n("li",{key:i,class:{active:e.second===t},attrs:{tabindex:e.isDisabledSecond(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledSecond(t)},domProps:{textContent:e._s(t)},on:{click:function(n){return e.select("second",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("second",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("second",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("seconds",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("seconds",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("seconds"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("seconds"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2):e._e(),e.apmType?n("ul",{staticClass:"apms"},[n("li",{staticClass:"hint",domProps:{textContent:e._s(e.apmLabelText)}}),e._l(e.apms,function(t,i){return[!e.opts.hideDisabledHours||e.opts.hideDisabledHours&&!e.isDisabledApm(t)?n("li",{key:i,class:{active:e.apm===t},attrs:{tabindex:e.isDisabledApm(t)?null:e.tabindex,"data-key":t,disabled:e.isDisabledApm(t)},domProps:{textContent:e._s(e.apmDisplayText(t))},on:{click:function(n){return e.select("apm",t)},keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:(n.preventDefault(),e.select("apm",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:(n.preventDefault(),e.select("apm",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.prevItem("apms",t))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.nextItem("apms",t))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:(t.preventDefault(),e.toLeftColumn("apms"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:(t.preventDefault(),e.toRightColumn("apms"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.debounceBlur(t)}],blur:e.debounceBlur,focus:e.keepFocusing}}):e._e()]})],2):e._e()]:e._e()],2)])])},o=[],s=(n("7f7f"),n("2fdb"),n("20d6"),n("ac4d"),n("8a81"),n("4917"),n("cadf"),n("456d"),n("55dd"),n("6762"),n("ac6a"),n("3b2b"),n("a481"),n("f751"),n("c5f6"),{HOUR_TOKENS:["HH","H","hh","h","kk","k"],MINUTE_TOKENS:["mm","m"],SECOND_TOKENS:["ss","s"],APM_TOKENS:["A","a"]}),a={format:"HH:mm",minuteInterval:1,secondInterval:1,hourRange:null,minuteRange:null,secondRange:null,hideDisabledHours:!1,hideDisabledMinutes:!1,hideDisabledSeconds:!1,hideDisabledItems:!1},u={name:"VueTimepicker",props:{value:{type:[Object,String]},format:{type:String},minuteInterval:{type:[Number,String]},secondInterval:{type:[Number,String]},hourRange:{type:Array},minuteRange:{type:Array},secondRange:{type:Array},hideDisabledHours:{type:Boolean,default:!1},hideDisabledMinutes:{type:Boolean,default:!1},hideDisabledSeconds:{type:Boolean,default:!1},hideDisabledItems:{type:Boolean,default:!1},hideClearButton:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},closeOnComplete:{type:Boolean,default:!1},id:{type:String},name:{type:String},inputClass:{type:String},placeholder:{type:String},tabindex:{type:[Number,String],default:0},inputWidth:{type:String},hourLabel:{type:String},minuteLabel:{type:String},secondLabel:{type:String},apmLabel:{type:String},amText:{type:String},pmText:{type:String},blurDelay:{type:[Number,String]},advancedKeyboard:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},debugMode:{type:Boolean,default:!1}},data:function(){return{timeValue:{},hours:[],minutes:[],seconds:[],apms:[],showDropdown:!1,isFocusing:!1,debounceTimer:void 0,hourType:"HH",minuteType:"mm",secondType:"",apmType:"",hour:"",minute:"",second:"",apm:"",fullValues:void 0,bakDisplayTime:void 0}},computed:{opts:function(){var e=Object.assign({},a);return this.format&&this.format.length&&(e.format=String(this.format)),this.isNumber(this.minuteInterval)&&(e.minuteInterval=+this.minuteInterval),(!e.minuteInterval||e.minuteInterval<1||e.minuteInterval>60)&&(0===e.minuteInterval?e.minuteInterval=60:(this.debugMode&&(e.minuteInterval>60?this.debugLog('"minute-interval" should be less than 60. Current value is '.concat(this.minuteInterval)):e.minuteInterval<1&&this.debugLog('"minute-interval" should be NO less than 1. Current value is '.concat(this.minuteInterval))),e.minuteInterval=1)),this.isNumber(this.secondInterval)&&(e.secondInterval=+this.secondInterval),(!e.secondInterval||e.secondInterval<1||e.secondInterval>60)&&(0===e.secondInterval?e.secondInterval=60:(this.debugMode&&(e.secondInterval>60?this.debugLog('"second-interval" should be less than 60. Current value is '.concat(this.secondInterval)):e.secondInterval<1&&this.debugLog('"second-interval" should be NO less than 1. Current value is '.concat(this.secondInterval))),e.secondInterval=1)),this.hourRange&&Array.isArray(this.hourRange)&&(e.hourRange=JSON.parse(JSON.stringify(this.hourRange)),!this.hourRange.length&&this.debugMode&&this.debugLog('The "hour-range" array is empty (length === 0)')),this.minuteRange&&Array.isArray(this.minuteRange)&&(e.minuteRange=JSON.parse(JSON.stringify(this.minuteRange)),!this.minuteRange.length&&this.debugMode&&this.debugLog('The "minute-range" array is empty (length === 0)')),this.secondRange&&Array.isArray(this.secondRange)&&(e.secondRange=JSON.parse(JSON.stringify(this.secondRange)),!this.secondRange.length&&this.debugMode&&this.debugLog('The "second-range" array is empty (length === 0)')),this.hideDisabledItems&&(e.hideDisabledItems=!0),(this.hideDisabledHours||this.hideDisabledItems)&&(e.hideDisabledHours=!0),(this.hideDisabledMinutes||this.hideDisabledItems)&&(e.hideDisabledMinutes=!0),(this.hideDisabledSeconds||this.hideDisabledItems)&&(e.hideDisabledSeconds=!0),e},useStringValue:function(){return"string"===typeof this.value},formatString:function(){return this.opts.format||a.format},displayTime:function(){var e=String(this.formatString);return this.hour&&(e=e.replace(new RegExp(this.hourType,"g"),this.hour)),this.minute&&(e=e.replace(new RegExp(this.minuteType,"g"),this.minute)),this.second&&this.secondType&&(e=e.replace(new RegExp(this.secondType,"g"),this.second)),this.apm&&this.apmType&&(e=e.replace(new RegExp(this.apmType,"g"),this.apm)),e},customDisplayTime:function(){return this.amText||this.pmText?this.displayTime.replace(new RegExp(this.apm,"g"),this.apmDisplayText(this.apm)):this.displayTime},inputIsEmpty:function(){return this.formatString===this.displayTime},allValueSelected:function(){return!!(this.hour&&this.hour.length&&this.minute&&this.minute.length&&(!this.secondType||this.second&&this.second.length)&&(!this.apmType||this.apm&&this.apm.length))},showClearBtn:function(){return!this.hideClearButton&&!this.disabled&&!this.inputIsEmpty},baseOn12Hours:function(){return"h"===this.hourType||"hh"===this.hourType},hourRangeIn24HrFormat:function(){var e=this;if(!this.opts.hourRange)return!1;if(!this.opts.hourRange.length)return[];var t=[];return this.opts.hourRange.forEach(function(n){if(n instanceof Array){n.length>2&&e.debugMode&&e.debugLog('Nested array within "hour-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(n)," will be taken into account."));var i=n[0],r=n[1]||n[0];e.is12hRange(i)&&(i=e.translate12hRange(i)),e.is12hRange(r)&&(r=e.translate12hRange(r));for(var o=+i;o<=+r;o++)o<0||o>24||t.includes(o)||t.push(o)}else{if(n=e.is12hRange(n)?e.translate12hRange(n):+n,n<0||n>24)return;t.includes(n)||t.push(n)}}),t.sort(function(e,t){return e-t}),t},restrictedHourRange:function(){if(!this.hourRangeIn24HrFormat)return!1;if(this.baseOn12Hours){var e=this.hourRangeIn24HrFormat.map(function(e){return 12===e?"12p":24===e||0===e?"12a":e>12?"".concat(e%12,"p"):"".concat(e,"a")});return e}return this.hourRangeIn24HrFormat},has:function(){var e={am:!0,pm:!0};if(this.hourRangeIn24HrFormat&&this.hourRangeIn24HrFormat.length){var t=[].concat([],this.hourRangeIn24HrFormat);e.am=t.some(this.hasAm),e.pm=t.some(this.hasPm)}return e},minuteRangeList:function(){var e=this;if(!this.opts.minuteRange)return!1;if(!this.opts.minuteRange.length)return[];var t,n=[];if(this.opts.minuteRange.forEach(function(i){if(i instanceof Array){i.length>2&&e.debugMode&&e.debugLog('Nested array within "minute-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(i)," will be taken into account."));for(var r=i[0],o=i[1]||i[0],s=+r;s<=+o;s++)s<0||s>59||(t=e.formatValue(e.minuteType,s),n.includes(t)||n.push(t))}else{if(i<0||i>59)return;t=e.formatValue(e.minuteType,i),n.includes(t)||n.push(t)}}),n.sort(function(e,t){return e-t}),this.debugMode){var i=(this.minutes||[]).filter(function(e){return n.includes(e)});i&&i.length||this.debugLog('The minute list is empty due to the "minute-range" config\nminute-range: '.concat(JSON.stringify(this.minuteRange),"\nminute-interval: ").concat(this.opts.minuteInterval))}return n},secondRangeList:function(){var e=this;if(!this.opts.secondRange)return!1;if(!this.opts.secondRange.length)return[];var t,n=[];if(this.opts.secondRange.forEach(function(i){if(i instanceof Array){i.length>2&&e.debugMode&&e.debugLog('Nested array within "second-range" must contain no more than two items. Only the first two items of '.concat(JSON.stringify(i)," will be taken into account."));for(var r=i[0],o=i[1]||i[0],s=+r;s<=+o;s++)s<0||s>59||(t=e.formatValue(e.secondType,s),n.includes(t)||n.push(t))}else{if(i<0||i>59)return;t=e.formatValue(e.secondType,i),n.includes(t)||n.push(t)}}),n.sort(function(e,t){return e-t}),this.debugMode){var i=(this.seconds||[]).filter(function(e){return n.includes(e)});i&&i.length||this.debugLog('The second list is empty due to the "second-range" config\nsecond-range: '.concat(JSON.stringify(this.secondRange),"\nsecond-interval: ").concat(this.opts.secondInterval))}return n},hourLabelText:function(){return this.hourLabel||this.hourType},minuteLabelText:function(){return this.minuteLabel||this.minuteType},secondLabelText:function(){return this.secondLabel||this.secondType},apmLabelText:function(){return this.apmLabel||this.apmType},inputWidthStyle:function(){if(this.inputWidth&&this.inputWidth.length)return{width:this.inputWidth}}},watch:{"opts.format":function(e){this.renderFormat(e)},"opts.minuteInterval":function(e){this.renderList("minute",e)},"opts.secondInterval":function(e){this.renderList("second",e)},value:{deep:!0,handler:function(){this.readValues()}},displayTime:function(){this.fillValues()},disabled:function(e){e&&this.showDropdown&&(this.showDropdown=!1)}},methods:{formatValue:function(e,t){switch(e){case"H":case"m":case"s":return String(t);case"HH":case"mm":case"ss":return t<10?"0".concat(t):String(t);case"h":return 0===t?"12":String(t);case"k":return String(t+1);case"hh":return 0===t?"12":t<10?"0".concat(t):String(t);case"kk":return t+1<10?"0".concat(t+1):String(t+1);default:return""}},checkAcceptingType:function(e,t,n){if(!e||!t||!t.length)return"";for(var i=0;i<e.length;i++)if(t.indexOf(e[i])>-1)return e[i];return n||""},renderFormat:function(e){var t=this;e=e||this.opts.format||a.format,this.hourType=this.checkAcceptingType(s.HOUR_TOKENS,e,"HH"),this.minuteType=this.checkAcceptingType(s.MINUTE_TOKENS,e,"mm"),this.secondType=this.checkAcceptingType(s.SECOND_TOKENS,e),this.apmType=this.checkAcceptingType(s.APM_TOKENS,e),this.renderHoursList(),this.renderList("minute"),this.secondType&&this.renderList("second"),this.apmType&&this.renderApmList(),this.$nextTick(function(){t.readValues()})},renderHoursList:function(){for(var e=this.baseOn12Hours?12:24,t=[],n=0;n<e;n++)t.push(this.formatValue(this.hourType,n));this.hours=t},renderList:function(e,t){if(e&&("minute"===e||"second"===e)){t="minute"===e?t||this.opts.minuteInterval||a.minuteInterval:t||this.opts.secondInterval||a.secondInterval;for(var n=[],i=0;i<60;i+=t)"minute"===e?n.push(this.formatValue(this.minuteType,i)):n.push(this.formatValue(this.secondType,i));"minute"===e?this.minutes=n:this.seconds=n}},renderApmList:function(){var e=[];this.apmType&&(e="A"===this.apmType?["AM","PM"]:["am","pm"]),this.apms=e},readValues:function(){this.useStringValue?(this.debugMode&&this.debugLog('Received a string value: "'.concat(this.value,'"')),this.readStringValues(this.value)):(this.debugMode&&this.debugLog('Received an object value: "'.concat(JSON.stringify(this.value||{}),'"')),this.readObjectValues(this.value))},readObjectValues:function(e){var t=this,n=JSON.parse(JSON.stringify(e||{})),i=Object.keys(n);0!==i.length?(["hour","minute","second","apm"].forEach(function(e){var r=t["".concat(e,"Type")];if(i.indexOf(r)>-1){var o=t.sanitizedValue(r,n[r]);t[e]=o,n[r]=o}else t[e]=""}),this.timeValue=n):this.addFallbackValues()},readStringValues:function(e){var t=this;if(e&&e.length){var n=String(this.formatString),i="".concat(this.hourType,"|").concat(this.minuteType);this.secondType&&(i+="|".concat(this.secondType)),this.apmType&&(i+="|".concat(this.apmType));var r="[(".concat(i,")]+"),o="[^(".concat(i,")]+"),s=Boolean(!n.matchAll||"function"!==typeof n.matchAll),a=s?this.matchAllPolyfill(n,r):n.matchAll(new RegExp(r,"g")),u=s?this.matchAllPolyfill(n,o):n.matchAll(new RegExp(o,"g")),c=[],l=[],f=!0,h=!1,d=void 0;try{for(var p,m=a[Symbol.iterator]();!(f=(p=m.next()).done);f=!0){var y=p.value,g={index:y.index,token:y[0],isValueToken:!0};c.push(g),l.push(g)}}catch(R){h=!0,d=R}finally{try{f||null==m.return||m.return()}finally{if(h)throw d}}var b=!0,v=!1,x=void 0;try{for(var k,S=u[Symbol.iterator]();!(b=(k=S.next()).done);b=!0){var w=k.value;c.push({index:w.index,token:w[0]})}}catch(R){v=!0,x=R}finally{try{b||null==S.return||S.return()}finally{if(v)throw x}}c.sort(function(e,t){return e.index<t.index?-1:1});var T="";c.forEach(function(e){if(e.isValueToken){var n=t.getTokenRegex(e.token)||"";T+=n}else{var i=e.token.replace(/\\{0}(\*|\?|\.|\+)/g,"\\$1");T+="(?:".concat(i,")")}});var O=new RegExp(T);if(O.test(e)){var _=e.match(new RegExp(T)),C=_.slice(1,l.length+1),D={};if(C.forEach(function(e,n){if(l[n]){var i=l[n].token;D[i]=t.setValueFromString(e,i)}}),this.timeValue=D,this.debugMode){var I=l.map(function(e){return e&&e.token});this.debugLog("Successfully parsed values ".concat(JSON.stringify(C),"\nfor ").concat(JSON.stringify(I),"\nin format pattern '").concat(this.formatString,"'"))}}else this.debugMode&&this.debugLog('The input string in "v-model" does NOT match the "format" pattern\nformat: '.concat(this.formatString,"\nv-model: ").concat(this.value))}else this.addFallbackValues()},matchAllPolyfill:function(e,t){var n=e.match(new RegExp(t,"g")),i=[],r=[];return n&&n.length&&n.forEach(function(t){var n,o=r.findIndex(function(e){return e.str===t});if(o>=0)r[o]&&r[o].regex&&(n=r[o].regex.exec(e).index);else{var s=new RegExp(t,"g");n=s.exec(e).index,r.push({str:String(t),regex:s})}i.push({0:String(t),index:n})}),i},addFallbackValues:function(){var e={};e[this.hourType]="",e[this.minuteType]="",this.secondType&&(e[this.secondType]=""),this.apmType&&(e[this.apmType]=""),this.timeValue=e},setValueFromString:function(e,t){if(!t||!e)return"";var n="";switch(t){case"".concat(this.hourType):n=e!==this.hourType?e:"",this.hour=n;break;case"".concat(this.minuteType):n=e!==this.minuteType?e:"",this.minute=n;break;case"".concat(this.secondType):n=e!==this.secondType?e:"",this.second=n;break;case"".concat(this.apmType):n=e!==this.apmType?e:"",this.apm=n;break}return n},fillValues:function(e){var t=this,n={},i=this.hour,r=this.hourType,o=i||0===i?Number(i):"",a=!(!this.baseOn12Hours||!this.apm)&&String(this.apm).toLowerCase();if(s.HOUR_TOKENS.forEach(function(e){var s,u;if(e!==r)switch(e){case"H":case"HH":if(!String(o).length)return void(n[e]="");s=t.baseOn12Hours?"pm"===a?o<12?o+12:o:o%12:o%24,n[e]="HH"===e&&s<10?"0".concat(s):String(s);break;case"k":case"kk":if(!String(o).length)return void(n[e]="");s=t.baseOn12Hours?"pm"===a?o<12?o+12:o:12===o?24:o:0===o?24:o,n[e]="kk"===e&&s<10?"0".concat(s):String(s);break;case"h":case"hh":if(a)s=o,u=a||"am";else{if(!String(o).length)return n[e]="",n.a="",void(n.A="");o>11?(u="pm",s=12===o?12:o%12):(u=t.baseOn12Hours?"":"am",s=o%12===0?12:o)}n[e]="hh"===e&&s<10?"0".concat(s):String(s),n.a=u,n.A=u.toUpperCase();break}else n[e]=i}),this.minute||0===this.minute){var u=Number(this.minute);n.m=String(u),n.mm=u<10?"0".concat(u):String(u)}else n.m="",n.mm="";if(this.second||0===this.second){var c=Number(this.second);n.s=String(c),n.ss=c<10?"0".concat(c):String(c)}else n.s="",n.ss="";this.fullValues=n,this.lazy&&!e||this.emitTimeValue(),this.closeOnComplete&&this.allValueSelected&&this.showDropdown&&this.toggleDropdown()},emitTimeValue:function(){if(this.fullValues)if(this.lazy&&this.bakDisplayTime===this.displayTime)this.debugMode&&this.debugLog("The value does not change on `lazy` mode. Skip the emitting `input` and `change` event.");else{var e=JSON.parse(JSON.stringify(this.fullValues)),t=JSON.parse(JSON.stringify(this.timeValue||{})),n={};Object.keys(t).forEach(function(t){n[t]=e[t]||""}),this.useStringValue?this.$emit("input",this.inputIsEmpty?"":String(this.displayTime)):this.$emit("input",JSON.parse(JSON.stringify(n))),this.$emit("change",{data:e,displayTime:this.inputIsEmpty?"":String(this.displayTime)})}},translate12hRange:function(e){var t=e.match(/^(\d{1,2})(a|p|A|P)$/);return 12===+t[1]?+t[1]+("p"===t[2].toLowerCase()?0:12):+t[1]+("p"===t[2].toLowerCase()?12:0)},hasAm:function(e){return e<12||24===e},hasPm:function(e){return e>=12&&e<24},doubleCheckHourValue:function(){if(this.hour&&this.apm&&this.restrictedHourRange&&this.hourRangeIn24HrFormat){var e=this.translate12hRange("".concat(this.hour).concat(this.apm.substr(0,1)));this.hourRangeIn24HrFormat.includes(e)||(this.hour="",this.debugMode&&this.debugLog('After switching AM/PM, the hour value is no longer in the "hour-range". Reset it to empty now.'))}},isDisabledHour:function(e){if(!this.restrictedHourRange)return!1;if(this.baseOn12Hours){if(this.apm&&this.apm.length){var t="am"===this.apm.toLowerCase()?"a":"p";return!this.restrictedHourRange.includes("".concat(+e).concat(t))}return!1}return("HH"!==this.hourType&&"H"!==this.hourType||0!==+e||!this.restrictedHourRange.includes(24))&&!this.restrictedHourRange.includes(+e)},isDisabledMinute:function(e){return!!this.minuteRangeList&&!this.minuteRangeList.includes(e)},isDisabledSecond:function(e){return!!this.secondRangeList&&!this.secondRangeList.includes(e)},isDisabledApm:function(e){return!!this.restrictedHourRange&&!this.has[(e||"").toLowerCase()]},forceApmSelection:function(){this.apm&&this.apm.length||(this.has.am?this.apm="A"===this.apmType?"AM":"am":this.has.pm&&(this.apm="A"===this.apmType?"PM":"pm"))},emptyApmSelection:function(){""===this.hour&&""===this.minute&&""===this.second&&(this.apm="")},apmDisplayText:function(e){return this.amText&&"am"===(e||"").toLowerCase()?this.amText:this.pmText&&"pm"===(e||"").toLowerCase()?this.pmText:e},toggleDropdown:function(){this.disabled||(this.showDropdown=!this.showDropdown,this.showDropdown?(this.$emit("open"),this.isFocusing=!0,this.lazy&&(this.bakDisplayTime=String(this.displayTime||""))):(this.$emit("close"),this.isFocusing=!1,this.lazy&&(this.fillValues(!0),this.bakDisplayTime=void 0)),this.restrictedHourRange&&this.baseOn12Hours&&(this.showDropdown?this.forceApmSelection():this.emptyApmSelection()))},select:function(e,t){if("hour"===e){if(this.isDisabledHour(t))return;this.hour=t}else if("minute"===e){if(this.isDisabledMinute(t))return;this.minute=t}else if("second"===e){if(this.isDisabledSecond(t))return;this.second=t}else if("apm"===e){if(this.isDisabledApm(t))return;this.apm=t,this.restrictedHourRange&&this.doubleCheckHourValue()}},clearTime:function(){this.disabled||(this.hour="",this.minute="",this.second="",this.apm="",this.lazy&&this.fillValues(!0))},onFocus:function(){this.disabled||(this.isFocusing||(this.isFocusing=!0),this.showDropdown||this.toggleDropdown())},escBlur:function(){if(!this.disabled){this.isFocusing=!1;var e=this.$el.querySelectorAll("input.display-time")[0];e&&e.blur()}},debounceBlur:function(){var e=this;if(!this.disabled){this.isFocusing=!1;var t=+(this.blurDelay||0)||200;window.clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(function(){window.clearTimeout(e.debounceTimer),e.onBlur()},t)}},onBlur:function(){this.disabled||this.isFocusing||this.showDropdown&&this.toggleDropdown()},keepFocusing:function(){this.isFocusing=!0},validItemsInCol:function(e){return this.$el.querySelectorAll("ul.".concat(e," > li:not(.hint):not([disabled])"))},getSideItems:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.validItemsInCol(e),r=Array.prototype.findIndex.call(i,function(e){return e.getAttribute("data-key")===t});if(n&&0===r)this.debugMode&&this.debugLog('"'.concat(t,'" is the first valid item in "').concat(e,'" list already'));else{if(n||r!==i.length-1)return n?i[r-1]:i[r+1];this.debugMode&&this.debugLog('"'.concat(t,'" is the last valid item in "').concat(e,'" list already'))}},prevItem:function(e,t){var n=this.getSideItems(e,t,!0);n&&n.focus()},nextItem:function(e,t){var n=this.getSideItems(e,t,!1);n&&n.focus()},getSideColumnClass:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n)switch(e){case"hours":t=-1;break;case"minutes":t="hours";break;case"seconds":t="minutes";break;case"apms":t=this.secondType?"seconds":"minutes";break}else switch(e){case"hours":t="minutes";break;case"minutes":t=this.secondType?"seconds":this.apmType?"apms":1;break;case"seconds":t=this.apmType?"apms":1;break;case"apms":t=1;break}if(-1!==t){if(1!==t)return t;this.debugMode&&this.debugLog("You're in the rightmost list already")}else this.debugMode&&this.debugLog("You're in the leftmost list already")},getFirstItemInSideColumn:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getSideColumnClass(e,t);if(n){var i=this.validItemsInCol(n);return i&&i[0]?i[0]:void 0}},toLeftColumn:function(e){var t=this.getFirstItemInSideColumn(e,!0);t&&t.focus()},toRightColumn:function(e){var t=this.getFirstItemInSideColumn(e,!1);t&&t.focus()},is12hRange:function(e){return/^\d{1,2}(a|p|A|P)$/.test(e)},isNumber:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getTokenRegex:function(e){switch(e){case"HH":return"([01][0-9]|2[0-3]|H{2})";case"H":return"([0-9]{1}|1[0-9]|2[0-3]|H{1})";case"hh":return"(0[1-9]|1[0-2]|h{2})";case"h":return"([1-9]{1}|1[0-2]|h{1})";case"kk":return"(0[1-9]|1[0-9]|2[0-4]|k{2})";case"k":return"([1-9]{1}|1[0-9]|2[0-4]|k{1})";case"mm":return"([0-5][0-9]|m{2})";case"ss":return"([0-5][0-9]|s{2})";case"m":return"([0-9]{1}|[1-5][0-9]|m{1})";case"s":return"([0-9]{1}|[1-5][0-9]|s{1})";case"A":return"(AM|PM|A{1})";case"a":return"(am|pm|a{1})";default:return""}},isEmptyValue:function(e,t){return!t||!t.length||t&&t===e},isValidValue:function(e,t){if(!e||this.isEmptyValue(e,t))return!1;var n=this.getTokenRegex(e);return!(!n||!n.length)&&new RegExp("^".concat(n,"$")).test(t)},sanitizedValue:function(e,t){return this.isValidValue(e,t)?t:""},debugLog:function(e){if(e&&e.length){var t="";this.id&&(t+="#".concat(this.id)),this.name&&(t+="[name=".concat(this.name,"]")),this.inputClass&&(t+=".".concat(this.inputClass));var n="DEBUG: ".concat(e).concat(t?"\n\t(".concat(t,")"):"");window.console.debug&&"function"===typeof window.console.debug?window.console.debug(n):window.console.log(n)}}},mounted:function(){window.clearTimeout(this.debounceTimer),this.renderFormat()},beforeDestroy:function(){window.clearTimeout(this.debounceTimer)}},c=u;n("aab0");function l(e,t,n,i,r,o,s,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}var f=l(c,r,o,!1,null,null,null),h=f.exports,d=h;t["default"]=d},fdef:function(e,t){e.exports="\t\n\v\f\r Β αα ββββββ ββββββ―βγ\u2028\u2029\ufeff"}})}); | ||
//# sourceMappingURL=VueTimepicker.umd.min.js.map |
{ | ||
"name": "vue2-timepicker", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A dropdown time picker (hour|minute|second) for Vue 2.x, with flexible time format support", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -499,3 +499,15 @@ # Vue2 Timepicker | ||
### Lazy Event Mode | ||
```html | ||
<vue-timepicker lazy></vue-timepicker> | ||
``` | ||
When `lazy` event mode is toggled on, only an actual user behavior can trigger the `input` and `change` events. Which are: | ||
- The user opened the dropdown and picked a new value | ||
- The user clicked the ("x") clear button | ||
In other words, on `lazy` mode, Timepicker won't emit `input` and `change` events on mounted, nor after the value got modified programmatically. | ||
### Enable Debug Mode | ||
@@ -556,2 +568,3 @@ | ||
**blur-delay** | _Number_ | no | 200 | ||
**lazy** | _Boolean_ | no | false | ||
**debug-mode** | _Boolean_ | no | false | ||
@@ -558,0 +571,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
999533
7518
711