mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 03:57:36 +08:00
7 lines
55 KiB
JavaScript
7 lines
55 KiB
JavaScript
/*!
|
|
* Vue.js v2.3.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"string"==typeof t||"number"==typeof t}function o(t){return null!==t&&"object"==typeof t}function i(t){return"[object Object]"===Fn.call(t)}function a(t){return"[object RegExp]"===Fn.call(t)}function s(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function c(t){var e=parseFloat(t);return isNaN(e)?t:e}function u(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function l(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function f(t,e){return Wn.call(t,e)}function p(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function d(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 v(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function h(t,e){for(var n in e)t[n]=e[n];return t}function m(t){for(var e={},n=0;n<t.length;n++)t[n]&&h(e,t[n]);return e}function y(){}function _(t,e){var n=o(t),r=o(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{return JSON.stringify(t)===JSON.stringify(e)}catch(n){return t===e}}function g(t,e){for(var n=0;n<t.length;n++)if(_(t[n],e))return n;return-1}function b(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function C(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function w(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function $(t){if(!nr.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 A(t,e,n){if(tr.errorHandler)tr.errorHandler.call(null,t,e,n);else{if(!ir||"undefined"==typeof console)throw t;console.error(t)}}function x(t){return"function"==typeof t&&/native code/.test(t.toString())}function k(t){wr.target&&$r.push(wr.target),wr.target=t}function O(){wr.target=$r.pop()}function S(t,e){t.__proto__=e}function E(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];w(t,i,e[i])}}function j(t,e){if(o(t)){var n;return f(t,"__ob__")&&t.__ob__ instanceof Sr?n=t.__ob__:Or.shouldConvert&&!yr()&&(Array.isArray(t)||i(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Sr(t)),e&&n&&n.vmCount++,n}}function T(t,e,n,r){var o=new wr,i=Object.getOwnPropertyDescriptor(t,e);if(!i||!1!==i.configurable){var a=i&&i.get,s=i&&i.set,c=j(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return wr.target&&(o.depend(),c&&c.dep.depend(),Array.isArray(e)&&N(e)),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||(s?s.call(t,e):n=e,c=j(e),o.notify())}})}}function I(t,e,n){if(Array.isArray(t)&&"number"==typeof e)return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(f(t,e))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(T(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function D(t,e){if(Array.isArray(t)&&"number"==typeof e)return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||f(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 L(t,e){if(!e)return t;for(var n,r,o,a=Object.keys(e),s=0;s<a.length;s++)n=a[s],r=t[n],o=e[n],f(t,n)?i(r)&&i(o)&&L(r,o):I(t,n,o);return t}function P(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function M(t,e){var n=Object.create(t||null);return e?h(n,e):n}function R(t){var e=t.props;if(e){var n,r,o,a={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(o=qn(r),a[o]={type:null});else if(i(e))for(var s in e)r=e[s],o=qn(s),a[o]=i(r)?r:{type:r};t.props=a}}function U(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 V(t,e,n){function r(r){var o=Er[r]||jr;c[r]=o(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),R(e),U(e);var o=e.extends;if(o&&(t=V(t,o,n)),e.mixins)for(var i=0,a=e.mixins.length;i<a;i++)t=V(t,e.mixins[i],n);var s,c={};for(s in t)r(s);for(s in e)f(t,s)||r(s);return c}function B(t,e,n,r){if("string"==typeof n){var o=t[e];if(f(o,n))return o[n];var i=qn(n);if(f(o,i))return o[i];var a=Kn(i);if(f(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function z(t,e,n,r){var o=e[t],i=!f(n,t),a=n[t];if(W(Boolean,o.type)&&(i&&!f(o,"default")?a=!1:W(String,o.type)||""!==a&&a!==Jn(t)||(a=!0)),void 0===a){a=H(r,o,t);var s=Or.shouldConvert;Or.shouldConvert=!0,j(a),Or.shouldConvert=s}return a}function H(t,e,n){if(f(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==F(e.type)?r.call(t):r}}function F(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function W(t,e){if(!Array.isArray(e))return F(e)===F(t);for(var n=0,r=e.length;n<r;n++)if(F(e[n])===F(t))return!0;return!1}function q(t){return new Tr(void 0,void 0,void 0,String(t))}function K(t){var e=new Tr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isCloned=!0,e}function J(t){for(var e=t.length,n=new Array(e),r=0;r<e;r++)n[r]=K(t[r]);return n}function G(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=0;r<n.length;r++)n[r].apply(null,t)}return e.fns=t,e}function Z(e,n,r,o,i){var a,s,c,u;for(a in e)s=e[a],c=n[a],u=Lr(a),t(s)||(t(c)?(t(s.fns)&&(s=e[a]=G(s)),r(u.name,s,u.once,u.capture,u.passive)):s!==c&&(c.fns=s,e[a]=c));for(a in n)t(e[a])&&(u=Lr(a),o(u.name,n[a],u.capture))}function Q(r,o,i){function a(){i.apply(this,arguments),l(s.fns,a)}var s,c=r[o];t(c)?s=G([a]):e(c.fns)&&n(c.merged)?(s=c,s.fns.push(a)):s=G([c,a]),s.merged=!0,r[o]=s}function X(n,r,o){var i=r.options.props;if(!t(i)){var a={},s=n.attrs,c=n.props;if(e(s)||e(c))for(var u in i){var l=Jn(u);Y(a,c,u,l,!0)||Y(a,s,u,l,!1)}return a}}function Y(t,n,r,o,i){if(e(n)){if(f(n,r))return t[r]=n[r],i||delete n[r],!0;if(f(n,o))return t[r]=n[o],i||delete n[o],!0}return!1}function tt(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function et(t){return r(t)?[q(t)]:Array.isArray(t)?nt(t):void 0}function nt(n,o){var i,a,s,c=[];for(i=0;i<n.length;i++)a=n[i],t(a)||"boolean"==typeof a||(s=c[c.length-1],Array.isArray(a)?c.push.apply(c,nt(a,(o||"")+"_"+i)):r(a)?e(s)&&e(s.text)?s.text+=String(a):""!==a&&c.push(q(a)):e(a.text)&&e(s)&&e(s.text)?c[c.length-1]=q(s.text+a.text):(e(a.tag)&&t(a.key)&&e(o)&&(a.key="__vlist"+o+"_"+i+"__"),c.push(a)));return c}function rt(t,e){return o(t)?e.extend(t):t}function ot(r,i,a){if(n(r.error)&&e(r.errorComp))return r.errorComp;if(e(r.resolved))return r.resolved;if(n(r.loading)&&e(r.loadingComp))return r.loadingComp;if(!e(r.contexts)){var s=r.contexts=[a],c=!0,u=function(){for(var t=0,e=s.length;t<e;t++)s[t].$forceUpdate()},l=b(function(t){r.resolved=rt(t,i),c||u()}),f=b(function(t){e(r.errorComp)&&(r.error=!0,u())}),p=r(l,f);return o(p)&&("function"==typeof p.then?t(r.resolved)&&p.then(l,f):e(p.component)&&"function"==typeof p.component.then&&(p.component.then(l,f),e(p.error)&&(r.errorComp=rt(p.error,i)),e(p.loading)&&(r.loadingComp=rt(p.loading,i),0===p.delay?r.loading=!0:setTimeout(function(){t(r.resolved)&&t(r.error)&&(r.loading=!0,u())},p.delay||200)),e(p.timeout)&&setTimeout(function(){f(null)},p.timeout))),c=!1,r.loading?r.loadingComp:r.resolved}r.contexts.push(a)}function it(t){if(Array.isArray(t))for(var n=0;n<t.length;n++){var r=t[n];if(e(r)&&e(r.componentOptions))return r}}function at(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ut(t,e)}function st(t,e,n){n?Dr.$once(t,e):Dr.$on(t,e)}function ct(t,e){Dr.$off(t,e)}function ut(t,e,n){Dr=t,Z(e,n||{},st,ct,t)}function lt(t,e){var n={};if(!t)return n;for(var r=[],o=0,i=t.length;o<i;o++){var a=t[o];if(a.context!==e&&a.functionalContext!==e||!a.data||null==a.data.slot)r.push(a);else{var s=a.data.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children):c.push(a)}}return r.every(ft)||(n.default=r),n}function ft(t){return t.isComment||" "===t.text}function pt(t){for(var e={},n=0;n<t.length;n++)e[t[n][0]]=t[n][1];return e}function dt(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=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function vt(t,e,n){t.$el=e,t.$options.render||(t.$options.render=Nr),gt(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},t._watcher=new Fr(t,r,y),n=!1,null==t.$vnode&&(t._isMounted=!0,gt(t,"mounted")),t}function ht(t,e,n,r,o){var i=!!(o||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==er);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,e&&t.$options.props){Or.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c];a[u]=z(u,t.$options.props,e,t)}Or.shouldConvert=!0,t.$options.propsData=e}if(n){var l=t.$options._parentListeners;t.$options._parentListeners=n,ut(t,n,l)}i&&(t.$slots=lt(o,r.context),t.$forceUpdate())}function mt(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function yt(t,e){if(e){if(t._directInactive=!1,mt(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)yt(t.$children[n]);gt(t,"activated")}}function _t(t,e){if(!(e&&(t._directInactive=!0,mt(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)_t(t.$children[n]);gt(t,"deactivated")}}function gt(t,e){var n=t.$options[e];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(t)}catch(n){A(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}function bt(){Mr.length=Rr.length=0,Ur={},Vr=Br=!1}function Ct(){Br=!0;var t,e;for(Mr.sort(function(t,e){return t.id-e.id}),zr=0;zr<Mr.length;zr++)t=Mr[zr],e=t.id,Ur[e]=null,t.run();var n=Rr.slice(),r=Mr.slice();bt(),At(n),wt(r),_r&&tr.devtools&&_r.emit("flush")}function wt(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&>(r,"updated")}}function $t(t){t._inactive=!1,Rr.push(t)}function At(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,yt(t[e],!0)}function xt(t){var e=t.id;if(null==Ur[e]){if(Ur[e]=!0,Br){for(var n=Mr.length-1;n>=0&&Mr[n].id>t.id;)n--;Mr.splice(Math.max(n,zr)+1,0,t)}else Mr.push(t);Vr||(Vr=!0,br(Ct))}}function kt(t){Wr.clear(),Ot(t,Wr)}function Ot(t,e){var n,r,i=Array.isArray(t);if((i||o(t))&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)Ot(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)Ot(t[r[n]],e)}}function St(t,e,n){qr.get=function(){return this[e][n]},qr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,qr)}function Et(t){t._watchers=[];var e=t.$options;e.props&&jt(t,e.props),e.methods&&Pt(t,e.methods),e.data?Tt(t):j(t._data={},!0),e.computed&&Dt(t,e.computed),e.watch&&Mt(t,e.watch)}function jt(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=z(i,e,n,t);T(r,i,a),i in t||St(t,"_props",i)}(a);Or.shouldConvert=!0}function Tt(t){var e=t.$options.data;e=t._data="function"==typeof e?It(e,t):e||{},i(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&f(r,n[o])||C(n[o])||St(t,"_data",n[o]);j(e,!0)}function It(t,e){try{return t.call(e)}catch(t){return A(t,e,"data()"),{}}}function Dt(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 Fr(t,i,y,Kr),r in t||Nt(t,r,o)}}function Nt(t,e,n){"function"==typeof n?(qr.get=Lt(e),qr.set=y):(qr.get=n.get?!1!==n.cache?Lt(e):n.get:y,qr.set=n.set?n.set:y),Object.defineProperty(t,e,qr)}function Lt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),wr.target&&e.depend(),e.value}}function Pt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?y:d(e[n],t)}function Mt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Rt(t,n,r[o]);else Rt(t,n,r)}}function Rt(t,e,n){var r;i(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Ut(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function Vt(t){var e=Bt(t.$options.inject,t);e&&Object.keys(e).forEach(function(n){T(t,n,e[n])})}function Bt(t,e){if(t){for(var n=Array.isArray(t),r=Object.create(null),o=n?t:gr?Reflect.ownKeys(t):Object.keys(t),i=0;i<o.length;i++)for(var a=o[i],s=n?a:t[a],c=e;c;){if(c._provided&&s in c._provided){r[a]=c._provided[s];break}c=c.$parent}return r}}function zt(t,n,r,o,i){var a={},s=t.options.props;if(e(s))for(var c in s)a[c]=z(c,s,n||{});else e(r.attrs)&&Ht(a,r.attrs),e(r.props)&&Ht(a,r.props);var u=Object.create(o),l=function(t,e,n,r){return Gt(u,t,e,n,r,!0)},f=t.options.render.call(null,l,{data:r,props:a,children:i,parent:o,listeners:r.on||{},injections:Bt(t.options.inject,o),slots:function(){return lt(i,o)}});return f instanceof Tr&&(f.functionalContext=o,r.slot&&((f.data||(f.data={})).slot=r.slot)),f}function Ht(t,e){for(var n in e)t[qn(n)]=e[n]}function Ft(r,i,a,s,c){if(!t(r)){var u=a.$options._base;if(o(r)&&(r=u.extend(r)),"function"==typeof r&&(!t(r.cid)||void 0!==(r=ot(r,u,a)))){ue(r),i=i||{},e(i.model)&&Jt(r.options,i);var l=X(i,r,c);if(n(r.options.functional))return zt(r,l,i,a,s);var f=i.on;i.on=i.nativeOn,n(r.options.abstract)&&(i={}),qt(i);var p=r.options.name||c;return new Tr("vue-component-"+r.cid+(p?"-"+p:""),i,void 0,void 0,void 0,a,{Ctor:r,propsData:l,listeners:f,tag:c,children:s})}}}function Wt(t,n,r,o){var i=t.componentOptions,a={_isComponent:!0,parent:n,propsData:i.propsData,_componentTag:i.tag,_parentVnode:t,_parentListeners:i.listeners,_renderChildren:i.children,_parentElm:r||null,_refElm:o||null},s=t.data.inlineTemplate;return e(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new i.Ctor(a)}function qt(t){t.hook||(t.hook={});for(var e=0;e<Gr.length;e++){var n=Gr[e],r=t.hook[n],o=Jr[n];t.hook[n]=r?Kt(o,r):o}}function Kt(t,e){return function(n,r,o,i){t(n,r,o,i),e(n,r,o,i)}}function Jt(t,n){var r=t.model&&t.model.prop||"value",o=t.model&&t.model.event||"input";(n.props||(n.props={}))[r]=n.model.value;var i=n.on||(n.on={});e(i[o])?i[o]=[n.model.callback].concat(i[o]):i[o]=n.model.callback}function Gt(t,e,o,i,a,s){return(Array.isArray(o)||r(o))&&(a=i,i=o,o=void 0),n(s)&&(a=Qr),Zt(t,e,o,i,a)}function Zt(t,n,r,o,i){if(e(r)&&e(r.__ob__))return Nr();if(!n)return Nr();Array.isArray(o)&&"function"==typeof o[0]&&(r=r||{},r.scopedSlots={default:o[0]},o.length=0),i===Qr?o=et(o):i===Zr&&(o=tt(o));var a,s;if("string"==typeof n){var c;s=tr.getTagNamespace(n),a=tr.isReservedTag(n)?new Tr(tr.parsePlatformTagName(n),r,o,void 0,void 0,t):e(c=B(t.$options,"components",n))?Ft(c,r,t,o,n):new Tr(n,r,o,void 0,void 0,t)}else a=Ft(n,r,t,o);return e(a)?(s&&Qt(a,s),a):Nr()}function Qt(n,r){if(n.ns=r,"foreignObject"!==n.tag&&e(n.children))for(var o=0,i=n.children.length;o<i;o++){var a=n.children[o];e(a.tag)&&t(a.ns)&&Qt(a,r)}}function Xt(t,e){var n,r,i,a,s;if(Array.isArray(t)||"string"==typeof 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(o(t))for(a=Object.keys(t),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=e(t[s],s,r);return n}function Yt(t,e,n,r){var o=this.$scopedSlots[t];if(o)return n=n||{},r&&h(n,r),o(n)||e;var i=this.$slots[t];return i||e}function te(t){return B(this.$options,"filters",t,!0)||Zn}function ee(t,e,n){var r=tr.keyCodes[e]||n;return Array.isArray(r)?-1===r.indexOf(t):r!==t}function ne(t,e,n,r){if(n)if(o(n)){Array.isArray(n)&&(n=m(n));var i;for(var a in n){if("class"===a||"style"===a)i=t;else{var s=t.attrs&&t.attrs.type;i=r||tr.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in i||(i[a]=n[a])}}else;return t}function re(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?J(n):K(n):(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),ie(n,"__static__"+t,!1),n)}function oe(t,e,n){return ie(t,"__once__"+e+(n?"_"+n:""),!0),t}function ie(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&ae(t[r],e+"_"+r,n);else ae(t,e,n)}function ae(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function se(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=lt(t.$options._renderChildren,n),t.$scopedSlots=er,t._c=function(e,n,r,o){return Gt(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Gt(t,e,n,r,o,!0)}}function ce(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,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function ue(t){var e=t.options;if(t.super){var n=ue(t.super);if(n!==t.superOptions){t.superOptions=n;var r=le(t);r&&h(t.extendOptions,r),e=t.options=V(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function le(t){var e,n=t.options,r=t.extendOptions,o=t.sealedOptions;for(var i in n)n[i]!==o[i]&&(e||(e={}),e[i]=fe(n[i],r[i],o[i]));return e}function fe(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var o=0;o<t.length;o++)(e.indexOf(t[o])>=0||n.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function pe(t){this._init(t)}function de(t){t.use=function(t){if(!t.installed){var e=v(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),t.installed=!0,this}}}function ve(t){t.mixin=function(t){this.options=V(this.options,t)}}function he(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=V(n.options,t),a.super=n,a.options.props&&me(a),a.options.computed&&ye(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Xn.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=h({},a.options),o[r]=a,a}}function me(t){var e=t.options.props;for(var n in e)St(t.prototype,"_props",n)}function ye(t){var e=t.options.computed;for(var n in e)Nt(t.prototype,n,e[n])}function _e(t){Xn.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&i(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 ge(t){return t&&(t.Ctor.options.name||t.tag)}function be(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:!!a(t)&&t.test(e)}function Ce(t,e,n){for(var r in t){var o=t[r];if(o){var i=ge(o.componentOptions);i&&!n(i)&&(o!==e&&we(o),t[r]=null)}}}function we(t){t&&t.componentInstance.$destroy()}function $e(t){for(var n=t.data,r=t,o=t;e(o.componentInstance);)o=o.componentInstance._vnode,o.data&&(n=Ae(o.data,n));for(;e(r=r.parent);)r.data&&(n=Ae(n,r.data));return xe(n)}function Ae(t,n){return{staticClass:ke(t.staticClass,n.staticClass),class:e(t.class)?[t.class,n.class]:n.class}}function xe(t){var n=t.class,r=t.staticClass;return e(r)||e(n)?ke(r,Oe(n)):""}function ke(t,e){return t?e?t+" "+e:t:e||""}function Oe(n){if(t(n))return"";if("string"==typeof n)return n;var r="";if(Array.isArray(n)){for(var i,a=0,s=n.length;a<s;a++)e(n[a])&&e(i=Oe(n[a]))&&""!==i&&(r+=i+" ");return r.slice(0,-1)}if(o(n)){for(var c in n)n[c]&&(r+=c+" ");return r.slice(0,-1)}return r}function Se(t){return mo(t)?"svg":"math"===t?"math":void 0}function Ee(t){if(!ir)return!0;if(yo(t))return!1;if(t=t.toLowerCase(),null!=_o[t])return _o[t];var e=document.createElement(t);return t.indexOf("-")>-1?_o[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:_o[t]=/HTMLUnknownElement/.test(e.toString())}function je(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Te(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Ie(t,e){return document.createElementNS(vo[t],e)}function De(t){return document.createTextNode(t)}function Ne(t){return document.createComment(t)}function Le(t,e,n){t.insertBefore(e,n)}function Pe(t,e){t.removeChild(e)}function Me(t,e){t.appendChild(e)}function Re(t){return t.parentNode}function Ue(t){return t.nextSibling}function Ve(t){return t.tagName}function Be(t,e){t.textContent=e}function ze(t,e,n){t.setAttribute(e,n)}function He(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.componentInstance||t.elm,i=r.$refs;e?Array.isArray(i[n])?l(i[n],o):i[n]===o&&(i[n]=void 0):t.data.refInFor?Array.isArray(i[n])&&i[n].indexOf(o)<0?i[n].push(o):i[n]=[o]:i[n]=o}}function Fe(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&e(t.data)===e(n.data)&&We(t,n)}function We(t,n){if("input"!==t.tag)return!0;var r;return(e(r=t.data)&&e(r=r.attrs)&&r.type)===(e(r=n.data)&&e(r=r.attrs)&&r.type)}function qe(t,n,r){var o,i,a={};for(o=n;o<=r;++o)i=t[o].key,e(i)&&(a[i]=o);return a}function Ke(t,e){(t.data.directives||e.data.directives)&&Je(t,e)}function Je(t,e){var n,r,o,i=t===Co,a=e===Co,s=Ge(t.data.directives,t.context),c=Ge(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],o=c[n],r?(o.oldValue=r.value,Qe(o,"update",e,t),o.def&&o.def.componentUpdated&&l.push(o)):(Qe(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Qe(u[n],"inserted",e,t)};i?Q(e.data.hook||(e.data.hook={}),"insert",f):f()}if(l.length&&Q(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<l.length;n++)Qe(l[n],"componentUpdated",e,t)}),!i)for(n in s)c[n]||Qe(s[n],"unbind",t,t,a)}function Ge(t,e){var n=Object.create(null);if(!t)return n;var r,o;for(r=0;r<t.length;r++)o=t[r],o.modifiers||(o.modifiers=Ao),n[Ze(o)]=o,o.def=B(e.$options,"directives",o.name,!0);return n}function Ze(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Qe(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){A(r,n.context,"directive "+t.name+" "+e+" hook")}}function Xe(n,r){if(!t(n.data.attrs)||!t(r.data.attrs)){var o,i,a=r.elm,s=n.data.attrs||{},c=r.data.attrs||{};e(c.__ob__)&&(c=r.data.attrs=h({},c));for(o in c)i=c[o],s[o]!==i&&Ye(a,o,i);cr&&c.value!==s.value&&Ye(a,"value",c.value);for(o in s)t(c[o])&&(lo(o)?a.removeAttributeNS(uo,fo(o)):so(o)||a.removeAttribute(o))}}function Ye(t,e,n){co(e)?po(n)?t.removeAttribute(e):t.setAttribute(e,e):so(e)?t.setAttribute(e,po(n)||"false"===n?"false":"true"):lo(e)?po(n)?t.removeAttributeNS(uo,fo(e)):t.setAttributeNS(uo,e,n):po(n)?t.removeAttribute(e):t.setAttribute(e,n)}function tn(n,r){var o=r.elm,i=r.data,a=n.data;if(!(t(i.staticClass)&&t(i.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=$e(r),c=o._transitionClasses;e(c)&&(s=ke(s,Oe(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}function en(t){var n;e(t[So])&&(n=sr?"change":"input",t[n]=[].concat(t[So],t[n]||[]),delete t[So]),e(t[Eo])&&(n=pr?"click":"change",t[n]=[].concat(t[Eo],t[n]||[]),delete t[Eo])}function nn(t,e,n,r,o){if(n){var i=e,a=no;e=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&rn(t,e,r,a)}}no.addEventListener(t,e,dr?{capture:r,passive:o}:r)}function rn(t,e,n,r){(r||no).removeEventListener(t,e,n)}function on(e,n){if(!t(e.data.on)||!t(n.data.on)){var r=n.data.on||{},o=e.data.on||{};no=n.elm,en(r),Z(r,o,nn,rn,n.context)}}function an(n,r){if(!t(n.data.domProps)||!t(r.data.domProps)){var o,i,a=r.elm,s=n.data.domProps||{},c=r.data.domProps||{};e(c.__ob__)&&(c=r.data.domProps=h({},c));for(o in s)t(c[o])&&(a[o]="");for(o in c)if(i=c[o],"textContent"!==o&&"innerHTML"!==o||(r.children&&(r.children.length=0),i!==s[o]))if("value"===o){a._value=i;var u=t(i)?"":String(i);sn(a,r,u)&&(a.value=u)}else a[o]=i}}function sn(t,e,n){return!t.composing&&("option"===e.tag||cn(t,n)||un(t,n))}function cn(t,e){return document.activeElement!==t&&t.value!==e}function un(t,n){var r=t.value,o=t._vModifiers;return e(o)&&o.number||"number"===t.type?c(r)!==c(n):e(o)&&o.trim?r.trim()!==n.trim():r!==n}function ln(t){var e=fn(t.style);return t.staticStyle?h(t.staticStyle,e):e}function fn(t){return Array.isArray(t)?m(t):"string"==typeof t?Io(t):t}function pn(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)o=o.componentInstance._vnode,o.data&&(n=ln(o.data))&&h(r,n);(n=ln(t.data))&&h(r,n);for(var i=t;i=i.parent;)i.data&&(n=ln(i.data))&&h(r,n);return r}function dn(n,r){var o=r.data,i=n.data;if(!(t(o.staticStyle)&&t(o.style)&&t(i.staticStyle)&&t(i.style))){var a,s,c=r.elm,u=i.staticStyle,l=i.normalizedStyle||i.style||{},f=u||l,p=fn(r.data.style)||{};r.data.normalizedStyle=e(p.__ob__)?h({},p):p;var d=pn(r,!0);for(s in f)t(d[s])&&Lo(c,s,"");for(s in d)(a=d[s])!==f[s]&&Lo(c,s,null==a?"":a)}}function vn(t,e){if(e&&(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 hn(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);else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function mn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&h(e,Uo(t.name||"v")),h(e,t),e}return"string"==typeof t?Uo(t):void 0}}function yn(t){Ko(function(){Ko(t)})}function _n(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),vn(t,e)}function gn(t,e){t._transitionClasses&&l(t._transitionClasses,e),hn(t,e)}function bn(t,e,n){var r=Cn(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Bo?Fo:qo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},i+1),t.addEventListener(s,l)}function Cn(t,e){var n,r=window.getComputedStyle(t),o=r[Ho+"Delay"].split(", "),i=r[Ho+"Duration"].split(", "),a=wn(o,i),s=r[Wo+"Delay"].split(", "),c=r[Wo+"Duration"].split(", "),u=wn(s,c),l=0,f=0;return e===Bo?a>0&&(n=Bo,l=a,f=i.length):e===zo?u>0&&(n=zo,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?Bo:zo:null,f=n?n===Bo?i.length:c.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===Bo&&Jo.test(r[Ho+"Property"])}}function wn(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return $n(e)+$n(t[n])}))}function $n(t){return 1e3*Number(t.slice(0,-1))}function An(n,r){var i=n.elm;e(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var a=mn(n.data.transition);if(!t(a)&&!e(i._enterCb)&&1===i.nodeType){for(var s=a.css,u=a.type,l=a.enterClass,f=a.enterToClass,p=a.enterActiveClass,d=a.appearClass,v=a.appearToClass,h=a.appearActiveClass,m=a.beforeEnter,y=a.enter,_=a.afterEnter,g=a.enterCancelled,C=a.beforeAppear,w=a.appear,$=a.afterAppear,A=a.appearCancelled,x=a.duration,k=Pr,O=Pr.$vnode;O&&O.parent;)O=O.parent,k=O.context;var S=!k._isMounted||!n.isRootInsert;if(!S||w||""===w){var E=S&&d?d:l,j=S&&h?h:p,T=S&&v?v:f,I=S?C||m:m,D=S&&"function"==typeof w?w:y,N=S?$||_:_,L=S?A||g:g,P=c(o(x)?x.enter:x),M=!1!==s&&!cr,R=On(D),U=i._enterCb=b(function(){M&&(gn(i,T),gn(i,j)),U.cancelled?(M&&gn(i,E),L&&L(i)):N&&N(i),i._enterCb=null});n.data.show||Q(n.data.hook||(n.data.hook={}),"insert",function(){var t=i.parentNode,e=t&&t._pending&&t._pending[n.key];e&&e.tag===n.tag&&e.elm._leaveCb&&e.elm._leaveCb(),D&&D(i,U)}),I&&I(i),M&&(_n(i,E),_n(i,j),yn(function(){_n(i,T),gn(i,E),U.cancelled||R||(kn(P)?setTimeout(U,P):bn(i,u,U))})),n.data.show&&(r&&r(),D&&D(i,U)),M||R||U()}}}function xn(n,r){function i(){A.cancelled||(n.data.show||((a.parentNode._pending||(a.parentNode._pending={}))[n.key]=n),v&&v(a),C&&(_n(a,f),_n(a,d),yn(function(){_n(a,p),gn(a,f),A.cancelled||w||(kn($)?setTimeout(A,$):bn(a,l,A))})),h&&h(a,A),C||w||A())}var a=n.elm;e(a._enterCb)&&(a._enterCb.cancelled=!0,a._enterCb());var s=mn(n.data.transition);if(t(s))return r();if(!e(a._leaveCb)&&1===a.nodeType){var u=s.css,l=s.type,f=s.leaveClass,p=s.leaveToClass,d=s.leaveActiveClass,v=s.beforeLeave,h=s.leave,m=s.afterLeave,y=s.leaveCancelled,_=s.delayLeave,g=s.duration,C=!1!==u&&!cr,w=On(h),$=c(o(g)?g.leave:g),A=a._leaveCb=b(function(){a.parentNode&&a.parentNode._pending&&(a.parentNode._pending[n.key]=null),C&&(gn(a,p),gn(a,d)),A.cancelled?(C&&gn(a,f),y&&y(a)):(r(),m&&m(a)),a._leaveCb=null});_?_(i):i()}}function kn(t){return"number"==typeof t&&!isNaN(t)}function On(n){if(t(n))return!1;var r=n.fns;return e(r)?On(Array.isArray(r)?r[0]:r):(n._length||n.length)>1}function Sn(t,e){!0!==e.data.show&&An(e)}function En(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<c;s++)if(a=t.options[s],o)i=g(r,Tn(a))>-1,a.selected!==i&&(a.selected=i);else if(_(Tn(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function jn(t,e){for(var n=0,r=e.length;n<r;n++)if(_(Tn(e[n]),t))return!1;return!0}function Tn(t){return"_value"in t?t._value:t.value}function In(t){t.target.composing=!0}function Dn(t){t.target.composing=!1,Nn(t.target,"input")}function Nn(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ln(t){return!t.componentInstance||t.data&&t.data.transition?t:Ln(t.componentInstance._vnode)}function Pn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Pn(it(e.children)):t}function Mn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[qn(i)]=o[i];return e}function Rn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Un(t){for(;t=t.parent;)if(t.data.transition)return!0}function Vn(t,e){return e.key===t.key&&e.tag===t.tag}function Bn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function zn(t){t.data.newPos=t.elm.getBoundingClientRect()}function Hn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var Fn=Object.prototype.toString,Wn=Object.prototype.hasOwnProperty,qn=p(function(t){return t.replace(/-(\w)/g,function(t,e){return e?e.toUpperCase():""})}),Kn=p(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Jn=p(function(t){return t.replace(/([^-])([A-Z])/g,"$1-$2").replace(/([^-])([A-Z])/g,"$1-$2").toLowerCase()}),Gn=function(){return!1},Zn=function(t){return t},Qn="data-server-rendered",Xn=["component","directive","filter"],Yn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],tr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Gn,isReservedAttr:Gn,isUnknownElement:Gn,getTagNamespace:y,parsePlatformTagName:Zn,mustUseProp:Gn,_lifecycleHooks:Yn
|
|
},er=Object.freeze({}),nr=/[^\w.$]/,rr=y,or="__proto__"in{},ir="undefined"!=typeof window,ar=ir&&window.navigator.userAgent.toLowerCase(),sr=ar&&/msie|trident/.test(ar),cr=ar&&ar.indexOf("msie 9.0")>0,ur=ar&&ar.indexOf("edge/")>0,lr=ar&&ar.indexOf("android")>0,fr=ar&&/iphone|ipad|ipod|ios/.test(ar),pr=ar&&/chrome\/\d+/.test(ar)&&!ur,dr=!1;if(ir)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=!ir&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),hr},_r=ir&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,gr="undefined"!=typeof Symbol&&x(Symbol)&&"undefined"!=typeof Reflect&&x(Reflect.ownKeys),br=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&&x(Promise)){var o=Promise.resolve(),i=function(t){console.error(t)};e=function(){o.then(t).catch(i),fr&&setTimeout(y)}}else if("undefined"==typeof MutationObserver||!x(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),c=document.createTextNode(String(a));s.observe(c,{characterData:!0}),e=function(){a=(a+1)%2,c.data=String(a)}}return function(t,o){var i;if(n.push(function(){if(t)try{t.call(o)}catch(t){A(t,o,"nextTick")}else i&&i(o)}),r||(r=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t,e){i=t})}}();mr="undefined"!=typeof Set&&x(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Cr=0,wr=function(){this.id=Cr++,this.subs=[]};wr.prototype.addSub=function(t){this.subs.push(t)},wr.prototype.removeSub=function(t){l(this.subs,t)},wr.prototype.depend=function(){wr.target&&wr.target.addDep(this)},wr.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},wr.target=null;var $r=[],Ar=Array.prototype,xr=Object.create(Ar);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Ar[t];w(xr,t,function(){for(var n=arguments,r=arguments.length,o=new Array(r);r--;)o[r]=n[r];var i,a=e.apply(this,o),s=this.__ob__;switch(t){case"push":case"unshift":i=o;break;case"splice":i=o.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var kr=Object.getOwnPropertyNames(xr),Or={shouldConvert:!0,isSettingProps:!1},Sr=function(t){if(this.value=t,this.dep=new wr,this.vmCount=0,w(t,"__ob__",this),Array.isArray(t)){(or?S:E)(t,xr,kr),this.observeArray(t)}else this.walk(t)};Sr.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)T(t,e[n],t[e[n]])},Sr.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)j(t[e])};var Er=tr.optionMergeStrategies;Er.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,o="function"==typeof t?t.call(n):void 0;return r?L(r,o):o}:void 0:e?"function"!=typeof e?t:t?function(){return L(e.call(this),t.call(this))}:e:t},Yn.forEach(function(t){Er[t]=P}),Xn.forEach(function(t){Er[t+"s"]=M}),Er.watch=function(t,e){if(!e)return Object.create(t||null);if(!t)return e;var n={};h(n,t);for(var r in e){var o=n[r],i=e[r];o&&!Array.isArray(o)&&(o=[o]),n[r]=o?o.concat(i):[i]}return n},Er.props=Er.methods=Er.computed=function(t,e){if(!e)return Object.create(t||null);if(!t)return e;var n=Object.create(null);return h(n,t),h(n,e),n};var jr=function(t,e){return void 0===e?t:e},Tr=function(t,e,n,r,o,i,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1},Ir={child:{}};Ir.child.get=function(){return this.componentInstance},Object.defineProperties(Tr.prototype,Ir);var Dr,Nr=function(){var t=new Tr;return t.text="",t.isComment=!0,t},Lr=p(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}),Pr=null,Mr=[],Rr=[],Ur={},Vr=!1,Br=!1,zr=0,Hr=0,Fr=function(t,e,n,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Hr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new mr,this.newDepIds=new mr,this.expression="","function"==typeof e?this.getter=e:(this.getter=$(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Fr.prototype.get=function(){k(this);var t,e=this.vm;if(this.user)try{t=this.getter.call(e,e)}catch(t){A(t,e,'getter for watcher "'+this.expression+'"')}else t=this.getter.call(e,e);return this.deep&&kt(t),O(),this.cleanupDeps(),t},Fr.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))},Fr.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},Fr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():xt(this)},Fr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||o(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){A(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Fr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Fr.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Fr.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||l(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Wr=new mr,qr={enumerable:!0,configurable:!0,get:y,set:y},Kr={lazy:!0},Jr={init:function(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed){(t.componentInstance=Wt(t,Pr,n,r)).$mount(e?t.elm:void 0,e)}else if(t.data.keepAlive){var o=t;Jr.prepatch(o,o)}},prepatch:function(t,e){var n=e.componentOptions;ht(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,gt(n,"mounted")),t.data.keepAlive&&(e._isMounted?$t(n):yt(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?_t(e,!0):e.$destroy())}},Gr=Object.keys(Jr),Zr=1,Qr=2,Xr=0;!function(t){t.prototype._init=function(t){var e=this;e._uid=Xr++,e._isVue=!0,t&&t._isComponent?ce(e,t):e.$options=V(ue(e.constructor),t||{},e),e._renderProxy=e,e._self=e,dt(e),at(e),se(e),gt(e,"beforeCreate"),Vt(e),Et(e),Ut(e),gt(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(pe),function(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props},Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=I,t.prototype.$delete=D,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var o=new Fr(r,t,e,n);return n.immediate&&e.call(r,o.value),function(){o.teardown()}}}(pe),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this,o=this;if(Array.isArray(t))for(var i=0,a=t.length;i<a;i++)r.$on(t[i],n);else(o._events[t]||(o._events[t]=[])).push(n),e.test(t)&&(o._hasHookEvent=!0);return o},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,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(t)){for(var o=0,i=t.length;o<i;o++)n.$off(t[o],e);return r}var a=r._events[t];if(!a)return r;if(1===arguments.length)return r._events[t]=null,r;for(var s,c=a.length;c--;)if((s=a[c])===e||s.fn===e){a.splice(c,1);break}return r},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?v(n):n;for(var r=v(arguments,1),o=0,i=n.length;o<i;o++)n[o].apply(e,r)}return e}}(pe),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&>(n,"beforeUpdate");var r=n.$el,o=n._vnode,i=Pr;Pr=n,n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),Pr=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)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){gt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||l(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,t.__patch__(t._vnode,null),gt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$options._parentElm=t.$options._refElm=null}}}(pe),function(t){t.prototype.$nextTick=function(t){return br(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e.staticRenderFns,o=e._parentVnode;if(t._isMounted)for(var i in t.$slots)t.$slots[i]=J(t.$slots[i]);t.$scopedSlots=o&&o.data.scopedSlots||er,r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=o;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){A(e,t,"render function"),a=t._vnode}return a instanceof Tr||(a=Nr()),a.parent=o,a},t.prototype._o=oe,t.prototype._n=c,t.prototype._s=s,t.prototype._l=Xt,t.prototype._t=Yt,t.prototype._q=_,t.prototype._i=g,t.prototype._m=re,t.prototype._f=te,t.prototype._k=ee,t.prototype._b=ne,t.prototype._v=q,t.prototype._e=Nr,t.prototype._u=pt}(pe);var Yr=[String,RegExp],to={name:"keep-alive",abstract:!0,props:{include:Yr,exclude:Yr},created:function(){this.cache=Object.create(null)},destroyed:function(){var t=this;for(var e in t.cache)we(t.cache[e])},watch:{include:function(t){Ce(this.cache,this._vnode,function(e){return be(t,e)})},exclude:function(t){Ce(this.cache,this._vnode,function(e){return!be(t,e)})}},render:function(){var t=it(this.$slots.default),e=t&&t.componentOptions;if(e){var n=ge(e);if(n&&(this.include&&!be(this.include,n)||this.exclude&&be(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}},eo={KeepAlive:to};!function(t){var e={};e.get=function(){return tr},Object.defineProperty(t,"config",e),t.util={warn:rr,extend:h,mergeOptions:V,defineReactive:T},t.set=I,t.delete=D,t.nextTick=br,t.options=Object.create(null),Xn.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,h(t.options.components,eo),de(t),ve(t),he(t),_e(t)}(pe),Object.defineProperty(pe.prototype,"$isServer",{get:yr}),pe.version="2.3.1";var no,ro,oo=u("style,class"),io=u("input,textarea,option,select"),ao=function(t,e,n){return"value"===n&&io(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},so=u("contenteditable,draggable,spellcheck"),co=u("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"),uo="http://www.w3.org/1999/xlink",lo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},fo=function(t){return lo(t)?t.slice(6,t.length):""},po=function(t){return null==t||!1===t},vo={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ho=u("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"),mo=u("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),yo=function(t){return ho(t)||mo(t)},_o=Object.create(null),go=Object.freeze({createElement:Te,createElementNS:Ie,createTextNode:De,createComment:Ne,insertBefore:Le,removeChild:Pe,appendChild:Me,parentNode:Re,nextSibling:Ue,tagName:Ve,setTextContent:Be,setAttribute:ze}),bo={create:function(t,e){He(e)},update:function(t,e){t.data.ref!==e.data.ref&&(He(t,!0),He(e))},destroy:function(t){He(t,!0)}},Co=new Tr("",{},[]),wo=["create","activate","update","remove","destroy"],$o={create:Ke,update:Ke,destroy:function(t){Ke(t,Co)}},Ao=Object.create(null),xo=[bo,$o],ko={create:Xe,update:Xe},Oo={create:tn,update:tn},So="__r",Eo="__c",jo={create:on,update:on},To={create:an,update:an},Io=p(function(t){var e={};return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var n=t.split(/:(.+)/);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}),Do=/^--/,No=/\s*!important$/,Lo=function(t,e,n){if(Do.test(e))t.style.setProperty(e,n);else if(No.test(n))t.style.setProperty(e,n.replace(No,""),"important");else{var r=Mo(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Po=["Webkit","Moz","ms"],Mo=p(function(t){if(ro=ro||document.createElement("div"),"filter"!==(t=qn(t))&&t in ro.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Po.length;n++){var r=Po[n]+e;if(r in ro.style)return r}}),Ro={create:dn,update:dn},Uo=p(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Vo=ir&&!cr,Bo="transition",zo="animation",Ho="transition",Fo="transitionend",Wo="animation",qo="animationend";Vo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ho="WebkitTransition",Fo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Wo="WebkitAnimation",qo="webkitAnimationEnd"));var Ko=ir&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Jo=/\b(transform|all)(,|$)/,Go=ir?{create:Sn,activate:Sn,remove:function(t,e){!0!==t.data.show?xn(t,e):e()}}:{},Zo=[ko,Oo,jo,To,Ro,Go],Qo=Zo.concat(xo),Xo=function(o){function i(t){return new Tr(j.tagName(t).toLowerCase(),{},[],void 0,t)}function a(t,e){function n(){0==--n.listeners&&s(t)}return n.listeners=e,n}function s(t){var n=j.parentNode(t);e(n)&&j.removeChild(n,t)}function c(t,r,o,i,a){if(t.isRootInsert=!a,!l(t,r,o,i)){var s=t.data,c=t.children,u=t.tag;e(u)?(t.elm=t.ns?j.createElementNS(t.ns,u):j.createElement(u,t),y(t),v(t,c,r),e(s)&&m(t,r),d(o,t.elm,i)):n(t.isComment)?(t.elm=j.createComment(t.text),d(o,t.elm,i)):(t.elm=j.createTextNode(t.text),d(o,t.elm,i))}}function l(t,r,o,i){var a=t.data;if(e(a)){var s=e(t.componentInstance)&&a.keepAlive;if(e(a=a.hook)&&e(a=a.init)&&a(t,!1,o,i),e(t.componentInstance))return f(t,r),n(s)&&p(t,r,o,i),!0}}function f(t,n){e(t.data.pendingInsert)&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(m(t,n),y(t)):(He(t),n.push(t))}function p(t,n,r,o){for(var i,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,e(i=a.data)&&e(i=i.transition)){for(i=0;i<S.activate.length;++i)S.activate[i](Co,a);n.push(a);break}d(r,t.elm,o)}function d(t,n,r){e(t)&&(e(r)?r.parentNode===t&&j.insertBefore(t,n,r):j.appendChild(t,n))}function v(t,e,n){if(Array.isArray(e))for(var o=0;o<e.length;++o)c(e[o],n,t.elm,null,!0);else r(t.text)&&j.appendChild(t.elm,j.createTextNode(t.text))}function h(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return e(t.tag)}function m(t,n){for(var r=0;r<S.create.length;++r)S.create[r](Co,t);k=t.data.hook,e(k)&&(e(k.create)&&k.create(Co,t),e(k.insert)&&n.push(t))}function y(t){for(var n,r=t;r;)e(n=r.context)&&e(n=n.$options._scopeId)&&j.setAttribute(t.elm,n,""),r=r.parent;e(n=Pr)&&n!==t.context&&e(n=n.$options._scopeId)&&j.setAttribute(t.elm,n,"")}function _(t,e,n,r,o,i){for(;r<=o;++r)c(n[r],i,t,e)}function g(t){var n,r,o=t.data;if(e(o))for(e(n=o.hook)&&e(n=n.destroy)&&n(t),n=0;n<S.destroy.length;++n)S.destroy[n](t);if(e(n=t.children))for(r=0;r<t.children.length;++r)g(t.children[r])}function b(t,n,r,o){for(;r<=o;++r){var i=n[r];e(i)&&(e(i.tag)?(C(i),g(i)):s(i.elm))}}function C(t,n){if(e(n)||e(t.data)){var r,o=S.remove.length+1;for(e(n)?n.listeners+=o:n=a(t.elm,o),e(r=t.componentInstance)&&e(r=r._vnode)&&e(r.data)&&C(r,n),r=0;r<S.remove.length;++r)S.remove[r](t,n);e(r=t.data.hook)&&e(r=r.remove)?r(t,n):n()}else s(t.elm)}function w(n,r,o,i,a){for(var s,u,l,f,p=0,d=0,v=r.length-1,h=r[0],m=r[v],y=o.length-1,g=o[0],C=o[y],w=!a;p<=v&&d<=y;)t(h)?h=r[++p]:t(m)?m=r[--v]:Fe(h,g)?($(h,g,i),h=r[++p],g=o[++d]):Fe(m,C)?($(m,C,i),m=r[--v],C=o[--y]):Fe(h,C)?($(h,C,i),w&&j.insertBefore(n,h.elm,j.nextSibling(m.elm)),h=r[++p],C=o[--y]):Fe(m,g)?($(m,g,i),w&&j.insertBefore(n,m.elm,h.elm),m=r[--v],g=o[++d]):(t(s)&&(s=qe(r,p,v)),u=e(g.key)?s[g.key]:null,t(u)?(c(g,i,n,h.elm),g=o[++d]):(l=r[u],Fe(l,g)?($(l,g,i),r[u]=void 0,w&&j.insertBefore(n,g.elm,h.elm),g=o[++d]):(c(g,i,n,h.elm),g=o[++d])));p>v?(f=t(o[y+1])?null:o[y+1].elm,_(n,f,o,d,y,i)):d>y&&b(n,r,p,v)}function $(r,o,i,a){if(r!==o){if(n(o.isStatic)&&n(r.isStatic)&&o.key===r.key&&(n(o.isCloned)||n(o.isOnce)))return o.elm=r.elm,void(o.componentInstance=r.componentInstance);var s,c=o.data;e(c)&&e(s=c.hook)&&e(s=s.prepatch)&&s(r,o);var u=o.elm=r.elm,l=r.children,f=o.children;if(e(c)&&h(o)){for(s=0;s<S.update.length;++s)S.update[s](r,o);e(s=c.hook)&&e(s=s.update)&&s(r,o)}t(o.text)?e(l)&&e(f)?l!==f&&w(u,l,f,i,a):e(f)?(e(r.text)&&j.setTextContent(u,""),_(u,null,f,0,f.length-1,i)):e(l)?b(u,l,0,l.length-1):e(r.text)&&j.setTextContent(u,""):r.text!==o.text&&j.setTextContent(u,o.text),e(c)&&e(s=c.hook)&&e(s=s.postpatch)&&s(r,o)}}function A(t,r,o){if(n(o)&&e(t.parent))t.parent.data.pendingInsert=r;else for(var i=0;i<r.length;++i)r[i].data.hook.insert(r[i])}function x(t,n,r){n.elm=t;var o=n.tag,i=n.data,a=n.children;if(e(i)&&(e(k=i.hook)&&e(k=k.init)&&k(n,!0),e(k=n.componentInstance)))return f(n,r),!0;if(e(o)){if(e(a))if(t.hasChildNodes()){for(var s=!0,c=t.firstChild,u=0;u<a.length;u++){if(!c||!x(c,a[u],r)){s=!1;break}c=c.nextSibling}if(!s||c)return!1}else v(n,a,r);if(e(i))for(var l in i)if(!T(l)){m(n,r);break}}else t.data!==n.text&&(t.data=n.text);return!0}var k,O,S={},E=o.modules,j=o.nodeOps;for(k=0;k<wo.length;++k)for(S[wo[k]]=[],O=0;O<E.length;++O)e(E[O][wo[k]])&&S[wo[k]].push(E[O][wo[k]]);var T=u("attrs,style,class,staticClass,staticStyle,key");return function(r,o,a,s,u,l){if(t(o))return void(e(r)&&g(r));var f=!1,p=[];if(t(r))f=!0,c(o,p,u,l);else{var d=e(r.nodeType);if(!d&&Fe(r,o))$(r,o,p,s);else{if(d){if(1===r.nodeType&&r.hasAttribute(Qn)&&(r.removeAttribute(Qn),a=!0),n(a)&&x(r,o,p))return A(o,p,!0),r;r=i(r)}var v=r.elm,m=j.parentNode(v);if(c(o,p,v._leaveCb?null:m,j.nextSibling(v)),e(o.parent)){for(var y=o.parent;y;)y.elm=o.elm,y=y.parent;if(h(o))for(var _=0;_<S.create.length;++_)S.create[_](Co,o.parent)}e(m)?b(m,[r],0,0):e(r.tag)&&g(r)}}return A(o,p,f),o.elm}}({nodeOps:go,modules:Qo});cr&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Nn(t,"input")});var Yo={inserted:function(t,e,n){if("select"===n.tag){var r=function(){En(t,e,n.context)};r(),(sr||ur)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type&&"password"!==t.type||(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",Dn),lr||(t.addEventListener("compositionstart",In),t.addEventListener("compositionend",Dn)),cr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){En(t,e,n.context);(t.multiple?e.value.some(function(e){return jn(e,t.options)}):e.value!==e.oldValue&&jn(e.value,t.options))&&Nn(t,"change")}}},ti={bind:function(t,e,n){var r=e.value;n=Ln(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o&&!cr?(n.data.show=!0,An(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;r!==e.oldValue&&(n=Ln(n),n.data&&n.data.transition&&!cr?(n.data.show=!0,r?An(n,function(){t.style.display=t.__vOriginalDisplay}):xn(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},ei={model:Yo,show:ti},ni={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},ri={name:"transition",props:ni,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 o=this.mode,i=n[0];if(Un(this.$vnode))return i;var a=Pn(i);if(!a)return i;if(this._leaving)return Rn(t,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?s+a.tag:r(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=Mn(this),u=this._vnode,l=Pn(u);if(a.data.directives&&a.data.directives.some(function(t){return"show"===t.name})&&(a.data.show=!0),l&&l.data&&!Vn(a,l)){var f=l&&(l.data.transition=h({},c));if("out-in"===o)return this._leaving=!0,Q(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Rn(t,i);if("in-out"===o){var p,d=function(){p()};Q(c,"afterEnter",d),Q(c,"enterCancelled",d),Q(f,"delayLeave",function(t){p=t})}}return i}}},oi=h({tag:String,moveClass:String},ni);delete oi.mode;var ii={props:oi,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Mn(this),s=0;s<o.length;s++){var c=o[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(i.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 p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?u.push(p):l.push(p)}this.kept=t(e,null,u),this.removed=l}return t(e,null,i)},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||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(Bn),t.forEach(zn),t.forEach(Hn);var n=document.body;n.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;_n(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Fo,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Fo,t),n._moveCb=null,gn(n,e))})}})}},methods:{hasMove:function(t,e){if(!Vo)return!1;if(null!=this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){hn(n,t)}),vn(n,e),n.style.display="none",this.$el.appendChild(n);var r=Cn(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}},ai={Transition:ri,TransitionGroup:ii};return pe.config.mustUseProp=ao,pe.config.isReservedTag=yo,pe.config.isReservedAttr=oo,pe.config.getTagNamespace=Se,pe.config.isUnknownElement=Ee,h(pe.options.directives,ei),h(pe.options.components,ai),pe.prototype.__patch__=ir?Xo:y,pe.prototype.$mount=function(t,e){return t=t&&ir?je(t):void 0,vt(this,t,e)},setTimeout(function(){tr.devtools&&_r&&_r.emit("init",pe)},0),pe}); |