mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-01 08:10:31 +00:00
14 lines
77 KiB
JavaScript
14 lines
77 KiB
JavaScript
!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,i,a){for(var s,u,c,l=0,f=[];l<r.length;l++)u=r[l],o[u]&&f.push(o[u][0]),o[u]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s]);for(n&&n(r,i,a);f.length;)f.shift()();if(a)for(l=0;l<a.length;l++)c=e(e.s=a[l]);return c};var r={},o={3:0};return e.e=function(t){function n(){i.onerror=i.onload=null,clearTimeout(a);var e=o[t];0!==e&&(e&&e[1](new Error("Loading chunk "+t+" failed.")),o[t]=void 0)}if(0===o[t])return Promise.resolve();if(o[t])return o[t][2];var r=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.timeout=12e4,i.src=e.p+""+t+".nuxt.bundle.js";var a=setTimeout(n,12e4);i.onerror=i.onload=n,r.appendChild(i);var s=new Promise(function(e,n){o[t]=[e,n]});return o[t][2]=s},e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,e,n){Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/_nuxt/",e.oe=function(t){throw console.error(t),t},e(e.s=23)}([function(t,e,n){"use strict";(function(e){function n(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var e=parseFloat(t,10);return e||0===e?e:t}function o(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 i(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function a(t,e){return rn.call(t,e)}function s(t){return"string"==typeof t||"number"==typeof t}function u(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function c(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 l(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function f(t,e){for(var n in e)t[n]=e[n];return t}function p(t){return null!==t&&"object"==typeof t}function d(t){return ln.call(t)===fn}function h(t){for(var e={},n=0;n<t.length;n++)t[n]&&f(e,t[n]);return e}function v(){}function m(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function y(t,e){return t==e||!(!p(t)||!p(e))&&JSON.stringify(t)===JSON.stringify(e)}function g(t,e){for(var n=0;n<t.length;n++)if(y(t[n],e))return n;return-1}function _(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function b(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function w(t){if(!hn.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 x(t){return/native code/.test(t.toString())}function k(t){Cn.target&&$n.push(Cn.target),Cn.target=t}function O(){Cn.target=$n.pop()}function A(){jn.length=0,Tn={},En=Sn=!1}function C(){for(Sn=!0,jn.sort(function(t,e){return t.id-e.id}),Pn=0;Pn<jn.length;Pn++){var t=jn[Pn],e=t.id;Tn[e]=null,t.run()}kn&&dn.devtools&&kn.emit("flush"),A()}function $(t){var e=t.id;if(null==Tn[e]){if(Tn[e]=!0,Sn){for(var n=jn.length-1;n>=0&&jn[n].id>t.id;)n--;jn.splice(Math.max(n,Pn)+1,0,t)}else jn.push(t);En||(En=!0,On(C))}}function j(t){Dn.clear(),T(t,Dn)}function T(t,e){var n,r,o=Array.isArray(t);if((o||p(t))&&Object.isExtensible(t)){if(t.__ob__){var i=t.__ob__.dep.id;if(e.has(i))return;e.add(i)}if(o)for(n=t.length;n--;)T(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)T(t[r[n]],e)}}function E(t,e){t.__proto__=e}function S(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];b(t,i,e[i])}}function P(t){if(p(t)){var e;return a(t,"__ob__")&&t.__ob__ instanceof qn?e=t.__ob__:Un.shouldConvert&&!dn._isServer&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new qn(t)),e}}function L(t,e,n,r){var o=new Cn,i=Object.getOwnPropertyDescriptor(t,e);if(!i||i.configurable!==!1){var a=i&&i.get,s=i&&i.set,u=P(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return Cn.target&&(o.depend(),u&&u.dep.depend(),Array.isArray(e)&&R(e)),e},set:function(e){var r=a?a.call(t):n;e!==r&&(s?s.call(t,e):n=e,u=P(e),o.notify())}})}}function M(t,e,n){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(a(t,e))return void(t[e]=n);var r=t.__ob__;if(!(t._isVue||r&&r.vmCount))return r?(L(r.value,e,n),r.dep.notify(),n):void(t[e]=n)}function D(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||a(t,e)&&(delete t[e],n&&n.dep.notify())}function R(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)&&R(e)}function N(t){t._watchers=[],I(t),U(t),q(t),V(t),F(t)}function I(t){var e=t.$options.props;if(e){var n=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(e),o=!t.$parent;Un.shouldConvert=o;for(var i=function(o){var i=r[o];L(t,i,Rt(i,e,n,t))},a=0;a<r.length;a++)i(a);Un.shouldConvert=!0}}function U(t){var e=t.$options.data;e=t._data="function"==typeof e?e.call(t):e||{},d(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,o=n.length;o--;)r&&a(r,n[o])||J(t,n[o]);P(e),e.__ob__&&e.__ob__.vmCount++}function q(t){var e=t.$options.computed;if(e)for(var n in e){var r=e[n];"function"==typeof r?(Bn.get=B(r,t),Bn.set=v):(Bn.get=r.get?r.cache!==!1?B(r.get,t):c(r.get,t):v,Bn.set=r.set?c(r.set,t):v),Object.defineProperty(t,n,Bn)}}function B(t,e){var n=new Mn(e,t,v,{lazy:!0});return function(){return n.dirty&&n.evaluate(),Cn.target&&n.depend(),n.value}}function V(t){var e=t.$options.methods;if(e)for(var n in e)t[n]=null==e[n]?v:c(e[n],t)}function F(t){var e=t.$options.watch;if(e)for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)z(t,n,r[o]);else z(t,n,r)}}function z(t,e,n){var r;d(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=M,t.prototype.$delete=D,t.prototype.$watch=function(t,e,n){var r=this;n=n||{},n.user=!0;var o=new Mn(r,t,e,n);return n.immediate&&e.call(r,o.value),function(){o.teardown()}}}function J(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 K(t){var e=new Vn(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 W(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=K(t[n]);return e}function Y(t,e,n,r){r+=e;var o=t.__injected||(t.__injected={});if(!o[r]){o[r]=!0;var i=t[e];i?t[e]=function(){i.apply(this,arguments),n.apply(this,arguments)}:t[e]=n}}function G(t,e,n,r,o){var i,a,s,u,c,l;for(i in t)if(a=t[i],s=e[i],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[i]=s}else s.fn=a,t[i]=s}else l="!"===i.charAt(0),c=l?i.slice(1):i,Array.isArray(a)?n(c,a.invoker=X(a),l):(a.invoker||(u=a,a=t[i]={},a.fn=u,a.invoker=Z(a)),n(c,a.invoker,l));else;for(i in e)t[i]||(c="!"===i.charAt(0)?i.slice(1):i,r(c,e[i].invoker))}function X(t){return function(e){for(var n=arguments,r=1===arguments.length,o=0;o<t.length;o++)r?t[o](e):t[o].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(s(t))return[tt(t)];if(Array.isArray(t)){for(var r=[],o=0,i=t.length;o<i;o++){var a=t[o],u=r[r.length-1];Array.isArray(a)?r.push.apply(r,Q(a,e,(n||"")+"_"+o)):s(a)?u&&u.text?u.text+=String(a):""!==a&&r.push(tt(a)):a instanceof Vn&&(a.text&&u&&u.text?u.text+=a.text:(e&&et(a,e),a.tag&&null==a.key&&null!=n&&(a.key="__vlist"+n+"_"+o+"__"),r.push(a)))}return r}}function tt(t){return new Vn(void 0,void 0,void 0,String(t))}function et(t,e){if(t.tag&&!t.ns&&(t.ns=e,t.children))for(var n=0,r=t.children.length;n<r;n++)et(t.children[n],e)}function nt(t){return t&&t.filter(function(t){return t&&t.componentOptions})[0]}function rt(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 ot(t){t.prototype._mount=function(t,e){var n=this;return n.$el=t,n.$options.render||(n.$options.render=Fn),it(n,"beforeMount"),n._watcher=new Mn(n,function(){n._update(n._render(),e)},v),e=!1,null==n.$vnode&&(n._isMounted=!0,it(n,"mounted")),n},t.prototype._update=function(t,e){var n=this;n._isMounted&&it(n,"beforeUpdate");var r=n.$el,o=zn;zn=n;var i=n._vnode;n._vnode=t,i?n.$el=n.__patch__(i,t):n.$el=n.__patch__(n.$el,t,e),zn=o,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&&it(n,"updated")},t.prototype._updateFromParent=function(t,e,n,r){var o=this,i=!(!o.$options._renderChildren&&!r);if(o.$options._parentVnode=n,o.$options._renderChildren=r,t&&o.$options.props){Un.shouldConvert=!1;for(var a=o.$options._propKeys||[],s=0;s<a.length;s++){var u=a[s];o[u]=Rt(u,o.$options.props,t,o)}Un.shouldConvert=!0,o.$options.propsData=t}if(e){var c=o.$options._parentListeners;o.$options._parentListeners=e,o._updateListeners(e,c)}i&&(o.$slots=xt(r,o._renderContext),o.$forceUpdate())},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){it(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||i(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,it(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.__patch__(t._vnode,null)}}}function it(t,e){var n=t.$options[e];if(n)for(var r=0,o=n.length;r<o;r++)n[r].call(t);t.$emit("hook:"+e)}function at(t,e,n,r,o){if(t&&(p(t)&&(t=jt.extend(t)),"function"==typeof t)){if($t(t),!t.cid)if(t.resolved)t=t.resolved;else if(t=dt(t,function(){n.$forceUpdate()}),!t)return;e=e||{};var i=ht(e,t);if(t.options.functional)return st(t,i,e,n,r);var a=e.on;e.on=e.nativeOn,t.options.abstract&&(e={}),mt(e);var s=t.options.name||o,u=new Vn("vue-component-"+t.cid+(s?"-"+s:""),e,void 0,void 0,void 0,void 0,n,{Ctor:t,propsData:i,listeners:a,tag:o,children:r});return u}}function st(t,e,n,r,o){var i={},a=t.options.props;if(a)for(var s in a)i[s]=Rt(s,a,e);var u=t.options.render.call(null,c(gt,{_self:Object.create(r)}),{props:i,data:n,parent:r,children:Q(o),slots:function(){return xt(o,r)}});return u instanceof Vn&&(u.functionalContext=r,n.slot&&((u.data||(u.data={})).slot=n.slot)),u}function ut(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},o=t.data.inlineTemplate;return o&&(r.render=o.render,r.staticRenderFns=o.staticRenderFns),new n.Ctor(r)}function ct(t,e){if(!t.child||t.child._isDestroyed){var n=t.child=ut(t,zn);n.$mount(e?t.elm:void 0,e)}}function lt(t,e){var n=e.componentOptions,r=e.child=t.child;r._updateFromParent(n.propsData,n.listeners,e,n.children)}function ft(t){t.child._isMounted||(t.child._isMounted=!0,it(t.child,"mounted")),t.data.keepAlive&&(t.child._inactive=!1,it(t.child,"activated"))}function pt(t){t.child._isDestroyed||(t.data.keepAlive?(t.child._inactive=!0,it(t.child,"deactivated")):t.child.$destroy())}function dt(t,e){if(!t.requested){t.requested=!0;var n=t.pendingCallbacks=[e],r=!0,o=function(e){if(p(e)&&(e=jt.extend(e)),t.resolved=e,!r)for(var o=0,i=n.length;o<i;o++)n[o](e)},i=function(t){},a=t(o,i);return a&&"function"==typeof a.then&&!t.resolved&&a.then(o,i),r=!1,t.resolved}t.pendingCallbacks.push(e)}function ht(t,e){var n=e.options.props;if(n){var r={},o=t.attrs,i=t.props,a=t.domProps;if(o||i||a)for(var s in n){var u=cn(s);vt(r,i,s,u,!0)||vt(r,o,s,u)||vt(r,a,s,u)}return r}}function vt(t,e,n,r,o){if(e){if(a(e,n))return t[n]=e[n],o||delete e[n],!0;if(a(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function mt(t){t.hook||(t.hook={});for(var e=0;e<Jn.length;e++){var n=Jn[e],r=t.hook[n],o=Hn[n];t.hook[n]=r?yt(o,r):o}}function yt(t,e){return function(n,r){t(n,r),e(n,r)}}function gt(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 Fn();if("string"==typeof e){var o,i=dn.getTagNamespace(e);if(dn.isReservedTag(e))return new Vn(e,n,Q(r,i),void 0,void 0,i,t);if(o=Dt(t.$options,"components",e))return at(o,n,t,r,e);var a="foreignObject"===e?"xhtml":i;return new Vn(e,n,Q(r,a),void 0,void 0,i,t)}return at(e,n,t,r)}}function bt(t){t.$vnode=null,t._vnode=null,t._staticTrees=null,t._renderContext=t.$options._parentVnode&&t.$options._parentVnode.context,t.$slots=xt(t.$options._renderChildren,t._renderContext),t.$createElement=c(gt,t),t.$options.el&&t.$mount(t.$options.el)}function wt(t){function e(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&o(t[r],e+"_"+r,n);else o(t,e,n)}function o(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}t.prototype.$nextTick=function(t){On(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]=W(t.$slots[i]);r&&!t._staticTrees&&(t._staticTrees=[]),t.$vnode=o;var a;try{a=n.call(t._renderProxy,t.$createElement)}catch(e){if(dn.errorHandler)dn.errorHandler.call(null,e,t);else{if(dn._isServer)throw e;console.error(e)}a=t._vnode}return a instanceof Vn||(a=Fn()),a.parent=o,a},t.prototype._h=gt,t.prototype._s=n,t.prototype._n=r,t.prototype._e=Fn,t.prototype._q=y,t.prototype._i=g,t.prototype._m=function(t,n){var r=this._staticTrees[t];return r&&!n?Array.isArray(r)?W(r):K(r):(r=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),e(r,"__static__"+t,!1),r)},t.prototype._o=function(t,n,r){return e(t,"__once__"+n+(r?"_"+r:""),!0),t};var i=function(t){return t};t.prototype._f=function(t){return Dt(this.$options,"filters",t,!0)||i},t.prototype._l=function(t,e){var n,r,o,i,a;if(Array.isArray(t))for(n=new Array(t.length),r=0,o=t.length;r<o;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(p(t))for(i=Object.keys(t),n=new Array(i.length),r=0,o=i.length;r<o;r++)a=i[r],n[r]=e(t[a],a,r);return n},t.prototype._t=function(t,e){var n=this.$slots[t];return n||e},t.prototype._b=function(t,e,n){if(e)if(p(e)){Array.isArray(e)&&(e=h(e));for(var r in e)if("class"===r||"style"===r)t[r]=e[r];else{var o=n||dn.mustUseProp(r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={});o[r]=e[r]}}else;return t},t.prototype._k=function(t){return dn.keyCodes[t]}}function xt(t,e){var n={};if(!t)return n;for(var r,o,i=Q(t)||[],a=[],s=0,u=i.length;s<u;s++)if(o=i[s],(o.context===e||o.functionalContext===e)&&o.data&&(r=o.data.slot)){var c=n[r]||(n[r]=[]);"template"===o.tag?c.push.apply(c,o.children):c.push(o)}else a.push(o);return a.length&&(1!==a.length||" "!==a[0].text&&!a[0].isComment)&&(n.default=a),n}function kt(t){t._events=Object.create(null);var e=t.$options._parentListeners,n=c(t.$on,t),r=c(t.$off,t);t._updateListeners=function(e,o){G(e,o||{},n,r,t)},e&&t._updateListeners(e)}function Ot(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 o,i=r.length;i--;)if(o=r[i],o===e||o.fn===e){r.splice(i,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?l(n):n;for(var r=l(arguments,1),o=0,i=n.length;o<i;o++)n[o].apply(e,r)}return e}}function At(t){t.prototype._init=function(t){var e=this;e._uid=Kn++,e._isVue=!0,t&&t._isComponent?Ct(e,t):e.$options=Mt($t(e.constructor),t||{},e),e._renderProxy=e,e._self=e,rt(e),kt(e),it(e,"beforeCreate"),N(e),it(e,"created"),bt(e)}}function Ct(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 $t(t){var e=t.options;if(t.super){var n=t.super.options,r=t.superOptions,o=t.extendOptions;n!==r&&(t.superOptions=n,o.render=e.render,o.staticRenderFns=e.staticRenderFns,e=t.options=Mt(n,o),e.name&&(e.components[e.name]=t))}return e}function jt(t){this._init(t)}function Tt(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],a(t,n)?p(r)&&p(o)&&Tt(r,o):M(t,n,o);return t}function Et(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function St(t,e){var n=Object.create(t||null);return e?f(n,e):n}function Pt(t){var e=t.props;if(e){var n,r,o,i={};if(Array.isArray(e))for(n=e.length;n--;)r=e[n],"string"==typeof r&&(o=an(r),i[o]={type:null});else if(d(e))for(var a in e)r=e[a],o=an(a),i[o]=d(r)?r:{type:r};t.props=i}}function Lt(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 Mt(t,e,n){function r(r){var o=Gn[r]||Xn;l[r]=o(t[r],e[r],n,r)}Pt(e),Lt(e);var o=e.extends;if(o&&(t="function"==typeof o?Mt(t,o.options,n):Mt(t,o,n)),e.mixins)for(var i=0,s=e.mixins.length;i<s;i++){var u=e.mixins[i];u.prototype instanceof jt&&(u=u.options),t=Mt(t,u,n)}var c,l={};for(c in t)r(c);for(c in e)a(t,c)||r(c);return l}function Dt(t,e,n,r){if("string"==typeof n){var o=t[e],i=o[n]||o[an(n)]||o[sn(an(n))];return i}}function Rt(t,e,n,r){var o=e[t],i=!a(n,t),s=n[t];if(Ut(o.type)&&(i&&!a(o,"default")?s=!1:""!==s&&s!==cn(t)||(s=!0)),void 0===s){s=Nt(r,o,t);var u=Un.shouldConvert;Un.shouldConvert=!0,P(s),Un.shouldConvert=u}return s}function Nt(t,e,n){if(a(e,"default")){var r=e.default;return p(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 It(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e&&e[1]}function Ut(t){if(!Array.isArray(t))return"Boolean"===It(t);for(var e=0,n=t.length;e<n;e++)if("Boolean"===It(t[e]))return!0;return!1}function qt(t){t.use=function(t){if(!t.installed){var e=l(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Bt(t){t.mixin=function(e){t.options=Mt(t.options,e)}}function Vt(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 o=t.name||n.options.name,i=function(t){this._init(t)};return i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.cid=e++,i.options=Mt(n.options,t),i.super=n,i.extend=n.extend,dn._assetTypes.forEach(function(t){i[t]=n[t]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=t,r&&(t._Ctor=i),i}}function Ft(t){dn._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&d(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 zt(t){var e={};e.get=function(){return dn},Object.defineProperty(t,"config",e),t.util=Zn,t.set=M,t.delete=D,t.nextTick=On,t.options=Object.create(null),dn._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),f(t.options.components,tr),qt(t),Bt(t),Vt(t),Ft(t)}function Ht(t){for(var e=t.data,n=t,r=t;r.child;)r=r.child._vnode,r.data&&(e=Jt(r.data,e));for(;n=n.parent;)n.data&&(e=Jt(e,n.data));return Kt(e)}function Jt(t,e){return{staticClass:Wt(t.staticClass,e.staticClass),class:t.class?[t.class,e.class]:e.class}}function Kt(t){var e=t.class,n=t.staticClass;return n||e?Wt(n,Yt(e)):""}function Wt(t,e){return t?e?t+" "+e:t:e||""}function Yt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n,r=0,o=t.length;r<o;r++)t[r]&&(n=Yt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(p(t)){for(var i in t)t[i]&&(e+=i+" ");return e.slice(0,-1)}return e}function Gt(t){return fr(t)?"svg":"math"===t?"math":void 0}function Xt(t){if(!mn)return!0;if(pr(t))return!1;if(t=t.toLowerCase(),null!=dr[t])return dr[t];var e=document.createElement(t);return t.indexOf("-")>-1?dr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:dr[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 te(t,e){return document.createElementNS(cr[t],e)}function ee(t){return document.createTextNode(t)}function ne(t){return document.createComment(t)}function re(t,e,n){t.insertBefore(e,n)}function oe(t,e){t.removeChild(e)}function ie(t,e){t.appendChild(e)}function ae(t){return t.parentNode}function se(t){return t.nextSibling}function ue(t){return t.tagName}function ce(t,e){t.textContent=e}function le(t){return t.childNodes}function fe(t,e,n){t.setAttribute(e,n)}function pe(t,e){var n=t.data.ref;if(n){var r=t.context,o=t.child||t.elm,a=r.$refs;e?Array.isArray(a[n])?i(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 de(t){return null==t}function he(t){return null!=t}function ve(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&!t.data==!e.data}function me(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,he(o)&&(i[o]=r);return i}function ye(t){function e(t){return new Vn(k.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=k.parentNode(t);e&&k.removeChild(e,t)}function o(t,e,n){var r,o=t.data;if(t.isRootInsert=!n,he(o)&&(he(r=o.hook)&&he(r=r.init)&&r(t),he(r=t.child)))return c(t,e),t.elm;var a=t.children,s=t.tag;return he(s)?(t.elm=t.ns?k.createElementNS(t.ns,s):k.createElement(s,t),l(t),i(t,a,e),he(o)&&u(t,e)):t.isComment?t.elm=k.createComment(t.text):t.elm=k.createTextNode(t.text),t.elm}function i(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)k.appendChild(t.elm,o(e[r],n,!0));else s(t.text)&&k.appendChild(t.elm,k.createTextNode(t.text))}function a(t){for(;t.child;)t=t.child._vnode;return he(t.tag)}function u(t,e){for(var n=0;n<w.create.length;++n)w.create[n](mr,t);_=t.data.hook,he(_)&&(_.create&&_.create(mr,t),_.insert&&e.push(t))}function c(t,e){t.data.pendingInsert&&e.push.apply(e,t.data.pendingInsert),t.elm=t.child.$el,a(t)?(u(t,e),l(t)):(pe(t),e.push(t))}function l(t){var e;he(e=t.context)&&he(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,""),he(e=zn)&&e!==t.context&&he(e=e.$options._scopeId)&&k.setAttribute(t.elm,e,"")}function f(t,e,n,r,i,a){for(;r<=i;++r)k.insertBefore(t,o(n[r],a),e)}function p(t){var e,n,r=t.data;if(he(r))for(he(e=r.hook)&&he(e=e.destroy)&&e(t),e=0;e<w.destroy.length;++e)w.destroy[e](t);if(he(e=t.children))for(n=0;n<t.children.length;++n)p(t.children[n])}function d(t,e,n,r){for(;n<=r;++n){var o=e[n];he(o)&&(he(o.tag)?(h(o),p(o)):k.removeChild(t,o.elm))}}function h(t,e){if(e||he(t.data)){var o=w.remove.length+1;for(e?e.listeners+=o:e=n(t.elm,o),he(_=t.child)&&he(_=_._vnode)&&he(_.data)&&h(_,e),_=0;_<w.remove.length;++_)w.remove[_](t,e);he(_=t.data.hook)&&he(_=_.remove)?_(t,e):e()}else r(t.elm)}function v(t,e,n,r,i){for(var a,s,u,c,l=0,p=0,h=e.length-1,v=e[0],y=e[h],g=n.length-1,_=n[0],b=n[g],w=!i;l<=h&&p<=g;)de(v)?v=e[++l]:de(y)?y=e[--h]:ve(v,_)?(m(v,_,r),v=e[++l],_=n[++p]):ve(y,b)?(m(y,b,r),y=e[--h],b=n[--g]):ve(v,b)?(m(v,b,r),w&&k.insertBefore(t,v.elm,k.nextSibling(y.elm)),v=e[++l],b=n[--g]):ve(y,_)?(m(y,_,r),w&&k.insertBefore(t,y.elm,v.elm),y=e[--h],_=n[++p]):(de(a)&&(a=me(e,l,h)),s=he(_.key)?a[_.key]:null,de(s)?(k.insertBefore(t,o(_,r),v.elm),_=n[++p]):(u=e[s],u.tag!==_.tag?(k.insertBefore(t,o(_,r),v.elm),_=n[++p]):(m(u,_,r),e[s]=void 0,w&&k.insertBefore(t,_.elm,v.elm),_=n[++p])));l>h?(c=de(n[g+1])?null:n[g+1].elm,f(t,c,n,p,g,r)):p>g&&d(t,e,l,h)}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 o,i=e.data,s=he(i);s&&he(o=i.hook)&&he(o=o.prepatch)&&o(t,e);var u=e.elm=t.elm,c=t.children,l=e.children;if(s&&a(e)){for(o=0;o<w.update.length;++o)w.update[o](t,e);he(o=i.hook)&&he(o=o.update)&&o(t,e)}de(e.text)?he(c)&&he(l)?c!==l&&v(u,c,l,n,r):he(l)?(he(t.text)&&k.setTextContent(u,""),f(u,null,l,0,l.length-1,n)):he(c)?d(u,c,0,c.length-1):he(t.text)&&k.setTextContent(u,""):t.text!==e.text&&k.setTextContent(u,e.text),s&&he(o=i.hook)&&he(o=o.postpatch)&&o(t,e)}}function y(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 g(t,e,n){e.elm=t;var r=e.tag,o=e.data,a=e.children;if(he(o)&&(he(_=o.hook)&&he(_=_.init)&&_(e,!0),he(_=e.child)))return c(e,n),!0;if(he(r)){if(he(a)){var s=k.childNodes(t);if(s.length){var l=!0;if(s.length!==a.length)l=!1;else for(var f=0;f<a.length;f++)if(!g(s[f],a[f],n)){l=!1;break}if(!l)return!1}else i(e,a,n)}he(o)&&u(e,n)}return!0}var _,b,w={},x=t.modules,k=t.nodeOps;for(_=0;_<yr.length;++_)for(w[yr[_]]=[],b=0;b<x.length;++b)void 0!==x[b][yr[_]]&&w[yr[_]].push(x[b][yr[_]]);return function(t,n,r,i){if(!n)return void(t&&p(t));var s,u,c=!1,l=[];if(t){var f=he(t.nodeType);if(!f&&ve(t,n))m(t,n,l,i);else{if(f){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),r=!0),r&&g(t,n,l))return y(n,l,!0),t;t=e(t)}if(s=t.elm,u=k.parentNode(s),o(n,l),n.parent&&(n.parent.elm=n.elm,a(n)))for(var h=0;h<w.create.length;++h)w.create[h](mr,n.parent);null!==u?(k.insertBefore(u,n.elm,k.nextSibling(s)),d(u,[t],0,0)):he(t.tag)&&p(t)}}else c=!0,o(n,l);return y(n,l,c),n.elm}}function ge(t,e){if(t.data.directives||e.data.directives){var n,r,o,i=t===mr,a=_e(t.data.directives,t.context),s=_e(e.data.directives,e.context),u=[],c=[];for(n in s)r=a[n],o=s[n],r?(o.oldValue=r.value,we(o,"update",e,t),o.def&&o.def.componentUpdated&&c.push(o)):(we(o,"bind",e,t),o.def&&o.def.inserted&&u.push(o));if(u.length){var l=function(){u.forEach(function(n){we(n,"inserted",e,t)})};i?Y(e.data.hook||(e.data.hook={}),"insert",l,"dir-insert"):l()}if(c.length&&Y(e.data.hook||(e.data.hook={}),"postpatch",function(){c.forEach(function(n){we(n,"componentUpdated",e,t)})},"dir-postpatch"),!i)for(n in a)s[n]||we(a[n],"unbind",t)}}function _e(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=_r),n[be(o)]=o,o.def=Dt(e.$options,"directives",o.name,!0);return n}function be(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function we(t,e,n,r){var o=t.def&&t.def[e];o&&o(n.elm,t,n,r)}function xe(t,e){if(t.data.attrs||e.data.attrs){var n,r,o,i=e.elm,a=t.data.attrs||{},s=e.data.attrs||{};s.__ob__&&(s=e.data.attrs=f({},s));for(n in s)r=s[n],o=a[n],o!==r&&ke(i,n,r);for(n in a)null==s[n]&&(ar(n)?i.removeAttributeNS(ir,sr(n)):rr(n)||i.removeAttribute(n))}}function ke(t,e,n){or(e)?ur(n)?t.removeAttribute(e):t.setAttribute(e,e):rr(e)?t.setAttribute(e,ur(n)||"false"===n?"false":"true"):ar(e)?ur(n)?t.removeAttributeNS(ir,sr(e)):t.setAttributeNS(ir,e,n):ur(n)?t.removeAttribute(e):t.setAttribute(e,n)}function Oe(t,e){var n=e.elm,r=e.data,o=t.data;if(r.staticClass||r.class||o&&(o.staticClass||o.class)){var i=Ht(e),a=n._transitionClasses;a&&(i=Wt(i,Yt(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}function Ae(t,e){if(t.data.on||e.data.on){var n=e.data.on||{},r=t.data.on||{},o=e.elm._v_add||(e.elm._v_add=function(t,n,r){e.elm.addEventListener(t,n,r)}),i=e.elm._v_remove||(e.elm._v_remove=function(t,n){e.elm.removeEventListener(t,n)});G(n,r,o,i,e.context)}}function Ce(t,e){if(t.data.domProps||e.data.domProps){var n,r,o=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};a.__ob__&&(a=e.data.domProps=f({},a));for(n in i)null==a[n]&&(o[n]="");for(n in a)if("textContent"!==n&&"innerHTML"!==n||!e.children||(e.children.length=0),r=a[n],"value"===n){o._value=r;var s=null==r?"":String(r);o.value===s||o.composing||(o.value=s)}else o[n]=r}}function $e(t,e){if(t.data&&t.data.style||e.data.style){var n,r,o=e.elm,i=t.data.style||{},a=e.data.style||{};if("string"==typeof a)return void(o.style.cssText=a);var s=a.__ob__;Array.isArray(a)&&(a=e.data.style=h(a)),s&&(a=e.data.style=f({},a));for(r in i)null==a[r]&&Cr(o,r,"");for(r in a)n=a[r],n!==i[r]&&Cr(o,r,null==n?"":n)}}function je(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 Te(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 Ee(t){Nr(function(){Nr(t)})}function Se(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),je(t,e)}function Pe(t,e){t._transitionClasses&&i(t._transitionClasses,e),Te(t,e)}function Le(t,e,n){var r=Me(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Sr?Mr:Rr,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u<a&&c()},i+1),t.addEventListener(s,l)}function Me(t,e){var n,r=window.getComputedStyle(t),o=r[Lr+"Delay"].split(", "),i=r[Lr+"Duration"].split(", "),a=De(o,i),s=r[Dr+"Delay"].split(", "),u=r[Dr+"Duration"].split(", "),c=De(s,u),l=0,f=0;e===Sr?a>0&&(n=Sr,l=a,f=i.length):e===Pr?c>0&&(n=Pr,l=c,f=u.length):(l=Math.max(a,c),n=l>0?a>c?Sr:Pr:null,f=n?n===Sr?i.length:u.length:0);var p=n===Sr&&Ir.test(r[Lr+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function De(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Re(e)+Re(t[n])}))}function Re(t){return 1e3*Number(t.slice(0,-1))}function Ne(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=Ue(t.data.transition);if(n&&!e._enterCb&&1===e.nodeType){var r=n.css,o=n.type,i=n.enterClass,a=n.enterActiveClass,s=n.appearClass,u=n.appearActiveClass,c=n.beforeEnter,l=n.enter,f=n.afterEnter,p=n.enterCancelled,d=n.beforeAppear,h=n.appear,v=n.afterAppear,m=n.appearCancelled,y=zn.$vnode,g=y&&y.parent?y.parent.context:zn,_=!g._isMounted||!t.isRootInsert;if(!_||h||""===h){var b=_?s:i,w=_?u:a,x=_?d||c:c,k=_&&"function"==typeof h?h:l,O=_?v||f:f,A=_?m||p:p,C=r!==!1&&!_n,$=k&&(k._length||k.length)>1,j=e._enterCb=qe(function(){C&&Pe(e,w),j.cancelled?(C&&Pe(e,b),A&&A(e)):O&&O(e),e._enterCb=null});t.data.show||Y(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(),k&&k(e,j)},"transition-insert"),x&&x(e),C&&(Se(e,b),Se(e,w),Ee(function(){Pe(e,b),j.cancelled||$||Le(e,o,j)})),t.data.show&&k&&k(e,j),C||$||j()}}}function Ie(t,e){function n(){m.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),c&&c(r),h&&(Se(r,s),Se(r,u),Ee(function(){Pe(r,s),m.cancelled||v||Le(r,a,m)})),l&&l(r,m),h||v||m())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=Ue(t.data.transition);if(!o)return e();if(!r._leaveCb&&1===r.nodeType){var i=o.css,a=o.type,s=o.leaveClass,u=o.leaveActiveClass,c=o.beforeLeave,l=o.leave,f=o.afterLeave,p=o.leaveCancelled,d=o.delayLeave,h=i!==!1&&!_n,v=l&&(l._length||l.length)>1,m=r._leaveCb=qe(function(){
|
|
r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),h&&Pe(r,u),m.cancelled?(h&&Pe(r,s),p&&p(r)):(e(),f&&f(r)),r._leaveCb=null});d?d(n):n()}}function Ue(t){if(t){if("object"==typeof t){var e={};return t.css!==!1&&f(e,Ur(t.name||"v")),f(e,t),e}return"string"==typeof t?Ur(t):void 0}}function qe(t){var e=!1;return function(){e||(e=!0,t())}}function Be(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],o)i=g(r,Fe(a))>-1,a.selected!==i&&(a.selected=i);else if(y(Fe(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ve(t,e){for(var n=0,r=e.length;n<r;n++)if(y(Fe(e[n]),t))return!1;return!0}function Fe(t){return"_value"in t?t._value:t.value}function ze(t){t.target.composing=!0}function He(t){t.target.composing=!1,Je(t.target,"input")}function Je(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ke(t){return!t.child||t.data&&t.data.transition?t:Ke(t.child._vnode)}function We(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?We(nt(e.children)):t}function Ye(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[an(i)]=o[i].fn;return e}function Ge(t,e){return/\d-keep-alive$/.test(e.tag)?t("keep-alive"):null}function Xe(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 tn(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 en,nn=o("slot,component",!0),rn=Object.prototype.hasOwnProperty,on=/-(\w)/g,an=u(function(t){return t.replace(on,function(t,e){return e?e.toUpperCase():""})}),sn=u(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),un=/([^-])([A-Z])/g,cn=u(function(t){return t.replace(un,"$1-$2").replace(un,"$1-$2").toLowerCase()}),ln=Object.prototype.toString,fn="[object Object]",pn=function(){return!1},dn={optionMergeStrategies:Object.create(null),silent:!1,devtools:!1,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:pn,isUnknownElement:pn,getTagNamespace:v,mustUseProp:pn,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:"server"===e.env.VUE_ENV},hn=/[^\w.$]/,vn="__proto__"in{},mn="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),yn=mn&&window.navigator.userAgent.toLowerCase(),gn=yn&&/msie|trident/.test(yn),_n=yn&&yn.indexOf("msie 9.0")>0,bn=yn&&yn.indexOf("edge/")>0,wn=yn&&yn.indexOf("android")>0,xn=yn&&/iphone|ipad|ipod|ios/.test(yn),kn=mn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,On=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();e=function(){o.then(t),xn&&setTimeout(v)}}else if("undefined"==typeof MutationObserver||!x(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var i=1,a=new MutationObserver(t),s=document.createTextNode(String(i));a.observe(s,{characterData:!0}),e=function(){i=(i+1)%2,s.data=String(i)}}return function(t,o){var i=o?function(){t.call(o)}:t;n.push(i),r||(r=!0,e())}}();en="undefined"!=typeof Set&&x(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 An=0,Cn=function(){this.id=An++,this.subs=[]};Cn.prototype.addSub=function(t){this.subs.push(t)},Cn.prototype.removeSub=function(t){i(this.subs,t)},Cn.prototype.depend=function(){Cn.target&&Cn.target.addDep(this)},Cn.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Cn.target=null;var $n=[],jn=[],Tn={},En=!1,Sn=!1,Pn=0,Ln=0,Mn=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=++Ln,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new en,this.newDepIds=new en,"function"==typeof e?this.getter=e:(this.getter=w(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Mn.prototype.get=function(){k(this);var t=this.getter.call(this.vm,this.vm);return this.deep&&j(t),O(),this.cleanupDeps(),t},Mn.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))},Mn.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},Mn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():$(this)},Mn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||p(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){if(!dn.errorHandler)throw t;dn.errorHandler.call(null,t,this.vm)}else this.cb.call(this.vm,t,e)}}},Mn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Mn.prototype.depend=function(){for(var t=this,e=this.deps.length;e--;)t.deps[e].depend()},Mn.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||i(this.vm._watchers,this);for(var e=this.deps.length;e--;)t.deps[e].removeSub(t);this.active=!1}};var Dn=new en,Rn=Array.prototype,Nn=Object.create(Rn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Rn[t];b(Nn,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":i=o;break;case"unshift":i=o;break;case"splice":i=o.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a})});var In=Object.getOwnPropertyNames(Nn),Un={shouldConvert:!0,isSettingProps:!1},qn=function(t){if(this.value=t,this.dep=new Cn,this.vmCount=0,b(t,"__ob__",this),Array.isArray(t)){var e=vn?E:S;e(t,Nn,In),this.observeArray(t)}else this.walk(t)};qn.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)L(t,e[n],t[e[n]])},qn.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)P(t[e])};var Bn={enumerable:!0,configurable:!0,get:v,set:v},Vn=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=i,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},Fn=function(){var t=new Vn;return t.text="",t.isComment=!0,t},zn=null,Hn={init:ct,prepatch:lt,insert:ft,destroy:pt},Jn=Object.keys(Hn),Kn=0;At(jt),H(jt),Ot(jt),ot(jt),wt(jt);var Wn,Yn=v,Gn=dn.optionMergeStrategies;Gn.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?Tt(r,o):o}:void 0:e?"function"!=typeof e?t:t?function(){return Tt(e.call(this),t.call(this))}:e:t},dn._lifecycleHooks.forEach(function(t){Gn[t]=Et}),dn._assetTypes.forEach(function(t){Gn[t+"s"]=St}),Gn.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};f(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},Gn.props=Gn.methods=Gn.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return f(n,t),f(n,e),n};var Xn=function(t,e){return void 0===e?t:e},Zn=Object.freeze({defineReactive:L,_toString:n,toNumber:r,makeMap:o,isBuiltInTag:nn,remove:i,hasOwn:a,isPrimitive:s,cached:u,camelize:an,capitalize:sn,hyphenate:cn,bind:c,toArray:l,extend:f,isObject:p,isPlainObject:d,toObject:h,noop:v,no:pn,genStaticKeys:m,looseEqual:y,looseIndexOf:g,isReserved:_,def:b,parsePath:w,hasProto:vn,inBrowser:mn,UA:yn,isIE:gn,isIE9:_n,isEdge:bn,isAndroid:wn,isIOS:xn,devtools:kn,nextTick:On,get _Set(){return en},mergeOptions:Mt,resolveAsset:Dt,get warn(){return Yn},get formatComponentName(){return Wn},validateProp:Rt}),Qn={name:"keep-alive",abstract:!0,created:function(){this.cache=Object.create(null)},render:function(){var t=nt(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];it(n.child,"deactivated"),n.child.$destroy()}}},tr={KeepAlive:Qn};zt(jt),Object.defineProperty(jt.prototype,"$isServer",{get:function(){return dn._isServer}}),jt.version="2.0.5";var er,nr=o("value,selected,checked,muted"),rr=o("contenteditable,draggable,spellcheck"),or=o("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"),ir=(o("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,name,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,form,formaction,headers,<th>,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,type,usemap,value,width,wrap"),"http://www.w3.org/1999/xlink"),ar=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},sr=function(t){return ar(t)?t.slice(6,t.length):""},ur=function(t){return null==t||t===!1},cr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML",xhtml:"http://www.w3.org/1999/xhtm"},lr=o("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"),fr=(o("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),o("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),o("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track",!0),o("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)),pr=function(t){return lr(t)||fr(t)},dr=Object.create(null),hr=Object.freeze({createElement:Qt,createElementNS:te,createTextNode:ee,createComment:ne,insertBefore:re,removeChild:oe,appendChild:ie,parentNode:ae,nextSibling:se,tagName:ue,setTextContent:ce,childNodes:le,setAttribute:fe}),vr={create:function(t,e){pe(e)},update:function(t,e){t.data.ref!==e.data.ref&&(pe(t,!0),pe(e))},destroy:function(t){pe(t,!0)}},mr=new Vn("",{},[]),yr=["create","update","remove","destroy"],gr={create:ge,update:ge,destroy:function(t){ge(t,mr)}},_r=Object.create(null),br=[vr,gr],wr={create:xe,update:xe},xr={create:Oe,update:Oe},kr={create:Ae,update:Ae},Or={create:Ce,update:Ce},Ar=/^--/,Cr=function(t,e,n){Ar.test(e)?t.style.setProperty(e,n):t.style[jr(e)]=n},$r=["Webkit","Moz","ms"],jr=u(function(t){if(er=er||document.createElement("div"),t=an(t),"filter"!==t&&t in er.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<$r.length;n++){var r=$r[n]+e;if(r in er.style)return r}}),Tr={create:$e,update:$e},Er=mn&&!_n,Sr="transition",Pr="animation",Lr="transition",Mr="transitionend",Dr="animation",Rr="animationend";Er&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lr="WebkitTransition",Mr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Dr="WebkitAnimation",Rr="webkitAnimationEnd"));var Nr=mn&&window.requestAnimationFrame||setTimeout,Ir=/\b(transform|all)(,|$)/,Ur=u(function(t){return{enterClass:t+"-enter",leaveClass:t+"-leave",appearClass:t+"-enter",enterActiveClass:t+"-enter-active",leaveActiveClass:t+"-leave-active",appearActiveClass:t+"-enter-active"}}),qr=mn?{create:function(t,e){e.data.show||Ne(e)},remove:function(t,e){t.data.show?e():Ie(t,e)}}:{},Br=[wr,xr,kr,Or,Tr,qr],Vr=Br.concat(br),Fr=ye({nodeOps:hr,modules:Vr});_n&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Je(t,"input")});var zr={inserted:function(t,e,n){if("select"===n.tag){var r=function(){Be(t,e,n.context)};r(),(gn||bn)&&setTimeout(r,0)}else"textarea"!==n.tag&&"text"!==t.type||e.modifiers.lazy||(wn||(t.addEventListener("compositionstart",ze),t.addEventListener("compositionend",He)),_n&&(t.vmodel=!0))},componentUpdated:function(t,e,n){if("select"===n.tag){Be(t,e,n.context);var r=t.multiple?e.value.some(function(e){return Ve(e,t.options)}):e.value!==e.oldValue&&Ve(e.value,t.options);r&&Je(t,"change")}}},Hr={bind:function(t,e,n){var r=e.value;n=Ke(n);var o=n.data&&n.data.transition;r&&o&&!_n&&Ne(n);var i="none"===t.style.display?"":t.style.display;t.style.display=r?i:"none",t.__vOriginalDisplay=i},update:function(t,e,n){var r=e.value,o=e.oldValue;if(r!==o){n=Ke(n);var i=n.data&&n.data.transition;i&&!_n?r?(Ne(n),t.style.display=t.__vOriginalDisplay):Ie(n,function(){t.style.display="none"}):t.style.display=r?t.__vOriginalDisplay:"none"}}},Jr={model:zr,show:Hr},Kr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String},Wr={name:"transition",props:Kr,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,o=n[0];if(Xe(this.$vnode))return o;var i=We(o);if(!i)return o;if(this._leaving)return Ge(t,o);var a=i.key=null==i.key||i.isStatic?"__v"+(i.tag+this._uid)+"__":i.key,s=(i.data||(i.data={})).transition=Ye(this),u=this._vnode,c=We(u);if(i.data.directives&&i.data.directives.some(function(t){return"show"===t.name})&&(i.data.show=!0),c&&c.data&&c.key!==a){var l=c.data.transition=f({},s);if("out-in"===r)return this._leaving=!0,Y(l,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()},a),Ge(t,o);if("in-out"===r){var p,d=function(){p()};Y(s,"afterEnter",d,a),Y(s,"enterCancelled",d,a),Y(l,"delayLeave",function(t){p=t},a)}}return o}}},Yr=f({tag:String,moveClass:String},Kr);delete Yr.mode;var Gr={props:Yr,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=Ye(this),s=0;s<o.length;s++){var u=o[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))i.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var c=[],l=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):l.push(p)}this.kept=t(e,null,c),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+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(Ze),t.forEach(Qe),t.forEach(tn);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Se(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Mr,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Mr,t),n._moveCb=null,Pe(n,e))})}})}},methods:{hasMove:function(t,e){if(!Er)return!1;if(null!=this._hasMove)return this._hasMove;Se(t,e);var n=Me(t);return Pe(t,e),this._hasMove=n.hasTransform}}},Xr={Transition:Wr,TransitionGroup:Gr};jt.config.isUnknownElement=Xt,jt.config.isReservedTag=pr,jt.config.getTagNamespace=Gt,jt.config.mustUseProp=nr,f(jt.options.directives,Jr),f(jt.options.components,Xr),jt.prototype.__patch__=dn._isServer?v:Fr,jt.prototype.$mount=function(t,e){return t=t&&!dn._isServer?Zt(t):void 0,this._mount(t,e)},setTimeout(function(){dn.devtools&&kn&&kn.emit("init",jt)},0),t.exports=jt}).call(e,n(5))},function(t,e){"use strict";function n(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),r=1;r<arguments.length;r++){var o=arguments[r];if(void 0!==o&&null!==o)for(var i=Object.keys(Object(o)),a=0,s=i.length;a<s;a++){var u=i[a],c=Object.getOwnPropertyDescriptor(o,u);void 0!==c&&c.enumerable&&(n[u]=o[u])}}return n}function r(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:n})}t.exports={assign:n,polyfill:r}},function(t,e,n){(function(e,r){/*!
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
* @license Licensed under MIT license
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
* @version 4.0.5
|
|
*/
|
|
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function o(t){return"function"==typeof t}function i(t){Y=t}function a(t){G=t}function s(){return function(){return e.nextTick(p)}}function u(){return"undefined"!=typeof W?function(){W(p)}:f()}function c(){var t=0,e=new Q(p),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function l(){var t=new MessageChannel;return t.port1.onmessage=p,function(){return t.port2.postMessage(0)}}function f(){var t=setTimeout;return function(){return t(p,1)}}function p(){for(var t=0;t<K;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}K=0}function d(){try{var t=n(21);return W=t.runOnLoop||t.runOnContext,u()}catch(t){return f()}}function h(t,e){var n=arguments,r=this,o=new this.constructor(m);void 0===o[ot]&&D(o);var i=r._state;return i?!function(){var t=n[i-1];G(function(){return P(i,o,t,r._result)})}():j(r,o,t,e),o}function v(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(m);return O(n,t),n}function m(){}function y(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function _(t){try{return t.then}catch(t){return ut.error=t,ut}}function b(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function w(t,e,n){G(function(t){var r=!1,o=b(n,e,function(n){r||(r=!0,e!==n?O(t,n):C(t,n))},function(e){r||(r=!0,$(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,$(t,o))},t)}function x(t,e){e._state===at?C(t,e._result):e._state===st?$(t,e._result):j(e,void 0,function(e){return O(t,e)},function(e){return $(t,e)})}function k(t,e,n){e.constructor===t.constructor&&n===h&&e.constructor.resolve===v?x(t,e):n===ut?$(t,ut.error):void 0===n?C(t,e):o(n)?w(t,e,n):C(t,e)}function O(e,n){e===n?$(e,y()):t(n)?k(e,n,_(n)):C(e,n)}function A(t){t._onerror&&t._onerror(t._result),T(t)}function C(t,e){t._state===it&&(t._result=e,t._state=at,0!==t._subscribers.length&&G(T,t))}function $(t,e){t._state===it&&(t._state=st,t._result=e,G(A,t))}function j(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+at]=n,o[i+st]=r,0===i&&t._state&&G(T,t)}function T(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,o=void 0,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?P(n,r,o,i):o(i);t._subscribers.length=0}}function E(){this.error=null}function S(t,e){try{return t(e)}catch(t){return ct.error=t,ct}}function P(t,e,n,r){var i=o(n),a=void 0,s=void 0,u=void 0,c=void 0;if(i){if(a=S(n,r),a===ct?(c=!0,s=a.error,a=null):u=!0,e===a)return void $(e,g())}else a=r,u=!0;e._state!==it||(i&&u?O(e,a):c?$(e,s):t===at?C(e,a):t===st&&$(e,a))}function L(t,e){try{e(function(e){O(t,e)},function(e){$(t,e)})}catch(e){$(t,e)}}function M(){return lt++}function D(t){t[ot]=lt++,t._state=void 0,t._result=void 0,t._subscribers=[]}function R(t,e){this._instanceConstructor=t,this.promise=new t(m),this.promise[ot]||D(this.promise),J(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&C(this.promise,this._result))):$(this.promise,N())}function N(){return new Error("Array Methods must be provided an Array")}function I(t){return new R(this,t).promise}function U(t){var e=this;return new e(J(t)?function(n,r){for(var o=t.length,i=0;i<o;i++)e.resolve(t[i]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function q(t){var e=this,n=new e(m);return $(n,t),n}function B(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function V(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function F(t){this[ot]=M(),this._result=this._state=void 0,this._subscribers=[],m!==t&&("function"!=typeof t&&B(),this instanceof F?L(this,t):V())}function z(){var t=void 0;if("undefined"!=typeof r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=F}var H=void 0;H=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var J=H,K=0,W=void 0,Y=void 0,G=function(t,e){nt[K]=t,nt[K+1]=e,K+=2,2===K&&(Y?Y(p):rt())},X="undefined"!=typeof window?window:void 0,Z=X||{},Q=Z.MutationObserver||Z.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3),rt=void 0;rt=tt?s():Q?c():et?l():void 0===X?d():f();var ot=Math.random().toString(36).substring(16),it=void 0,at=1,st=2,ut=new E,ct=new E,lt=0;return R.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===it&&n<t;n++)this._eachEntry(e[n],n)},R.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===v){var o=_(t);if(o===h&&t._state!==it)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===F){var i=new n(m);k(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},R.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===it&&(this._remaining--,t===st?$(r,n):this._result[e]=n),0===this._remaining&&C(r,this._result)},R.prototype._willSettleAt=function(t,e){var n=this;j(t,void 0,function(t){return n._settledAt(at,e,t)},function(t){return n._settledAt(st,e,t)})},F.all=I,F.race=U,F.resolve=v,F.reject=q,F._setScheduler=i,F._setAsap=a,F._asap=G,F.prototype={constructor:F,then:h,catch:function(t){return this.then(null,t)}},F.polyfill=z,F.Promise=F,F})}).call(e,n(5),n(20))},function(t,e,n){!function(e){"use strict";function n(t,e,r){if(r=t.util.extend(r||{title:"Untitled",htmlAttrs:{}}),e.$options.metaInfo){var o,i=e.$options.metaInfo;for(o in i)if(i.hasOwnProperty(o)){var a=i[o];"function"==typeof a&&(i[o]=a.call(e))}r=t.util.mergeOptions(r,i)}var s=e.$children.length;if(s)for(var u=0;u<s;u++)r=n(t,e.$children[u],r);return r}function r(t){document.title=t||document.title}function o(t){var e,n=document.getElementsByTagName("html")[0],r=n.getAttribute(i),o=r?r.split(","):[],a=[].concat(o);for(e in t)if(t.hasOwnProperty(e)){var s=t[e]||"";n.setAttribute(e,s),o.indexOf(e)===-1&&o.push(e);var u=a.indexOf(e);u!==-1&&a.splice(u,1)}for(var c=a.length-1;c>=0;c--)n.removeAttribute(a[c]);o.length===a.length?n.removeAttribute(i):n.setAttribute(i,o.join(","))}var i="data-vue-meta",a={},s={};a.install=function(t){function e(){var t,e=this.getMetaInfo(),n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=u(t,e[t]));return n}function u(t,e){switch(t){case"title":return{toString:function(){return"<"+t+" "+i+'="true">'+e+"</"+t+">"}};case"htmlAttrs":return{toString:function(){var t,n="";for(t in e)e.hasOwnProperty(t)&&(n+="undefined"!=typeof e[t]?t+'="'+e[t]+'"':t,n+=" ");return n.trim()}}}}function c(){var t=this.getMetaInfo();t.title&&r(t.title),t.htmlAttrs&&o(t.htmlAttrs)}function l(){var e=n(t,this);return e.titleTemplate&&(e.title=e.titleTemplate.replace("%s",e.title)),e}a.install.installed||(a.install.installed=!0,t.mixin({mounted:function(){this.$root.$meta().updateMetaInfo()}}),t.prototype.$meta=function(){return s.getMetaInfo=s.getMetaInfo||t.util.bind(l,this),s.updateMetaInfo=s.updateMetaInfo||c,s.inject=s.inject||e,s})},"undefined"!=typeof Vue&&Vue.use(a),t.exports=a}(this)},function(t,e,n){/**
|
|
* vue-router v2.0.1
|
|
* (c) 2016 Evan You
|
|
* @license MIT
|
|
*/
|
|
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t,e,n){if("/"===t.charAt(0))return t;if("?"===t.charAt(0)||"#"===t.charAt(0))return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var o=t.replace(/^\//,"").split("/"),i=0;i<o.length;i++){var a=o[i];"."!==a&&(".."===a?r.pop():r.push(a))}return""!==r[0]&&r.unshift(""),r.join("/")}function e(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function n(t){return t.replace(/\/\//g,"/")}function r(t,e){if(!t)throw new Error("[vue-router] "+e)}function o(t,e){t||"undefined"!=typeof console&&console.warn("[vue-router] "+e)}function i(t,e){if(void 0===e&&(e={}),t){var n;try{n=a(t)}catch(t){o(!1,t.message),n={}}for(var r in e)n[r]=e[r];return n}return e}function a(t){var e=Object.create(null);return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=ut(n.shift()),o=n.length>0?ut(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function s(t){var e=t?Object.keys(t).sort().map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return st(e);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(t){void 0!==t&&(null===t?r.push(st(e)):r.push(st(e)+"="+st(t)))}),r.join("&")}return st(e)+"="+st(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}function u(t,e,n){var r={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:e.query||{},params:e.params||{},fullPath:l(e),matched:t?c(t):[]};return n&&(r.redirectedFrom=l(n)),Object.freeze(r)}function c(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function l(t){var e=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(e||"/")+s(n)+r}function f(t,e){return e===ct?t===e:!!e&&(t.path&&e.path?t.path.replace(lt,"")===e.path.replace(lt,"")&&t.hash===e.hash&&p(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&p(t.query,e.query)&&p(t.params,e.params)))}function p(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){return String(t[n])===String(e[n])})}function d(t,e){return 0===t.path.indexOf(e.path)&&(!e.hash||t.hash===e.hash)&&h(t.query,e.query)}function h(t,e){for(var n in e)if(!(n in t))return!1;return!0}function v(n,r,o){var a="string"==typeof n?{path:n}:n;if(a.name||a._normalized)return a;var s=e(a.path||""),u=r&&r.path||"/",c=s.path?t(s.path,u,o):r&&r.path||"/",l=i(s.query,a.query),f=a.hash||s.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:c,query:l,hash:f}}function m(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=m(e.children)))return e}}function y(t){y.installed||(y.installed=!0,Object.defineProperty(t.prototype,"$router",{get:function(){return this.$root._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this.$root._route}}),t.mixin({beforeCreate:function(){this.$options.router&&(this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current))}}),t.component("router-view",at),t.component("router-link",pt))}function g(t){for(var e,n=[],r=0,o=0,i="";null!=(e=bt.exec(t));){var a=e[0],s=e[1],u=e.index;if(i+=t.slice(o,u),o=u+a.length,s)i+=s[1];else{var c=t[o],l=e[2],f=e[3],p=e[4],d=e[5],h=e[6],v=e[7];i&&(n.push(i),i="");var m=null!=l&&null!=c&&c!==l,y="+"===h||"*"===h,g="?"===h||"*"===h,_=e[2]||"/",b=p||d||(v?".*":"[^"+_+"]+?");n.push({name:f||r++,prefix:l||"",delimiter:_,optional:g,repeat:y,partial:m,asterisk:!!v,pattern:O(b)})}}return o<t.length&&(i+=t.substr(o)),i&&n.push(i),n}function _(t){return x(g(t))}function b(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function w(t){return encodeURI(t).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function x(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var o="",i=n||{},a=r||{},s=a.pretty?b:encodeURIComponent,u=0;u<t.length;u++){var c=t[u];if("string"!=typeof c){var l,f=i[c.name];if(null==f){if(c.optional){c.partial&&(o+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(ht(f)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(l=s(f[p]),!e[u].test(l))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(l)+"`");o+=(0===p?c.prefix:c.delimiter)+l}}else{if(l=c.asterisk?w(f):s(f),!e[u].test(l))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+l+'"');o+=c.prefix+l}}else o+=c}return o}}function k(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function O(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function A(t,e){return t.keys=e,t}function C(t){return t.sensitive?"":"i"}function $(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return A(t,e)}function j(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(S(t[o],e,n).source);var i=new RegExp("(?:"+r.join("|")+")",C(n));return A(i,e)}function T(t,e,n){for(var r=g(t),o=E(r,n),i=0;i<r.length;i++)"string"!=typeof r[i]&&e.push(r[i]);return A(o,e)}function E(t,e){e=e||{};for(var n=e.strict,r=e.end!==!1,o="",i=t[t.length-1],a="string"==typeof i&&/\/$/.test(i),s=0;s<t.length;s++){var u=t[s];if("string"==typeof u)o+=k(u);else{var c=k(u.prefix),l="(?:"+u.pattern+")";u.repeat&&(l+="(?:"+c+l+")*"),l=u.optional?u.partial?c+"("+l+")?":"(?:"+c+"("+l+"))?":c+"("+l+")",o+=l}}return n||(o=(a?o.slice(0,-2):o)+"(?:\\/(?=$))?"),o+=r?"$":n&&a?"":"(?=\\/|$)",new RegExp("^"+o,C(e))}function S(t,e,n){return e=e||[],ht(e)?n||(n={}):(n=e,e=[]),t instanceof RegExp?$(t,e):ht(t)?j(t,e,n):T(t,e,n)}function P(t){var e=Object.create(null),n=Object.create(null);return t.forEach(function(t){L(e,n,t)}),{pathMap:e,nameMap:n}}function L(t,e,n,o,i){var a=n.path,s=n.name;r(null!=a,'"path" is required in a route configuration.');var u={path:M(a,o),components:n.components||{default:n.component},instances:{},name:s,parent:o,matchAs:i,redirect:n.redirect,beforeEnter:n.beforeEnter,meta:n.meta||{}};n.children&&n.children.forEach(function(n){L(t,e,n,u)}),n.alias&&(Array.isArray(n.alias)?n.alias.forEach(function(n){L(t,e,{path:n},o,u.path)}):L(t,e,{path:n.alias},o,u.path)),t[u.path]=u,s&&(e[s]=u)}function M(t,e){return t=t.replace(/\/$/,""),"/"===t[0]?t:null==e?t:n(e.path+"/"+t)}function D(t){function e(t,e,n){var r=v(t,e),o=r.name;if(o){var i=l[o];if(i)return r.path=N(i.path,r.params,'named route "'+o+'"'),a(i,r,n)}else if(r.path){r.params={};for(var s in c)if(R(s,r.params,r.path))return a(c[s],r,n)}return a(null,r)}function n(t,n){var i=t.redirect,s="function"==typeof i?i(u(t,n)):i;if("string"==typeof s&&(s={path:s}),!s||"object"!=typeof s)return o(!1,"invalid redirect option: "+JSON.stringify(s)),a(null,n);var c=s,f=c.name,p=c.path,d=n.query,h=n.hash,v=n.params;if(d=c.hasOwnProperty("query")?c.query:d,h=c.hasOwnProperty("hash")?c.hash:h,v=c.hasOwnProperty("params")?c.params:v,f){var m=l[f];return r(m,'redirect failed: named route "'+f+'" not found.'),e({_normalized:!0,name:f,query:d,hash:h,params:v},void 0,n)}if(p){var y=I(p,t),g=N(y,v,'redirect route with path "'+y+'"');return e({_normalized:!0,path:g,query:d,hash:h},void 0,n)}return o(!1,"invalid redirect option: "+JSON.stringify(s)),a(null,n)}function i(t,n,r){var o=N(r,n.params,'aliased route with path "'+r+'"'),i=e({_normalized:!0,path:o});if(i){var s=i.matched,u=s[s.length-1];return n.params=i.params,a(u,n)}return a(null,n)}function a(t,e,r){return t&&t.redirect?n(t,r||e):t&&t.matchAs?i(t,e,t.matchAs):u(t,e,r)}var s=P(t),c=s.pathMap,l=s.nameMap;return e}function R(t,e,n){var r,o,i=wt[t];i?(r=i.keys,o=i.regexp):(r=[],o=vt(t,r),wt[t]={keys:r,regexp:o});var a=n.match(o);if(!a)return!1;if(!e)return!0;for(var s=1,u=a.length;s<u;++s){var c=r[s-1],l="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];c&&(e[c.name]=l)}return!0}function N(t,e,n){try{var o=xt[t]||(xt[t]=vt.compile(t));return o(e||{},{pretty:!0})}catch(t){return r(!1,"missing param for "+n+": "+t.message),""}}function I(e,n){return t(e,n.parent?n.parent.path:"/",!0)}function U(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function q(t){if(!t)if(kt){var e=document.querySelector("base");t=e?e.getAttribute("href"):"/"}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function B(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{activated:e.slice(n),deactivated:t.slice(n)}}function V(t){return J(t,function(t,e){var n=t&&t.beforeRouteLeave;if(n)return function(){return n.apply(e,arguments)}}).reverse()}function F(t,e,n){return J(t,function(t,r,o,i){var a=t&&t.beforeRouteEnter;if(a)return function(t,r,s){return a(t,r,function(t){s(t),"function"==typeof t&&e.push(function(){z(t,o.instances,i,n)})})}})}function z(t,e,n,r){e[n]?t(e[n]):r()&&setTimeout(function(){z(t,e,n,r)},16)}function H(t){return J(t,function(t,e,n,r){if("function"==typeof t&&!t.options)return function(e,i,a){var s=function(t){n.components[r]=t,a()},u=function(t){o(!1,"Failed to resolve async component "+r+": "+t),a(!1)},c=t(s,u);c&&"function"==typeof c.then&&c.then(s,u)}})}function J(t,e){return Array.prototype.concat.apply([],t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function K(t){t&&window.sessionStorage.setItem(t,JSON.stringify({x:window.pageXOffset,y:window.pageYOffset}))}function W(t){if(t)return JSON.parse(window.sessionStorage.getItem(t))}function Y(t){var e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}function G(t){return Z(t.x)||Z(t.y)}function X(t){return{x:Z(t.x)?t.x:window.pageXOffset,y:Z(t.y)?t.y:window.pageYOffset}}function Z(t){return"number"==typeof t}function Q(t){var e=window.location.pathname;return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}function tt(t,e){var n=window.history;try{e?n.replaceState({key:$t},"",t):($t=Ct(),n.pushState({key:$t},"",t)),K($t)}catch(n){window.location[e?"assign":"replace"](t)}}function et(t){tt(t,!0)}function nt(){var t=rt();return"/"===t.charAt(0)||(it("/"+t),!1)}function rt(){var t=window.location.href,e=t.indexOf("#");return e===-1?"":t.slice(e+1)}function ot(t){window.location.hash=t}function it(t){var e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)}var at={name:"router-view",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$route,s=o._routerViewCache||(o._routerViewCache={}),u=0,c=!1;o;)o.$vnode&&o.$vnode.data.routerView&&u++,o._inactive&&(c=!0),o=o.$parent;i.routerViewDepth=u;var l=a.matched[u];if(!l)return t();var f=n.name,p=c?s[f]:s[f]=l.components[f];if(!c){var d=i.hook||(i.hook={});d.init=function(t){l.instances[f]=t.child},d.destroy=function(t){l.instances[f]===t.child&&(l.instances[f]=void 0)}}return t(p,i,r)}},st=encodeURIComponent,ut=decodeURIComponent,ct=u(null,{path:"/"}),lt=/\/$/,ft=[String,Object],pt={name:"router-link",props:{to:{type:ft,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String},render:function(t){var e=this,r=this.$router,o=this.$route,i=v(this.to,o,this.append),a=r.match(i),s=a.redirectedFrom||a.fullPath,c=r.history.base,l=c?n(c+s):s,p={},h=this.activeClass||r.options.linkActiveClass||"router-link-active",y=i.path?u(null,i):a;p[h]=this.exact?f(o,y):d(o,y);var g={click:function(t){t.metaKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||0===t.button&&(t.preventDefault(),e.replace?r.replace(i):r.push(i))}},_={class:p};if("a"===this.tag)_.on=g,_.attrs={href:l};else{var b=m(this.$slots.default);if(b){var w=b.data||(b.data={});w.on=g;var x=w.attrs||(w.attrs={});x.href=l}else _.on=g}return t(this.tag,_,this.$slots.default)}},dt=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},ht=dt,vt=S,mt=g,yt=_,gt=x,_t=E,bt=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");vt.parse=mt,vt.compile=yt,vt.tokensToFunction=gt,vt.tokensToRegExp=_t;var wt=Object.create(null),xt=Object.create(null),kt="undefined"!=typeof window,Ot=kt&&function(){var t=window.navigator.userAgent;return(t.indexOf("Android 2.")===-1&&t.indexOf("Android 4.0")===-1||t.indexOf("Mobile Safari")===-1||t.indexOf("Chrome")!==-1||t.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)}(),At=function(t,e){this.router=t,this.base=q(e),this.current=ct,this.pending=null};At.prototype.listen=function(t){this.cb=t},At.prototype.transitionTo=function(t,e){var n=this,r=this.router.match(t,this.current);this.confirmTransition(r,function(){n.updateRoute(r),e&&e(r),n.ensureURL()})},At.prototype.confirmTransition=function(t,e){var n=this,r=this.current;if(f(t,r))return void this.ensureURL();var o=B(this.current.matched,t.matched),i=o.deactivated,a=o.activated,s=[].concat(V(i),this.router.beforeHooks,a.map(function(t){return t.beforeEnter}),H(a));this.pending=t;var u=function(e,o){n.pending===t&&e(t,r,function(t){t===!1?n.ensureURL():"string"==typeof t||"object"==typeof t?n.push(t):o(t)})};U(s,u,function(){var r=[],o=F(a,r,function(){return n.current===t});U(o,u,function(){n.pending===t&&(n.pending=null,e(t),n.router.app.$nextTick(function(){r.forEach(function(t){return t()})}))})})},At.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var Ct=function(){return String(Date.now())},$t=Ct(),jt=function(t){function e(e,n){var r=this;t.call(this,e,n),this.transitionTo(Q(this.base));var o=e.options.scrollBehavior;window.addEventListener("popstate",function(t){$t=t.state&&t.state.key;var e=r.current;r.transitionTo(Q(r.base),function(t){o&&r.handleScroll(t,e,!0)})}),o&&window.addEventListener("scroll",function(){K($t)})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t){var e=this,r=this.current;this.transitionTo(t,function(t){tt(n(e.base+t.fullPath)),e.handleScroll(t,r,!1)})},e.prototype.replace=function(t){var e=this,r=this.current;this.transitionTo(t,function(t){et(n(e.base+t.fullPath)),e.handleScroll(t,r,!1)})},e.prototype.ensureURL=function(){Q(this.base)!==this.current.fullPath&&et(n(this.base+this.current.fullPath))},e.prototype.handleScroll=function(t,e,n){var o=this.router;if(o.app){var i=o.options.scrollBehavior;i&&(r("function"==typeof i,"scrollBehavior must be a function"),o.app.$nextTick(function(){var r=W($t),o=i(t,e,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=Y(s):G(o)&&(r=X(o))}else a&&G(o)&&(r=X(o));r&&window.scrollTo(r.x,r.y)}}))}},e}(At),Tt=function(t){function e(e,n,r){var o=this;t.call(this,e,n),r&&this.checkFallback()||(nt(),this.transitionTo(rt(),function(){window.addEventListener("hashchange",function(){o.onHashChange()})}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.checkFallback=function(){var t=Q(this.base);if(!/^\/#/.test(t))return window.location.replace(n(this.base+"/#"+t)),!0},e.prototype.onHashChange=function(){nt()&&this.transitionTo(rt(),function(t){it(t.fullPath)})},e.prototype.push=function(t){this.transitionTo(t,function(t){ot(t.fullPath)})},e.prototype.replace=function(t){this.transitionTo(t,function(t){it(t.fullPath)})},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(){rt()!==this.current.fullPath&&it(this.current.fullPath)},e}(At),Et=function(t){function e(e){t.call(this,e),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index+1).concat(t),e.index++})},e.prototype.replace=function(t){var e=this;this.transitionTo(t,function(t){e.stack=e.stack.slice(0,e.index).concat(t)})},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.ensureURL=function(){},e}(At),St=function(t){void 0===t&&(t={}),this.app=null,this.options=t,this.beforeHooks=[],this.afterHooks=[],this.match=D(t.routes||[]);var e=t.mode||"hash";this.fallback="history"===e&&!Ot,this.fallback&&(e="hash"),kt||(e="abstract"),this.mode=e},Pt={currentRoute:{}};return Pt.currentRoute.get=function(){return this.history&&this.history.current},St.prototype.init=function(t){var e=this;r(y.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=t;var n=this,o=n.mode,i=n.options,a=n.fallback;switch(o){case"history":this.history=new jt(this,i.base);break;case"hash":this.history=new Tt(this,i.base,a);break;case"abstract":this.history=new Et(this);break;default:r(!1,"invalid mode: "+o)}this.history.listen(function(t){e.app._route=t})},St.prototype.beforeEach=function(t){this.beforeHooks.push(t)},St.prototype.afterEach=function(t){this.afterHooks.push(t)},St.prototype.push=function(t){this.history.push(t)},St.prototype.replace=function(t){this.history.replace(t)},St.prototype.go=function(t){this.history.go(t)},St.prototype.back=function(){this.go(-1)},St.prototype.forward=function(){this.go(1)},St.prototype.getMatchedComponents=function(){return this.currentRoute?[].concat.apply([],this.currentRoute.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},Object.defineProperties(St.prototype,Pt),St.install=y,kt&&window.Vue&&window.Vue.use(St),St})},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!v){var t=o(a);v=!0;for(var e=h.length;e;){for(d=h,h=[];++m<e;)d&&d[m].run();m=-1,e=h.length}d=null,v=!1,i(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var l,f,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(t){f=r}}();var d,h=[],v=!1,m=-1;p.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new u(t,e)),1!==h.length||v||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.binding=function(t){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(t){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},,,,,,,,,,,,,,,function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){},,function(t,e,n){n(0),n(4),n(3),n(2),t.exports=n(1)}]); |