You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

6 lines
58 KiB

/*!
* Vue.js v2.4.3
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(t){return void 0===t||null===t}function e(t){return void 0!==t&&null!==t}function n(t){return!0===t}function r(t){return!1===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}function a(t){return"[object Object]"===Bn.call(t)}function s(t){return"[object RegExp]"===Bn.call(t)}function c(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function l(t){var e=parseFloat(t);return isNaN(e)?t:e}function f(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function p(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function d(t,e){return zn.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function h(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function m(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function _(t){for(var e={},n=0;n<t.length;n++)t[n]&&y(e,t[n]);return e}function g(t,e,n){}function b(t,e){if(t===e)return!0;var n=i(t),r=i(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),a=Array.isArray(e);if(o&&a)return t.length===e.length&&t.every(function(t,n){return b(t,e[n])});if(o||a)return!1;var s=Object.keys(t),c=Object.keys(e);return s.length===c.length&&s.every(function(n){return b(t[n],e[n])})}catch(t){return!1}}function C(t,e){for(var n=0;n<t.length;n++)if(b(t[n],e))return n;return-1}function A(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function w(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function $(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(t){if(!rr.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 k(t,e,n){if(er.errorHandler)er.errorHandler.call(null,t,e,n);else{if(!ar||"undefined"==typeof console)throw t;console.error(t)}}function O(t){return"function"==typeof t&&/native code/.test(t.toString())}function S(t){$r.target&&xr.push($r.target),$r.target=t}function E(){$r.target=xr.pop()}function j(t,e,n){t.__proto__=e}function T(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];$(t,i,e[i])}}function I(t,e){if(i(t)){var n;return d(t,"__ob__")&&t.__ob__ instanceof jr?n=t.__ob__:Er.shouldConvert&&!gr()&&(Array.isArray(t)||a(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new jr(t)),e&&n&&n.vmCount++,n}}function D(t,e,n,r,o){var i=new $r,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set,u=!o&&I(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return $r.target&&(i.depend(),u&&(u.dep.depend(),Array.isArray(e)&&M(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||(c?c.call(t,e):n=e,u=!o&&I(e),i.notify())}})}}function L(t,e,n){if(Array.isArray(t)&&c(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(d(t,e))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(D(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function P(t,e){if(Array.isArray(t)&&c(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||d(t,e)&&(delete t[e],n&&n.dep.notify())}}function M(t){for(var e=void 0,n=0,r=t.length;n<r;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&M(e)}function N(t,e){if(!e)return t;for(var n,r,o,i=Object.keys(e),s=0;s<i.length;s++)r=t[n=i[s]],o=e[n],d(t,n)?a(r)&&a(o)&&N(r,o):L(t,n,o);return t}function F(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,o="function"==typeof t?t.call(n):t;return r?N(r,o):o}:void 0:e?t?function(){return N("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function R(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function U(t,e){var n=Object.create(t||null);return e?y(n,e):n}function V(t){var e=t.props;if(e){var n,r,o={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(o[qn(r)]={type:null});else if(a(e))for(var i in e)r=e[i],o[qn(i)]=a(r)?r:{type:r};t.props=o}}function B(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},r=0;r<e.length;r++)n[e[r]]=e[r]}function H(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 z(t,e,n){function r(r){var o=Tr[r]||Ir;c[r]=o(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),V(e),B(e),H(e);var o=e.extends;if(o&&(t=z(t,o,n)),e.mixins)for(var i=0,a=e.mixins.length;i<a;i++)t=z(t,e.mixins[i],n);var s,c={};for(s in t)r(s);for(s in e)d(t,s)||r(s);return c}function W(t,e,n,r){if("string"==typeof n){var o=t[e];if(d(o,n))return o[n];var i=qn(n);if(d(o,i))return o[i];var a=Kn(i);if(d(o,a))return o[a];var s=o[n]||o[i]||o[a];return s}}function q(t,e,n,r){var o=e[t],i=!d(n,t),a=n[t];if(J(Boolean,o.type)&&(i&&!d(o,"default")?a=!1:J(String,o.type)||""!==a&&a!==Jn(t)||(a=!0)),void 0===a){a=K(r,o,t);var s=Er.shouldConvert;Er.shouldConvert=!0,I(a),Er.shouldConvert=s}return a}function K(t,e,n){if(d(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"!==G(e.type)?r.call(t):r}}function G(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function J(t,e){if(!Array.isArray(e))return G(e)===G(t);for(var n=0,r=e.length;n<r;n++)if(G(e[n])===G(t))return!0;return!1}function Z(t){return new Dr(void 0,void 0,void 0,String(t))}function Q(t,e){var n=new Dr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.isCloned=!0,e&&t.children&&(n.children=X(t.children)),n}function X(t,e){for(var n=t.length,r=new Array(n),o=0;o<n;o++)r[o]=Q(t[o],e);return r}function Y(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,t)}return e.fns=t,e}function tt(t,e){return t.plain?-1:e.plain?1:0}function et(e,n,r,o,i){var a,s,c,u,l=[],f=!1;for(a in e)s=e[a],c=n[a],(u=Nr(a)).plain||(f=!0),t(s)||(t(c)?(t(s.fns)&&(s=e[a]=Y(s)),u.handler=s,l.push(u)):s!==c&&(c.fns=s,e[a]=c));if(l.length){f&&l.sort(tt);for(var p=0;p<l.length;p++){var d=l[p];r(d.name,d.handler,d.once,d.capture,d.passive)}}for(a in n)t(e[a])&&o((u=Nr(a)).name,n[a],u.capture)}function nt(r,o,i){function a(){i.apply(this,arguments),p(s.fns,a)}var s,c=r[o];t(c)?s=Y([a]):e(c.fns)&&n(c.merged)?(s=c).fns.push(a):s=Y([c,a]),s.merged=!0,r[o]=s}function rt(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);ot(a,c,u,l,!0)||ot(a,s,u,l,!1)}return a}}function ot(t,n,r,o,i){if(e(n)){if(d(n,r))return t[r]=n[r],i||delete n[r],!0;if(d(n,o))return t[r]=n[o],i||delete n[o],!0}return!1}function it(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function at(t){return o(t)?[Z(t)]:Array.isArray(t)?ct(t):void 0}function st(t){return e(t)&&e(t.text)&&r(t.isComment)}function ct(r,i){var a,s,c,u=[];for(a=0;a<r.length;a++)t(s=r[a])||"boolean"==typeof s||(c=u[u.length-1],Array.isArray(s)?u.push.apply(u,ct(s,(i||"")+"_"+a)):o(s)?st(c)?c.text+=String(s):""!==s&&u.push(Z(s)):st(s)&&st(c)?u[u.length-1]=Z(c.text+s.text):(n(r._isVList)&&e(s.tag)&&t(s.key)&&e(i)&&(s.key="__vlist"+i+"_"+a+"__"),u.push(s)));return u}function ut(t,e){return t.__esModule&&t.default&&(t=t.default),i(t)?e.extend(t):t}function lt(t,e,n,r,o){var i=Mr();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function ft(r,o,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=A(function(t){r.resolved=ut(t,o),c||u()}),f=A(function(t){e(r.errorComp)&&(r.error=!0,u())}),p=r(l,f);return i(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=ut(p.error,o)),e(p.loading)&&(r.loadingComp=ut(p.loading,o),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(){t(r.resolved)&&f(null)},p.timeout))),c=!1,r.loading?r.loadingComp:r.resolved}r.contexts.push(a)}function pt(t){return t.isComment&&t.asyncFactory}function dt(t){if(Array.isArray(t))for(var n=0;n<t.length;n++){var r=t[n];if(e(r)&&(e(r.componentOptions)||pt(r)))return r}}function vt(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&yt(t,e)}function ht(t,e,n){n?Pr.$once(t,e):Pr.$on(t,e)}function mt(t,e){Pr.$off(t,e)}function yt(t,e,n){Pr=t,et(e,n||{},ht,mt,t)}function _t(t,e){var n={};if(!t)return n;for(var r=[],o=0,i=t.length;o<i;o++){var a=t[o],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,a.context!==e&&a.functionalContext!==e||!s||null==s.slot)r.push(a);else{var c=a.data.slot,u=n[c]||(n[c]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return r.every(gt)||(n.default=r),n}function gt(t){return t.isComment||" "===t.text}function bt(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?bt(t[n],e):e[t[n].key]=t[n].fn;return e}function Ct(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 At(t,e,n){t.$el=e,t.$options.render||(t.$options.render=Mr),Ot(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},t._watcher=new qr(t,r,g),n=!1,null==t.$vnode&&(t._isMounted=!0,Ot(t,"mounted")),t}function wt(t,e,n,r,o){var i=!!(o||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==nr);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o,t.$attrs=r.data&&r.data.attrs||nr,t.$listeners=n||nr,e&&t.$options.props){Er.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c];a[u]=q(u,t.$options.props,e,t)}Er.shouldConvert=!0,t.$options.propsData=e}if(n){var l=t.$options._parentListeners;t.$options._parentListeners=n,yt(t,n,l)}i&&(t.$slots=_t(o,r.context),t.$forceUpdate())}function $t(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function xt(t,e){if(e){if(t._directInactive=!1,$t(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++)xt(t.$children[n]);Ot(t,"activated")}}function kt(t,e){if(!(e&&(t._directInactive=!0,$t(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)kt(t.$children[n]);Ot(t,"deactivated")}}function Ot(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){k(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}function St(){zr=Rr.length=Ur.length=0,Vr={},Br=Hr=!1}function Et(){Hr=!0;var t,e;for(Rr.sort(function(t,e){return t.id-e.id}),zr=0;zr<Rr.length;zr++)e=(t=Rr[zr]).id,Vr[e]=null,t.run();var n=Ur.slice(),r=Rr.slice();St(),It(n),jt(r),br&&er.devtools&&br.emit("flush")}function jt(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&Ot(r,"updated")}}function Tt(t){t._inactive=!1,Ur.push(t)}function It(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,xt(t[e],!0)}function Dt(t){var e=t.id;if(null==Vr[e]){if(Vr[e]=!0,Hr){for(var n=Rr.length-1;n>zr&&Rr[n].id>t.id;)n--;Rr.splice(n+1,0,t)}else Rr.push(t);Br||(Br=!0,Ar(Et))}}function Lt(t){Kr.clear(),Pt(t,Kr)}function Pt(t,e){var n,r,o=Array.isArray(t);if((o||i(t))&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)Pt(t[n],e);else for(n=(r=Object.keys(t)).length;n--;)Pt(t[r[n]],e)}}function Mt(t,e,n){Gr.get=function(){return this[e][n]},Gr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Gr)}function Nt(t){t._watchers=[];var e=t.$options;e.props&&Ft(t,e.props),e.methods&&zt(t,e.methods),e.data?Rt(t):I(t._data={},!0),e.computed&&Vt(t,e.computed),e.watch&&e.watch!==vr&&Wt(t,e.watch)}function Ft(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[],i=!t.$parent;Er.shouldConvert=i;for(var a in e)!function(i){o.push(i);var a=q(i,e,n,t);D(r,i,a),i in t||Mt(t,"_props",i)}(a);Er.shouldConvert=!0}function Rt(t){var e=t.$options.data;a(e=t._data="function"==typeof e?Ut(e,t):e||{})||(e={});for(var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);o--;){var i=n[o];r&&d(r,i)||w(i)||Mt(t,"_data",i)}I(e,!0)}function Ut(t,e){try{return t.call(e)}catch(t){return k(t,e,"data()"),{}}}function Vt(t,e){var n=t._computedWatchers=Object.create(null),r=gr();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;r||(n[o]=new qr(t,a||g,g,Jr)),o in t||Bt(t,o,i)}}function Bt(t,e,n){var r=!gr();"function"==typeof n?(Gr.get=r?Ht(e):n,Gr.set=g):(Gr.get=n.get?r&&!1!==n.cache?Ht(e):n.get:g,Gr.set=n.set?n.set:g),Object.defineProperty(t,e,Gr)}function Ht(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),$r.target&&e.depend(),e.value}}function zt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?g:h(e[n],t)}function Wt(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)qt(t,n,r[o]);else qt(t,n,r)}}function qt(t,e,n,r){return a(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Kt(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function Gt(t){var e=Jt(t.$options.inject,t);e&&(Er.shouldConvert=!1,Object.keys(e).forEach(function(n){D(t,n,e[n])}),Er.shouldConvert=!0)}function Jt(t,e){if(t){for(var n=Object.create(null),r=Cr?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),o=0;o<r.length;o++)for(var i=r[o],a=t[i],s=e;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}return n}}function Zt(t,n,r,o,i){var a={},s=t.options.props;if(e(s))for(var c in s)a[c]=q(c,s,n||nr);else e(r.attrs)&&Qt(a,r.attrs),e(r.props)&&Qt(a,r.props);var u=Object.create(o),l=t.options.render.call(null,function(t,e,n,r){return re(u,t,e,n,r,!0)},{data:r,props:a,children:i,parent:o,listeners:r.on||nr,injections:Jt(t.options.inject,o),slots:function(){return _t(i,o)}});return l instanceof Dr&&(l.functionalContext=o,l.functionalOptions=t.options,r.slot&&((l.data||(l.data={})).slot=r.slot)),l}function Qt(t,e){for(var n in e)t[qn(n)]=e[n]}function Xt(r,o,a,s,c){if(!t(r)){var u=