text: !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["time-picker"]=e():(t.cube=t.cube||{},t.cube["time-picker"]=e())}("undefined"!=typeof self?self:this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s=380)}([function(t,e){var i=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=i)},function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(t,e,i){var n=i(21)("wks"),o=i(17),s=i(1).Symbol,r="function"==typeof s;(t.exports=function(t){return n[t]||(n[t]=r&&s[t]||(r?s:o)("Symbol."+t))}).store=n},function(t,e,i){t.exports=!i(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(11),o=i(29),s=i(24),r=Object.defineProperty;e.f=i(3)?Object.defineProperty:function(t,e,i){if(n(t),e=s(e,!0),n(i),o)try{return r(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e){t.exports=function(t,e,i,n,o){var s,r=t=t||{},a=typeof t.default;"object"!==a&&"function"!==a||(s=t,r=t.default);var l="function"==typeof r?r.options:r;e&&(l.render=e.render,l.staticRenderFns=e.staticRenderFns),n&&(l._scopeId=n);var h;if(o?(h=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=h):i&&(h=i),h){var c=l.functional,u=c?l.render:l.beforeCreate;c?l.render=function(t,e){return h.call(e),u(t,e)}:l.beforeCreate=u?[].concat(u,h):[h]}return{esModule:s,exports:r,options:l}}},function(t,e,i){var n=i(4),o=i(14);t.exports=i(3)?function(t,e,i){return n.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},function(t,e,i){var n=i(33),o=i(18);t.exports=function(t){return n(o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,i){var n=i(10);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},function(t,e,i){var n=i(1),o=i(0),s=i(35),r=i(7),a=i(5),l=function(t,e,i){var h,c,u,p=t&l.F,f=t&l.G,d=t&l.S,m=t&l.P,v=t&l.B,g=t&l.W,y=f?o:o[e]||(o[e]={}),x=y.prototype,b=f?n:d?n[e]:(n[e]||{}).prototype;f&&(i=e);for(h in i)(c=!p&&b&&void 0!==b[h])&&a(y,h)||(u=c?b[h]:i[h],y[h]=f&&"function"!=typeof b[h]?i[h]:v&&c?s(u,n):g&&b[h]==u?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(u):m&&"function"==typeof u?s(Function.call,u):u,m&&((y.virtual||(y.virtual={}))[h]=u,t&l.R&&x&&!x[h]&&r(x,h,u)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){t.exports={}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,i){var n=i(30),o=i(22);t.exports=Object.keys||function(t){return n(t,o)}},function(t,e){t.exports=!0},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(21)("keys"),o=i(17);t.exports=function(t){return n[t]||(n[t]=o(t))}},function(t,e,i){var n=i(0),o=i(1),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:i(16)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,i){var n=i(10);t.exports=function(t,e){if(!n(t))return t;var i,o;if(e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!n(o=i.call(t)))return o;if(!e&&"function"==typeof(i=t.toString)&&!n(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,i){var n=i(18);t.exports=function(t){return Object(n(t))}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var n=i(4).f,o=i(5),s=i(2)("toStringTag");t.exports=function(t,e,i){t&&!o(t=i?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},function(t,e,i){var n=i(10),o=i(1).document,s=n(o)&&n(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},function(t,e,i){t.exports=!i(3)&&!i(9)(function(){return 7!=Object.defineProperty(i(28)("div"),"a",{get:function(){return 7}}).a})},function(t,e,i){var n=i(5),o=i(8),s=i(45)(!1),r=i(20)("IE_PROTO");t.exports=function(t,e){var i,a=o(t),l=0,h=[];for(i in a)i!=r&&n(a,i)&&h.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~s(h,i)||h.push(i));return h}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.warn=function(t,e){},t.tip=function(t,e){}})},function(t,e,i){var n=i(26);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,i){"use strict";var n=i(16),o=i(12),s=i(39),r=i(7),a=i(13),l=i(51),h=i(27),c=i(54),u=i(2)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,i,d,m,v,g){l(i,e,d);var y,x,b,_=function(t){if(!p&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},w=e+" Iterator",S="values"==m,T=!1,M=t.prototype,P=M[u]||M["@@iterator"]||m&&M[m],k=P||_(m),D=m?S?_("entries"):k:void 0,E="Array"==e?M.entries||P:P;if(E&&(b=c(E.call(new t)))!==Object.prototype&&b.next&&(h(b,w,!0),n||"function"==typeof b[u]||r(b,u,f)),S&&P&&"values"!==P.name&&(T=!0,k=function(){return P.call(this)}),n&&!g||!p&&!T&&M[u]||r(M,u,k),a[e]=k,a[w]=f,m)if(y={values:S?k:_("values"),keys:v?k:_("keys"),entries:D},g)for(x in y)x in M||s(M,x,y[x]);else o(o.P+o.F*(p||T),e,y);return y}},function(t,e,i){var n=i(43);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,o){return t.call(e,i,n,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,i){"use strict";e.__esModule=!0;var n=i(61),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t,e,i){return e in t?(0,o.default)(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}},function(t,e,i){var n=i(19),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},function(t,e,i){"use strict";var n=i(50)(!0);i(34)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,i=this._i;return i>=e.length?{value:void 0,done:!0}:(t=n(e,i),this._i+=t.length,{value:t,done:!1})})},function(t,e,i){t.exports=i(7)},function(t,e,i){var n=i(11),o=i(52),s=i(22),r=i(20)("IE_PROTO"),a=function(){},l=function(){var t,e=i(28)("iframe"),n=s.length;for(e.style.display="none",i(53).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[s[n]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(a.prototype=n(t),i=new a,a.prototype=null,i[r]=t):i=l(),void 0===e?i:o(i,e)}},function(t,e,i){e.f=i(2)},function(t,e,i){var n=i(1),o=i(0),s=i(16),r=i(41),a=i(4).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=s?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:r.f(t)})}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,i){var n,o,s;!function(r,a){o=[e,i(60),i(36),i(64),i(48)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(t.findIndex)return t.findIndex(e);var i=-1;return t.some(function(t,n,o){var s=e.call(this,t,n,o);if(s)return i=n,s}),i}function a(t,e){for(var i in e)t[i]&&"object"===(0,y.default)(t[i])?a(t[i],e[i]):t[i]=e[i]}function l(t){return function(){for(var e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];"string"==typeof i[0]&&(i[0]=(0,g.default)({},i[0],i[1])),a(t,i[0])}}function h(t){var e=Object.prototype.toString;return function(i){return e.call(i)==="[object "+t+"]"}}function c(t,e,i){if(void 0!==i)return x._set(t,e,i);if(e){var n=t[e],o=x[void 0===n?"undefined":(0,y.default)(n)];o&&o(t,e,n)}else(0,v.default)(t).forEach(function(e){c(t,e)})}function u(t,e){var i=0,n=[],o=t.length;if(!o)return e(n);t.forEach(function(t,s){t(function(t){i+=1,n[s]=t,i===o&&e(n)})})}function p(t){var e=void 0;if(void 0!==window.Promise){var i=t;e=new window.Promise(function(e){t=function(t){i&&i(t),e(t)}}),e.resolve=t}return e}function f(t,e,i,n){var o=void 0,s=n,r=function(e,i){o=null,i&&(s=t.apply(e,i))},a=function(){for(var n=this,a=arguments.length,l=Array(a),h=0;h<a;h++)l[h]=arguments[h];if(o&&clearTimeout(o),i){var c=!o;o=setTimeout(r,e),c&&(s=t.apply(this,l))}else o=setTimeout(function(){r(n,l)},e);return s};return a.cancel=function(){clearTimeout(o),o=null},a}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.prefix,n=void 0===i?"":i,s=e.firstUpperCase,r=void 0!==s&&s,a=t.name,l=a.replace(/^cube-/i,""),h=""+(0,o.camelize)(""+n+l);return r&&(h=h.charAt(0).toUpperCase()+h.slice(1)),h}function m(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.split("."),n=t,o=0;o<i.length;o++){var s=i[o];if(_(n[s])){n="";break}n=n[s]}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=t.isObject=t.isString=t.isArray=t.isFunc=t.isUndef=t.parsePath=t.processComponentName=t.debounce=t.cb2PromiseWithResolve=t.parallel=t.resetTypeValue=t.createAddAPI=t.deepAssign=t.findIndex=void 0;var v=s(e),g=s(i),y=s(n),x={_set:function(t,e,i){t[e]=i},string:function(t,e){x._set(t,e,"")},number:function(t,e){x._set(t,e,0)},boolean:function(t,e){x._set(t,e,!1)},object:function(t,e,i){Array.isArray(i)?x._set(t,e,[]):x._set(t,e,{})}},b=h("Function"),_=h("Undefined"),w=h("Array"),S=h("String"),T=h("Object"),M=h("Number");t.findIndex=r,t.deepAssign=a,t.createAddAPI=l,t.resetTypeValue=c,t.parallel=u,t.cb2PromiseWithResolve=p,t.debounce=f,t.processComponentName=d,t.parsePath=m,t.isUndef=_,t.isFunc=b,t.isArray=w,t.isString=S,t.isObject=T,t.isNumber=M})},function(t,e,i){var n=i(8),o=i(37),s=i(46);t.exports=function(t){return function(e,i,r){var a,l=n(e),h=o(l.length),c=s(r,h);if(t&&i!=i){for(;h>c;)if((a=l[c++])!=a)return!0}else for(;h>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}}},function(t,e,i){var n=i(19),o=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):s(t,e)}},function(t,e,i){i(55);for(var n=i(1),o=i(7),s=i(13),r=i(2)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var h=a[l],c=n[h],u=c&&c.prototype;u&&!u[r]&&o(u,r,h),s[h]=s.Array}},function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t){return t=String(t),t.replace(n,function(t,e){return e?e.toUpperCase():""})}function i(t){return t=String(t),t.replace(/([A-Z])/g,"-$1").toLowerCase()}Object.defineProperty(t,"__esModule",{value:!0}),t.camelize=e,t.kebab=i;var n=/-(\w)/g})},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={model:{prop:"visible",event:"toggle"},props:{visible:{type:Boolean,default:!1}},data:function(){return{isVisible:!1}},watch:{isVisible:function(t){this.$emit("toggle",t)}},mounted:function(){var t=this;this.$watch("visible",function(e,i){e?t.show():i&&!t._createAPI_reuse&&t.hide()},{immediate:!0})},methods:{show:function(){this.isVisible=!0},hide:function(){this.isVisible=!1}}},t.exports=e.default})},function(t,e,i){var n=i(19),o=i(18);t.exports=function(t){return function(e,i){var s,r,a=String(o(e)),l=n(i),h=a.length;return l<0||l>=h?t?"":void 0:(s=a.charCodeAt(l),s<55296||s>56319||l+1===h||(r=a.charCodeAt(l+1))<56320||r>57343?t?a.charAt(l):s:t?a.slice(l,l+2):r-56320+(s-55296<<10)+65536)}}},function(t,e,i){"use strict";var n=i(40),o=i(14),s=i(27),r={};i(7)(r,i(2)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=n(r,{next:o(1,i)}),s(t,e+" Iterator")}},function(t,e,i){var n=i(4),o=i(11),s=i(15);t.exports=i(3)?Object.defineProperties:function(t,e){o(t);for(var i,r=s(e),a=r.length,l=0;a>l;)n.f(t,i=r[l++],e[i]);return t}},function(t,e,i){var n=i(1).document;t.exports=n&&n.documentElement},function(t,e,i){var n=i(5),o=i(25),s=i(20)("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},function(t,e,i){"use strict";var n=i(56),o=i(57),s=i(13),r=i(8);t.exports=i(34)(Array,"Array",function(t,e){this._t=r(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,i):"values"==e?o(0,t[i]):o(0,[i,t[i]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,i){var n=i(30),o=i(22).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{zIndex:{type:Number,default:100},maskClosable:{type:Boolean,default:!1}}},t.exports=e.default})},function(t,e,i){t.exports={default:i(68),__esModule:!0}},function(t,e,i){t.exports={default:i(62),__esModule:!0}},function(t,e,i){i(63);var n=i(0).Object;t.exports=function(t,e,i){return n.defineProperty(t,e,i)}},function(t,e,i){var n=i(12);n(n.S+n.F*!i(3),"Object",{defineProperty:i(4).f})},function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var o=i(74),s=n(o),r=i(76),a=n(r),l="function"==typeof a.default&&"symbol"==typeof s.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===l(s.default)?function(t){return void 0===t?"undefined":l(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":l(t)}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(36),i(99),i(32),i(44),i(89)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=a(i),h=a(n),c=void 0,u={name:"locale",install:function(t){u.installed||(c=t.prototype,t.util.defineReactive(c,"$cubeLang","zh-CN"),c.$cubeMessages=(0,l.default)({},"zh-CN",h.default),u.installed=!0)},use:function(t,e){c.$cubeLang=t;var i=c.$cubeMessages;t in i||(i[[t]]=e)},helpers:{toLocaleDateString:function(t,e){var i=(0,s.isNumber)(t)?t:t.replace(/-/g,"/"),n=new Date(i);return(0,s.isUndef)(e)?n.toDateString():(0,r.formatDate)(n,e)}},addHelper:function(t,e){if(t in u.helpers)return void(0,o.warn)(t+" has already been registered on helpers function, please change another name");u.helpers[t]=e}};e.default=u,t.exports=e.default})},function(t,e,i){var n=i(26),o=i(2)("toStringTag"),s="Arguments"==n(function(){return arguments}()),r=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,i,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=r(e=Object(t),o))?i:s?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,i){t.exports={default:i(90),__esModule:!0}},function(t,e,i){i(69),t.exports=i(0).Object.keys},function(t,e,i){var n=i(25),o=i(15);i(70)("keys",function(){return function(t){return o(n(t))}})},function(t,e,i){var n=i(12),o=i(0),s=i(9);t.exports=function(t,e){var i=(o.Object||{})[t]||Object[t],r={};r[t]=e(i),n(n.S+n.F*s(function(){i(1)}),"Object",r)}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(94)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i){"use strict";function n(t,e,i,n){return t.use(o.default,{componentPrefix:"cube-"}),t.createAPI(e,i,n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;var o=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(65),i(44),i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){return t&&t.__esModule?t:{default:t}}(i);e.default={computed:{$t:function(){var t=this.$cubeLang,e=this.$cubeMessages[t];return(0,n.isUndef)(e)?((0,o.warn)("Translation is not registered correctly, you can call Locale.use() to install it."),""):function(t){return(0,n.parsePath)(e,t)}}},beforeCreate:function(){s.default.install(this.$root.constructor)}},t.exports=e.default})},function(t,e,i){"use strict";function n(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function o(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(var o=0;o<i.length;o++){var s=i[o];for(var r in s)t[r]=s[r]}return t}function s(t){return void 0===t||null===t}function r(t,e){return Math.sqrt(t*t+e*e)}function a(t){return!1!==j&&("standard"===j?"transitionEnd"===t?"transitionend":t:j+t.charAt(0).toUpperCase()+t.substr(1))}function l(t,e,i,n){t.addEventListener(e,i,{passive:!1,capture:!!n})}function h(t,e,i,n){t.removeEventListener(e,i,{passive:!1,capture:!!n})}function c(t){for(var e=0,i=0;t;)e-=t.offsetLeft,i-=t.offsetTop,t=t.offsetParent;return{left:e,top:i}}function u(t){var e=t.getBoundingClientRect();return{left:-(e.left+window.pageXOffset),top:-(e.top+window.pageYOffset)}}function p(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function f(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1}function d(t,e){var i=document.createEvent("Event");i.initEvent(e,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)}function m(t){function e(){r=document.createEvent("Event"),r.initEvent(i,a,l),o(r,s)}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click",n=void 0;"mouseup"===t.type||"mousecancel"===t.type?n=t:"touchend"!==t.type&&"touchcancel"!==t.type||(n=t.changedTouches[0]);var s={};n&&(s.screenX=n.screenX||0,s.screenY=n.screenY||0,s.clientX=n.clientX||0,s.clientY=n.clientY||0);var r=void 0,a=!0,l=!0;if("undefined"!=typeof MouseEvent)try{r=new MouseEvent(i,o({bubbles:a,cancelable:l},s))}catch(t){e()}else e();r.forwardedTouchEvent=!0,r._constructed=!0,t.target.dispatchEvent(r)}function v(t){m(t,"dblclick")}function g(t,e){e.firstChild?y(t,e.firstChild):e.appendChild(t)}function y(t,e){e.parentNode.insertBefore(t,e)}function x(t,e){t.removeChild(e)}function b(t,e,i,n,o,s,r){var a=t-e,l=Math.abs(a)/i,h=r.deceleration,c=r.itemHeight,u=r.swipeBounceTime,p=r.wheel,f=r.swipeTime,d=f,m=p?4:15,v=t+l/h*(a<0?-1:1);return p&&c&&(v=Math.round(v/c)*c),v<n?(v=s?Math.max(n-s/4,n-s/m*l):n,d=u):v>o&&(v=s?Math.min(o+s/4,o+s/m*l):o,d=u),{destination:Math.round(v),duration:d}}function _(){}function w(t){console.error("[BScroll warn]: "+t)}function S(t,e){if(!t)throw new Error("[BScroll] "+e)}function T(t){var e=document.createElement("div"),i=document.createElement("div");return e.style.cssText="position:absolute;z-index:9999;pointerEvents:none",i.style.cssText="box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px;",i.className="bscroll-indicator","horizontal"===t?(e.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",i.style.height="100%",e.className="bscroll-horizontal-scrollbar"):(e.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",i.style.width="100%",e.className="bscroll-vertical-scrollbar"),e.style.cssText+=";overflow:hidden",e.appendChild(i),e}function M(t,e){this.wrapper=e.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=t,this.direction=e.direction,e.fade?(this.visible=0,this.wrapperStyle.opacity="0"):this.visible=1,this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.x=0,this.y=0,e.interactive&&this._addDOMEvents()}function P(t){if(t&&t.classList)return t.classList.contains("tombstone")}function k(t,e){var i=this;this.options=e,S("function"==typeof this.options.createTombstone,"Infinite scroll need createTombstone Function to create tombstone"),S("function"==typeof this.options.fetch,"Infinite scroll need fetch Function to fetch new data."),S("function"==typeof this.options.render,"Infinite scroll need render Function to render each item."),this.firstAttachedItem=0,this.lastAttachedItem=0,this.anchorScrollTop=0,this.anchorItem={index:0,offset:0},this.tombstoneHeight=0,this.tombstoneWidth=0,this.tombstones=[],this.items=[],this.loadedItems=0,this.requestInProgress=!1,this.hasMore=!0,this.scroller=t,this.wrapperEl=this.scroller.wrapper,this.scrollerEl=this.scroller.scroller,this.scroller.on("scroll",function(){i.onScroll()}),this.scroller.on("resize",function(){i.onResize()}),this.onResize()}function D(t,e){this.wrapper="string"==typeof t?document.querySelector(t):t,this.wrapper||w("Can not resolve the wrapper DOM."),this.scroller=this.wrapper.children[0],this.scroller||w("The wrapper need at least one child element to be scroller."),this.scrollerStyle=this.scroller.style,this._init(t,e)}Object.defineProperty(e,"__esModule",{value:!0});/*!
   * better-normal-scroll v1.12.6
   * (c) 2016-2018 ustbhuangyi
   * Released under the MIT License.
   */
  var E=function(){function t(t,e){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){o=!0,s=t}finally{try{!n&&a.return&&a.return()}finally{if(o)throw s}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Y=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)},X="undefined"!=typeof window,O=X&&navigator.userAgent.toLowerCase(),I=O&&/wechatdevtools/.test(O),C=O&&O.indexOf("android")>0,A=X&&document.createElement("div").style,j=function(){if(!X)return!1;var t={webkit:"webkitTransform",Moz:"MozTransform",O:"OTransform",ms:"msTransform",standard:"transform"};for(var e in t)if(void 0!==A[t[e]])return e;return!1}(),L=a("transform"),W=X&&a("perspective")in A,N=X&&("ontouchstart"in window||I),H=!1!==L,z=X&&a("transition")in A,$={transform:L,transitionTimingFunction:a("transitionTimingFunction"),transitionDuration:a("transitionDuration"),transitionDelay:a("transitionDelay"),transformOrigin:a("transformOrigin"),transitionEnd:a("transitionEnd")},F=1,R={touchstart:F,touchmove:F,touchend:F,mousedown:2,mousemove:2,mouseup:2},U={startX:0,startY:0,scrollX:!1,scrollY:!0,freeScroll:!1,directionLockThreshold:5,eventPassthrough:"",click:!1,tap:!1,bounce:!0,bounceTime:800,momentum:!0,momentumLimitTime:300,momentumLimitDistance:15,swipeTime:2500,swipeBounceTime:500,deceleration:.0015,flickLimitTime:200,flickLimitDistance:100,resizePolling:60,probeType:0,preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:!1,disableMouse:N,disableTouch:!N,observeDOM:!0,autoBlur:!0,wheel:!1,snap:!1,scrollbar:!1,pullDownRefresh:!1,pullUpLoad:!1,mouseWheel:!1,stopPropagation:!1,zoom:!1,infinity:!1,dblclick:!1},V={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},B=function(){return X?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||function(t){return window.setTimeout(t,(t.interval||100/60)/2)}:_}(),q=function(){return X?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:_}(),K=1,Z=-1,G=1,J=-1,Q=1,tt=3;M.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t);break;case"touchmove":case"mousemove":this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this._end(t)}},M.prototype.refresh=function(){this._shouldShow()&&(this.transitionTime(),this._calculate(),this.updatePosition())},M.prototype.fade=function(t,e){var i=this;if(!e||this.visible){var n=t?250:500;t=t?"1":"0",this.wrapperStyle[$.transitionDuration]=n+"ms",clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){i.wrapperStyle.opacity=t,i.visible=+t},0)}},M.prototype.updatePosition=function(){if("vertical"===this.direction){var t=Math.round(this.sizeRatioY*this.scroller.y);if(t<0){this.transitionTime(500);var e=Math.max(this.indicatorHeight+3*t,8);this.indicatorStyle.height=e+"px",t=0}else if(t>this.maxPosY){this.transitionTime(500);var i=Math.max(this.indicatorHeight-3*(t-this.maxPosY),8);this.indicatorStyle.height=i+"px",t=this.maxPosY+this.indicatorHeight-i}else this.indicatorStyle.height=this.indicatorHeight+"px";this.y=t,this.scroller.options.useTransform?this.indicatorStyle[$.transform]="translateY("+t+"px)"+this.scroller.translateZ:this.indicatorStyle.top=t+"px"}else{var n=Math.round(this.sizeRatioX*this.scroller.x);if(n<0){this.transitionTime(500);var o=Math.max(this.indicatorWidth+3*n,8);this.indicatorStyle.width=o+"px",n=0}else if(n>this.maxPosX){this.transitionTime(500);var s=Math.max(this.indicatorWidth-3*(n-this.maxPosX),8);this.indicatorStyle.width=s+"px",n=this.maxPosX+this.indicatorWidth-s}else this.indicatorStyle.width=this.indicatorWidth+"px";this.x=n,this.scroller.options.useTransform?this.indicatorStyle[$.transform]="translateX("+n+"px)"+this.scroller.translateZ:this.indicatorStyle.left=n+"px"}},M.prototype.transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.indicatorStyle[$.transitionDuration]=t+"ms"},M.prototype.transitionTimingFunction=function(t){this.indicatorStyle[$.transitionTimingFunction]=t},M.prototype.destroy=function(){this._removeDOMEvents(),this.wrapper.parentNode.removeChild(this.wrapper)},M.prototype._start=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=e.pageX,this.lastPointY=e.pageY,this.startTime=n(),this._handleMoveEvents(l),this.scroller.trigger("beforeScrollStart")},M.prototype._move=function(t){var e=t.touches?t.touches[0]:t;t.preventDefault(),t.stopPropagation(),this.moved||this.scroller.trigger("scrollStart"),this.moved=!0;var i=e.pageX-this.lastPointX;this.lastPointX=e.pageX;var n=e.pageY-this.lastPointY;this.lastPointY=e.pageY;var o=this.x+i,s=this.y+n;this._pos(o,s)},M.prototype._end=function(t){if(this.initiated){this.initiated=!1,t.preventDefault(),t.stopPropagation(),this._handleMoveEvents(h);var e=this.scroller.options.snap;if(e){var i=e.speed,n=e.easing,o=void 0===n?V.bounce:n,s=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=i||Math.max(Math.max(Math.min(Math.abs(this.scroller.x-s.x),1e3),Math.min(Math.abs(this.scroller.y-s.y),1e3)),300);this.scroller.x===s.x&&this.scroller.y===s.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=s,this.scroller.scrollTo(s.x,s.y,r,o))}this.moved&&this.scroller.trigger("scrollEnd",{x:this.scroller.x,y:this.scroller.y})}},M.prototype._pos=function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=Math.round(t/this.sizeRatioX),e=Math.round(e/this.sizeRatioY),this.scroller.scrollTo(t,e),this.scroller.trigger("scroll",{x:this.scroller.x,y:this.scroller.y})},M.prototype._shouldShow=function(){return"vertical"===this.direction&&this.scroller.hasVerticalScroll||"horizontal"===this.direction&&this.scroller.hasHorizontalScroll?(this.wrapper.style.display="",!0):(this.wrapper.style.display="none",!1)},M.prototype._calculate=function(){if("vertical"===this.direction){var t=this.wrapper.clientHeight;this.indicatorHeight=Math.max(Math.round(t*t/(this.scroller.scrollerHeight||t||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=t-this.indicatorHeight,this.sizeRatioY=this.maxPosY/this.scroller.maxScrollY}else{var e=this.wrapper.clientWidth;this.indicatorWidth=Math.max(Math.round(e*e/(this.scroller.scrollerWidth||e||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=e-this.indicatorWidth,this.sizeRatioX=this.maxPosX/this.scroller.maxScrollX}},M.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},M.prototype._removeDOMEvents=function(){var t=h;this._handleDOMEvents(t),this._handleMoveEvents(t)},M.prototype._handleMoveEvents=function(t){this.scroller.options.disableTouch||t(window,"touchmove",this),this.scroller.options.disableMouse||t(window,"mousemove",this)},M.prototype._handleDOMEvents=function(t){this.scroller.options.disableTouch||(t(this.indicator,"touchstart",this),t(window,"touchend",this)),this.scroller.options.disableMouse||(t(this.indicator,"mousedown",this),t(window,"mouseup",this))};var et=2e3;k.prototype.onScroll=function(){var t=-this.scroller.y,e=t-this.anchorScrollTop;this.anchorItem=0===t?{index:0,offset:0}:this._calculateAnchoredItem(this.anchorItem,e),this.anchorScrollTop=t;var i=this._calculateAnchoredItem(this.anchorItem,this.wrapperEl.offsetHeight),n=this.anchorItem.index,o=i.index;e<0?(n-=30,o+=10):(n-=10,o+=30),this.fill(n,o),this.maybeRequestContent()},k.prototype.onResize=function(){var t=this.options.createTombstone();t.style.position="absolute",this.scrollerEl.appendChild(t),t.style.display="",this.tombstoneHeight=t.offsetHeight,this.tombstoneWidth=t.offsetWidth,this.scrollerEl.removeChild(t);for(var e=0;e<this.items.length;e++)this.items[e].height=this.items[e].width=0;this.onScroll()},k.prototype.fill=function(t,e){this.firstAttachedItem=Math.max(0,t),this.hasMore||(e=Math.min(e,this.items.length)),this.lastAttachedItem=e,this.attachContent()},k.prototype.maybeRequestContent=function(){var t=this;if(!this.requestInProgress&&this.hasMore){var e=this.lastAttachedItem-this.loadedItems;e<=0||(this.requestInProgress=!0,this.options.fetch(e).then(function(e){if(t.requestInProgress=!1,e)t.addContent(e);else{t.hasMore=!1;var i=t._removeTombstones(),n=0;t.anchorItem.index<=t.items.length?(n=t._fixScrollPosition(),t._setupAnimations({},n),t.scroller.resetPosition(t.scroller.options.bounceTime)):(t.anchorItem.index-=i,n=t._fixScrollPosition(),t._setupAnimations({},n),t.scroller.stop(),t.scroller.resetPosition(),t.onScroll())}}))}},k.prototype.addContent=function(t){for(var e=0;e<t.length;e++)this.items.length<=this.loadedItems&&this._addItem(),this.items[this.loadedItems++].data=t[e];this.attachContent(),this.maybeRequestContent()},k.prototype.attachContent=function(){var t=this._collectUnusedNodes(),e=this._createDOMNodes(t);this._cleanupUnusedNodes(t),this._cacheNodeSize();var i=this._fixScrollPosition();this._setupAnimations(e,i)},k.prototype.resetMore=function(){this.hasMore=!0},k.prototype._removeTombstones=function(){for(var t=void 0,e=0,i=this.items.length,n=0;n<i;n++){var o=this.items[n].node,s=this.items[n].data;o&&!P(o)||s||(t||(t=n),o&&this.scrollerEl.removeChild(o))}return e=i-t,this.items.splice(t),this.lastAttachedItem=Math.min(this.lastAttachedItem,this.items.length),e},k.prototype._collectUnusedNodes=function(){for(var t=[],e=0;e<this.items.length;e++)if(e!==this.firstAttachedItem){var i=this.items[e].node;i&&(P(i)?(this.tombstones.push(i),this.tombstones[this.tombstones.length-1].style.display="none"):t.push(i)),this.items[e].node=null}else e=this.lastAttachedItem-1;return t},k.prototype._createDOMNodes=function(t){for(var e={},i=this.firstAttachedItem;i<this.lastAttachedItem;i++){for(;this.items.length<=i;)this._addItem();var n=this.items[i].node,o=this.items[i].data;if(n){if(!P(n)||!o)continue;n.style.zIndex=1,e[i]=[n,this.items[i].top-this.anchorScrollTop],this.items[i].node=null}var s=o?this.options.render(o,t.pop()):this._getTombStone();s.style.position="absolute",this.items[i].top=-1,this.scrollerEl.appendChild(s),this.items[i].node=s}return e},k.prototype._cleanupUnusedNodes=function(t){for(;t.length;)this.scrollerEl.removeChild(t.pop())},k.prototype._cacheNodeSize=function(){for(var t=this.firstAttachedItem;t<this.lastAttachedItem;t++)this.items[t].data&&!this.items[t].height&&(this.items[t].height=this.items[t].node.offsetHeight,this.items[t].width=this.items[t].node.offsetWidth)},k.prototype._fixScrollPosition=function(){this.anchorScrollTop=0;for(var t=0;t<this.anchorItem.index;t++)this.anchorScrollTop+=this.items[t].height||this.tombstoneHeight;this.anchorScrollTop+=this.anchorItem.offset;for(var e=this.anchorScrollTop-this.anchorItem.offset,i=this.anchorItem.index;i>this.firstAttachedItem;)e-=this.items[i-1].height||this.tombstoneHeight,i--;return e},k.prototype._setupAnimations=function(t,e){var i=this;for(var n in t){var o=t[n];this.items[n].node.style.transform="translateY("+(this.anchorScrollTop+o[1])+"px) scale("+this.tombstoneWidth/this.items[n].width+", "+this.tombstoneHeight/this.items[n].height+")",this.items[n].node.offsetTop,o[0].offsetTop,this.items[n].node.style.transition="transform 200ms"}for(var s=this.firstAttachedItem;s<this.lastAttachedItem;s++){var r=t[s];if(r){var a=r[0];a.style.transition="transform 200ms, opacity 200ms",a.style.transform="translateY("+e+"px) scale("+this.items[s].width/this.tombstoneWidth+", "+this.items[s].height/this.tombstoneHeight+")",a.style.opacity=0}e!==this.items[s].top&&(r||(this.items[s].node.style.transition=""),this.items[s].node.style.transform="translateY("+e+"px)"),this.items[s].top=e,e+=this.items[s].height||this.tombstoneHeight}this.scroller.maxScrollY=-(e-this.wrapperEl.offsetHeight+(this.hasMore?et:0)),setTimeout(function(){for(var e in t){var n=t[e];n[0].style.display="none",i.tombstones.push(n[0])}},200)},k.prototype._getTombStone=function(){var t=this.tombstones.pop();return t?(t.style.display="",t.style.opacity=1,t.style.transform="",t.style.transition="",t):this.options.createTombstone()},k.prototype._addItem=function(){this.items.push({data:null,node:null,height:0,width:0,top:0})},k.prototype._calculateAnchoredItem=function(t,e){if(0===e)return t;var i=t.index,n=0;if((e+=t.offset)<0){for(;e<0&&i>0&&this.items[i-1].height;)e+=this.items[i-1].height,i--;n=Math.max(-i,Math.ceil(Math.min(e,0)/this.tombstoneHeight))}else{for(;e>0&&i<this.items.length&&this.items[i].height&&this.items[i].height<e;)e-=this.items[i].height,i++;(i>=this.items.length||!this.items[i].height)&&(n=Math.floor(Math.max(e,0)/this.tombstoneHeight))}return i+=n,e-=n*this.tombstoneHeight,{index:i,offset:e}},function(t){t.prototype._init=function(t,e){this._handleOptions(e),this._events={},this.x=0,this.y=0,this.directionX=0,this.directionY=0,this.setScale(1),this._addDOMEvents(),this._initExtFeatures(),this._watchTransition(),this.options.observeDOM&&this._initDOMObserver(),this.options.autoBlur&&this._handleAutoBlur(),this.refresh(),this.options.snap||this.scrollTo(this.options.startX,this.options.startY),this.enable()},t.prototype.setScale=function(t){this.lastScale=s(this.scale)?t:this.scale,this.scale=t},t.prototype._handleOptions=function(t){this.options=o({},U,t),this.translateZ=this.options.HWCompositing&&W?" translateZ(0)":"",this.options.useTransition=this.options.useTransition&&z,this.options.useTransform=this.options.useTransform&&H,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollX="horizontal"!==this.options.eventPassthrough&&this.options.scrollX,this.options.scrollY="vertical"!==this.options.eventPassthrough&&this.options.scrollY,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,!0===this.options.tap&&(this.options.tap="tap")},t.prototype._addDOMEvents=function(){var t=l;this._handleDOMEvents(t)},t.prototype._removeDOMEvents=function(){var t=h;this._handleDOMEvents(t)},t.prototype._handleDOMEvents=function(t){var e=this.options.bindToWrapper?this.wrapper:window;t(window,"orientationchange",this),t(window,"resize",this),this.options.click&&t(this.wrapper,"click",this,!0),this.options.disableMouse||(t(this.wrapper,"mousedown",this),t(e,"mousemove",this),t(e,"mousecancel",this),t(e,"mouseup",this)),N&&!this.options.disableTouch&&(t(this.wrapper,"touchstart",this),t(e,"touchmove",this),t(e,"touchcancel",this),t(e,"touchend",this)),t(this.scroller,$.transitionEnd,this)},t.prototype._initExtFeatures=function(){this.options.snap&&this._initSnap(),this.options.scrollbar&&this._initScrollbar(),this.options.pullUpLoad&&this._initPullUp(),this.options.pullDownRefresh&&this._initPullDown(),this.options.wheel&&this._initWheel(),this.options.mouseWheel&&this._initMouseWheel(),this.options.zoom&&this._initZoom(),this.options.infinity&&this._initInfinite()},t.prototype._watchTransition=function(){if("function"==typeof Object.defineProperty){var t=this,e=!1,i=this.useTransition?"isInTransition":"isAnimating";Object.defineProperty(this,i,{get:function(){return e},set:function(i){e=i;for(var n=t.scroller.children.length?t.scroller.children:[t.scroller],o=e&&!t.pulling?"none":"auto",s=0;s<n.length;s++)n[s].style.pointerEvents=o}})}},t.prototype._handleAutoBlur=function(){this.on("beforeScrollStart",function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()})},t.prototype._initDOMObserver=function(){var t=this;if("undefined"!=typeof MutationObserver){var e=void 0,i=new MutationObserver(function(i){if(!t._shouldNotRefresh()){for(var n=!1,o=!1,s=0;s<i.length;s++){var r=i[s];if("attributes"!==r.type){n=!0;break}if(r.target!==t.scroller){o=!0;break}}n?t.refresh():o&&(clearTimeout(e),e=setTimeout(function(){t._shouldNotRefresh()||t.refresh()},60))}}),n={attributes:!0,childList:!0,subtree:!0};i.observe(this.scroller,n),this.on("destroy",function(){i.disconnect()})}else this._checkDOMUpdate()},t.prototype._shouldNotRefresh=function(){var t=this.x>this.minScrollX||this.x<this.maxScrollX||this.y>this.minScrollY||this.y<this.maxScrollY;return this.isInTransition||this.stopFromTransition||t},t.prototype._checkDOMUpdate=function(){function t(){if(!this.destroyed){i=p(this.scroller);var t=i.width,s=i.height;n===t&&o===s||this.refresh(),n=t,o=s,e.call(this)}}function e(){var e=this;setTimeout(function(){t.call(e)},1e3)}var i=p(this.scroller),n=i.width,o=i.height;e.call(this)},t.prototype.handleEvent=function(t){switch(t.type){case"touchstart":case"mousedown":this._start(t),this.options.zoom&&t.touches&&t.touches.length>1&&this._zoomStart(t);break;case"touchmove":case"mousemove":this.options.zoom&&t.touches&&t.touches.length>1?this._zoom(t):this._move(t);break;case"touchend":case"mouseup":case"touchcancel":case"mousecancel":this.scaled?this._zoomEnd(t):this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"click":this.enabled&&!t._constructed&&(f(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation()));break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._onMouseWheel(t)}},t.prototype.refresh=function(){var t="static"===window.getComputedStyle(this.wrapper,null).position,e=p(this.wrapper);this.wrapperWidth=e.width,this.wrapperHeight=e.height;var i=p(this.scroller);this.scrollerWidth=Math.round(i.width*this.scale),this.scrollerHeight=Math.round(i.height*this.scale),this.relativeX=i.left,this.relativeY=i.top,t&&(this.relativeX-=e.left,this.relativeY-=e.top),this.minScrollX=0,this.minScrollY=0;var n=this.options.wheel;n?(this.items=this.scroller.children,this.options.itemHeight=this.itemHeight=this.items.length?this.scrollerHeight/this.items.length:0,void 0===this.selectedIndex&&(this.selectedIndex=n.selectedIndex||0),this.options.startY=-this.selectedIndex*this.itemHeight,this.maxScrollX=0,this.maxScrollY=-this.itemHeight*(this.items.length-1)):(this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.options.infinity||(this.maxScrollY=this.wrapperHeight-this.scrollerHeight),this.maxScrollX<0?(this.maxScrollX-=this.relativeX,this.minScrollX=-this.relativeX):this.scale>1&&(this.maxScrollX=this.maxScrollX/2-this.relativeX,this.minScrollX=this.maxScrollX),this.maxScrollY<0?(this.maxScrollY-=this.relativeY,this.minScrollY=-this.relativeY):this.scale>1&&(this.maxScrollY=this.maxScrollY/2-this.relativeY,this.minScrollY=this.maxScrollY)),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<this.minScrollX,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<this.minScrollY,this.hasHorizontalScroll||(this.maxScrollX=this.minScrollX,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=this.minScrollY,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=c(this.wrapper),this.trigger("refresh"),!this.scaled&&this.resetPosition()},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1}}(D),function(t){t.prototype._start=function(t){var e=R[t.type];if((e===F||0===t.button)&&!(!this.enabled||this.destroyed||this.initiated&&this.initiated!==e)){this.initiated=e,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.movingDirectionX=0,this.movingDirectionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=n(),this.options.wheel&&(this.target=t.target),this.stop();var i=t.touches?t.touches[0]:t;this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this.trigger("beforeScrollStart")}},t.prototype._move=function(t){if(this.enabled&&!this.destroyed&&R[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches?t.touches[0]:t,i=e.pageX-this.pointX,o=e.pageY-this.pointY;this.pointX=e.pageX,this.pointY=e.pageY,this.distX+=i,this.distY+=o;var s=Math.abs(this.distX),r=Math.abs(this.distY),a=n();if(!(a-this.endTime>this.options.momentumLimitTime&&r<this.options.momentumLimitDistance&&s<this.options.momentumLimitDistance)){if(this.directionLocked||this.options.freeScroll||(s>r+this.options.directionLockThreshold?this.directionLocked="h":r>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"===this.directionLocked){if("vertical"===this.options.eventPassthrough)t.preventDefault();else if("horizontal"===this.options.eventPassthrough)return void(this.initiated=!1);o=0}else if("v"===this.directionLocked){if("horizontal"===this.options.eventPassthrough)t.preventDefault();else if("vertical"===this.options.eventPassthrough)return void(this.initiated=!1);i=0}i=this.hasHorizontalScroll?i:0,o=this.hasVerticalScroll?o:0,this.movingDirectionX=i>0?J:i<0?G:0,this.movingDirectionY=o>0?Z:o<0?K:0;var l=this.x+i,h=this.y+o,c=!1,u=!1,p=!1,f=!1,d=this.options.bounce;!1!==d&&(c=void 0===d.top||d.top,u=void 0===d.bottom||d.bottom,p=void 0===d.left||d.left,f=void 0===d.right||d.right),(l>this.minScrollX||l<this.maxScrollX)&&(l=l>this.minScrollX&&p||l<this.maxScrollX&&f?this.x+i/3:l>this.minScrollX?this.minScrollX:this.maxScrollX),(h>this.minScrollY||h<this.maxScrollY)&&(h=h>this.minScrollY&&c||h<this.maxScrollY&&u?this.y+o/3:h>this.minScrollY?this.minScrollY:this.maxScrollY),this.moved||(this.moved=!0,this.trigger("scrollStart")),this._translate(l,h),a-this.startTime>this.options.momentumLimitTime&&(this.startTime=a,this.startX=this.x,this.startY=this.y,this.options.probeType===Q&&this.trigger("scroll",{x:this.x,y:this.y})),this.options.probeType>Q&&this.trigger("scroll",{x:this.x,y:this.y});var m=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,v=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,g=this.pointX-m,y=this.pointY-v;(g>document.documentElement.clientWidth-this.options.momentumLimitDistance||g<this.options.momentumLimitDistance||y<this.options.momentumLimitDistance||y>document.documentElement.clientHeight-this.options.momentumLimitDistance)&&this._end(t)}}},t.prototype._end=function(t){if(this.enabled&&!this.destroyed&&R[t.type]===this.initiated){this.initiated=!1,this.options.preventDefault&&!f(t.target,this.options.preventDefaultException)&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.trigger("touchEnd",{x:this.x,y:this.y}),this.isInTransition=!1;var e=Math.round(this.x),i=Math.round(this.y),o=e-this.absStartX,s=i-this.absStartY;if(this.directionX=o>0?J:o<0?G:0,this.directionY=s>0?Z:s<0?K:0,!this.options.pullDownRefresh||!this._checkPullDown()){if(this._checkClick(t))return void this.trigger("scrollCancel");if(!this.resetPosition(this.options.bounceTime,V.bounce)){this._translate(e,i),this.endTime=n();var r=this.endTime-this.startTime,a=Math.abs(e-this.startX),l=Math.abs(i-this.startY);if(this._events.flick&&r<this.options.flickLimitTime&&a<this.options.flickLimitDistance&&l<this.options.flickLimitDistance)return void this.trigger("flick");var h=0;if(this.options.momentum&&r<this.options.momentumLimitTime&&(l>this.options.momentumLimitDistance||a>this.options.momentumLimitDistance)){var c=!1,u=!1,p=!1,d=!1,m=this.options.bounce;!1!==m&&(c=void 0===m.top||m.top,u=void 0===m.bottom||m.bottom,p=void 0===m.left||m.left,d=void 0===m.right||m.right);var v=this.directionX===J&&p||this.directionX===G&&d?this.wrapperWidth:0,g=this.directionY===Z&&c||this.directionY===K&&u?this.wrapperHeight:0,y=this.hasHorizontalScroll?b(this.x,this.startX,r,this.maxScrollX,this.minScrollX,v,this.options):{destination:e,duration:0},x=this.hasVerticalScroll?b(this.y,this.startY,r,this.maxScrollY,this.minScrollY,g,this.options):{destination:i,duration:0};e=y.destination,i=x.destination,h=Math.max(y.duration,x.duration),this.isInTransition=!0}else this.options.wheel&&(i=Math.round(i/this.itemHeight)*this.itemHeight,h=this.options.wheel.adjustTime||400);var _=V.swipe;if(this.options.snap){var w=this._nearestSnap(e,i);this.currentPage=w,h=this.options.snapSpeed||Math.max(Math.max(Math.min(Math.abs(e-w.x),1e3),Math.min(Math.abs(i-w.y),1e3)),300),e=w.x,i=w.y,this.directionX=0,this.directionY=0,_=this.options.snap.easing||V.bounce}if(e!==this.x||i!==this.y)return(e>this.minScrollX||e<this.maxScrollX||i>this.minScrollY||i<this.maxScrollY)&&(_=V.swipeBounce),void this.scrollTo(e,i,h,_);this.options.wheel&&(this.selectedIndex=Math.round(Math.abs(this.y/this.itemHeight))),this.trigger("scrollEnd",{x:this.x,y:this.y})}}}},t.prototype._checkClick=function(t){var e=this.stopFromTransition&&!this.pulling;if(this.stopFromTransition=!1,!this.moved){if(this.options.wheel){if(this.target&&this.target.classList.contains(this.options.wheel.wheelWrapperClass)){var i=Math.abs(Math.round(this.y/this.itemHeight)),o=Math.round((this.pointY+u(this.wrapper).top-this.wrapperHeight/2)/this.itemHeight);this.target=this.items[i+o]}return this.scrollToElement(this.target,this.options.wheel.adjustTime||400,!0,!0,V.swipe),!0}if(!e){var s=this.options.dblclick,r=!1;if(s&&this.lastClickTime){var a=s.delay,l=void 0===a?300:a;n()-this.lastClickTime<l&&(r=!0,v(t))}return this.options.tap&&d(t,this.options.tap),this.options.click&&!f(t.target,this.options.preventDefaultException)&&m(t),this.lastClickTime=r?null:n(),!0}return!1}return!1},t.prototype._resize=function(){var t=this;this.enabled&&(C&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling))},t.prototype._startProbe=function(){function t(){var i=e.getComputedPosition();if(e.trigger("scroll",i),!e.isInTransition)return void e.trigger("scrollEnd",i);e.probeTimer=B(t)}q(this.probeTimer),this.probeTimer=B(t);var e=this},t.prototype._transitionTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(this.scrollerStyle[$.transitionDuration]=t+"ms",this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[$.transitionDuration]=t+"ms";if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTime(t)},t.prototype._transitionTimingFunction=function(t){if(this.scrollerStyle[$.transitionTimingFunction]=t,this.options.wheel)for(var e=0;e<this.items.length;e++)this.items[e].style[$.transitionTimingFunction]=t;if(this.indicators)for(var i=0;i<this.indicators.length;i++)this.indicators[i].transitionTimingFunction(t)},t.prototype._transitionEnd=function(t){t.target===this.scroller&&this.isInTransition&&(this._transitionTime(),(!this.pulling||this.movingDirectionY===K)&&!this.resetPosition(this.options.bounceTime,V.bounce)&&(this.isInTransition=!1,this.options.probeType!==tt&&this.trigger("scrollEnd",{x:this.x,y:this.y})))},t.prototype._translate=function(t,e,i){if(S(!s(t)&&!s(e),"Translate x or y is null or undefined."),s(i)&&(i=this.scale),this.options.useTransform?this.scrollerStyle[$.transform]="translate("+t+"px,"+e+"px) scale("+i+")"+this.translateZ:(t=Math.round(t),e=Math.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.options.wheel)for(var n=this.options.wheel.rotate,o=void 0===n?25:n,r=0;r<this.items.length;r++){var a=o*(e/this.itemHeight+r);this.items[r].style[$.transform]="rotateX("+a+"deg)"}if(this.x=t,this.y=e,this.setScale(i),this.indicators)for(var l=0;l<this.indicators.length;l++)this.indicators[l].updatePosition()},t.prototype._animate=function(t,e,i,o){function s(){var f=n();if(f>=p)return r.isAnimating=!1,r._translate(t,e,c),r.trigger("scroll",{x:r.x,y:r.y}),void(r.pulling||r.resetPosition(r.options.bounceTime)||r.trigger("scrollEnd",{x:r.x,y:r.y}));f=(f-u)/i;var d=o(f),m=(t-a)*d+a,v=(e-l)*d+l,g=(c-h)*d+h;r._translate(m,v,g),r.isAnimating&&(r.animateTimer=B(s)),r.options.probeType===tt&&r.trigger("scroll",{x:r.x,y:r.y})}var r=this,a=this.x,l=this.y,h=this.lastScale,c=this.scale,u=n(),p=u+i;this.isAnimating=!0,q(this.animateTimer),s()},t.prototype.scrollBy=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;t=this.x+t,e=this.y+e,this.scrollTo(t,e,i,n)},t.prototype.scrollTo=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:V.bounce;this.isInTransition=this.options.useTransition&&i>0&&(t!==this.x||e!==this.y),!i||this.options.useTransition?(this._transitionTimingFunction(n.style),this._transitionTime(i),this._translate(t,e),i&&this.options.probeType===tt&&this._startProbe(),i||t===this.x&&e===this.y||(this.trigger("scroll",{x:t,y:e}),this._reflow=document.body.offsetHeight,this.resetPosition(this.options.bounceTime,V.bounce)||this.trigger("scrollEnd",{x:t,y:e})),this.options.wheel&&(e>this.minScrollY?this.selectedIndex=0:e<this.maxScrollY?this.selectedIndex=this.items.length-1:this.selectedIndex=Math.round(Math.abs(e/this.itemHeight)))):this._animate(t,e,i,n.fn)},t.prototype.scrollToElement=function(t,e,i,n,o){if(t&&(t=t.nodeType?t:this.scroller.querySelector(t),!this.options.wheel||t.classList.contains(this.options.wheel.wheelItemClass))){var s=c(t);s.left-=this.wrapperOffset.left,s.top-=this.wrapperOffset.top,!0===i&&(i=Math.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===n&&(n=Math.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),s.left-=i||0,s.top-=n||0,s.left=s.left>this.minScrollX?this.minScrollX:s.left<this.maxScrollX?this.maxScrollX:s.left,s.top=s.top>this.minScrollY?this.minScrollY:s.top<this.maxScrollY?this.maxScrollY:s.top,this.options.wheel&&(s.top=Math.round(s.top/this.itemHeight)*this.itemHeight),this.scrollTo(s.left,s.top,e,o)}},t.prototype.resetPosition=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V.bounce,i=this.x,n=Math.round(i);!this.hasHorizontalScroll||n>this.minScrollX?i=this.minScrollX:n<this.maxScrollX&&(i=this.maxScrollX);var o=this.y,s=Math.round(o);return!this.hasVerticalScroll||s>this.minScrollY?o=this.minScrollY:s<this.maxScrollY&&(o=this.maxScrollY),(i!==this.x||o!==this.y)&&(this.scrollTo(i,o,t,e),!0)},t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.scroller,null),e=void 0,i=void 0;return this.options.useTransform?(t=t[$.transform].split(")")[0].split(", "),e=+(t[12]||t[4]),i=+(t[13]||t[5])):(e=+t.left.replace(/[^-\d.]/g,""),i=+t.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},t.prototype.stop=function(){if(this.options.useTransition&&this.isInTransition){this.isInTransition=!1,q(this.probeTimer);var t=this.getComputedPosition();this._translate(t.x,t.y),this.options.wheel?this.target=this.items[Math.round(-t.y/this.itemHeight)]:this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0}else!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,q(this.animateTimer),this.trigger("scrollEnd",{x:this.x,y:this.y}),this.stopFromTransition=!0)},t.prototype.destroy=function(){this.destroyed=!0,this.trigger("destroy"),q(this.options.useTransition?this.probeTimer:this.animateTimer),this._removeDOMEvents(),this._events={}}}(D),function(t){t.prototype.on=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;this._events[t]||(this._events[t]=[]),this._events[t].push([e,i])},t.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(n,arguments)}var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this;i.fn=e,this.on(t,i)},t.prototype.off=function(t,e){var i=this._events[t];if(i)for(var n=i.length;n--;)(i[n][0]===e||i[n][0]&&i[n][0].fn===e)&&(i[n][0]=void 0)},t.prototype.trigger=function(t){var e=this._events[t];if(e)for(var i=e.length,n=[].concat(Y(e)),o=0;o<i;o++){var s=n[o],r=E(s,2),a=r[0],l=r[1];a&&a.apply(l,[].slice.call(arguments,1))}}}(D),function(t){t.prototype._initSnap=function(){var t=this;this.currentPage={};var e=this.options.snap;if(e.loop){var i=this.scroller.children;i.length>1?(g(i[i.length-1].cloneNode(!0),this.scroller),this.scroller.appendChild(i[1].cloneNode(!0))):e.loop=!1}var n=e.el;"string"==typeof n&&(n=this.scroller.querySelectorAll(n)),this.on("refresh",function(){if(t.pages=[],t.wrapperWidth&&t.wrapperHeight&&t.scrollerWidth&&t.scrollerHeight){var i=e.stepX||t.wrapperWidth,o=e.stepY||t.wrapperHeight,s=0,r=void 0,a=void 0,l=void 0,h=0,c=void 0,u=0,f=void 0,d=void 0;if(n)for(c=n.length,f=-1;h<c;h++)d=p(n[h]),(0===h||d.left<=p(n[h-1]).left)&&(u=0,f++),t.pages[u]||(t.pages[u]=[]),s=Math.max(-d.left,t.maxScrollX),r=Math.max(-d.top,t.maxScrollY),a=s-Math.round(d.width/2),l=r-Math.round(d.height/2),t.pages[u][f]={x:s,y:r,width:d.width,height:d.height,cx:a,cy:l},s>t.maxScrollX&&u++;else for(a=Math.round(i/2),l=Math.round(o/2);s>-t.scrollerWidth;){for(t.pages[h]=[],c=0,r=0;r>-t.scrollerHeight;)t.pages[h][c]={x:Math.max(s,t.maxScrollX),y:Math.max(r,t.maxScrollY),width:i,height:o,cx:s-a,cy:r-l},r-=o,c++;s-=i,h++}t._checkSnapLoop();var m=e._loopX?1:0,v=e._loopY?1:0;t._goToPage(t.currentPage.pageX||m,t.currentPage.pageY||v,0);var g=e.threshold;g%1==0?(t.snapThresholdX=g,t.snapThresholdY=g):(t.snapThresholdX=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].width*g),t.snapThresholdY=Math.round(t.pages[t.currentPage.pageX][t.currentPage.pageY].height*g))}}),this.on("scrollEnd",function(){e.loop&&(e._loopX?(0===t.currentPage.pageX&&t._goToPage(t.pages.length-2,t.currentPage.pageY,0),t.currentPage.pageX===t.pages.length-1&&t._goToPage(1,t.currentPage.pageY,0)):(0===t.currentPage.pageY&&t._goToPage(t.currentPage.pageX,t.pages[0].length-2,0),t.currentPage.pageY===t.pages[0].length-1&&t._goToPage(t.currentPage.pageX,1,0)))}),!1!==e.listenFlick&&this.on("flick",function(){var i=e.speed||Math.max(Math.max(Math.min(Math.abs(t.x-t.startX),1e3),Math.min(Math.abs(t.y-t.startY),1e3)),300);t._goToPage(t.currentPage.pageX+t.directionX,t.currentPage.pageY+t.directionY,i)}),this.on("destroy",function(){if(e.loop){var i=t.scroller.children;i.length>2&&(x(t.scroller,i[i.length-1]),x(t.scroller,i[0]))}})},t.prototype._checkSnapLoop=function(){var t=this.options.snap;t.loop&&this.pages&&this.pages.length&&(this.pages.length>1&&(t._loopX=!0),this.pages[0]&&this.pages[0].length>1&&(t._loopY=!0),t._loopX&&t._loopY&&w("Loop does not support two direction at the same time."))},t.prototype._nearestSnap=function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0;if(Math.abs(t-this.absStartX)<=this.snapThresholdX&&Math.abs(e-this.absStartY)<=this.snapThresholdY)return this.currentPage;t>this.minScrollX?t=this.minScrollX:t<this.maxScrollX&&(t=this.maxScrollX),e>this.minScrollY?e=this.minScrollY:e<this.maxScrollY&&(e=this.maxScrollY);for(var n=this.pages.length;i<n;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}n=this.pages[i].length;for(var o=0;o<n;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i===this.currentPage.pageX&&(i+=this.directionX,i<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o===this.currentPage.pageY&&(o+=this.directionY,o<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},t.prototype._goToPage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments[2],n=arguments[3],o=this.options.snap;if(o&&this.pages&&this.pages.length&&(n=n||o.easing||V.bounce,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),this.pages[t])){e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,r=this.pages[t][e].y;i=void 0===i?o.speed||Math.max(Math.max(Math.min(Math.abs(s-this.x),1e3),Math.min(Math.abs(r-this.y),1e3)),300):i,this.currentPage={x:s,y:r,pageX:t,pageY:e},this.scrollTo(s,r,i,n)}},t.prototype.goToPage=function(t,e,i,n){var o=this.options.snap;if(o&&this.pages&&this.pages.length){if(o.loop){var s=void 0;o._loopX?(s=this.pages.length-2,t>=s?t=s-1:t<0&&(t=0),t+=1):(s=this.pages[0].length-2,e>=s?e=s-1:e<0&&(e=0),e+=1)}this._goToPage(t,e,i,n)}},t.prototype.next=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i++,i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this._goToPage(i,n,t,e)}},t.prototype.prev=function(t,e){if(this.options.snap){var i=this.currentPage.pageX,n=this.currentPage.pageY;i--,i<0&&this.hasVerticalScroll&&(i=0,n--),this._goToPage(i,n,t,e)}},t.prototype.getCurrentPage=function(){var t=this.options.snap;return t?t.loop?t._loopX?o({},this.currentPage,{pageX:this.currentPage.pageX-1}):o({},this.currentPage,{pageY:this.currentPage.pageY-1}):this.currentPage:null}}(D),function(t){t.prototype.wheelTo=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.options.wheel&&(this.y=-t*this.itemHeight,this.scrollTo(0,this.y))},t.prototype.getSelectedIndex=function(){return this.options.wheel&&this.selectedIndex},t.prototype._initWheel=function(){var t=this.options.wheel;t.wheelWrapperClass||(t.wheelWrapperClass="wheel-scroll"),t.wheelItemClass||(t.wheelItemClass="wheel-item"),void 0===t.selectedIndex&&(t.selectedIndex=0,w("wheel option selectedIndex is required!"))}}(D),function(t){t.prototype._initScrollbar=function(){var t=this,e=this.options.scrollbar,i=e.fade,n=void 0===i||i,o=e.interactive,s=void 0!==o&&o;this.indicators=[];var r=void 0;this.options.scrollX&&(r={el:T("horizontal"),direction:"horizontal",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.options.scrollY&&(r={el:T("vertical"),direction:"vertical",fade:n,interactive:s},this._insertScrollBar(r.el),this.indicators.push(new M(this,r))),this.on("refresh",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].refresh()}),n&&(this.on("scrollEnd",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollCancel",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade()}),this.on("scrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0)}),this.on("beforeScrollStart",function(){for(var e=0;e<t.indicators.length;e++)t.indicators[e].fade(!0,!0)})),this.on("destroy",function(){t._removeScrollBars()})},t.prototype._insertScrollBar=function(t){this.wrapper.appendChild(t)},t.prototype._removeScrollBars=function(){for(var t=0;t<this.indicators.length;t++)this.indicators[t].destroy()}}(D),function(t){t.prototype._initPullDown=function(){this.options.probeType=tt},t.prototype._checkPullDown=function(){var t=this.options.pullDownRefresh,e=t.threshold,i=void 0===e?90:e,n=t.stop,o=void 0===n?40:n;return!(this.directionY!==Z||this.y<i)&&(this.pulling||(this.pulling=!0,this.trigger("pullingDown")),this.scrollTo(this.x,o,this.options.bounceTime,V.bounce),this.pulling)},t.prototype.finishPullDown=function(){this.pulling=!1,this.resetPosition(this.options.bounceTime,V.bounce)},t.prototype.openPullDown=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullDownRefresh=t,this._initPullDown()},t.prototype.closePullDown=function(){this.options.pullDownRefresh=!1}}(D),function(t){t.prototype._initPullUp=function(){this.options.probeType=tt,this.pullupWatching=!1,this._watchPullUp()},t.prototype._watchPullUp=function(){this.pullupWatching||(this.pullupWatching=!0,this.on("scroll",this._checkToEnd))},t.prototype._checkToEnd=function(t){var e=this,i=this.options.pullUpLoad.threshold,n=void 0===i?0:i;this.movingDirectionY===K&&t.y<=this.maxScrollY+n&&(this.once("scrollEnd",function(){e.pullupWatching=!1}),this.trigger("pullingUp"),this.off("scroll",this._checkToEnd))},t.prototype.finishPullUp=function(){var t=this;this.pullupWatching?this.once("scrollEnd",function(){t._watchPullUp()}):this._watchPullUp()},t.prototype.openPullUp=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.options.pullUpLoad=t,this._initPullUp()},t.prototype.closePullUp=function(){this.options.pullUpLoad=!1,this.pullupWatching&&(this.pullupWatching=!1,this.off("scroll",this._checkToEnd))}}(D),function(t){t.prototype._initMouseWheel=function(){var t=this;this._handleMouseWheelEvent(l),this.on("destroy",function(){clearTimeout(t.mouseWheelTimer),clearTimeout(t.mouseWheelEndTimer),t._handleMouseWheelEvent(h)}),this.firstWheelOpreation=!0},t.prototype._handleMouseWheelEvent=function(t){t(this.wrapper,"wheel",this),t(this.wrapper,"mousewheel",this),t(this.wrapper,"DOMMouseScroll",this)},t.prototype._onMouseWheel=function(t){var e=this;if(this.enabled){t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.firstWheelOpreation&&this.trigger("scrollStart"),this.firstWheelOpreation=!1;var i=this.options.mouseWheel,n=i.speed,o=void 0===n?20:n,s=i.invert,r=void 0!==s&&s,a=i.easeTime,l=void 0===a?300:a;clearTimeout(this.mouseWheelTimer),this.mouseWheelTimer=setTimeout(function(){e.options.snap||l||e.trigger("scrollEnd",{x:e.x,y:e.y}),e.firstWheelOpreation=!0},400);var h=void 0,c=void 0;switch(!0){case"deltaX"in t:1===t.deltaMode?(h=-t.deltaX*o,c=-t.deltaY*o):(h=-t.deltaX,c=-t.deltaY);break;case"wheelDeltaX"in t:h=t.wheelDeltaX/120*o,c=t.wheelDeltaY/120*o;break;case"wheelDelta"in t:h=c=t.wheelDelta/120*o;break;case"detail"in t:h=c=-t.detail/3*o;break;default:return}var u=r?-1:1;h*=u,c*=u,this.hasVerticalScroll||(h=c,c=0);var p=void 0,f=void 0;if(this.options.snap)return p=this.currentPage.pageX,f=this.currentPage.pageY,h>0?p--:h<0&&p++,c>0?f--:c<0&&f++,void this._goToPage(p,f);p=this.x+Math.round(this.hasHorizontalScroll?h:0),f=this.y+Math.round(this.hasVerticalScroll?c:0),this.movingDirectionX=this.directionX=h>0?-1:h<0?1:0,this.movingDirectionY=this.directionY=c>0?-1:c<0?1:0,p>this.minScrollX?p=this.minScrollX:p<this.maxScrollX&&(p=this.maxScrollX),f>this.minScrollY?f=this.minScrollY:f<this.maxScrollY&&(f=this.maxScrollY);var d=this.y===f;this.scrollTo(p,f,l,V.swipe),this.trigger("scroll",{x:this.x,y:this.y}),clearTimeout(this.mouseWheelEndTimer),d&&(this.mouseWheelEndTimer=setTimeout(function(){e.trigger("scrollEnd",{x:e.x,y:e.y})},l))}}}(D),function(t){t.prototype._initZoom=function(){var t=this.options.zoom,e=t.start,i=void 0===e?1:e,n=t.min,o=void 0===n?1:n,s=t.max,r=void 0===s?4:s;this.scale=Math.min(Math.max(i,o),r),this.setScale(this.scale),this.scrollerStyle[$.transformOrigin]="0 0"},t.prototype._zoomTo=function(t,e,i,n){this.scaled=!0;var o=t/(n||this.scale);this.setScale(t),this.refresh();var s=Math.round(this.startX-(e-this.relativeX)*(o-1)),r=Math.round(this.startY-(i-this.relativeY)*(o-1));s>this.minScrollX?s=this.minScrollX:s<this.maxScrollX&&(s=this.maxScrollX),r>this.minScrollY?r=this.minScrollY:r<this.maxScrollY&&(r=this.maxScrollY),this.x===s&&this.y===r||this.scrollTo(s,r,this.options.bounceTime),this.scaled=!1},t.prototype.zoomTo=function(t,e,i){var n=u(this.wrapper),o=n.left,s=n.top,r=e+o-this.x,a=i+s-this.y;this._zoomTo(t,r,a)},t.prototype._zoomStart=function(t){var e=t.touches[0],i=t.touches[1],n=Math.abs(e.pageX-i.pageX),o=Math.abs(e.pageY-i.pageY);this.startDistance=r(n,o),this.startScale=this.scale;var s=u(this.wrapper),a=s.left,l=s.top;this.originX=Math.abs(e.pageX+i.pageX)/2+a-this.x,this.originY=Math.abs(e.pageY+i.pageY)/2+l-this.y,this.trigger("zoomStart")},t.prototype._zoom=function(t){if(this.enabled&&!this.destroyed&&R[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation();var e=t.touches[0],i=t.touches[1],n=Math.abs(e.pageX-i.pageX),o=Math.abs(e.pageY-i.pageY),s=r(n,o),a=s/this.startDistance*this.startScale;this.scaled=!0;var l=this.options.zoom,h=l.min,c=void 0===h?1:h,u=l.max,p=void 0===u?4:u;a<c?a=.5*c*Math.pow(2,a/c):a>p&&(a=2*p*Math.pow(.5,p/a));var f=a/this.startScale,d=this.startX-(this.originX-this.relativeX)*(f-1),m=this.startY-(this.originY-this.relativeY)*(f-1);this.setScale(a),this.scrollTo(d,m,0)}},t.prototype._zoomEnd=function(t){if(this.enabled&&!this.destroyed&&R[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault(),this.options.stopPropagation&&t.stopPropagation(),this.isInTransition=!1,this.isAnimating=!1,this.initiated=0;var e=this.options.zoom,i=e.min,n=void 0===i?1:i,o=e.max,s=void 0===o?4:o,r=this.scale>s?s:this.scale<n?n:this.scale;this._zoomTo(r,this.originX,this.originY,this.startScale),this.trigger("zoomEnd")}}}(D),function(t){t.prototype._initInfinite=function(){this.options.probeType=3,this.maxScrollY=-et,this.infiniteScroller=new k(this,this.options.infinity)}}(D),D.Version="1.12.6",e.default=D},function(t,e,i){t.exports={default:i(75),__esModule:!0}},function(t,e,i){i(38),i(47),t.exports=i(41).f("iterator")},function(t,e,i){t.exports={default:i(77),__esModule:!0}},function(t,e,i){i(78),i(84),i(85),i(86),t.exports=i(0).Symbol},function(t,e,i){"use strict";var n=i(1),o=i(5),s=i(3),r=i(12),a=i(39),l=i(79).KEY,h=i(9),c=i(21),u=i(27),p=i(17),f=i(2),d=i(41),m=i(42),v=i(80),g=i(81),y=i(11),x=i(10),b=i(8),_=i(24),w=i(14),S=i(40),T=i(82),M=i(83),P=i(4),k=i(15),D=M.f,E=P.f,Y=T.f,X=n.Symbol,O=n.JSON,I=O&&O.stringify,C=f("_hidden"),A=f("toPrimitive"),j={}.propertyIsEnumerable,L=c("symbol-registry"),W=c("symbols"),N=c("op-symbols"),H=Object.prototype,z="function"==typeof X,$=n.QObject,F=!$||!$.prototype||!$.prototype.findChild,R=s&&h(function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(t,e,i){var n=D(H,e);n&&delete H[e],E(t,e,i),n&&t!==H&&E(H,e,n)}:E,U=function(t){var e=W[t]=S(X.prototype);return e._k=t,e},V=z&&"symbol"==typeof X.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof X},B=function(t,e,i){return t===H&&B(N,e,i),y(t),e=_(e,!0),y(i),o(W,e)?(i.enumerable?(o(t,C)&&t[C][e]&&(t[C][e]=!1),i=S(i,{enumerable:w(0,!1)})):(o(t,C)||E(t,C,w(1,{})),t[C][e]=!0),R(t,e,i)):E(t,e,i)},q=function(t,e){y(t);for(var i,n=v(e=b(e)),o=0,s=n.length;s>o;)B(t,i=n[o++],e[i]);return t},K=function(t,e){return void 0===e?S(t):q(S(t),e)},Z=function(t){var e=j.call(this,t=_(t,!0));return!(this===H&&o(W,t)&&!o(N,t))&&(!(e||!o(this,t)||!o(W,t)||o(this,C)&&this[C][t])||e)},G=function(t,e){if(t=b(t),e=_(e,!0),t!==H||!o(W,e)||o(N,e)){var i=D(t,e);return!i||!o(W,e)||o(t,C)&&t[C][e]||(i.enumerable=!0),i}},J=function(t){for(var e,i=Y(b(t)),n=[],s=0;i.length>s;)o(W,e=i[s++])||e==C||e==l||n.push(e);return n},Q=function(t){for(var e,i=t===H,n=Y(i?N:b(t)),s=[],r=0;n.length>r;)!o(W,e=n[r++])||i&&!o(H,e)||s.push(W[e]);return s};z||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(i){this===H&&e.call(N,i),o(this,C)&&o(this[C],t)&&(this[C][t]=!1),R(this,t,w(1,i))};return s&&F&&R(H,t,{configurable:!0,set:e}),U(t)},a(X.prototype,"toString",function(){return this._k}),M.f=G,P.f=B,i(58).f=T.f=J,i(23).f=Z,i(31).f=Q,s&&!i(16)&&a(H,"propertyIsEnumerable",Z,!0),d.f=function(t){return U(f(t))}),r(r.G+r.W+r.F*!z,{Symbol:X});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)f(tt[et++]);for(var it=k(f.store),nt=0;it.length>nt;)m(it[nt++]);r(r.S+r.F*!z,"Symbol",{for:function(t){return o(L,t+="")?L[t]:L[t]=X(t)},keyFor:function(t){if(!V(t))throw TypeError(t+" is not a symbol!");for(var e in L)if(L[e]===t)return e},useSetter:function(){F=!0},useSimple:function(){F=!1}}),r(r.S+r.F*!z,"Object",{create:K,defineProperty:B,defineProperties:q,getOwnPropertyDescriptor:G,getOwnPropertyNames:J,getOwnPropertySymbols:Q}),O&&r(r.S+r.F*(!z||h(function(){var t=X();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,i,n=[t],o=1;arguments.length>o;)n.push(arguments[o++]);if(i=e=n[1],(x(e)||void 0!==t)&&!V(t))return g(e)||(e=function(t,e){if("function"==typeof i&&(e=i.call(this,t,e)),!V(e))return e}),n[1]=e,I.apply(O,n)}}),X.prototype[A]||i(7)(X.prototype,A,X.prototype.valueOf),u(X,"Symbol"),u(Math,"Math",!0),u(n.JSON,"JSON",!0)},function(t,e,i){var n=i(17)("meta"),o=i(10),s=i(5),r=i(4).f,a=0,l=Object.isExtensible||function(){return!0},h=!i(9)(function(){return l(Object.preventExtensions({}))}),c=function(t){r(t,n,{value:{i:"O"+ ++a,w:{}}})},u=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,n)){if(!l(t))return"F";if(!e)return"E";c(t)}return t[n].i},p=function(t,e){if(!s(t,n)){if(!l(t))return!0;if(!e)return!1;c(t)}return t[n].w},f=function(t){return h&&d.NEED&&l(t)&&!s(t,n)&&c(t),t},d=t.exports={KEY:n,NEED:!1,fastKey:u,getWeak:p,onFreeze:f}},function(t,e,i){var n=i(15),o=i(31),s=i(23);t.exports=function(t){var e=n(t),i=o.f;if(i)for(var r,a=i(t),l=s.f,h=0;a.length>h;)l.call(t,r=a[h++])&&e.push(r);return e}},function(t,e,i){var n=i(26);t.exports=Array.isArray||function(t){return"Array"==n(t)}},function(t,e,i){var n=i(8),o=i(58).f,s={}.toString,r="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(t){return r.slice()}};t.exports.f=function(t){return r&&"[object Window]"==s.call(t)?a(t):o(n(t))}},function(t,e,i){var n=i(23),o=i(14),s=i(8),r=i(24),a=i(5),l=i(29),h=Object.getOwnPropertyDescriptor;e.f=i(3)?h:function(t,e){if(t=s(t),e=r(e,!0),l)try{return h(t,e)}catch(t){}if(a(t,e))return o(!n.f.call(t,e),t[e])}},function(t,e){},function(t,e,i){i(42)("asyncIterator")},function(t,e,i){i(42)("observable")},function(t,e,i){var n=i(66),o=i(2)("iterator"),s=i(13);t.exports=i(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||s[n(t)]}},,function(t,e,i){var n,o,s;!function(i,r){o=[e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t){"use strict";function e(t,e,n,o){var s={year:"(Y+)",month:"(M+)",date:"(D+)",hour:"(h+)",minute:"(m+)",second:"(s+)",quarter:"(q+)",millisecond:"(S)"};if(new RegExp(s[t],o).test(e)){var r="year"===t?n.toString().substr(4-RegExp.$1.length):1===RegExp.$1.length?n:i(n);e=e.replace(RegExp.$1,r)}return e}function i(t){return("00"+t).substr((""+t).length)}function n(t,i){var n={year:{value:t.getFullYear(),regExpAttributes:"i"},month:{value:t.getMonth()+1},date:{value:t.getDate(),regExpAttributes:"i"},hour:{value:t.getHours(),regExpAttributes:"i"},minute:{value:t.getMinutes()},second:{value:t.getSeconds()},quarter:{value:Math.floor((t.getMonth()+3)/3),regExpAttributes:"i"},millisecond:{value:t.getMilliseconds()}};for(var o in n)i=e(o,i,n[o].value,n[o].regExpAttributes);return i}function o(t){var e=t.getFullYear(),i=t.getMonth()+1,n=t.getDate();return+new Date(e+"/"+i+"/"+n+" 00:00:00")}function s(t,e){return Math.floor((o(t)-o(e))/l)}function r(){return window.performance&&window.performance.now?window.performance.now()+window.performance.timing.navigationStart:+new Date}function a(t,e){var i=30;return[1,3,5,7,8,10,12].indexOf(t)>-1?i=31:2===t&&(i=e&&e%400&&(e%4||!(e%100))?28:29),i}Object.defineProperty(t,"__esModule",{value:!0});var l=864e5;t.DAY_TIMESTAMP=l,t.HOUR_TIMESTAMP=36e5,t.MINUTE_TIMESTAMP=6e4,t.pad=i,t.formatType=e,t.formatDate=n,t.getZeroStamp=o,t.getDayDiff=s,t.getNow=r,t.computeNatureMaxDay=a})},function(t,e,i){i(91),t.exports=i(0).Object.assign},function(t,e,i){var n=i(12);n(n.S+n.F,"Object",{assign:i(92)})},function(t,e,i){"use strict";var n=i(15),o=i(31),s=i(23),r=i(25),a=i(33),l=Object.assign;t.exports=!l||i(9)(function(){var t={},e={},i=Symbol(),n="abcdefghijklmnopqrst";return t[i]=7,n.split("").forEach(function(t){e[t]=t}),7!=l({},t)[i]||Object.keys(l({},e)).join("")!=n})?function(t,e){for(var i=r(t),l=arguments.length,h=1,c=o.f,u=s.f;l>h;)for(var p,f=a(arguments[h++]),d=c?n(f).concat(c(f)):n(f),m=d.length,v=0;m>v;)u.call(f,p=d[v++])&&(i[p]=f[p]);return i}:l},,function(t,e,i){"use strict";function n(t){return(t+"").replace(y,function(t,e){return e?e.toUpperCase():""})}function o(t,e){return(t+"").replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\"+(e||"")+"-]","g"),"\\$&")}function s(t){return"boolean"==typeof t}function r(t){return void 0===t}function a(t){return"string"==typeof t}function l(t){return"function"==typeof t}function h(t){console.error("[vue-create-api warn]: "+t)}function c(t,e){if(!t)throw new Error("[vue-create-api error]: "+e)}function u(t,e,i,n,o){var s=void 0,r=void 0,a=new t(g({},o,{render:function(t){var i=r&&r(t);return i&&!Array.isArray(i)&&(i=[i]),t(e,g({},s),i||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}}));a.updateRenderData=function(t,e){s=t,r=e},a.updateRenderData(i,n),a.$mount(),a.init();var l=a.$children[0];return l.$updateProps=function(t){g(s.props,t),a.$forceUpdate()},l}function p(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=f(e);var i=g({},t),n={};for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];i[s]&&(n[o]=i[s],delete i[s])}return{props:i,on:n}}function f(t){var e={};return t.forEach(function(t){e[t]=n("on-"+t)}),e}function d(t){function e(e,i,n,o){m.forEach(function(t){t(e,i,o)});var s=n.parent?n.parent._uid:-1,r=d[s]?d[s]:{},a=r.comp,l=r.ins;if(o&&a&&l)return l.updateRenderData(e,i),l.$forceUpdate(),a;var h=u(f,t,e,i,n),c=h.$parent,p=h.remove;h.remove=function(){if(o){if(!d[s])return;d[s]=null}p&&p.call(this),c.destroy()};var v=h.show;h.show=function(){return v&&v.call(this),this};var g=h.hide;return h.hide=function(){return g&&g.call(this),this},o&&(d[s]={comp:h,ins:c}),h}function i(t,e,i,n){var o=e.props.$props;if(o){delete e.props.$props;var s=[],r=[];if(Object.keys(o).forEach(function(i){var n=o[i];a(n)&&n in t?(e.props[i]=t[n],s.push(i),r.push(n)):e.props[i]=n}),i){var l=t.$watch(function(){var e={};return s.forEach(function(i,n){e[i]=t[r[n]]}),e},n);t.__unwatchFns__.push(l)}}}function n(t,e){var i=t.props.$events;i&&(delete t.props.$events,Object.keys(i).forEach(function(n){var o=i[n];"string"==typeof o&&(o=e[o]),t.on[n]=o}))}function o(t){var e=t.props;Object.keys(e).forEach(function(i){"$"===i.charAt(0)&&(t[i.slice(1)]=e[i],delete e[i])})}function s(t){t.__unwatchFns__&&(t.__unwatchFns__.forEach(function(t){t()}),t.__unwatchFns__=null)}var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],f=this,d={},m=[];return{before:function(t){m.push(t)},create:function(t,a,u){function f(){s(d),y.remove(),y=null}!l(a)&&r(u)&&(u=a,a=null),r(u)&&(u=c);var d=this,m=!!d.$on,v={};m&&(v.parent=d,d.__unwatchFns__||(d.__unwatchFns__=[]));var g=p(t,h),y=null;return i(d,g,m,function(t){y&&y.$updateProps(t)}),n(g,d),o(g),y=e(g,a,v,u),m&&d.$on(x,f),y}}}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b)return void h("[vue-create-api] already installed. Vue.use(CreateAPI) should be called only once.");b=!0;var i=e.componentPrefix,n=void 0===i?"":i,o=e.apiPrefix,r=void 0===o?"$create-":o;t.createAPI=function(e,i,o){s(i)&&(o=i,i=[]);var a=d.call(this,e,i,o),l=v(e,{componentPrefix:n,apiPrefix:r});return t.prototype[l]=e.$create=a.create,a}}function v(t,e){var i=e.componentPrefix,s=e.apiPrefix,r=t.name;c(r,"Component must have name while using create-api!");var a=new RegExp("^"+o(i),"i");return""+n(""+s+r.replace(a,""))}Object.defineProperty(e,"__esModule",{value:!0});/**
   * vue-create-api v0.2.0
   * (c) 2018 ustbhuangyi
   * @license MIT
   */
  var g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},y=/-(\w)/g,x="hook:beforeDestroy",b=!1,_={install:m,instantiateComponent:u,version:"0.2.0"};e.default=_},function(t,e,i){function n(t){i(96)}var o=i(6)(i(97),i(98),n,null,null);t.exports=o.exports},function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(36),i(49),i(59)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=s(i),a=s(n),l=s(o);e.default={name:"cube-popup",mixins:[a.default,l.default],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},position:{type:String,default:""}},computed:{rootClass:function(){var t={"cube-popup_mask":this.mask};return this.type&&(t["cube-"+this.type]=!0),t},containerClass:function(){var t=this.center,e=this.position;return e?(0,r.default)({},"cube-popup-"+e,!0):t?{"cube-popup-center":!0}:void 0}},methods:{maskClick:function(t){this.$emit("mask-click",t),this.maskClosable&&this.hide()}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-popup",class:t.rootClass,style:{"z-index":t.zIndex}},[i("div",{staticClass:"cube-popup-mask",on:{touchmove:function(t){t.preventDefault()},click:t.maskClick}},[t._t("mask")],2),t._v(" "),i("div",{staticClass:"cube-popup-container",class:t.containerClass,on:{touchmove:function(t){t.preventDefault()}}},[t.$slots.default?i("div",{staticClass:"cube-popup-content"},[t._t("default")],2):i("div",{staticClass:"cube-popup-content",domProps:{innerHTML:t._s(t.content)}})])])},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={cancel:"取消",confirm:"确认",ok:"确定",prev:"上一步",next:"下一步",selectText:"请选择",now:"现在",selectTime:"选择时间",today:"今日",formatDate:"M月D日",hours:"点",minutes:"分",validator:{required:"此为必填项",type:{string:"请输入字符",number:"请输入数字",array:"数据类型应为数组",date:"请选择有效日期",email:"请输入有效邮箱",tel:"请输入有效的手机号码",url:"请输入有效网址"},min:{string:"至少输入 {{config}} 位字符",number:"不得小于 {{config}}",array:"请选择至少 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之后的时间',email:"至少输入 {{config}} 位字符",tel:"至少输入 {{config}} 位字符",url:"至少输入 {{config}} 位字符"},max:{string:"请勿超过 {{config}} 位字符",number:"请勿大于 {{config}}",array:"最多选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请勿超过 {{config}} 位字符",tel:"请勿超过 {{config}} 位字符",url:"请勿超过 {{config}} 位字符"},len:{string:"请输入 {{config}} 位字符",number:"长度应等于 {{config}}",array:"请选择 {{config}} 项",date:'请选择 {{config | toLocaleDateString("yyyy年MM月dd日")}} 之前的时间',email:"请输入 {{config}} 位字符",tel:"请输入 {{config}} 位字符",url:"请输入 {{config}} 位字符"},pattern:"格式错误",custom:"未通过校验",notWhitespace:"空白内容无效"}},t.exports=e.default})},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:{title:{type:String},subtitle:{type:String},cancelTxt:{type:String,default:""},confirmTxt:{type:String,default:""},swipeTime:{type:Number,default:2500},maskClosable:{type:Boolean,default:!0}},computed:{_cancelTxt:function(){return this.cancelTxt||this.$t("cancel")},_confirmTxt:function(){return this.confirmTxt||this.$t("ok")}}},t.exports=e.default})},,,,,,function(t,e,i){function n(t){i(129)}var o=i(6)(i(130),i(131),n,null,null);t.exports=o.exports},function(t,e,i){var n,o,s;!function(i,r){o=[t,e],n=r,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i={value:"value",text:"text",order:"order"};e.default={props:{data:{type:Array,default:function(){return[]}},selectedIndex:{type:Array,default:function(){return[]}},alias:{type:Object,default:function(){return{}}}},computed:{valueKey:function(){return this.alias.value||i.value},textKey:function(){return this.alias.text||i.text},orderKey:function(){return i.order},merge:function(){return[this.data,this.selectedIndex]}},watch:{merge:function(t){this.setData(t[0],t[1])}}},t.exports=e.default})},,function(t,e,i){"use strict";e.__esModule=!0;var n=i(110),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=function(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return(0,o.default)(t)}},function(t,e,i){t.exports={default:i(111),__esModule:!0}},function(t,e,i){i(38),i(112),t.exports=i(0).Array.from},function(t,e,i){"use strict";var n=i(35),o=i(12),s=i(25),r=i(113),a=i(114),l=i(37),h=i(115),c=i(87);o(o.S+o.F*!i(116)(function(t){Array.from(t)}),"Array",{from:function(t){var e,i,o,u,p=s(t),f="function"==typeof this?this:Array,d=arguments.length,m=d>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(p);if(v&&(m=n(m,d>2?arguments[2]:void 0,2)),void 0==y||f==Array&&a(y))for(e=l(p.length),i=new f(e);e>g;g++)h(i,g,v?m(p[g],g):p[g]);else for(u=y.call(p),i=new f;!(o=u.next()).done;g++)h(i,g,v?r(u,m,[o.value,g],!0):o.value);return i.length=g,i}})},function(t,e,i){var n=i(11);t.exports=function(t,e,i,o){try{return o?e(n(i)[0],i[1]):e(i)}catch(e){var s=t.return;throw void 0!==s&&n(s.call(t)),e}}},function(t,e,i){var n=i(13),o=i(2)("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||s[o]===t)}},function(t,e,i){"use strict";var n=i(4),o=i(14);t.exports=function(t,e,i){e in t?n.f(t,e,o(0,i)):t[e]=i}},function(t,e,i){var n=i(2)("iterator"),o=!1;try{var s=[7][n]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var i=!1;try{var s=[7],r=s[n]();r.next=function(){return{done:i=!0}},s[n]=function(){return r},t(s)}catch(t){}return i}},,,,,,,,,,,,,function(t,e){},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(109),i(73),i(95),i(49),i(59),i(107),i(100),i(72)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a,l,h){"use strict";function c(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var u=c(i),p=c(n),f=c(o),d=c(s),m=c(r),v=c(a),g=c(l),y=c(h);e.default={name:"cube-picker",mixins:[d.default,m.default,v.default,g.default,y.default],props:{pending:{type:Boolean,default:!1}},data:function(){return{finalData:this.data.slice()}},created:function(){this._values=[],this._indexes=this.selectedIndex},methods:{confirm:function(){if(this._canConfirm()){this.hide();var t=!1,e=[],i=this.finalData.length,n=this._values.length;n!==i&&(t=!0,n>i&&(this._values.length=this._indexes.length=i));for(var o=0;o<i;o++){var s=this.wheels[o].getSelectedIndex();this._indexes[o]=s;var r=null,a="";this.finalData[o].length&&(r=this.finalData[o][s][this.valueKey],a=this.finalData[o][s][this.textKey]),this._values[o]!==r&&(t=!0),this._values[o]=r,e[o]=a}this.$emit("select",this._values,this._indexes,e),t&&this.$emit("value-change",this._values,this._indexes,e)}},maskClick:function(){this.maskClosable&&this.cancel()},cancel:function(){this.hide(),this.$emit("cancel")},show:function(){var t=this;if(!this.isVisible)if(this.isVisible=!0,!this.wheels||this.dirty)this.$nextTick(function(){t.wheels=t.wheels||[];for(var e=t.$refs.wheelWrapper,i=0;i<t.finalData.length;i++)t._createWheel(e,i).enable(),t.wheels[i].wheelTo(t._indexes[i]);t.dirty&&t._destroyExtraWheels(),t.dirty=!1});else for(var e=0;e<this.finalData.length;e++)this.wheels[e].enable(),this.wheels[e].wheelTo(this._indexes[e])},hide:function(){if(this.isVisible){this.isVisible=!1;for(var t=0;t<this.finalData.length;t++)this.wheels[t].disable()}},setData:function(t,e){var i=this;this._indexes=e?[].concat((0,u.default)(e)):[],this.finalData=t.slice(),this.isVisible?this.$nextTick(function(){var t=i.$refs.wheelWrapper;i.finalData.forEach(function(e,n){i._createWheel(t,n),i.wheels[n].wheelTo(i._indexes[n])}),i._destroyExtraWheels()}):this.dirty=!0},refill:function(t){var e=this,i=[];return t.length?(t.forEach(function(t,n){i[n]=e.refillColumn(n,t)}),i):i},refillColumn:function(t,e){var i=this,n=this.$refs.wheelWrapper,o=n.children[t].querySelector(".cube-picker-wheel-scroll"),s=!!this.wheels&&this.wheels[t],r=0;if(o&&s){var a=this.finalData[t];this.$set(this.finalData,t,e);var l=s.getSelectedIndex();if(a.length)for(var h=a[l][this.valueKey],c=0;c<e.length;c++)if(e[c][this.valueKey]===h){r=c;break}this._indexes[t]=r,this.$nextTick(function(){s=i._createWheel(n,t),s.wheelTo(r)})}return r},scrollTo:function(t,e){var i=this.wheels[t];this._indexes[t]=e,i.wheelTo(e)},refresh:function(){var t=this;this.$nextTick(function(){t.wheels.forEach(function(t){t.refresh()})})},_createWheel:function(t,e){var i=this;if(this.wheels[e])this.wheels[e].refresh();else{var n=this.wheels[e]=new p.default(t.children[e],{wheel:{selectedIndex:this._indexes[e]||0,wheelWrapperClass:"cube-picker-wheel-scroll",wheelItemClass:"cube-picker-wheel-item"},swipeTime:this.swipeTime,observeDOM:!1});n.on("scrollEnd",function(){i.$emit("change",e,n.getSelectedIndex())})}return this.wheels[e]},_destroyExtraWheels:function(){var t=this.finalData.length;if(this.wheels.length>t){this.wheels.splice(t).forEach(function(t){t.destroy()})}},_canConfirm:function(){return!this.pending&&this.wheels.every(function(t){return!t.isInTransition})},_getFlexOrder:function(t){return t[0]?t[0][this.orderKey]:0}},beforeDestroy:function(){this.wheels&&this.wheels.forEach(function(t){t.destroy()}),this.wheels=null},components:{CubePopup:f.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:"cube-picker-fade"}},[i("cube-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{type:"picker",mask:!0,center:!1,"z-index":t.zIndex},on:{touchmove:function(t){t.preventDefault()},"mask-click":t.maskClick}},[i("transition",{attrs:{name:"cube-picker-move"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"cube-picker-panel cube-safe-area-pb",on:{click:function(t){t.stopPropagation()}}},[i("div",{staticClass:"cube-picker-choose border-bottom-1px"},[i("span",{staticClass:"cube-picker-cancel",on:{click:t.cancel}},[t._v(t._s(t._cancelTxt))]),t._v(" "),i("span",{staticClass:"cube-picker-confirm",on:{click:t.confirm}},[t._v(t._s(t._confirmTxt))]),t._v(" "),i("div",{staticClass:"cube-picker-title-group"},[i("h1",{staticClass:"cube-picker-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t.subtitle?i("h2",{staticClass:"cube-picker-subtitle",domProps:{innerHTML:t._s(t.subtitle)}}):t._e()])]),t._v(" "),i("div",{staticClass:"cube-picker-content"},[i("i",{staticClass:"border-bottom-1px"}),t._v(" "),i("i",{staticClass:"border-top-1px"}),t._v(" "),i("div",{ref:"wheelWrapper",staticClass:"cube-picker-wheel-wrapper"},t._l(t.finalData,function(e,n){return i("div",{key:n,style:{order:t._getFlexOrder(e)}},[i("ul",{staticClass:"cube-picker-wheel-scroll"},t._l(e,function(e,n){return i("li",{key:n,staticClass:"cube-picker-wheel-item",domProps:{innerHTML:t._s(e[t.textKey])}})}))])}))]),t._v(" "),i("div",{staticClass:"cube-picker-footer"})])])],1)],1)},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(71),i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","value-change","cancel","change"]).before(function(t,e,i){i&&(0,n.tip)("Picker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})},,,,,,,,,,function(t,e,i){var n=i(6)(i(143),i(144),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(106),i(49),i(59),i(107),i(100),i(72)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a){"use strict";function l(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var h=l(i),c=l(n),u=l(o),p=l(s),f=l(r),d=l(a);e.default={name:"cube-cascade-picker",mixins:[c.default,u.default,p.default,f.default,d.default],props:{async:{type:Boolean,default:!1}},data:function(){return{cascadeData:this.data.slice(),pickerSelectedIndex:this.selectedIndex.slice(),pickerData:[],pending:!1}},created:function(){this._updatePickerData()},methods:{setData:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.pending=!1,this.cascadeData=t.slice(),this.pickerSelectedIndex=e.slice(),this._updatePickerData()},_pickerSelect:function(t,e,i){this.$emit("select",t,e,i)},_pickerCancel:function(){this.$emit("cancel")},_pickerChange:function(t,e){e!==this.pickerSelectedIndex[t]&&(this.pickerSelectedIndex.splice(t,1,e),this.async?this.pending=t!==this.pickerData.length-1:this._updatePickerData(t+1)),this.$emit("change",t,e)},_updatePickerData:function(){for(var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=this.cascadeData,n=0;i;)n>=e&&function(){var o=[];i.forEach(function(e){o.push({value:e[t.valueKey],text:e[t.textKey],order:e[t.orderKey]})}),t.pickerData[n]=o,t.pickerSelectedIndex[n]=0===e?t.pickerSelectedIndex[n]<i.length?t.pickerSelectedIndex[n]||0:0:t.$refs.picker.refillColumn(n,o)}(),i=i.length?i[this.pickerSelectedIndex[n]].children:null,n++;n<this.pickerData.length&&this.pickerData.splice(n,this.pickerData.length-n),this.pickerData=this.pickerData.slice()}},components:{CubePicker:h.default}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-picker",{ref:"picker",attrs:{data:t.pickerData,"selected-index":t.pickerSelectedIndex,pending:t.pending,title:t.title,subtitle:t.subtitle,"z-index":t.zIndex,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(106),i(381),i(384),i(132),i(65)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r){"use strict";function a(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var l=a(i),h=a(n),c=a(o),u=a(s),p=a(r);h.default.install=function(t){t.component(l.default.name,l.default),t.component(h.default.name,h.default),p.default.install(t),(0,u.default)(t,l.default),(0,c.default)(t,h.default)},h.default.Picker=l.default,e.default=h.default,t.exports=e.default})},function(t,e,i){var n=i(6)(i(382),i(383),null,null,null);t.exports=n.exports},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(64),i(67),i(89),i(49),i(59),i(100),i(72),i(142),i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n,o,s,r,a,l,h,c){"use strict";function u(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var p=u(i),f=u(n),d=u(s),m=u(r),v=u(a),g=u(l),y=u(h),x={value:"now"},b={floor:"floor",ceil:"ceil",round:"round"};e.default={name:"cube-time-picker",mixins:[d.default,m.default,v.default,g.default],components:{CubeCascadePicker:y.default},props:{title:{type:String,default:""},delay:{type:Number,default:15},day:{type:Object,default:function(){return{len:3}}},showNow:{type:[Boolean,Object],default:!0},minuteStep:{type:[Number,Object],default:10},format:{type:String,default:"YYYY/M/D hh:mm"},min:{type:[Date,Number],default:null},max:{type:[Date,Number],default:null}},data:function(){return{now:new Date,selectedIndex:[0,0,0],value:0}},computed:{_title:function(){return this.title||this.$t("selectTime")},_day:function(){var t={filter:[this.$t("today")],format:this.$t("formatDate")};return(0,f.default)({},t,this.day)},nowText:function(){var t=this.$t("now");return this.showNow&&this.showNow.text||t},minuteStepRule:function(){var t=this.minuteStep;return"object"===(void 0===t?"undefined":(0,p.default)(t))&&Math[b[t.rule]]||Math[b.floor]},minuteStepNumber:function(){var t=this.minuteStep;return"number"==typeof t?t:t.step||10},minTime:function(){var t=+this.min||+this.now+this.delay*o.MINUTE_TIMESTAMP,e=new Date(t).getMinutes();return t+=(Math.min(this.minuteStepRule(e/this.minuteStepNumber)*this.minuteStepNumber,60)-e)*o.MINUTE_TIMESTAMP,new Date(t)},maxTime:function(){var t=+this.max||(0,o.getZeroStamp)(new Date(+this.minTime+this._day.len*o.DAY_TIMESTAMP))-1,e=new Date(t).getMinutes();return t-=(e-Math.floor(e/this.minuteStepNumber)*this.minuteStepNumber)*o.MINUTE_TIMESTAMP,new Date(t)},days:function(){for(var t=[],e=(0,o.getDayDiff)(this.minTime,this.now),i=this.max?(0,o.getDayDiff)(this.maxTime,this.minTime)+1:this._day.len,n=0;n<i;n++){var s=+this.minTime+n*o.DAY_TIMESTAMP;t.push({value:s,text:this._day.filter&&this._day.filter[e+n]||(0,o.formatDate)(new Date(s),this._day.format)})}return t},hours:function(){for(var t=[],e=0;e<24;e++)t.push({value:e,text:""+e+this.$t("hours"),children:this.minutes});return t},minutes:function(){for(var t=[],e=0;e<60;e+=this.minuteStepNumber)t.push({value:e,text:""+(0,o.pad)(e)+this.$t("minutes")});return t},cascadeData:function(){var t=this,e=this.days.slice();return this.maxTime-this.minTime<=-6e4?((0,c.warn)("The max is smaller than the min optional time.","cube-time-picker"),[]):(e.forEach(function(i,n){var o=0===n,s=n===e.length-1;if(!o&&!s)return void(i.children=t.hours);for(var r=[],a=o?t.minTime.getHours():0,l=s?t.maxTime.getHours():23,h=a;h<=l;h++){var c=o&&h===a,u=s&&h===l;if(c||u){var p=c?Math.round(t.minTime.getMinutes()/t.minuteStepNumber):0,f=u?Math.round(t.maxTime.getMinutes()/t.minuteStepNumber):Math.floor(59/t.minuteStepNumber),d=t.minutes.slice(p,f+1);r.push({value:h,text:""+h+t.$t("hours"),children:d})}else r.push({value:h,text:""+h+t.$t("hours"),children:t.minutes})}i.children=r}),this.showNow&&e[0].children.unshift({value:x.value,text:this.nowText,children:[]}),e)}},methods:{show:function(){this.isVisible||(this.isVisible=!0,this._updateNow(),this._updateSelectedIndex())},setTime:function(t){this.value=t,this.isVisible&&this._updateSelectedIndex()},_updateSelectedIndex:function(){var t=this.value,e=this.minTime;if(t<=+e)this.selectedIndex=[0,0,0];else{var i=new Date(t),n=(0,o.getDayDiff)(i,e);if(n>=this.days.length)return void(0,c.warn)('Use "setTime" to set a time exceeded to the option range do not actually work.',"cube-time-picker");var s=i.getHours(),r=0===n?this.showNow?this.minTime.getHours()-1:this.minTime.getHours():0,a=s-r,l=this.minuteStepRule(i.getMinutes()/this.minuteStepNumber),h=n||(this.showNow?1!==a:a)?0:this.minuteStepRule(this.minTime.getMinutes()/this.minuteStepNumber),u=l-h;this.selectedIndex=[n,a,u]}},_updateNow:function(){this.now=new Date},_pickerChange:function(t,e){this.$emit("change",t,e)},_pickerSelect:function(t,e,i){var n=void 0,s=void 0;t[1]===x.value?(n=+new Date,s=this.nowText):(n=(0,o.getZeroStamp)(new Date(t[0]))+t[1]*o.HOUR_TIMESTAMP+t[2]*o.MINUTE_TIMESTAMP,s=i[0]+" "+i[1]+":"+i[2]),this.value=n;var r=(0,o.formatDate)(new Date(n),this.format);this.$emit("select",n,s,r)},_pickerCancel:function(){this.$emit("cancel")}}},t.exports=e.default})},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("cube-cascade-picker",{ref:"picker",attrs:{data:t.cascadeData,"selected-index":t.selectedIndex,title:t._title,subtitle:t.subtitle,"cancel-txt":t._cancelTxt,"confirm-txt":t._confirmTxt,"swipe-time":t.swipeTime,"z-index":t.zIndex,"mask-closable":t.maskClosable},on:{select:t._pickerSelect,cancel:t._pickerCancel,change:t._pickerChange},model:{value:t.isVisible,callback:function(e){t.isVisible=e},expression:"isVisible"}})},staticRenderFns:[]}},function(t,e,i){var n,o,s;!function(r,a){o=[t,e,i(71),i(32)],n=a,void 0!==(s="function"==typeof n?n.apply(e,o):n)&&(t.exports=s)}(0,function(t,e,i,n){"use strict";function o(t,e){(0,s.default)(t,e,["select","cancel","change"]).before(function(t,e,i){i&&(0,n.tip)("TimePicker component can not be a singleton.")})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var s=function(t){return t&&t.__esModule?t:{default:t}}(i);t.exports=e.default})}])});