/*! * Vue.js v2.4.1 * (c) 2014-2017 Evan You * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(t){return void 0===t||null===t}function e(t){return void 0!==t&&null!==t}function n(t){return!0===t}function r(t){return!1===t}function o(t){return"string"==typeof t||"number"==typeof t}function i(t){return null!==t&&"object"==typeof t}function a(t){return"[object Object]"===Un.call(t)}function s(t){return"[object RegExp]"===Un.call(t)}function c(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function l(t){var e=parseFloat(t);return isNaN(e)?t:e}function f(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(n,1)}}function d(t,e){return Bn.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function h(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function m(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function _(t){for(var e={},n=0;nBr&&Mr[n].id>t.id;)n--;Mr.splice(n+1,0,t)}else Mr.push(t);Ur||(Ur=!0,br(Ot))}}function It(t){Wr.clear(),Dt(t,Wr)}function Dt(t,e){var n,r,o=Array.isArray(t);if((o||i(t))&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)Dt(t[n],e);else for(n=(r=Object.keys(t)).length;n--;)Dt(t[r[n]],e)}}function Lt(t,e,n){qr.get=function(){return this[e][n]},qr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,qr)}function Pt(t){t._watchers=[];var e=t.$options;e.props&&Nt(t,e.props),e.methods&&Bt(t,e.methods),e.data?Mt(t):I(t._data={},!0),e.computed&&Rt(t,e.computed),e.watch&&e.watch!==pr&&Ht(t,e.watch)}function Nt(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;Or.shouldConvert=i;for(var a in e)!function(i){o.push(i);var a=q(i,e,n,t);D(r,i,a),i in t||Lt(t,"_props",i)}(a);Or.shouldConvert=!0}function Mt(t){var e=t.$options.data;a(e=t._data="function"==typeof e?Ft(e,t):e||{})||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&d(r,i)||w(i)||Lt(t,"_data",i)}I(e,!0)}function Ft(t,e){try{return t.call(e)}catch(t){return k(t,e,"data()"),{}}}function Rt(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var o=e[r],i="function"==typeof o?o:o.get;n[r]=new zr(t,i,g,Kr),r in t||Ut(t,r,o)}}function Ut(t,e,n){"function"==typeof n?(qr.get=Vt(e),qr.set=g):(qr.get=n.get?!1!==n.cache?Vt(e):n.get:g,qr.set=n.set?n.set:g),Object.defineProperty(t,e,qr)}function Vt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ar.target&&e.depend(),e.value}}function Bt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?g:h(e[n],t)}function Ht(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function ge(t){this._init(t)}function be(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=m(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ce(t){t.mixin=function(t){return this.options=z(this.options,t),this}}function Ae(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=z(n.options,t),a.super=n,a.options.props&&we(a),a.options.computed&&$e(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Qn.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=y({},a.options),o[r]=a,a}}function we(t){var e=t.options.props;for(var n in e)Lt(t.prototype,"_props",n)}function $e(t){var e=t.options.computed;for(var n in e)Ut(t.prototype,n,e[n])}function xe(t){Qn.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&a(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function ke(t){return t&&(t.Ctor.options.name||t.tag)}function Oe(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!s(t)&&t.test(e)}function Se(t,e,n){for(var r in t){var o=t[r];if(o){var i=ke(o.componentOptions);i&&!n(i)&&(o!==e&&Ee(o),t[r]=null)}}}function Ee(t){t&&t.componentInstance.$destroy()}function je(t){for(var n=t.data,r=t,o=t;e(o.componentInstance);)(o=o.componentInstance._vnode).data&&(n=Te(o.data,n));for(;e(r=r.parent);)r.data&&(n=Te(n,r.data));return Ie(n.staticClass,n.class)}function Te(t,n){return{staticClass:De(t.staticClass,n.staticClass),class:e(t.class)?[t.class,n.class]:n.class}}function Ie(t,n){return e(t)||e(n)?De(t,Le(n)):""}function De(t,e){return t?e?t+" "+e:t:e||""}function Le(t){return Array.isArray(t)?Pe(t):i(t)?Ne(t):"string"==typeof t?t:""}function Pe(t){for(var n,r="",o=0,i=t.length;o-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ln(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function fn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,Mo(t.name||"v")),y(e,t),e}return"string"==typeof t?Mo(t):void 0}}function pn(t){Wo(function(){Wo(t)})}function dn(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),un(t,e))}function vn(t,e){t._transitionClasses&&p(t._transitionClasses,e),ln(t,e)}function hn(t,e,n){var r=mn(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ro?Bo:zo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ro,l=a,f=i.length):e===Uo?u>0&&(n=Uo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ro:Uo:null)?n===Ro?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ro&&qo.test(r[Vo+"Property"])}}function yn(t,e){for(;t.length1}function wn(t,e){!0!==e.data.show&&gn(e)}function $n(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(b(kn(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function xn(t,e){for(var n=0,r=e.length;n0,cr=ir&&ir.indexOf("edge/")>0,ur=ir&&ir.indexOf("android")>0,lr=ir&&/iphone|ipad|ipod|ios/.test(ir),fr=ir&&/chrome\/\d+/.test(ir)&&!cr,pr={}.watch,dr=!1;if(or)try{var vr={};Object.defineProperty(vr,"passive",{get:function(){dr=!0}}),window.addEventListener("test-passive",null,vr)}catch(t){}var hr,mr,yr=function(){return void 0===hr&&(hr=!or&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),hr},_r=or&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,gr="undefined"!=typeof Symbol&&O(Symbol)&&"undefined"!=typeof Reflect&&O(Reflect.ownKeys),br=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?m(n):n;for(var r=m(arguments,1),o=0,i=n.length;o1&&(e[n[0].trim()]=n[1].trim())}}),e}),To=/^--/,Io=/\s*!important$/,Do=function(t,e,n){if(To.test(e))t.style.setProperty(e,n);else if(Io.test(n))t.style.setProperty(e,n.replace(Io,""),"important");else{var r=Po(e);if(Array.isArray(n))for(var o=0,i=n.length;od?_(n,t(o[m+1])?null:o[m+1].elm,o,p,m,i):p>m&&b(n,r,f,d)}function w(r,o,i,a){if(r!==o){var s=o.elm=r.elm;if(n(r.isAsyncPlaceholder))e(o.asyncFactory.resolved)?x(r.elm,o,i):o.isAsyncPlaceholder=!0;else if(n(o.isStatic)&&n(r.isStatic)&&o.key===r.key&&(n(o.isCloned)||n(o.isOnce)))o.componentInstance=r.componentInstance;else{var c,u=o.data;e(u)&&e(c=u.hook)&&e(c=c.prepatch)&&c(r,o);var l=r.children,f=o.children;if(e(u)&&h(o)){for(c=0;c-1?mo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:mo[t]=/HTMLUnknownElement/.test(e.toString())},y(ge.options.directives,Go),y(ge.options.components,Yo),ge.prototype.__patch__=or?Ko:g,ge.prototype.$mount=function(t,e){return t=t&&or?Me(t):void 0,bt(this,t,e)},setTimeout(function(){Yn.devtools&&_r&&_r.emit("init",ge)},0),ge});