mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 05:27:59 +08:00
7 lines
46 KiB
JavaScript
7 lines
46 KiB
JavaScript
/*!
|
|
* Vue.js v2.0.5
|
|
* (c) 2014-2016 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 null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function e(t){var e=parseFloat(t,10);return e||0===e?e:t}function n(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function r(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function i(t,e){return en.call(t,e)}function o(t){return"string"==typeof t||"number"==typeof t}function a(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function s(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 c(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function u(t,e){for(var n in e)t[n]=e[n];return t}function l(t){return null!==t&&"object"==typeof t}function f(t){return cn.call(t)===un}function d(t){for(var e={},n=0;n<t.length;n++)t[n]&&u(e,t[n]);return e}function p(){}function v(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function h(t,e){return t==e||!(!l(t)||!l(e))&&JSON.stringify(t)===JSON.stringify(e)}function m(t,e){for(var n=0;n<t.length;n++)if(h(t[n],e))return n;return-1}function _(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function y(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function g(t){if(!dn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function b(t){return/native code/.test(t.toString())}function C(t){An.target&&xn.push(An.target),An.target=t}function w(){An.target=xn.pop()}function $(){kn.length=0,On={},Sn=jn=!1}function A(){for(jn=!0,kn.sort(function(t,e){return t.id-e.id}),En=0;En<kn.length;En++){var t=kn[En],e=t.id;On[e]=null,t.run()}Cn&&fn.devtools&&Cn.emit("flush"),$()}function x(t){var e=t.id;if(null==On[e]){if(On[e]=!0,jn){for(var n=kn.length-1;n>=0&&kn[n].id>t.id;)n--;kn.splice(Math.max(n,En)+1,0,t)}else kn.push(t);Sn||(Sn=!0,wn(A))}}function k(t){Ln.clear(),O(t,Ln)}function O(t,e){var n,r,i=Array.isArray(t);if((i||l(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)O(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)O(t[r[n]],e)}}function S(t,e){t.__proto__=e}function j(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];y(t,o,e[o])}}function E(t){if(l(t)){var e;return i(t,"__ob__")&&t.__ob__ instanceof Bn?e=t.__ob__:In.shouldConvert&&!fn._isServer&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new Bn(t)),e}}function T(t,e,n,r){var i=new An,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,c=E(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return An.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(e)&&N(e)),e},set:function(e){var r=a?a.call(t):n;e!==r&&(s?s.call(t,e):n=e,c=E(e),i.notify())}})}}function D(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(i(t,e))return void(t[e]=n);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(T(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function L(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||i(t,e)&&(delete t[e],n&&n.dep.notify())}function N(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&N(e)}function P(t){t._watchers=[],M(t),I(t),B(t),R(t),V(t)}function M(t){var e=t.$options.props;if(e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),i=!t.$parent;In.shouldConvert=i;for(var o=function(i){var o=r[i];T(t,o,Nt(o,e,n,t))},a=0;a<r.length;a++)o(a);In.shouldConvert=!0}}function I(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},f(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&i(r,n[o])||z(t,n[o]);E(e),e.__ob__&&e.__ob__.vmCount++}function B(t){var e=t.$options.computed;if(e)for(var n in e){var r=e[n];"function"==typeof r?(Un.get=U(r,t),Un.set=p):(Un.get=r.get?r.cache!==!1?U(r.get,t):s(r.get,t):p,Un.set=r.set?s(r.set,t):p),Object.defineProperty(t,n,Un)}}function U(t,e){var n=new Dn(e,t,p,{lazy:!0});return function(){return n.dirty&&n.evaluate(),An.target&&n.depend(),n.value}}function R(t){var e=t.$options.methods;if(e)for(var n in e)t[n]=null==e[n]?p:s(e[n],t)}function V(t){var e=t.$options.watch;if(e)for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)F(t,n,r[i]);else F(t,n,r)}}function F(t,e,n){var r;f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function H(t){var e={};e.get=function(){return this._data},Object.defineProperty(t.prototype,"$data",e),t.prototype.$set=D,t.prototype.$delete=L,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var i=new Dn(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function z(t,e){_(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function q(t){var e=new Rn(t.tag,t.data,t.children,t.text,t.elm,t.ns,t.context,t.componentOptions);return e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function K(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=q(t[n]);return e}function W(t,e,n,r){r+=e;var i=t.__injected||(t.__injected={});if(!i[r]){i[r]=!0;var o=t[e];o?t[e]=function(){o.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function J(t,e,n,r,i){var o,a,s,c,u,l;for(o in t)if(a=t[o],s=e[o],a)if(s){if(a!==s)if(Array.isArray(s)){s.length=a.length;for(var f=0;f<s.length;f++)s[f]=a[f];t[o]=s}else s.fn=a,t[o]=s}else l="!"===o.charAt(0),u=l?o.slice(1):o,Array.isArray(a)?n(u,a.invoker=G(a),l):(a.invoker||(c=a,a=t[o]={},a.fn=c,a.invoker=Z(a)),n(u,a.invoker,l));else;for(o in e)t[o]||(u="!"===o.charAt(0)?o.slice(1):o,r(u,e[o].invoker))}function G(t){return function(e){for(var n=arguments,r=1===arguments.length,i=0;i<t.length;i++)r?t[i](e):t[i].apply(null,n)}}function Z(t){return function(e){var n=1===arguments.length;n?t.fn(e):t.fn.apply(null,arguments)}}function Q(t,e,n){if(o(t))return[X(t)];if(Array.isArray(t)){for(var r=[],i=0,a=t.length;i<a;i++){var s=t[i],c=r[r.length-1];Array.isArray(s)?r.push.apply(r,Q(s,e,(n||"")+"_"+i)):o(s)?c&&c.text?c.text+=String(s):""!==s&&r.push(X(s)):s instanceof Rn&&(s.text&&c&&c.text?c.text+=s.text:(e&&Y(s,e),s.tag&&null==s.key&&null!=n&&(s.key="__vlist"+n+"_"+i+"__"),r.push(s)))}return r}}function X(t){return new Rn(void 0,void 0,void 0,String(t))}function Y(t,e){if(t.tag&&!t.ns&&(t.ns=e,t.children))for(var n=0,r=t.children.length;n<r;n++)Y(t.children[n],e)}function tt(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function et(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function nt(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=Vn),rt(n,"beforeMount"),n._watcher=new Dn(n,function(){n._update(n._render(),e)},p),e=!1,null==n.$vnode&&(n._isMounted=!0,rt(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&rt(n,"beforeUpdate");var r=n.$el,i=Fn;Fn=n;var o=n._vnode;n._vnode=t,o?n.$el=n.__patch__(o,t):n.$el=n.__patch__(n.$el,t,e),Fn=i,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&rt(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var i=this,o=!(!i.$options._renderChildren&&!r);if(i.$options._parentVnode=n,i.$options._renderChildren=r,t&&i.$options.props){In.shouldConvert=!1;for(var a=i.$options._propKeys||[],s=0;s<a.length;s++){var c=a[s];i[c]=Nt(c,i.$options.props,t,i)}In.shouldConvert=!0,i.$options.propsData=t}if(e){var u=i.$options._parentListeners;i.$options._parentListeners=e,i._updateListeners(e,u)}o&&(i.$slots=bt(r,i._renderContext),i.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){rt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||r(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,rt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function rt(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)n[r].call(t);t.$emit("hook:"+e)}function it(t,e,n,r,i){if(t&&(l(t)&&(t=kt.extend(t)),"function"==typeof t)){if(xt(t),!t.cid)if(t.resolved)t=t.resolved;else if(t=ft(t,function(){n.$forceUpdate()}),!t)return;e=e||{};var o=dt(e,t);if(t.options.functional)return ot(t,o,e,n,r);var a=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),vt(e);var s=t.options.name||i,c=new Rn("vue-component-"+t.cid+(s?"-"+s:""),e,void 0,void 0,void 0,void 0,n,{Ctor:t,propsData:o,listeners:a,tag:i,children:r});return c}}function ot(t,e,n,r,i){var o={},a=t.options.props;if(a)for(var c in a)o[c]=Nt(c,a,e);var u=t.options.render.call(null,s(mt,{_self:Object.create(r)}),{props:o,data:n,parent:r,children:Q(i),slots:function(){return bt(i,r)}});return u instanceof Rn&&(u.functionalContext=r,n.slot&&((u.data||(u.data={})).slot=n.slot)),u}function at(t,e){var n=t.componentOptions,r={_isComponent:!0,parent:e,propsData:n.propsData,_componentTag:n.tag,_parentVnode:t,_parentListeners:n.listeners,_renderChildren:n.children},i=t.data.inlineTemplate;return i&&(r.render=i.render,r.staticRenderFns=i.staticRenderFns),new n.Ctor(r)}function st(t,e){if(!t.child||t.child._isDestroyed){var n=t.child=at(t,Fn);n.$mount(e?t.elm:void 0,e)}}function ct(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function ut(t){t.child._isMounted||(t.child._isMounted=!0,rt(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,rt(t.child,"activated"))}function lt(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,rt(t.child,"deactivated")):t.child.$destroy())}function ft(t,e){if(!t.requested){t.requested=!0;var n=t.pendingCallbacks=[e],r=!0,i=function(e){if(l(e)&&(e=kt.extend(e)),t.resolved=e,!r)for(var i=0,o=n.length;i<o;i++)n[i](e)},o=function(t){},a=t(i,o);return a&&"function"==typeof a.then&&!t.resolved&&a.then(i,o),r=!1,t.resolved}t.pendingCallbacks.push(e)}function dt(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.domProps;if(i||o||a)for(var s in n){var c=sn(s);pt(r,o,s,c,!0)||pt(r,i,s,c)||pt(r,a,s,c)}return r}}function pt(t,e,n,r,o){if(e){if(i(e,n))return t[n]=e[n],o||delete e[n],!0;if(i(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function vt(t){t.hook||(t.hook={});for(var e=0;e<zn.length;e++){var n=zn[e],r=t.hook[n],i=Hn[n];t.hook[n]=r?ht(i,r):i}}function ht(t,e){return function(n,r){t(n,r),e(n,r)}}function mt(t,e,n){return e&&(Array.isArray(e)||"object"!=typeof e)&&(n=e,e=void 0),_t(this._self,t,e,n)}function _t(t,e,n,r){if(!n||!n.__ob__){if(!e)return Vn();if("string"==typeof e){var i,o=fn.getTagNamespace(e);if(fn.isReservedTag(e))return new Rn(e,n,Q(r,o),void 0,void 0,o,t);if(i=Lt(t.$options,"components",e))return it(i,n,t,r,e);var a="foreignObject"===e?"xhtml":o;return new Rn(e,n,Q(r,a),void 0,void 0,o,t)}return it(e,n,t,r)}}function yt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null,t._renderContext=t.$options._parentVnode&&t.$options._parentVnode.context,t.$slots=bt(t.$options._renderChildren,t._renderContext),t.$createElement=s(mt,t),t.$options.el&&t.$mount(t.$options.el)}function gt(n){function r(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&i(t[r],e+"_"+r,n);else i(t,e,n)}function i(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}n.prototype.$nextTick=function(t){wn(t,this)},n.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,i=e._parentVnode;if(t._isMounted)for(var o in t.$slots)t.$slots[o]=K(t.$slots[o]);r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=i;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(fn.errorHandler)fn.errorHandler.call(null,e,t);else{if(fn._isServer)throw e;console.error(e)}a=t._vnode}return a instanceof Rn||(a=Vn()),a.parent=i,a},n.prototype._h=mt,n.prototype._s=t,n.prototype._n=e,n.prototype._e=Vn,n.prototype._q=h,n.prototype._i=m,n.prototype._m=function(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?K(n):q(n):(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),r(n,"__static__"+t,!1),n)},n.prototype._o=function(t,e,n){return r(t,"__once__"+e+(n?"_"+n:""),!0),t};var o=function(t){return t};n.prototype._f=function(t){return Lt(this.$options,"filters",t,!0)||o},n.prototype._l=function(t,e){var n,r,i,o,a;if(Array.isArray(t))for(n=new Array(t.length),r=0,i=t.length;r<i;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(l(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=e(t[a],a,r);return n},n.prototype._t=function(t,e){var n=this.$slots[t];return n||e},n.prototype._b=function(t,e,n){if(e)if(l(e)){Array.isArray(e)&&(e=d(e));for(var r in e)if("class"===r||"style"===r)t[r]=e[r];else{var i=n||fn.mustUseProp(r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});i[r]=e[r]}}else;return t},n.prototype._k=function(t){return fn.keyCodes[t]}}function bt(t,e){var n={};if(!t)return n;for(var r,i,o=Q(t)||[],a=[],s=0,c=o.length;s<c;s++)if(i=o[s],(i.context===e||i.functionalContext===e)&&i.data&&(r=i.data.slot)){var u=n[r]||(n[r]=[]);"template"===i.tag?u.push.apply(u,i.children):u.push(i)}else a.push(i);return a.length&&(1!==a.length||" "!==a[0].text&&!a[0].isComment)&&(n.default=a),n}function Ct(t){t._events=Object.create(null);var e=t.$options._parentListeners,n=s(t.$on,t),r=s(t.$off,t);t._updateListeners=function(e,i){J(e,i||{},n,r,t)},e&&t._updateListeners(e)}function wt(t){t.prototype.$on=function(t,e){var n=this;return(n._events[t]||(n._events[t]=[])).push(e),n},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i<o;i++)n[i].apply(e,r)}return e}}function $t(t){t.prototype._init=function(t){var e=this;e._uid=qn++,e._isVue=!0,t&&t._isComponent?At(e,t):e.$options=Dt(xt(e.constructor),t||{},e),e._renderProxy=e,e._self=e,et(e),Ct(e),rt(e,"beforeCreate"),P(e),rt(e,"created"),yt(e)}}function At(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function xt(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,i=t.extendOptions;n!==r&&(t.superOptions=n,i.render=e.render,i.staticRenderFns=e.staticRenderFns,e=t.options=Dt(n,i),e.name&&(e.components[e.name]=t))}return e}function kt(t){this._init(t)}function Ot(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],i(t,n)?l(r)&&l(o)&&Ot(r,o):D(t,n,o);return t}function St(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function jt(t,e){var n=Object.create(t||null);return e?u(n,e):n}function Et(t){var e=t.props;if(e){var n,r,i,o={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(i=rn(r),o[i]={type:null});else if(f(e))for(var a in e)r=e[a],i=rn(a),o[i]=f(r)?r:{type:r};t.props=o}}function Tt(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function Dt(t,e,n){function r(r){var i=Jn[r]||Gn;l[r]=i(t[r],e[r],n,r)}Et(e),Tt(e);var o=e.extends;if(o&&(t="function"==typeof o?Dt(t,o.options,n):Dt(t,o,n)),e.mixins)for(var a=0,s=e.mixins.length;a<s;a++){var c=e.mixins[a];c.prototype instanceof kt&&(c=c.options),t=Dt(t,c,n)}var u,l={};for(u in t)r(u);for(u in e)i(t,u)||r(u);return l}function Lt(t,e,n,r){if("string"==typeof n){var i=t[e],o=i[n]||i[rn(n)]||i[on(rn(n))];return o}}function Nt(t,e,n,r){var o=e[t],a=!i(n,t),s=n[t];if(It(o.type)&&(a&&!i(o,"default")?s=!1:""!==s&&s!==sn(t)||(s=!0)),void 0===s){s=Pt(r,o,t);var c=In.shouldConvert;In.shouldConvert=!0,E(s),In.shouldConvert=c}return s}function Pt(t,e,n){if(i(e,"default")){var r=e.default;return l(r),t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t[n]?t[n]:"function"==typeof r&&e.type!==Function?r.call(t):r}}function Mt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function It(t){if(!Array.isArray(t))return"Boolean"===Mt(t);for(var e=0,n=t.length;e<n;e++)if("Boolean"===Mt(t[e]))return!0;return!1}function Bt(t){t.use=function(t){if(!t.installed){var e=c(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Ut(t){t.mixin=function(e){t.options=Dt(t.options,e)}}function Rt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var i=t.name||n.options.name,o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=Dt(n.options,t),o.super=n,o.extend=n.extend,fn._assetTypes.forEach(function(t){o[t]=n[t]}),i&&(o.options.components[i]=o),o.superOptions=n.options,o.extendOptions=t,r&&(t._Ctor=o),o}}function Vt(t){fn._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&f(r)&&(r.name=r.name||n,r=t.extend(r)),"directive"===e&&"function"==typeof r&&(r={bind:r,update:r}),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Ft(t){var e={};e.get=function(){return fn},Object.defineProperty(t,"config",e),t.util=Zn,t.set=D,t.delete=L,t.nextTick=wn,t.options=Object.create(null),fn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),u(t.options.components,Xn),Bt(t),Ut(t),Rt(t),Vt(t)}function Ht(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=zt(r.data,e));for(;n=n.parent;)n.data&&(e=zt(e,n.data));return qt(e)}function zt(t,e){return{staticClass:Kt(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function qt(t){var e=t.class,n=t.staticClass;return n||e?Kt(n,Wt(e)):""}function Kt(t,e){return t?e?t+" "+e:t:e||""}function Wt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,i=t.length;r<i;r++)t[r]&&(n=Wt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(l(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function Jt(t){return ur(t)?"svg":"math"===t?"math":void 0}function Gt(t){if(!vn)return!0;if(lr(t))return!1;if(t=t.toLowerCase(),null!=fr[t])return fr[t];var e=document.createElement(t);return t.indexOf("-")>-1?fr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:fr[t]=/HTMLUnknownElement/.test(e.toString())}function Zt(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function Qt(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&"multiple"in e.data.attrs&&n.setAttribute("multiple","multiple"),n)}function Xt(t,e){return document.createElementNS(sr[t],e)}function Yt(t){return document.createTextNode(t)}function te(t){return document.createComment(t)}function ee(t,e,n){t.insertBefore(e,n)}function ne(t,e){t.removeChild(e)}function re(t,e){t.appendChild(e)}function ie(t){return t.parentNode}function oe(t){return t.nextSibling}function ae(t){return t.tagName}function se(t,e){t.textContent=e}function ce(t){return t.childNodes}function ue(t,e,n){t.setAttribute(e,n)}function le(t,e){var n=t.data.ref;if(n){var i=t.context,o=t.child||t.elm,a=i.$refs;e?Array.isArray(a[n])?r(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].push(o):a[n]=[o]:a[n]=o}}function fe(t){return null==t}function de(t){return null!=t}function pe(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function ve(t,e,n){var r,i,o={};for(r=e;r<=n;++r)i=t[r].key,de(i)&&(o[i]=r);return o}function he(t){function e(t){return new Rn($.tagName(t).toLowerCase(),{},[],void 0,t)}function n(t,e){function n(){0===--n.listeners&&r(t)}return n.listeners=e,n}function r(t){var e=$.parentNode(t);e&&$.removeChild(e,t)}function i(t,e,n){var r,i=t.data;if(t.isRootInsert=!n,de(i)&&(de(r=i.hook)&&de(r=r.init)&&r(t),de(r=t.child)))return u(t,e),t.elm;var o=t.children,s=t.tag;return de(s)?(t.elm=t.ns?$.createElementNS(t.ns,s):$.createElement(s,t),l(t),a(t,o,e),de(i)&&c(t,e)):t.isComment?t.elm=$.createComment(t.text):t.elm=$.createTextNode(t.text),t.elm}function a(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)$.appendChild(t.elm,i(e[r],n,!0));else o(t.text)&&$.appendChild(t.elm,$.createTextNode(t.text))}function s(t){for(;t.child;)t=t.child._vnode;return de(t.tag)}function c(t,e){for(var n=0;n<C.create.length;++n)C.create[n](vr,t);g=t.data.hook,de(g)&&(g.create&&g.create(vr,t),g.insert&&e.push(t))}function u(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,s(t)?(c(t,e),l(t)):(le(t),e.push(t))}function l(t){var e;de(e=t.context)&&de(e=e.$options._scopeId)&&$.setAttribute(t.elm,e,""),de(e=Fn)&&e!==t.context&&de(e=e.$options._scopeId)&&$.setAttribute(t.elm,e,"")}function f(t,e,n,r,o,a){for(;r<=o;++r)$.insertBefore(t,i(n[r],a),e)}function d(t){var e,n,r=t.data;if(de(r))for(de(e=r.hook)&&de(e=e.destroy)&&e(t),e=0;e<C.destroy.length;++e)C.destroy[e](t);if(de(e=t.children))for(n=0;n<t.children.length;++n)d(t.children[n])}function p(t,e,n,r){for(;n<=r;++n){var i=e[n];de(i)&&(de(i.tag)?(v(i),d(i)):$.removeChild(t,i.elm))}}function v(t,e){if(e||de(t.data)){var i=C.remove.length+1;for(e?e.listeners+=i:e=n(t.elm,i),de(g=t.child)&&de(g=g._vnode)&&de(g.data)&&v(g,e),g=0;g<C.remove.length;++g)C.remove[g](t,e);de(g=t.data.hook)&&de(g=g.remove)?g(t,e):e()}else r(t.elm)}function h(t,e,n,r,o){for(var a,s,c,u,l=0,d=0,v=e.length-1,h=e[0],_=e[v],y=n.length-1,g=n[0],b=n[y],C=!o;l<=v&&d<=y;)fe(h)?h=e[++l]:fe(_)?_=e[--v]:pe(h,g)?(m(h,g,r),h=e[++l],g=n[++d]):pe(_,b)?(m(_,b,r),_=e[--v],b=n[--y]):pe(h,b)?(m(h,b,r),C&&$.insertBefore(t,h.elm,$.nextSibling(_.elm)),h=e[++l],b=n[--y]):pe(_,g)?(m(_,g,r),C&&$.insertBefore(t,_.elm,h.elm),_=e[--v],g=n[++d]):(fe(a)&&(a=ve(e,l,v)),s=de(g.key)?a[g.key]:null,fe(s)?($.insertBefore(t,i(g,r),h.elm),g=n[++d]):(c=e[s],c.tag!==g.tag?($.insertBefore(t,i(g,r),h.elm),g=n[++d]):(m(c,g,r),e[s]=void 0,C&&$.insertBefore(t,g.elm,h.elm),g=n[++d])));l>v?(u=fe(n[y+1])?null:n[y+1].elm,f(t,u,n,d,y,r)):d>y&&p(t,e,l,v)}function m(t,e,n,r){if(t!==e){if(e.isStatic&&t.isStatic&&e.key===t.key&&(e.isCloned||e.isOnce))return void(e.elm=t.elm);var i,o=e.data,a=de(o);a&&de(i=o.hook)&&de(i=i.prepatch)&&i(t,e);var c=e.elm=t.elm,u=t.children,l=e.children;if(a&&s(e)){for(i=0;i<C.update.length;++i)C.update[i](t,e);de(i=o.hook)&&de(i=i.update)&&i(t,e)}fe(e.text)?de(u)&&de(l)?u!==l&&h(c,u,l,n,r):de(l)?(de(t.text)&&$.setTextContent(c,""),f(c,null,l,0,l.length-1,n)):de(u)?p(c,u,0,u.length-1):de(t.text)&&$.setTextContent(c,""):t.text!==e.text&&$.setTextContent(c,e.text),a&&de(i=o.hook)&&de(i=i.postpatch)&&i(t,e)}}function _(t,e,n){if(n&&t.parent)t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function y(t,e,n){e.elm=t;var r=e.tag,i=e.data,o=e.children;if(de(i)&&(de(g=i.hook)&&de(g=g.init)&&g(e,!0),de(g=e.child)))return u(e,n),!0;if(de(r)){if(de(o)){var s=$.childNodes(t);if(s.length){var l=!0;if(s.length!==o.length)l=!1;else for(var f=0;f<o.length;f++)if(!y(s[f],o[f],n)){l=!1;break}if(!l)return!1}else a(e,o,n)}de(i)&&c(e,n)}return!0}var g,b,C={},w=t.modules,$=t.nodeOps;for(g=0;g<hr.length;++g)for(C[hr[g]]=[],b=0;b<w.length;++b)void 0!==w[b][hr[g]]&&C[hr[g]].push(w[b][hr[g]]);return function(t,n,r,o){if(!n)return void(t&&d(t));var a,c,u=!1,l=[];if(t){var f=de(t.nodeType);if(!f&&pe(t,n))m(t,n,l,o);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&y(t,n,l))return _(n,l,!0),t;t=e(t)}if(a=t.elm,c=$.parentNode(a),i(n,l),n.parent&&(n.parent.elm=n.elm,s(n)))for(var v=0;v<C.create.length;++v)C.create[v](vr,n.parent);null!==c?($.insertBefore(c,n.elm,$.nextSibling(a)),p(c,[t],0,0)):de(t.tag)&&d(t)}}else u=!0,i(n,l);return _(n,l,u),n.elm}}function me(t,e){if(t.data.directives||e.data.directives){var n,r,i,o=t===vr,a=_e(t.data.directives,t.context),s=_e(e.data.directives,e.context),c=[],u=[];for(n in s)r=a[n],i=s[n],r?(i.oldValue=r.value,ge(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(ge(i,"bind",e,t),i.def&&i.def.inserted&&c.push(i));if(c.length){var l=function(){c.forEach(function(n){ge(n,"inserted",e,t)})};o?W(e.data.hook||(e.data.hook={}),"insert",l,"dir-insert"):l()}if(u.length&&W(e.data.hook||(e.data.hook={}),"postpatch",function(){u.forEach(function(n){ge(n,"componentUpdated",e,t)})},"dir-postpatch"),!o)for(n in a)s[n]||ge(a[n],"unbind",t)}}function _e(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=_r),n[ye(i)]=i,i.def=Lt(e.$options,"directives",i.name,!0);return n}function ye(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ge(t,e,n,r){var i=t.def&&t.def[e];i&&i(n.elm,t,n,r)}function be(t,e){if(t.data.attrs||e.data.attrs){var n,r,i,o=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=u({},s));for(n in s)r=s[n],i=a[n],i!==r&&Ce(o,n,r);for(n in a)null==s[n]&&(ir(n)?o.removeAttributeNS(rr,or(n)):er(n)||o.removeAttribute(n))}}function Ce(t,e,n){nr(e)?ar(n)?t.removeAttribute(e):t.setAttribute(e,e):er(e)?t.setAttribute(e,ar(n)||"false"===n?"false":"true"):ir(e)?ar(n)?t.removeAttributeNS(rr,or(e)):t.setAttributeNS(rr,e,n):ar(n)?t.removeAttribute(e):t.setAttribute(e,n)}function we(t,e){var n=e.elm,r=e.data,i=t.data;if(r.staticClass||r.class||i&&(i.staticClass||i.class)){var o=Ht(e),a=n._transitionClasses;a&&(o=Kt(o,Wt(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}function $e(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{},i=e.elm._v_add||(e.elm._v_add=function(t,n,r){e.elm.addEventListener(t,n,r)}),o=e.elm._v_remove||(e.elm._v_remove=function(t,n){e.elm.removeEventListener(t,n)});J(n,r,i,o,e.context)}}function Ae(t,e){if(t.data.domProps||e.data.domProps){var n,r,i=e.elm,o=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=u({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if("textContent"!==n&&"innerHTML"!==n||!e.children||(e.children.length=0),r=a[n],"value"===n){i._value=r;var s=null==r?"":String(r);i.value===s||i.composing||(i.value=s)}else i[n]=r}}function xe(t,e){if(t.data&&t.data.style||e.data.style){var n,r,i=e.elm,o=t.data.style||{},a=e.data.style||{};if("string"==typeof a)return void(i.style.cssText=a);var s=a.__ob__;Array.isArray(a)&&(a=e.data.style=d(a)),s&&(a=e.data.style=u({},a));for(r in o)null==a[r]&&Ar(i,r,"");for(r in a)n=a[r],n!==o[r]&&Ar(i,r,null==n?"":n)}}function ke(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-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 Oe(t,e){if(e&&e.trim())if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+t.getAttribute("class")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Se(t){Pr(function(){Pr(t)})}function je(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),ke(t,e)}function Ee(t,e){t._transitionClasses&&r(t._transitionClasses,e),Oe(t,e)}function Te(t,e,n){var r=De(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===jr?Dr:Nr,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),t.addEventListener(s,l)}function De(t,e){var n,r=window.getComputedStyle(t),i=r[Tr+"Delay"].split(", "),o=r[Tr+"Duration"].split(", "),a=Le(i,o),s=r[Lr+"Delay"].split(", "),c=r[Lr+"Duration"].split(", "),u=Le(s,c),l=0,f=0;e===jr?a>0&&(n=jr,l=a,f=o.length):e===Er?u>0&&(n=Er,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?jr:Er:null,f=n?n===jr?o.length:c.length:0);var d=n===jr&&Mr.test(r[Tr+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function Le(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ne(e)+Ne(t[n])}))}function Ne(t){return 1e3*Number(t.slice(0,-1))}function Pe(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=Ie(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var r=n.css,i=n.type,o=n.enterClass,a=n.enterActiveClass,s=n.appearClass,c=n.appearActiveClass,u=n.beforeEnter,l=n.enter,f=n.afterEnter,d=n.enterCancelled,p=n.beforeAppear,v=n.appear,h=n.afterAppear,m=n.appearCancelled,_=Fn.$vnode,y=_&&_.parent?_.parent.context:Fn,g=!y._isMounted||!t.isRootInsert;if(!g||v||""===v){var b=g?s:o,C=g?c:a,w=g?p||u:u,$=g&&"function"==typeof v?v:l,A=g?h||f:f,x=g?m||d:d,k=r!==!1&&!_n,O=$&&($._length||$.length)>1,S=e._enterCb=Be(function(){k&&Ee(e,C),S.cancelled?(k&&Ee(e,b),x&&x(e)):A&&A(e),e._enterCb=null});t.data.show||W(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),$&&$(e,S)},"transition-insert"),w&&w(e),k&&(je(e,b),je(e,C),Se(function(){Ee(e,b),S.cancelled||O||Te(e,i,S)})),t.data.show&&$&&$(e,S),k||O||S()}}}function Me(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),u&&u(r),v&&(je(r,s),je(r,c),Se(function(){Ee(r,s),m.cancelled||h||Te(r,a,m)})),l&&l(r,m),v||h||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Ie(t.data.transition);if(!i)return e();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,s=i.leaveClass,c=i.leaveActiveClass,u=i.beforeLeave,l=i.leave,f=i.afterLeave,d=i.leaveCancelled,p=i.delayLeave,v=o!==!1&&!_n,h=l&&(l._length||l.length)>1,m=r._leaveCb=Be(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&Ee(r,c),m.cancelled?(v&&Ee(r,s),d&&d(r)):(e(),f&&f(r)),r._leaveCb=null});p?p(n):n()}}function Ie(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&u(e,Ir(t.name||"v")),u(e,t),e}return"string"==typeof t?Ir(t):void 0}}function Be(t){var e=!1;return function(){e||(e=!0,t())}}function Ue(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=m(r,Ve(a))>-1,a.selected!==o&&(a.selected=o);else if(h(Ve(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Re(t,e){for(var n=0,r=e.length;n<r;n++)if(h(Ve(e[n]),t))return!1;return!0}function Ve(t){return"_value"in t?t._value:t.value}function Fe(t){t.target.composing=!0}function He(t){t.target.composing=!1,ze(t.target,"input")}function ze(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function qe(t){return!t.child||t.data&&t.data.transition?t:qe(t.child._vnode)}function Ke(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ke(tt(e.children)):t}function We(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;
|
|
for(var o in i)e[rn(o)]=i[o].fn;return e}function Je(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function Ge(t){for(;t=t.parent;)if(t.data.transition)return!0}function Ze(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Qe(t){t.data.newPos=t.elm.getBoundingClientRect()}function Xe(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var Ye,tn=n("slot,component",!0),en=Object.prototype.hasOwnProperty,nn=/-(\w)/g,rn=a(function(t){return t.replace(nn,function(t,e){return e?e.toUpperCase():""})}),on=a(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),an=/([^-])([A-Z])/g,sn=a(function(t){return t.replace(an,"$1-$2").replace(an,"$1-$2").toLowerCase()}),cn=Object.prototype.toString,un="[object Object]",ln=function(){return!1},fn={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:ln,isUnknownElement:ln,getTagNamespace:p,mustUseProp:ln,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1},dn=/[^\w.$]/,pn="__proto__"in{},vn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),hn=vn&&window.navigator.userAgent.toLowerCase(),mn=hn&&/msie|trident/.test(hn),_n=hn&&hn.indexOf("msie 9.0")>0,yn=hn&&hn.indexOf("edge/")>0,gn=hn&&hn.indexOf("android")>0,bn=hn&&/iphone|ipad|ipod|ios/.test(hn),Cn=vn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,wn=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"!=typeof Promise&&b(Promise)){var i=Promise.resolve();e=function(){i.then(t),bn&&setTimeout(p)}}else if("undefined"==typeof MutationObserver||!b(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var o=1,a=new MutationObserver(t),s=document.createTextNode(String(o));a.observe(s,{characterData:!0}),e=function(){o=(o+1)%2,s.data=String(o)}}return function(t,i){var o=i?function(){t.call(i)}:t;n.push(o),r||(r=!0,e())}}();Ye="undefined"!=typeof Set&&b(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return void 0!==this.set[t]},t.prototype.add=function(t){this.set[t]=1},t.prototype.clear=function(){this.set=Object.create(null)},t}();var $n=0,An=function(){this.id=$n++,this.subs=[]};An.prototype.addSub=function(t){this.subs.push(t)},An.prototype.removeSub=function(t){r(this.subs,t)},An.prototype.depend=function(){An.target&&An.target.addDep(this)},An.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},An.target=null;var xn=[],kn=[],On={},Sn=!1,jn=!1,En=0,Tn=0,Dn=function(t,e,n,r){void 0===r&&(r={}),this.vm=t,t._watchers.push(this),this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.expression=e.toString(),this.cb=n,this.id=++Tn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Ye,this.newDepIds=new Ye,"function"==typeof e?this.getter=e:(this.getter=g(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Dn.prototype.get=function(){C(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&k(t),w(),this.cleanupDeps(),t},Dn.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Dn.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},Dn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():x(this)},Dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||l(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!fn.errorHandler)throw t;fn.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},Dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Dn.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Dn.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||r(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Ln=new Ye,Nn=Array.prototype,Pn=Object.create(Nn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Nn[t];y(Pn,t,function(){for(var n=arguments,r=arguments.length,i=new Array(r);r--;)i[r]=n[r];var o,a=e.apply(this,i),s=this.__ob__;switch(t){case"push":o=i;break;case"unshift":o=i;break;case"splice":o=i.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var Mn=Object.getOwnPropertyNames(Pn),In={shouldConvert:!0,isSettingProps:!1},Bn=function(t){if(this.value=t,this.dep=new An,this.vmCount=0,y(t,"__ob__",this),Array.isArray(t)){var e=pn?S:j;e(t,Pn,Mn),this.observeArray(t)}else this.walk(t)};Bn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)T(t,e[n],t[e[n]])},Bn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)E(t[e])};var Un={enumerable:!0,configurable:!0,get:p,set:p},Rn=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=s,this.child=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},Vn=function(){var t=new Rn;return t.text="",t.isComment=!0,t},Fn=null,Hn={init:st,prepatch:ct,insert:ut,destroy:lt},zn=Object.keys(Hn),qn=0;$t(kt),H(kt),wt(kt),nt(kt),gt(kt);var Kn,Wn=p,Jn=fn.optionMergeStrategies;Jn.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?Ot(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return Ot(e.call(this),t.call(this))}:e:t},fn._lifecycleHooks.forEach(function(t){Jn[t]=St}),fn._assetTypes.forEach(function(t){Jn[t+"s"]=jt}),Jn.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};u(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Jn.props=Jn.methods=Jn.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return u(n,t),u(n,e),n};var Gn=function(t,e){return void 0===e?t:e},Zn=Object.freeze({defineReactive:T,_toString:t,toNumber:e,makeMap:n,isBuiltInTag:tn,remove:r,hasOwn:i,isPrimitive:o,cached:a,camelize:rn,capitalize:on,hyphenate:sn,bind:s,toArray:c,extend:u,isObject:l,isPlainObject:f,toObject:d,noop:p,no:ln,genStaticKeys:v,looseEqual:h,looseIndexOf:m,isReserved:_,def:y,parsePath:g,hasProto:pn,inBrowser:vn,UA:hn,isIE:mn,isIE9:_n,isEdge:yn,isAndroid:gn,isIOS:bn,devtools:Cn,nextTick:wn,get _Set(){return Ye},mergeOptions:Dt,resolveAsset:Lt,warn:Wn,formatComponentName:Kn,validateProp:Nt}),Qn={name:"keep-alive",abstract:!0,created:function(){this.cache=Object.create(null)},render:function(){var t=tt(this.$slots.default);if(t&&t.componentOptions){var e=t.componentOptions,n=null==t.key?e.Ctor.cid+"::"+e.tag:t.key;this.cache[n]?t.child=this.cache[n].child:this.cache[n]=t,t.data.keepAlive=!0}return t},destroyed:function(){var t=this;for(var e in this.cache){var n=t.cache[e];rt(n.child,"deactivated"),n.child.$destroy()}}},Xn={KeepAlive:Qn};Ft(kt),Object.defineProperty(kt.prototype,"$isServer",{get:function(){return fn._isServer}}),kt.version="2.0.5";var Yn,tr=n("value,selected,checked,muted"),er=n("contenteditable,draggable,spellcheck"),nr=n("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),rr="http://www.w3.org/1999/xlink",ir=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},or=function(t){return ir(t)?t.slice(6,t.length):""},ar=function(t){return null==t||t===!1},sr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML",xhtml:"http://www.w3.org/1999/xhtm"},cr=n("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template"),ur=n("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font,font-face,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),lr=function(t){return cr(t)||ur(t)},fr=Object.create(null),dr=Object.freeze({createElement:Qt,createElementNS:Xt,createTextNode:Yt,createComment:te,insertBefore:ee,removeChild:ne,appendChild:re,parentNode:ie,nextSibling:oe,tagName:ae,setTextContent:se,childNodes:ce,setAttribute:ue}),pr={create:function(t,e){le(e)},update:function(t,e){t.data.ref!==e.data.ref&&(le(t,!0),le(e))},destroy:function(t){le(t,!0)}},vr=new Rn("",{},[]),hr=["create","update","remove","destroy"],mr={create:me,update:me,destroy:function(t){me(t,vr)}},_r=Object.create(null),yr=[pr,mr],gr={create:be,update:be},br={create:we,update:we},Cr={create:$e,update:$e},wr={create:Ae,update:Ae},$r=/^--/,Ar=function(t,e,n){$r.test(e)?t.style.setProperty(e,n):t.style[kr(e)]=n},xr=["Webkit","Moz","ms"],kr=a(function(t){if(Yn=Yn||document.createElement("div"),t=rn(t),"filter"!==t&&t in Yn.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<xr.length;n++){var r=xr[n]+e;if(r in Yn.style)return r}}),Or={create:xe,update:xe},Sr=vn&&!_n,jr="transition",Er="animation",Tr="transition",Dr="transitionend",Lr="animation",Nr="animationend";Sr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Tr="WebkitTransition",Dr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Lr="WebkitAnimation",Nr="webkitAnimationEnd"));var Pr=vn&&window.requestAnimationFrame||setTimeout,Mr=/\b(transform|all)(,|$)/,Ir=a(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),Br=vn?{create:function(t,e){e.data.show||Pe(e)},remove:function(t,e){t.data.show?e():Me(t,e)}}:{},Ur=[gr,br,Cr,wr,Or,Br],Rr=Ur.concat(yr),Vr=he({nodeOps:dr,modules:Rr});_n&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ze(t,"input")});var Fr={inserted:function(t,e,n){if("select"===n.tag){var r=function(){Ue(t,e,n.context)};r(),(mn||yn)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||e.modifiers.lazy||(gn||(t.addEventListener("compositionstart",Fe),t.addEventListener("compositionend",He)),_n&&(t.vmodel=!0))},componentUpdated:function(t,e,n){if("select"===n.tag){Ue(t,e,n.context);var r=t.multiple?e.value.some(function(e){return Re(e,t.options)}):e.value!==e.oldValue&&Re(e.value,t.options);r&&ze(t,"change")}}},Hr={bind:function(t,e,n){var r=e.value;n=qe(n);var i=n.data&&n.data.transition;r&&i&&!_n&&Pe(n);var o="none"===t.style.display?"":t.style.display;t.style.display=r?o:"none",t.__vOriginalDisplay=o},update:function(t,e,n){var r=e.value,i=e.oldValue;if(r!==i){n=qe(n);var o=n.data&&n.data.transition;o&&!_n?r?(Pe(n),t.style.display=t.__vOriginalDisplay):Me(n,function(){t.style.display="none"}):t.style.display=r?t.__vOriginalDisplay:"none"}}},zr={model:Fr,show:Hr},qr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},Kr={name:"transition",props:qr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag}),n.length)){var r=this.mode,i=n[0];if(Ge(this.$vnode))return i;var o=Ke(i);if(!o)return i;if(this._leaving)return Je(t,i);var a=o.key=null==o.key||o.isStatic?"__v"+(o.tag+this._uid)+"__":o.key,s=(o.data||(o.data={})).transition=We(this),c=this._vnode,l=Ke(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),l&&l.data&&l.key!==a){var f=l.data.transition=u({},s);if("out-in"===r)return this._leaving=!0,W(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},a),Je(t,i);if("in-out"===r){var d,p=function(){d()};W(s,"afterEnter",p,a),W(s,"enterCancelled",p,a),W(f,"delayLeave",function(t){d=t},a)}}return i}}},Wr=u({tag:String,moveClass:String},qr);delete Wr.mode;var Jr={props:Wr,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=We(this),s=0;s<i.length;s++){var c=i[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):l.push(d)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||this.name+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(Ze),t.forEach(Qe),t.forEach(Xe);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;je(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Dr,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Dr,t),n._moveCb=null,Ee(n,e))})}})}},methods:{hasMove:function(t,e){if(!Sr)return!1;if(null!=this._hasMove)return this._hasMove;je(t,e);var n=De(t);return Ee(t,e),this._hasMove=n.hasTransform}}},Gr={Transition:Kr,TransitionGroup:Jr};return kt.config.isUnknownElement=Gt,kt.config.isReservedTag=lr,kt.config.getTagNamespace=Jt,kt.config.mustUseProp=tr,u(kt.options.directives,zr),u(kt.options.components,Gr),kt.prototype.__patch__=fn._isServer?p:Vr,kt.prototype.$mount=function(t,e){return t=t&&!fn._isServer?Zt(t):void 0,this._mount(t,e)},setTimeout(function(){fn.devtools&&Cn&&Cn.emit("init",kt)},0),kt}); |