diff --git a/dist/vue.common.js b/dist/vue.common.js index 873fad73..73b31958 100644 --- a/dist/vue.common.js +++ b/dist/vue.common.js @@ -194,6 +194,11 @@ var config = { */ errorHandler: null, + /** + * Ignore certain custom elements + */ + ignoredElements: null, + /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. @@ -1801,7 +1806,7 @@ function renderElement(tag, data, namespace) { return createComponent(Ctor, data, parent, context, host, tag); } else { if (process.env.NODE_ENV !== 'production') { - if (!namespace && config.isUnknownElement(tag)) { + if (!namespace && !(config.ignoredElements && config.ignoredElements.indexOf(tag) > -1) && config.isUnknownElement(tag)) { warn('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.'); } } @@ -2752,7 +2757,7 @@ Object.defineProperty(Vue.prototype, '$isServer', { } }); -Vue.version = '2.0.0-alpha.3'; +Vue.version = '2.0.0-alpha.4'; // attributes that should be using props for binding var mustUseProp = makeMap('value,selected,checked,muted'); diff --git a/dist/vue.js b/dist/vue.js index aa29cc5b..8759847f 100644 --- a/dist/vue.js +++ b/dist/vue.js @@ -1,5 +1,5 @@ /*! - * Vue.js v2.0.0-alpha.3 + * Vue.js v2.0.0-alpha.4 * (c) 2014-2016 Evan You * Released under the MIT License. */ @@ -203,6 +203,11 @@ */ errorHandler: null, + /** + * Ignore certain custom elements + */ + ignoredElements: null, + /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. @@ -1808,7 +1813,7 @@ return createComponent(Ctor, data, parent, context, host, tag); } else { if ("development" !== 'production') { - if (!namespace && config.isUnknownElement(tag)) { + if (!namespace && !(config.ignoredElements && config.ignoredElements.indexOf(tag) > -1) && config.isUnknownElement(tag)) { warn('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.'); } } @@ -2757,7 +2762,7 @@ } }); - Vue.version = '2.0.0-alpha.3'; + Vue.version = '2.0.0-alpha.4'; // attributes that should be using props for binding var mustUseProp = makeMap('value,selected,checked,muted'); @@ -5584,7 +5589,7 @@ var nodeOps = Object.freeze({ // operators like typeof, instanceof and in are allowed var prohibitedKeywordRE = new RegExp('\\b' + ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments').split(',').join('\\b|\\b') + '\\b'); // check valid identifier for v-for - var identRE = /[^\w$\.](?:[A-Za-z_$][\w$]*)/; + var identRE = /[A-Za-z_$][\w$]*/; // detect problematic expressions in a template function detectErrors(ast) { diff --git a/dist/vue.min.js b/dist/vue.min.js index a90f9449..63e9f573 100644 --- a/dist/vue.min.js +++ b/dist/vue.min.js @@ -1,7 +1,7 @@ /*! - * Vue.js v2.0.0-alpha.3 + * Vue.js v2.0.0-alpha.4 * (c) 2014-2016 Evan You * Released under the MIT License. */ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Vue=e()}(this,function(){"use strict";function t(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function e(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function r(t,e){return cr.call(t,e)}function i(t){return"string"==typeof t||"number"==typeof t}function o(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}function a(t,e){return function(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}}function s(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function c(t,e){for(var n in e)t[n]=e[n];return t}function u(t){return null!==t&&"object"==typeof t}function l(t){return pr.call(t)===hr}function f(t){for(var e=t[0]||{},n=1;nr;r++){var o=n[r];h(t,o,e[o])}}function k(t){if(u(t)){var e=void 0;return r(t,"__ob__")&&t.__ob__ instanceof Hr?e=t.__ob__:zr.shouldConvert&&!gr._isServer&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new Hr(t)),e}}function x(t,e,n,r){var i=new Lr,o=Object.getOwnPropertyDescriptor(t,e);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,c=k(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;if(Lr.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(e)))for(var r,o=0,s=e.length;s>o;o++)r=e[o],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=a?a.call(t):n;e!==r&&(s?s.call(t,e):n=e,c=k(e),i.notify())}})}}function O(t,e,n){if(Array.isArray(t))return t.splice(e,1,n),n;if(r(t,e))return void(t[e]=n);var i=t.__ob__;if(!(t._isVue||i&&i.vmCount))return i?(x(i.value,e,n),i.dep.notify(),n):void(t[e]=n)}function T(t,e){var n=t.__ob__;t._isVue||n&&n.vmCount||r(t,e)&&(delete t[e],n&&n.dep.notify())}function j(t,e){p(e)||Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}function L(t,e){p(e)||delete t[e]}function E(t){t._watchers=[],S(t),M(t),N(t),R(t),P(t)}function S(t){var e=t.$options.props,n=t.$options.propsData;if(e){var r=t.$options._propKeys=Object.keys(e),i=!t.$parent;zr.shouldConvert=i;for(var o=function(e){var i=r[e];x(t,i,kt(t,i,n))},a=0;an;n++){var o=t[n];Array.isArray(o)?e.push.apply(e,U(o)):i(o)?e.push(new Kr(void 0,void 0,void 0,o)):o instanceof Kr&&e.push(o)}return e}return[]}function z(t,e,n,r){var i=void 0,o=void 0,a=void 0,s=void 0,c=void 0,u=void 0;for(i in t)if(o=t[i],a=e[i])if(Array.isArray(a)){a.length=o.length;for(var l=0;lr;r++)n[r].call(t);t.$emit("hook:"+e)}function Z(t,e,n,r,i,o){if(t&&(u(t)&&(t=mt.extend(t)),"function"==typeof t)){if(!t.cid)if(t.resolved)t=t.resolved;else if(t=tt(t,function(){n.$forceUpdate()}),!t)return;e=e||{},rt(e);var a=et(e,t),s=e.on;s&&delete e.on;var c=t.options.name||o,l=new Kr("vue-component-"+t.cid+(c?"-"+c:""),e,void 0,void 0,void 0,void 0,r,i,{Ctor:t,propsData:a,listeners:s,parent:n,tag:o,children:void 0});return l}}function G(t){var e=t.componentOptions,n={_isComponent:!0,parent:e.parent,propsData:e.propsData,_componentTag:e.tag,_parentVnode:t,_parentListeners:e.listeners,_renderChildren:e.children},r=t.data.inlineTemplate;return r&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new e.Ctor(n)}function W(t,e){if(!t.child){var n=t.child=G(t);n.$mount(e?t.elm:void 0,e)}}function Y(t,e){var n=e.componentOptions;e.child=t.child,e.child._updateFromParent(n.propsData,n.listeners,e,n.children)}function Q(t){t.child._isMounted||(t.child._isMounted=!0,q(t.child,"mounted")),t.data.keepAlive&&q(t.child,"activated")}function X(t){t.child._isDestroyed||(t.data.keepAlive?q(t.child,"deactivated"):t.child.$destroy())}function tt(t,e){if(t.requested)t.pendingCallbacks.push(e);else{var n=function(){t.requested=!0;var n=t.pendingCallbacks=[e],r=!0;return t(function(e){if(u(e)&&(e=mt.extend(e)),t.resolved=e,!r)for(var i=0,o=n.length;o>i;i++)n[i](e)},function(t){}),r=!1,{v:t.resolved}}();if("object"==typeof n)return n.v}}function et(t,e){var n=e.options.props;if(n){var r={},i=t.attrs,o=t.props,a=t.staticAttrs;if(!i&&!o&&!a)return r;for(var s in n){var c=vr(s);nt(r,i,s,c)||nt(r,o,s,c)||nt(r,a,s,c)}return r}}function nt(t,e,n,i){if(e){if(r(e,n))return t[n]=e[n],delete e[n],!0;if(r(e,i))return t[n]=e[i],delete e[i],!0}return!1}function rt(t){if(t.hook)for(var e=0;er;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;t>r;r++)n[r]=e(r+1,r);else if(u(t))for(o=Object.keys(t),n=new Array(o.length),r=0,i=o.length;i>r;r++)a=o[r],n[r]=e(t[a],a,r);return n},e.prototype._b=function(t,e){if(e)if(u(e)){Array.isArray(e)&&(e=f(e));var n=t.data;for(var r in e){var i=gr.mustUseProp(r)?n.props||(n.props={}):n.attrs||(n.attrs={});i[r]=e[r]}}else;}}function ft(t,e){if(e){for(var n=U(e),r={},i=[],o=void 0,a=void 0,s=0,c=n.length;c>s;s++)if(a=n[s],o=a.data&&a.data.slot){var u=r[o]||(r[o]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}else i.push(a);!i.length||1===i.length&&" "===i[0].text||(r["default"]=i),t.$slots=r}}function dt(t){t._events=Object.create(null);var e=t.$options._parentListeners,n=a(t.$on,t),r=a(t.$off,t);t._updateListeners=function(t,e){z(t,e||{},n,r)},e&&t._updateListeners(e)}function vt(t){t.prototype.$on=function(t,e){var n=this;return(n._events[t]||(n._events[t]=[])).push(e),n},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[t];if(!r)return n;if(1===arguments.length)return n._events[t]=null,n;for(var i=void 0,o=r.length;o--;)if(i=r[o],i===e||i.fn===e){r.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?s(n):n;for(var r=s(arguments,1),i=0,o=n.length;o>i;i++)n[i].apply(e,r)}return e}}function pt(t){t.prototype._init=function(t){var e=this;e._uid=Wr++,e._isVue=!0,t&&t._isComponent?ht(e,t):e.$options=At(e.constructor.options,t||{},e),e._renderProxy=e,e._self=e,K(e),dt(e),q(e,"init"),E(e),q(e,"created"),ut(e)}}function ht(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 mt(t){this._init(t)}function gt(t,e){var n=void 0,i=void 0,o=void 0;for(n in e)i=t[n],o=e[n],r(t,n)?u(i)&&u(o)&>(i,o):O(t,n,o);return t}function yt(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function _t(t,e){var n=Object.create(t||null);return e?c(n,e):n}function bt(t){if(t.components){var e=t.components,n=void 0;for(var r in e)sr(r)||gr.isReservedTag(r)||(n=e[r],l(n)&&(e[r]=mt.extend(n)))}}function wt(t){var e=t.props;if(e){var n={},r=void 0,i=void 0,o=void 0;if(Array.isArray(e))for(r=e.length;r--;)i=e[r],"string"==typeof i&&(o=lr(i),n[o]={type:null});else if(l(e))for(var a in e)i=e[a],o=lr(a),n[o]=l(i)?i:{type:i};t.props=n}}function $t(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 At(t,e,n){function i(r){var i=Qr[r]||Xr;u[r]=i(t[r],e[r],n,r)}bt(e),wt(e),$t(e);var o=e["extends"];if(o&&(t="function"==typeof o?At(t,o.options,n):At(t,o,n)),e.mixins)for(var a=0,s=e.mixins.length;s>a;a++){var c=e.mixins[a];c.prototype instanceof mt&&(c=c.options),t=At(t,c,n)}var u={},l=void 0;for(l in t)i(l);for(l in e)r(t,l)||i(l);return u}function Ct(t,e,n,r){if("string"==typeof n){var i=t[e],o=i[n]||i[lr(n)]||i[fr(lr(n))];return o}}function kt(t,e,n){if(t.$options.props&&n){var i=t.$options.props[e],o=!r(n,e),a=n[e];return i.type===Boolean&&(o&&!r(i,"default")?a=!1:""!==a&&a!==vr(e)||(a=!0)),void 0===a&&(a=xt(t,i,e),zr.shouldConvert=!0,k(a),zr.shouldConvert=!1),a}}function xt(t,e,n){if(r(e,"default")){var i=e["default"];return u(i),"function"==typeof i&&e.type!==Function?i.call(t):i}}function Ot(t){t.use=function(t){if(!t.installed){var e=s(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}}}function Tt(t){t.mixin=function(e){t.options=At(t.options,e),gr._ctors.forEach(function(t){t.options=At(t["super"].options,t.extendOptions)})}}function jt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var r=this,i=0===r.cid;if(i&&t._Ctor)return t._Ctor;var o=t.name||r.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=e++,a.options=At(r.options,t),a["super"]=r,a.extend=r.extend,gr._assetTypes.forEach(function(t){a[t]=r[t]}),o&&(a.options.components[o]=a),a.extendOptions=t,gr._ctors.push(a),a.release=function(){n(gr._ctors,a)},i&&(t._Ctor=a),a}}function Lt(t){gr._assetTypes.forEach(function(e){t[e]=function(n,r){return r?("component"===e&&l(r)&&(r.name=r.name||n,r=t.extend(r)),this.options[e+"s"][n]=r,r):this.options[e+"s"][n]}})}function Et(t){var e=t&&t.componentOptions;return e&&e.Ctor.options._abstract?Et(e.propsData.child):t}function St(t){t.config=gr,t.util=ti,t.set=O,t["delete"]=T,t.nextTick=Or,t.options=Object.create(null),gr._assetTypes.forEach(function(e){t.options[e+"s"]=Object.create(null)}),c(t.options.components,ni),Ot(t),Tt(t),jt(t),Lt(t)}function Mt(t){var e=t.data,n=void 0;return(n=t.child)&&(n=n._vnode.data)&&(e=Nt(n,e)),(n=t.parent)&&(n=n.data)&&(e=Nt(e,n)),Dt(e)}function Nt(t,e){return{staticClass:Rt(t.staticClass,e.staticClass),class:t["class"]?[t["class"],e["class"]]:e["class"]}}function Dt(t){var e=t["class"],n=t.staticClass;return n||e?Rt(n,Pt(e)):""}function Rt(t,e){return t?e?t+" "+e:t:e||""}function Pt(t){var e="";if(!t)return e;if("string"==typeof t)return t;if(Array.isArray(t)){for(var n=void 0,r=0,i=t.length;i>r;r++)t[r]&&(n=Pt(t[r]))&&(e+=n+" ");return e.slice(0,-1)}if(u(t)){for(var o in t)t[o]&&(e+=o+" ");return e.slice(0,-1)}return e}function It(t){return hi(t)?"svg":"math"===t?"math":void 0}function Bt(t){if(!br)return!0;if(t=t.toLowerCase(),null!=mi[t])return mi[t];var e=document.createElement(t);return t.indexOf("-")>-1?mi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:mi[t]=/HTMLUnknownElement/.test(e.toString())}function Ft(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function Ut(t){return document.createElement(t)}function zt(t,e){return document.createElementNS(li[t],e)}function Ht(t){return document.createTextNode(t)}function Vt(t,e,n){t.insertBefore(e,n)}function Kt(t,e){t.removeChild(e)}function Jt(t,e){t.appendChild(e)}function qt(t){return t.parentNode}function Zt(t){return t.nextSibling}function Gt(t){return t.tagName}function Wt(t,e){t.textContent=e}function Yt(t){return t.childNodes}function Qt(t,e,n){t.setAttribute(e,n)}function Xt(t){return null==t}function te(t){return null!=t}function ee(t,e){return t.key===e.key&&t.tag===e.tag}function ne(t,e,n){var r=void 0,i=void 0,o={};for(r=e;n>=r;++r)i=t[r].key,te(i)&&(o[i]=r);return o}function re(t){function e(t){return new Kr(b.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=b.parentNode(t);b.removeChild(e,t)}function o(t,e){var n=void 0,r=void 0,c=t.data;if(te(c)&&(te(n=c.hook)&&te(n=n.init)&&n(t),te(n=t.child)))return a(t,e),s(t),t.elm;var u=t.children,l=t.tag;if(te(l)){if(r=t.elm=t.ns?b.createElementNS(t.ns,l):b.createElement(l),s(t),Array.isArray(u))for(n=0;n=r;++r)b.insertBefore(t,o(n[r],a),e)}function u(t){var e=void 0,n=void 0,r=t.data;if(te(r))for(te(e=r.hook)&&te(e=e.destroy)&&e(t),e=0;e=n;++n){var i=e[n];te(i)&&(te(i.tag)?(u(i),f(i)):b.removeChild(t,i.elm))}}function f(t,e){if(e||te(t.data)){var i=y.remove.length+1;for(e?e.listeners+=i:e=n(t.elm,i),te(m=t.child)&&te(m=m._vnode)&&te(m.data)&&f(m,e),m=0;m=i&&d>=a;)Xt(u)?u=e[++i]:Xt(f)?f=e[--s]:ee(u,p)?(v(u,p,r),u=e[++i],p=n[++a]):ee(f,h)?(v(f,h,r),f=e[--s],h=n[--d]):ee(u,h)?(v(u,h,r),b.insertBefore(t,u.elm,b.nextSibling(f.elm)),u=e[++i],h=n[--d]):ee(f,p)?(v(f,p,r),b.insertBefore(t,f.elm,u.elm),f=e[--s],p=n[++a]):(Xt(m)&&(m=ne(e,i,s)),g=m[p.key],Xt(g)?(b.insertBefore(t,o(p,r),u.elm),p=n[++a]):(y=e[g],y.tag!==p.tag?(b.insertBefore(t,o(p,r),u.elm),p=n[++a]):(v(y,p,r),e[g]=void 0,b.insertBefore(t,p.elm,u.elm),p=n[++a])));i>s?(_=Xt(n[d+1])?null:n[d+1].elm,c(t,_,n,a,d,r)):a>d&&l(t,e,i,s)}function v(t,e,n){if(t!==e){var r=void 0,i=void 0;te(r=e.data)&&te(i=r.hook)&&te(r=i.prepatch)&&r(t,e);var o=e.elm=t.elm,a=t.children,s=e.children;if(te(e.data)){for(r=0;r-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 ve(t,e){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 pe(t){zi(function(){zi(t)})}function he(t){var e=t.elm;e._leaveCb&&(e._leaveCb.cancelled=!0,e._leaveCb());var n=t.data.transition;if(n){var r=!t.context.$root._isMounted;if(!r||n.appear||""===n.appear){var i=ge(n,t.context),o=i.css,a=i.enterClass,s=i.enterActiveClass,c=i.appearClass,u=i.appearActiveClass,l=i.beforeEnter,f=i.onEnter,d=i.afterEnter,v=i.enterCancelled,p=i.beforeAppear,h=i.onAppear,m=i.afterAppear,g=i.appearCancelled,y=r?c:a,_=r?u:s,b=r?p||l:l,w=r?h||f:f,$=r?m||d:d,A=r?g||v:v,C=o!==!1,k=w&&w.length>1,x=e._enterCb=xe(function(){C&&we(e,_),x.cancelled?(C&&we(e,y),A&&A(e)):$&&$(e),e._enterCb=null});b&&b(e),C&&(be(e,y),pe(function(){we(e,y),x.cancelled||(be(e,_),k||$e(e,x))})),w&&w(e,x),C||k||x()}}}function me(t,e){function n(){u&&u(r),p&&(be(r,s),pe(function(){we(r,s),m.cancelled||(be(r,c),h||$e(r,m))})),l&&l(r,m),p||h||m()}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=t.data.transition;if(!i)return e();var o=ge(i,t.context),a=o.css,s=o.leaveClass,c=o.leaveActiveClass,u=o.beforeLeave,l=o.onLeave,f=o.afterLeave,d=o.leaveCancelled,v=o.delayLeave,p=a!==!1,h=l&&l.length>1,m=r._leaveCb=xe(function(){p&&we(r,c),m.cancelled?(p&&we(r,s),d&&d(r)):(e(),f&&f(r)),r._leaveCb=null});v?v(n):n()}function ge(t,e){var n=void 0;if(t&&"string"==typeof t)return n=Ct(e.$options,"transitions",t),n?ye(n.name||t,n):Hi(t);if("object"==typeof t){if(t.name&&(n=Ct(e.$options,"transitions",t.name)),n=n?c(ye(t.name,n),t):ye(t.name,t),t.hooks)for(var r in t.hooks)_e(n,r,t.hooks[r]);return n}return Hi("v")}function ye(t,e){t=t||"v";var n={};return e.css!==!1&&c(n,Hi(t)),c(n,e),n}function _e(t,e,n){var r=t[e];r?t[e]=function(){r.apply(this,arguments),n()}:t[e]=n}function be(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),de(t,e)}function we(t,e){n(t._transitionClasses,e),ve(t,e)}function $e(t,e){var n=Ae(t),r=n.type,i=n.timeout,o=n.propCount;if(!r)return e();var a=r===Ri?Bi:Ui,s=0,c=function(){t.removeEventListener(a,u),e()},u=function(){++s>=o&&c()};setTimeout(function(){o>s&&c()},i+1),t.addEventListener(a,u)}function Ae(t){var e=window.getComputedStyle(t),n=e[Ii+"Delay"].split(", "),r=e[Ii+"Duration"].split(", "),i=e[Fi+"Delay"].split(", "),o=e[Fi+"Duration"].split(", "),a=Ce(n,r),s=Ce(i,o),c=Math.max(a,s),u=c>0?a>s?Ri:Pi:null,l=u?u===Ri?r.length:o.length:0;return{type:u,timeout:c,propCount:l}}function Ce(t,e){return Math.max.apply(null,e.map(function(e,n){return ke(e)+ke(t[n])}))}function ke(t){return 1e3*Number(t.slice(0,-1))}function xe(t){var e=!1;return function(){e||(e=!0,t())}}function Oe(t){return!!(t.parent&&t.parent.data.transition||t.data.show)}function Te(t,e){var n=t.multiple;n||(t.selectedIndex=-1);for(var r=0,i=t.options.length;i>r;r++){var o=t.options[r];if(n)o.selected=e.indexOf(Le(o))>-1;else if(Le(o)===e){t.selectedIndex=r;break}}}function je(t,e){for(var n=0,r=e.length;r>n;n++)if(Le(e[n])===t)return!1;return!0}function Le(t){return"_value"in t?t._value:t.value||t.text}function Ee(t){t.target.composing=!0}function Se(t){t.target.composing=!1,Me(t.target,"input")}function Me(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Ne(t){var e=t.parent;return e&&null!=e.data.transition?e.data.transition:t.data.transition}function De(t,e){if(t.data&&t.data.transition){var n=t.data.transition;"string"==typeof n?n=t.data.transition={name:n}:"object"!=typeof n&&(n=t.data.transition={name:"v"}),n.hooks=e}}function Re(t){return Xi.innerHTML=t,Xi.textContent}function Pe(t){var e=to.source+"(?:\\s*("+Ie(t)+")\\s*(?:"+ro.join("|")+"))?";return new RegExp("^\\s*"+e)}function Ie(t){return no.map(function(t){return"(?:"+t.source+")"}).join("|")}function Be(t,e){function n(e){l+=e,t=t.substring(e)}function r(){var e=t.match(ao);if(e){var r={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var i=void 0,o=void 0;!(i=t.match(so))&&(o=t.match(s));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}function i(t){var n=t.tagName,r=t.unarySlash;c&&("p"===d&&pi(n)&&o("",d),vi(n)&&d===n&&o("",n));for(var i=u(n)||"html"===n&&"head"===d||!!r,s=t.attrs.length,l=new Array(s),f=0;s>f;f++){var v=t.attrs[f];lo&&-1===v[0].indexOf('""')&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]),l[f]={name:v[1],value:Re(v[3]||v[4]||v[5]||"")}}i||(a.push({tag:n,attrs:l}),d=n,r=""),e.start&&e.start(n,l,i,t.start,t.end)}function o(t,n,r,i){var o=void 0;if(null==r&&(r=l),null==i&&(i=l),n){var s=n.toLowerCase();for(o=a.length-1;o>=0&&a[o].tag.toLowerCase()!==s;o--);}else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)e.end&&e.end(a[c].tag,r,i);a.length=o,d=o&&a[o-1].tag}else"br"===n.toLowerCase()?e.start&&e.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(e.start&&e.start(n,[],!1,r,i),e.end&&e.end(n,r,i))}for(var a=[],s=Pe(e),c=e.expectHTML,u=e.isUnaryTag||mr,l=0,f=void 0,d=void 0;t;){if(f=t,d&&fo(d))!function(){var n=d.toLowerCase(),r=vo[n]||(vo[n]=new RegExp("([\\s\\S]*?)(]*>)","i")),i=0,a=t.replace(r,function(t,r,o){return i=o.length,"script"!==n&&"style"!==n&&"noscript"!==n&&(r=r.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(r),""});l+=t.length-a.length,t=a,o("",n,l-i,l)}();else{var v=t.indexOf("<");if(0===v){if(/^");if(p>=0){n(p+3);continue}}if(/^");if(h>=0){n(h+2);continue}}var m=t.match(uo);if(m){e.doctype&&e.doctype(m[0]),n(m[0].length);continue}var g=t.match(co);if(g){var y=l;n(g[0].length),o(g[0],g[1],y,l);continue}var _=r();if(_){i(_);continue}}var b=void 0;v>=0?(b=t.substring(0,v),n(v)):(b=t,t=""),e.chars&&e.chars(b)}if(t===f)throw new Error("Error parsing template:\n\n"+t)}o()}function Fe(t){function e(){(d||(d=[])).push(t.slice(s,l).trim()),s=l+1}var n=!1,r=!1,i=0,o=0,a=0,s=0,c=void 0,u=void 0,l=void 0,f=void 0,d=void 0;for(l=0;ln)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+","+i}function ze(t,e){var n=e?mo(e):po;if(n.test(t)){for(var r=[],i=n.lastIndex=0,o=void 0,a=void 0;o=n.exec(t);){a=o.index,a>i&&r.push(JSON.stringify(t.slice(i,a)));var s=Fe(o[1].trim());r.push("_s("+s+")"),i=a+o[0].length}return ii;i++)if(r[i].name===e){r.splice(i,1);break}return n}function Xe(t,e){xo=e.warn||He,Oo=e.getTagNamespace||mr,To=e.mustUseProp||mr,jo=Ve(e.modules,"preTransformNode"),Lo=Ve(e.modules,"transformNode"),Eo=Ve(e.modules,"postTransformNode"),So=e.delimiters;var n=[],r=e.preserveWhitespace!==!1,i=void 0,o=void 0,a=!1;return Be(t,{expectHTML:e.expectHTML, -isUnaryTag:e.isUnaryTag,start:function(t,r,s){Co.test(t)&&(t=vr(t)),t=t.toLowerCase();var c=o&&o.ns||Oo(t);e.isIE&&"svg"===c&&(r=mn(r));var u={type:1,tag:t,attrsList:r,attrsMap:vn(r),parent:o,children:[]};c&&(u.ns=c),hn(u)&&(u.forbidden=!0);for(var l=0;lr;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function nn(t){var e=Ye(t,"key");e&&(t.key=e)}function rn(t){var e=void 0;if(e=Qe(t,"v-for")){var n=e.match(yo);if(!n)return;t["for"]=n[2].trim();var r=n[1].trim(),i=r.match(_o);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}function on(t){var e=Qe(t,"v-if");e&&(t["if"]=e),null!=Qe(t,"v-else")&&(t["else"]=!0)}function an(t,e){var n=pn(e.children);n&&n["if"]&&(n.elseBlock=t)}function sn(t){var e=Qe(t,"v-once");null!=e&&(t.once=!0)}function cn(t){"render"===t.tag&&(t.render=!0,t.renderMethod=t.attrsMap[":method"]||t.attrsMap["v-bind:method"],t.renderArgs=t.attrsMap[":args"]||t.attrsMap["v-bind:args"])}function un(t){if("slot"===t.tag)t.slotName=Ye(t,"name");else{var e=Ye(t,"slot");e&&(t.slotTarget=e)}}function ln(t){var e=void 0;(e=Ye(t,"is"))&&(t.component=e),null!=Qe(t,"keep-alive")&&(t.keepAlive=!0),null!=Qe(t,"inline-template")&&(t.inlineTemplate=!0)}function fn(t){var e=t.attrsList,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0;for(n=0,r=e.length;r>n;n++)if(i=e[n].name,o=e[n].value,go.test(i))if(s=dn(i),s&&(i=i.replace(Ao,"")),bo.test(i))i=i.replace(bo,""),To(i)?Ke(t,i,o):Je(t,i,o);else if(wo.test(i))i=i.replace(wo,""),We(t,i,o,s);else{i=i.replace(go,"");var c=i.match($o);c&&(a=c[1])&&(i=i.slice(0,-(a.length+1))),Ze(t,i,o,a,s)}else qe(t,i,JSON.stringify(o))}function dn(t){var e=t.match(Ao);if(e){var n=function(){var t={};return e.forEach(function(e){t[e.slice(1)]=!0}),{v:t}}();if("object"==typeof n)return n.v}}function vn(t){for(var e={},n=0,r=t.length;r>n;n++)e[t[n].name]=t[n].value;return e}function pn(t){for(var e=t.length;e--;)if(t[e].tag)return t[e]}function hn(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function mn(t){for(var e=[],n=0;ne;e++){var r=t.children[e];_n(r),r["static"]||(t["static"]=!1)}}function bn(t){if(1===t.type&&(t.once||t["static"]))return void(t.staticRoot=!0);if(t.children)for(var e=0,n=t.children.length;n>e;e++)bn(t.children[e])}function wn(t){return 2===t.type?!1:3===t.type?!0:!(!t.pre&&(t["if"]||t["for"]||sr(t.tag)||!Ro(t.tag)||!t.plain&&!Object.keys(t).every(Do)))}function $n(t){var e="on:{";for(var n in t)e+='"'+n+'":'+An(t[n])+",";return e.slice(0,-1)+"}"}function An(t){if(t){if(Array.isArray(t))return"["+t.map(An).join(",")+"]";if(t.modifiers){var e="function($event){";for(var n in t.modifiers)e+=Fo[n]||Cn(n);var r=Io.test(t.value)?t.value+"($event)":t.value;return e+r+"}"}return Io.test(t.value)?t.value:"function($event){"+t.value+"}"}return"function(){}"}function Cn(t){var e=Bo[t];return Array.isArray(e)?"if("+e.map(function(t){return"$event.keyCode!=="+t}).join("&&")+")return;":"if($event.keyCode!=="+e+")return;"}function kn(t,e){if(e.arg){t.ref=e.arg;for(var n=t;n;){if(void 0!==n["for"]){t.refInFor=!0;break}n=n.parent}}}function xn(t,e){Ge(t,"construct","_b(n1,"+e.value+")")}function On(t,e){var n=qo,r=qo=[];Zo=e,zo=e.warn||He,Ho=Ve(e.modules,"transformCode"),Vo=Ve(e.modules,"genData"),Ko=e.directives||{},Jo=e.isReservedTag||mr;var i=t?Tn(t):'_h(_e("div"))';return qo=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function Tn(t){if(t["for"]&&!t.forProcessed)return En(t);if(t["if"]&&!t.ifProcessed)return jn(t);if("template"!==t.tag||t.slotTarget){if("render"===t.tag)return Pn(t);if("slot"===t.tag)return In(t);var e=void 0;if(t.component)e=Bn(t);else{var n=Sn(t),r=t.inlineTemplate?null:Nn(t,!t.ns&&!Jo(t.tag));e="_h(_e('"+t.tag+"'"+(n?","+n:t.ns?",void 0":"")+(t.ns?",'"+t.ns+"'":"")+")"+(r?","+r:"")+")",t.staticRoot&&(qo.push("with(this){return "+e+"}"),e="_m("+(qo.length-1)+")")}for(var i=0;ii;i++){a=e[i],s=!0;var c=Ko[a.name]||Uo[a.name];c&&(s=!!c(t,a,zo)),s&&(r=!0,n+='{name:"'+a.name+'"'+(a.value?",value:("+a.value+")":"")+(a.arg?',arg:"'+a.arg+'"':"")+(a.modifiers?",modifiers:"+JSON.stringify(a.modifiers):"")+"},")}return r?n.slice(0,-1)+"]":void 0}}function Nn(t,e){if(t.children.length){var n="["+t.children.map(Dn).join(",")+"]";return e?"function(){return "+n+"}":n}}function Dn(t){return 1===t.type?Tn(t):Rn(t)}function Rn(t){return 2===t.type?"("+t.expression+")":"_t("+JSON.stringify(t.text)+")"}function Pn(t){if(!t.renderMethod)return"void 0";var e=Nn(t);return t.renderMethod+"("+(t.renderArgs||"")+(e?(t.renderArgs?",":"")+e:"")+")"}function In(t){var e="$slots["+(t.slotName||'"default"')+"]",n=Nn(t);return n?"("+e+"||"+n+")":e}function Bn(t){var e=Nn(t,!0);return"_h(_e("+t.component+","+Sn(t)+")"+(e?","+e:"")+")"}function Fn(t){for(var e="",n=0;n-1")+(":("+e+")===("+r+")")),We(t,"change","var $$a="+e+",$$el=$event.target,"+("$$c=$$el.checked?("+r+"):("+i+");")+"if(Array.isArray($$a)){"+("var $$v="+n+",")+"$$i=$$a.indexOf($$v);if($$c){$$i<0&&$$a.push($$v)}else{$$i>-1&&$$a.splice($$i,1)}"+("}else{"+e+"=$$c}"))}function Qn(t,e){var n=Ye(t,"value");Ke(t,"checked","("+e+")===("+n+")"),We(t,"change",e+"="+n)}function Xn(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=o?"change":"input",u=!o&&"range"!==r,l="$event.target.value"+(s?".trim()":""),f=a||"number"===r?e+"=Number("+l+")":e+"="+l;return u&&(f="if($event.target.composing)return;"+f),Ke(t,"value","("+e+")"),We(t,c,f),u?!0:void 0}function tr(t,e){var n=e+'=Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){return "_value" in o ? o._value : o.value})'+(null==t.attrsMap.multiple?"[0]":"");return We(t,"change",n),!0}function er(t,e){e.value&&Ke(t,"textContent","_s("+e.value+")")}function nr(t,e){e.value&&Ke(t,"innerHTML","_s("+e.value+")")}function rr(t,e){return e=e?c(c({},na),e):na,zn(t,e)}function ir(t,e,n){var r=(e&&e.warn||Yr,e&&e.delimiters?String(e.delimiters)+t:t);if(ea[r])return ea[r];var i={},o=rr(t,e);i.render=or(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var s=0;a>s;s++)i.staticRenderFns[s]=or(o.staticRenderFns[s]);return ea[r]=i}function or(t){try{return new Function(t)}catch(e){return d}}function ar(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var sr=e("slot,component,render,transition",!0),cr=Object.prototype.hasOwnProperty,ur=/-(\w)/g,lr=o(function(t){return t.replace(ur,function(t,e){return e?e.toUpperCase():""})}),fr=o(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),dr=/([a-z\d])([A-Z])/g,vr=o(function(t){return t.replace(dr,"$1-$2").toLowerCase()}),pr=Object.prototype.toString,hr="[object Object]",mr=function(){return!1},gr={optionMergeStrategies:Object.create(null),silent:!1,errorHandler:null,isReservedTag:mr,isUnknownElement:mr,mustUseProp:mr,_assetTypes:["component","directive","transition","filter"],_lifecycleHooks:["init","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1,_ctors:[]},yr=/[^\w\.]/,_r="__proto__"in{},br="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),wr=br&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,$r=br&&window.navigator.userAgent.toLowerCase(),Ar=$r&&/(iphone|ipad|ipod|ios)/i.test($r),Cr=$r&&Ar&&$r.match(/os ([\d_]+)/),kr=Cr&&Cr[1].split("_"),xr=kr&&Number(kr[0])>=9&&Number(kr[1])>=3&&!window.indexedDB,Or=function(){function t(){n=!1;var t=e.slice(0);e=[];for(var r=0;re;e++)t[e].update()},t}();Lr.target=null;var Er=[],Sr=[],Mr={},Nr=!1,Dr=0,Rr=void 0,Pr=function(){function t(t,e,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];this.vm=t,t._watchers.push(this),this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.expression=e.toString(),this.cb=n,this.id=++Dr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Tr,this.newDepIds=new Tr,"function"==typeof e?this.getter=e:(this.getter=m(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){this.beforeGet();var t=void 0;try{t=this.getter.call(this.vm,this.vm)}catch(e){t=this.value}return this.deep&&$(t),this.afterGet(),t},t.prototype.beforeGet=function(){Rr=Lr.target,Lr.target=this},t.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))},t.prototype.afterGet=function(){Lr.target=Rr;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:w(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;this.value=t,this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){var t=Lr.target;this.value=this.get(),this.dirty=!1,Lr.target=t},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||n(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}},t}(),Ir=new Tr,Br=Array.prototype,Fr=Object.create(Br);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Br[t];h(Fr,t,function(){for(var n=arguments.length,r=new Array(n);n--;)r[n]=arguments[n];var i=e.apply(this,r),o=this.__ob__,a=void 0;switch(t){case"push":a=r;break;case"unshift":a=r;break;case"splice":a=r.slice(2)}return a&&o.observeArray(a),o.dep.notify(),i})});var Ur=Object.getOwnPropertyNames(Fr),zr={shouldConvert:!0,isSettingProps:!1},Hr=function(){function t(t){if(this.value=t,this.dep=new Lr,this.vmCount=0,h(t,"__ob__",this),Array.isArray(t)){var e=_r?A:C;e(t,Fr,Ur),this.observeArray(t)}else this.walk(t)}return t.prototype.walk=function(t){var e=this.value;for(var n in t)x(e,n,t[n])},t.prototype.observeArray=function(t){for(var e=0,n=t.length;n>e;e++)k(t[e])},t}(),Vr={enumerable:!0,configurable:!0,get:d,set:d},Kr=function(){function t(t,e,n,r,i,o,a,s,c){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.host=s,this.key=e&&e.key,this.componentOptions=c,this.child=void 0,this.parent=void 0,this.raw=!1;var u=e&&e.hook&&e.hook.construct;u&&u(this)}return t.prototype.setChildren=function(t){this.children=t},t}(),Jr=function(){return new Kr(void 0,void 0,void 0,"")},qr={init:W,prepatch:Y,insert:Q,destroy:X},Zr=Object.keys(qr),Gr={activeInstance:null},Wr=0;pt(mt),B(mt),vt(mt),J(mt),lt(mt);var Yr=void 0,Qr=gr.optionMergeStrategies;Qr.data=function(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):void 0;return r?gt(r,i):i}:void 0:e?"function"!=typeof e?t:t?function(){return gt(e.call(this),t.call(this))}:e:t},gr._lifecycleHooks.forEach(function(t){Qr[t]=yt}),gr._assetTypes.forEach(function(t){Qr[t+"s"]=_t}),Qr.watch=function(t,e){if(!e)return t;if(!t)return e;var n={};c(n,t);for(var r in e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Qr.props=Qr.methods=Qr.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(null);return c(n,t),c(n,e),n};var Xr=function(t,e){return void 0===e?t:e},ti=Object.freeze({defineReactive:x,renderString:t,makeMap:e,isBuiltInTag:sr,remove:n,hasOwn:r,isPrimitive:i,cached:o,camelize:lr,capitalize:fr,hyphenate:vr,bind:a,toArray:s,extend:c,isObject:u,isPlainObject:l,toObject:f,noop:d,no:mr,genStaticKeys:v,isReserved:p,def:h,parsePath:m,hasProto:_r,inBrowser:br,devtools:wr,UA:$r,nextTick:Or,get _Set(){return Tr},mergeOptions:At,resolveAsset:Ct,warn:Yr,validateProp:kt}),ei={name:"keep-alive",_abstract:!0,props:{child:Object},created:function(){this.cache=Object.create(null)},render:function(){var t=this.child,e=Et(this.child),n=e.componentOptions.Ctor.cid;if(this.cache[n]){var r=e.child=this.cache[n].child;e.elm=this.$el=r.$el}else this.cache[n]=e;return e.data.keepAlive=!0,t},destroyed:function(){for(var t in this.cache){var e=this.cache[t];q(e.child,"deactivated"),e.child.$destroy()}}},ni={KeepAlive:ei};St(mt),Object.defineProperty(mt.prototype,"$isServer",{get:function(){return gr._isServer}}),mt.version="2.0.0-alpha.3";var ri=e("value,selected,checked,muted"),ii=e("contenteditable,draggable,spellcheck"),oi=e("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"),ai="http://www.w3.org/1999/xlink",si=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},ci=function(t){return si(t)?t.slice(6,t.length):""},ui=function(t){return null==t||t===!1},li={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},fi=e("html,base,head,link,meta,style,title,address,article,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"),di=e("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),vi=e("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),pi=e("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),hi=e("svg,g,defs,symbol,use,image,text,circle,ellipse,line,path,polygon,polyline,rect",!0),mi=Object.create(null),gi=br&&window.navigator.userAgent.toLowerCase(),yi=gi&&/msie|trident/.test(gi),_i=gi&&gi.indexOf("msie 9.0")>0,bi=gi&&gi.indexOf("android")>0,wi=Object.freeze({createElement:Ut,createElementNS:zt,createTextNode:Ht,insertBefore:Vt,removeChild:Kt,appendChild:Jt,parentNode:qt,nextSibling:Zt,tagName:Gt,setTextContent:Wt,childNodes:Yt,setAttribute:Qt}),$i=new Kr("",{},[]),Ai=["create","update","postpatch","remove","destroy"],Ci={create:function(t,e){ie(t,e,"bind")},update:function(t,e){ie(t,e,"update")},postpatch:function(t,e){ie(t,e,"postupdate")},destroy:function(t){ie(t,t,"unbind")}},ki={create:function(t,e){oe(e,!1)},destroy:function(t){oe(t,!0)}},xi=[ki,Ci],Oi={create:function(t,e){var n=e.data.staticAttrs;if(n)for(var r in n)se(e.elm,r,n[r]);ae(t,e)},update:ae},Ti={create:ce,update:ce},ji={create:ue,update:ue},Li={create:le,update:le},Ei=["Webkit","Moz","ms"],Si=void 0,Mi=o(function(t){if(Si=Si||document.createElement("div"),t=lr(t),"filter"!==t&&t in Si.style)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n\/=]+)/,eo=/=/,no=[eo],ro=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],io="[a-zA-Z_][\\w\\-\\.]*",oo="((?:"+io+"\\:)?"+io+")",ao=new RegExp("^<"+oo),so=/^\s*(\/?)>/,co=new RegExp("^<\\/"+oo+"[^>]*>"),uo=/^]+>/i,lo=!1;"x".replace(/x(.)?/g,function(t,e){lo=""===e});var fo=e("script,style",!0),vo={},po=/\{\{((?:.|\\n)+?)\}\}/g,ho=/[-.*+?^${}()|[\]\/\\]/g,mo=o(function(t){var e=t[0].replace(ho,"\\$&"),n=t[1].replace(ho,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),go=/^v-|^@|^:/,yo=/(.*)\s+(?:in|of)\s+(.*)/,_o=/\(([^,]*),([^,]*)(?:,([^,]*))?\)/,bo=/^:|^v-bind:/,wo=/^@|^v-on:/,$o=/:(.*)$/,Ao=/\.[^\.]+/g,Co=/[a-z\d][A-Z]/,ko=o(Re),xo=void 0,Oo=void 0,To=void 0,jo=void 0,Lo=void 0,Eo=void 0,So=void 0,Mo=/^xmlns:NS\d+/,No=/^NS\d+:/,Do=void 0,Ro=void 0,Po=o(yn),Io=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Bo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Fo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Uo={ref:kn,bind:xn,cloak:d},zo=void 0,Ho=void 0,Vo=void 0,Ko=void 0,Jo=void 0,qo=void 0,Zo=void 0,Go=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:Hn,genData:Vn}),Wo={transformNode:Kn,genData:Jn},Yo={transformNode:qn,genData:Zn,transformCode:Gn},Qo=[Go,Wo,Yo],Xo=void 0,ta={model:Wn,text:er,html:nr},ea=Object.create(null),na={isIE:yi,expectHTML:!0,modules:Qo,staticKeys:v(Qo),directives:ta,isReservedTag:fi,isUnaryTag:di,mustUseProp:ri,getTagNamespace:It},ra=o(function(t){var e=Ft(t);return e&&e.innerHTML}),ia=mt.prototype.$mount;return mt.prototype.$mount=function(t,e){t=t&&Ft(t);var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ra(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=ar(t));if(r){var i=ir(r,{delimiters:n.delimiters,warn:Yr},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ia.call(this,t,e)},mt.compile=ir,mt}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function t(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function r(e,t){return cr.call(e,t)}function i(e){return"string"==typeof e||"number"==typeof e}function o(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function a(e,t){return function(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}}function s(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function c(e,t){for(var n in t)e[n]=t[n];return e}function u(e){return null!==e&&"object"==typeof e}function l(e){return pr.call(e)===hr}function f(e){for(var t=e[0]||{},n=1;nr;r++){var o=n[r];h(e,o,t[o])}}function k(e){if(u(e)){var t=void 0;return r(e,"__ob__")&&e.__ob__ instanceof Hr?t=e.__ob__:zr.shouldConvert&&!gr._isServer&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(t=new Hr(e)),t}}function x(e,t,n,r){var i=new Lr,o=Object.getOwnPropertyDescriptor(e,t);if(!o||o.configurable!==!1){var a=o&&o.get,s=o&&o.set,c=k(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;if(Lr.target&&(i.depend(),c&&c.dep.depend(),Array.isArray(t)))for(var r,o=0,s=t.length;s>o;o++)r=t[o],r&&r.__ob__&&r.__ob__.dep.depend();return t},set:function(t){var r=a?a.call(e):n;t!==r&&(s?s.call(e,t):n=t,c=k(t),i.notify())}})}}function O(e,t,n){if(Array.isArray(e))return e.splice(t,1,n),n;if(r(e,t))return void(e[t]=n);var i=e.__ob__;if(!(e._isVue||i&&i.vmCount))return i?(x(i.value,t,n),i.dep.notify(),n):void(e[t]=n)}function T(e,t){var n=e.__ob__;e._isVue||n&&n.vmCount||r(e,t)&&(delete e[t],n&&n.dep.notify())}function j(e,t){p(t)||Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})}function L(e,t){p(t)||delete e[t]}function E(e){e._watchers=[],S(e),M(e),N(e),R(e),P(e)}function S(e){var t=e.$options.props,n=e.$options.propsData;if(t){var r=e.$options._propKeys=Object.keys(t),i=!e.$parent;zr.shouldConvert=i;for(var o=function(t){var i=r[t];x(e,i,ke(e,i,n))},a=0;an;n++){var o=e[n];Array.isArray(o)?t.push.apply(t,U(o)):i(o)?t.push(new Kr(void 0,void 0,void 0,o)):o instanceof Kr&&t.push(o)}return t}return[]}function z(e,t,n,r){var i=void 0,o=void 0,a=void 0,s=void 0,c=void 0,u=void 0;for(i in e)if(o=e[i],a=t[i])if(Array.isArray(a)){a.length=o.length;for(var l=0;lr;r++)n[r].call(e);e.$emit("hook:"+t)}function Z(e,t,n,r,i,o){if(e&&(u(e)&&(e=me.extend(e)),"function"==typeof e)){if(!e.cid)if(e.resolved)e=e.resolved;else if(e=ee(e,function(){n.$forceUpdate()}),!e)return;t=t||{},re(t);var a=te(t,e),s=t.on;s&&delete t.on;var c=e.options.name||o,l=new Kr("vue-component-"+e.cid+(c?"-"+c:""),t,void 0,void 0,void 0,void 0,r,i,{Ctor:e,propsData:a,listeners:s,parent:n,tag:o,children:void 0});return l}}function G(e){var t=e.componentOptions,n={_isComponent:!0,parent:t.parent,propsData:t.propsData,_componentTag:t.tag,_parentVnode:e,_parentListeners:t.listeners,_renderChildren:t.children},r=e.data.inlineTemplate;return r&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.Ctor(n)}function W(e,t){if(!e.child){var n=e.child=G(e);n.$mount(t?e.elm:void 0,t)}}function Y(e,t){var n=t.componentOptions;t.child=e.child,t.child._updateFromParent(n.propsData,n.listeners,t,n.children)}function Q(e){e.child._isMounted||(e.child._isMounted=!0,q(e.child,"mounted")),e.data.keepAlive&&q(e.child,"activated")}function X(e){e.child._isDestroyed||(e.data.keepAlive?q(e.child,"deactivated"):e.child.$destroy())}function ee(e,t){if(e.requested)e.pendingCallbacks.push(t);else{var n=function(){e.requested=!0;var n=e.pendingCallbacks=[t],r=!0;return e(function(t){if(u(t)&&(t=me.extend(t)),e.resolved=t,!r)for(var i=0,o=n.length;o>i;i++)n[i](t)},function(e){}),r=!1,{v:e.resolved}}();if("object"==typeof n)return n.v}}function te(e,t){var n=t.options.props;if(n){var r={},i=e.attrs,o=e.props,a=e.staticAttrs;if(!i&&!o&&!a)return r;for(var s in n){var c=vr(s);ne(r,i,s,c)||ne(r,o,s,c)||ne(r,a,s,c)}return r}}function ne(e,t,n,i){if(t){if(r(t,n))return e[n]=t[n],delete t[n],!0;if(r(t,i))return e[n]=t[i],delete t[i],!0}return!1}function re(e){if(e.hook)for(var t=0;tr;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;e>r;r++)n[r]=t(r+1,r);else if(u(e))for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;i>r;r++)a=o[r],n[r]=t(e[a],a,r);return n},t.prototype._b=function(e,t){if(t)if(u(t)){Array.isArray(t)&&(t=f(t));var n=e.data;for(var r in t){var i=gr.mustUseProp(r)?n.props||(n.props={}):n.attrs||(n.attrs={});i[r]=t[r]}}else;}}function fe(e,t){if(t){for(var n=U(t),r={},i=[],o=void 0,a=void 0,s=0,c=n.length;c>s;s++)if(a=n[s],o=a.data&&a.data.slot){var u=r[o]||(r[o]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}else i.push(a);!i.length||1===i.length&&" "===i[0].text||(r["default"]=i),e.$slots=r}}function de(e){e._events=Object.create(null);var t=e.$options._parentListeners,n=a(e.$on,e),r=a(e.$off,e);e._updateListeners=function(e,t){z(e,t||{},n,r)},t&&e._updateListeners(t)}function ve(e){e.prototype.$on=function(e,t){var n=this;return(n._events[e]||(n._events[e]=[])).push(t),n},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[e];if(!r)return n;if(1===arguments.length)return n._events[e]=null,n;for(var i=void 0,o=r.length;o--;)if(i=r[o],i===t||i.fn===t){r.splice(o,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?s(n):n;for(var r=s(arguments,1),i=0,o=n.length;o>i;i++)n[i].apply(t,r)}return t}}function pe(e){e.prototype._init=function(e){var t=this;t._uid=Wr++,t._isVue=!0,e&&e._isComponent?he(t,e):t.$options=Ae(t.constructor.options,e||{},t),t._renderProxy=t,t._self=t,K(t),de(t),q(t,"init"),E(t),q(t,"created"),ue(t)}}function he(e,t){var n=e.$options=Object.create(e.constructor.options);n.parent=t.parent,n.propsData=t.propsData,n._parentVnode=t._parentVnode,n._parentListeners=t._parentListeners,n._renderChildren=t._renderChildren,n._componentTag=t._componentTag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function me(e){this._init(e)}function ge(e,t){var n=void 0,i=void 0,o=void 0;for(n in t)i=e[n],o=t[n],r(e,n)?u(i)&&u(o)&&ge(i,o):O(e,n,o);return e}function ye(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function _e(e,t){var n=Object.create(e||null);return t?c(n,t):n}function be(e){if(e.components){var t=e.components,n=void 0;for(var r in t)sr(r)||gr.isReservedTag(r)||(n=t[r],l(n)&&(t[r]=me.extend(n)))}}function we(e){var t=e.props;if(t){var n={},r=void 0,i=void 0,o=void 0;if(Array.isArray(t))for(r=t.length;r--;)i=t[r],"string"==typeof i&&(o=lr(i),n[o]={type:null});else if(l(t))for(var a in t)i=t[a],o=lr(a),n[o]=l(i)?i:{type:i};e.props=n}}function $e(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function Ae(e,t,n){function i(r){var i=Qr[r]||Xr;u[r]=i(e[r],t[r],n,r)}be(t),we(t),$e(t);var o=t["extends"];if(o&&(e="function"==typeof o?Ae(e,o.options,n):Ae(e,o,n)),t.mixins)for(var a=0,s=t.mixins.length;s>a;a++){var c=t.mixins[a];c.prototype instanceof me&&(c=c.options),e=Ae(e,c,n)}var u={},l=void 0;for(l in e)i(l);for(l in t)r(e,l)||i(l);return u}function Ce(e,t,n,r){if("string"==typeof n){var i=e[t],o=i[n]||i[lr(n)]||i[fr(lr(n))];return o}}function ke(e,t,n){if(e.$options.props&&n){var i=e.$options.props[t],o=!r(n,t),a=n[t];return i.type===Boolean&&(o&&!r(i,"default")?a=!1:""!==a&&a!==vr(t)||(a=!0)),void 0===a&&(a=xe(e,i,t),zr.shouldConvert=!0,k(a),zr.shouldConvert=!1),a}}function xe(e,t,n){if(r(t,"default")){var i=t["default"];return u(i),"function"==typeof i&&t.type!==Function?i.call(e):i}}function Oe(e){e.use=function(e){if(!e.installed){var t=s(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}}}function Te(e){e.mixin=function(t){e.options=Ae(e.options,t),gr._ctors.forEach(function(e){e.options=Ae(e["super"].options,e.extendOptions)})}}function je(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var r=this,i=0===r.cid;if(i&&e._Ctor)return e._Ctor;var o=e.name||r.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ae(r.options,e),a["super"]=r,a.extend=r.extend,gr._assetTypes.forEach(function(e){a[e]=r[e]}),o&&(a.options.components[o]=a),a.extendOptions=e,gr._ctors.push(a),a.release=function(){n(gr._ctors,a)},i&&(e._Ctor=a),a}}function Le(e){gr._assetTypes.forEach(function(t){e[t]=function(n,r){return r?("component"===t&&l(r)&&(r.name=r.name||n,r=e.extend(r)),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function Ee(e){var t=e&&e.componentOptions;return t&&t.Ctor.options._abstract?Ee(t.propsData.child):e}function Se(e){e.config=gr,e.util=ei,e.set=O,e["delete"]=T,e.nextTick=Or,e.options=Object.create(null),gr._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),c(e.options.components,ni),Oe(e),Te(e),je(e),Le(e)}function Me(e){var t=e.data,n=void 0;return(n=e.child)&&(n=n._vnode.data)&&(t=Ne(n,t)),(n=e.parent)&&(n=n.data)&&(t=Ne(t,n)),De(t)}function Ne(e,t){return{staticClass:Re(e.staticClass,t.staticClass),class:e["class"]?[e["class"],t["class"]]:t["class"]}}function De(e){var t=e["class"],n=e.staticClass;return n||t?Re(n,Pe(t)):""}function Re(e,t){return e?t?e+" "+t:e:t||""}function Pe(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n=void 0,r=0,i=e.length;i>r;r++)e[r]&&(n=Pe(e[r]))&&(t+=n+" ");return t.slice(0,-1)}if(u(e)){for(var o in e)e[o]&&(t+=o+" ");return t.slice(0,-1)}return t}function Ie(e){return hi(e)?"svg":"math"===e?"math":void 0}function Be(e){if(!br)return!0;if(e=e.toLowerCase(),null!=mi[e])return mi[e];var t=document.createElement(e);return e.indexOf("-")>-1?mi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:mi[e]=/HTMLUnknownElement/.test(t.toString())}function Fe(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function Ue(e){return document.createElement(e)}function ze(e,t){return document.createElementNS(li[e],t)}function He(e){return document.createTextNode(e)}function Ve(e,t,n){e.insertBefore(t,n)}function Ke(e,t){e.removeChild(t)}function Je(e,t){e.appendChild(t)}function qe(e){return e.parentNode}function Ze(e){return e.nextSibling}function Ge(e){return e.tagName}function We(e,t){e.textContent=t}function Ye(e){return e.childNodes}function Qe(e,t,n){e.setAttribute(t,n)}function Xe(e){return null==e}function et(e){return null!=e}function tt(e,t){return e.key===t.key&&e.tag===t.tag}function nt(e,t,n){var r=void 0,i=void 0,o={};for(r=t;n>=r;++r)i=e[r].key,et(i)&&(o[i]=r);return o}function rt(e){function t(e){return new Kr(b.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0===--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=b.parentNode(e);b.removeChild(t,e)}function o(e,t){var n=void 0,r=void 0,c=e.data;if(et(c)&&(et(n=c.hook)&&et(n=n.init)&&n(e),et(n=e.child)))return a(e,t),s(e),e.elm;var u=e.children,l=e.tag;if(et(l)){if(r=e.elm=e.ns?b.createElementNS(e.ns,l):b.createElement(l),s(e),Array.isArray(u))for(n=0;n=r;++r)b.insertBefore(e,o(n[r],a),t)}function u(e){var t=void 0,n=void 0,r=e.data;if(et(r))for(et(t=r.hook)&&et(t=t.destroy)&&t(e),t=0;t=n;++n){var i=t[n];et(i)&&(et(i.tag)?(u(i),f(i)):b.removeChild(e,i.elm))}}function f(e,t){if(t||et(e.data)){var i=y.remove.length+1;for(t?t.listeners+=i:t=n(e.elm,i),et(m=e.child)&&et(m=m._vnode)&&et(m.data)&&f(m,t),m=0;m=i&&d>=a;)Xe(u)?u=t[++i]:Xe(f)?f=t[--s]:tt(u,p)?(v(u,p,r),u=t[++i],p=n[++a]):tt(f,h)?(v(f,h,r),f=t[--s],h=n[--d]):tt(u,h)?(v(u,h,r),b.insertBefore(e,u.elm,b.nextSibling(f.elm)),u=t[++i],h=n[--d]):tt(f,p)?(v(f,p,r),b.insertBefore(e,f.elm,u.elm),f=t[--s],p=n[++a]):(Xe(m)&&(m=nt(t,i,s)),g=m[p.key],Xe(g)?(b.insertBefore(e,o(p,r),u.elm),p=n[++a]):(y=t[g],y.tag!==p.tag?(b.insertBefore(e,o(p,r),u.elm),p=n[++a]):(v(y,p,r),t[g]=void 0,b.insertBefore(e,p.elm,u.elm),p=n[++a])));i>s?(_=Xe(n[d+1])?null:n[d+1].elm,c(e,_,n,a,d,r)):a>d&&l(e,t,i,s)}function v(e,t,n){if(e!==t){var r=void 0,i=void 0;et(r=t.data)&&et(i=r.hook)&&et(r=i.prepatch)&&r(e,t);var o=t.elm=e.elm,a=e.children,s=t.children;if(et(t.data)){for(r=0;r-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function vt(e,t){if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function pt(e){zi(function(){zi(e)})}function ht(e){var t=e.elm;t._leaveCb&&(t._leaveCb.cancelled=!0,t._leaveCb());var n=e.data.transition;if(n){var r=!e.context.$root._isMounted;if(!r||n.appear||""===n.appear){var i=gt(n,e.context),o=i.css,a=i.enterClass,s=i.enterActiveClass,c=i.appearClass,u=i.appearActiveClass,l=i.beforeEnter,f=i.onEnter,d=i.afterEnter,v=i.enterCancelled,p=i.beforeAppear,h=i.onAppear,m=i.afterAppear,g=i.appearCancelled,y=r?c:a,_=r?u:s,b=r?p||l:l,w=r?h||f:f,$=r?m||d:d,A=r?g||v:v,C=o!==!1,k=w&&w.length>1,x=t._enterCb=xt(function(){C&&wt(t,_),x.cancelled?(C&&wt(t,y),A&&A(t)):$&&$(t),t._enterCb=null});b&&b(t),C&&(bt(t,y),pt(function(){wt(t,y),x.cancelled||(bt(t,_),k||$t(t,x))})),w&&w(t,x),C||k||x()}}}function mt(e,t){function n(){u&&u(r),p&&(bt(r,s),pt(function(){wt(r,s),m.cancelled||(bt(r,c),h||$t(r,m))})),l&&l(r,m),p||h||m()}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=e.data.transition;if(!i)return t();var o=gt(i,e.context),a=o.css,s=o.leaveClass,c=o.leaveActiveClass,u=o.beforeLeave,l=o.onLeave,f=o.afterLeave,d=o.leaveCancelled,v=o.delayLeave,p=a!==!1,h=l&&l.length>1,m=r._leaveCb=xt(function(){p&&wt(r,c),m.cancelled?(p&&wt(r,s),d&&d(r)):(t(),f&&f(r)),r._leaveCb=null});v?v(n):n()}function gt(e,t){var n=void 0;if(e&&"string"==typeof e)return n=Ce(t.$options,"transitions",e),n?yt(n.name||e,n):Hi(e);if("object"==typeof e){if(e.name&&(n=Ce(t.$options,"transitions",e.name)),n=n?c(yt(e.name,n),e):yt(e.name,e),e.hooks)for(var r in e.hooks)_t(n,r,e.hooks[r]);return n}return Hi("v")}function yt(e,t){e=e||"v";var n={};return t.css!==!1&&c(n,Hi(e)),c(n,t),n}function _t(e,t,n){var r=e[t];r?e[t]=function(){r.apply(this,arguments),n()}:e[t]=n}function bt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),dt(e,t)}function wt(e,t){n(e._transitionClasses,t),vt(e,t)}function $t(e,t){var n=At(e),r=n.type,i=n.timeout,o=n.propCount;if(!r)return t();var a=r===Ri?Bi:Ui,s=0,c=function(){e.removeEventListener(a,u),t()},u=function(){++s>=o&&c()};setTimeout(function(){o>s&&c()},i+1),e.addEventListener(a,u)}function At(e){var t=window.getComputedStyle(e),n=t[Ii+"Delay"].split(", "),r=t[Ii+"Duration"].split(", "),i=t[Fi+"Delay"].split(", "),o=t[Fi+"Duration"].split(", "),a=Ct(n,r),s=Ct(i,o),c=Math.max(a,s),u=c>0?a>s?Ri:Pi:null,l=u?u===Ri?r.length:o.length:0;return{type:u,timeout:c,propCount:l}}function Ct(e,t){return Math.max.apply(null,t.map(function(t,n){return kt(t)+kt(e[n])}))}function kt(e){return 1e3*Number(e.slice(0,-1))}function xt(e){var t=!1;return function(){t||(t=!0,e())}}function Ot(e){return!!(e.parent&&e.parent.data.transition||e.data.show)}function Tt(e,t){var n=e.multiple;n||(e.selectedIndex=-1);for(var r=0,i=e.options.length;i>r;r++){var o=e.options[r];if(n)o.selected=t.indexOf(Lt(o))>-1;else if(Lt(o)===t){e.selectedIndex=r;break}}}function jt(e,t){for(var n=0,r=t.length;r>n;n++)if(Lt(t[n])===e)return!1;return!0}function Lt(e){return"_value"in e?e._value:e.value||e.text}function Et(e){e.target.composing=!0}function St(e){e.target.composing=!1,Mt(e.target,"input")}function Mt(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Nt(e){var t=e.parent;return t&&null!=t.data.transition?t.data.transition:e.data.transition}function Dt(e,t){if(e.data&&e.data.transition){var n=e.data.transition;"string"==typeof n?n=e.data.transition={name:n}:"object"!=typeof n&&(n=e.data.transition={name:"v"}),n.hooks=t}}function Rt(e){return Xi.innerHTML=e,Xi.textContent}function Pt(e){var t=eo.source+"(?:\\s*("+It(e)+")\\s*(?:"+ro.join("|")+"))?";return new RegExp("^\\s*"+t)}function It(e){return no.map(function(e){return"(?:"+e.source+")"}).join("|")}function Bt(e,t){function n(t){l+=t,e=e.substring(t)}function r(){var t=e.match(ao);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var i=void 0,o=void 0;!(i=e.match(so))&&(o=e.match(s));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}function i(e){var n=e.tagName,r=e.unarySlash;c&&("p"===d&&pi(n)&&o("",d),vi(n)&&d===n&&o("",n));for(var i=u(n)||"html"===n&&"head"===d||!!r,s=e.attrs.length,l=new Array(s),f=0;s>f;f++){var v=e.attrs[f];lo&&-1===v[0].indexOf('""')&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]),l[f]={name:v[1],value:Rt(v[3]||v[4]||v[5]||"")}}i||(a.push({tag:n,attrs:l}),d=n,r=""),t.start&&t.start(n,l,i,e.start,e.end)}function o(e,n,r,i){var o=void 0;if(null==r&&(r=l),null==i&&(i=l),n){var s=n.toLowerCase();for(o=a.length-1;o>=0&&a[o].tag.toLowerCase()!==s;o--);}else o=0;if(o>=0){for(var c=a.length-1;c>=o;c--)t.end&&t.end(a[c].tag,r,i);a.length=o,d=o&&a[o-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,r,i),t.end&&t.end(n,r,i))}for(var a=[],s=Pt(t),c=t.expectHTML,u=t.isUnaryTag||mr,l=0,f=void 0,d=void 0;e;){if(f=e,d&&fo(d))!function(){var n=d.toLowerCase(),r=vo[n]||(vo[n]=new RegExp("([\\s\\S]*?)(]*>)","i")),i=0,a=e.replace(r,function(e,r,o){return i=o.length,"script"!==n&&"style"!==n&&"noscript"!==n&&(r=r.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(r),""});l+=e.length-a.length,e=a,o("",n,l-i,l)}();else{var v=e.indexOf("<");if(0===v){if(/^");if(p>=0){n(p+3);continue}}if(/^");if(h>=0){n(h+2);continue}}var m=e.match(uo);if(m){t.doctype&&t.doctype(m[0]),n(m[0].length);continue}var g=e.match(co);if(g){var y=l;n(g[0].length),o(g[0],g[1],y,l);continue}var _=r();if(_){i(_);continue}}var b=void 0;v>=0?(b=e.substring(0,v),n(v)):(b=e,e=""),t.chars&&t.chars(b)}if(e===f)throw new Error("Error parsing template:\n\n"+e)}o()}function Ft(e){function t(){(d||(d=[])).push(e.slice(s,l).trim()),s=l+1}var n=!1,r=!1,i=0,o=0,a=0,s=0,c=void 0,u=void 0,l=void 0,f=void 0,d=void 0;for(l=0;ln)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+","+i}function zt(e,t){var n=t?mo(t):po;if(n.test(e)){for(var r=[],i=n.lastIndex=0,o=void 0,a=void 0;o=n.exec(e);){a=o.index,a>i&&r.push(JSON.stringify(e.slice(i,a)));var s=Ft(o[1].trim());r.push("_s("+s+")"),i=a+o[0].length}return ii;i++)if(r[i].name===t){r.splice(i,1);break}return n}function Xt(e,t){xo=t.warn||Ht,Oo=t.getTagNamespace||mr,To=t.mustUseProp||mr,jo=Vt(t.modules,"preTransformNode"),Lo=Vt(t.modules,"transformNode"),Eo=Vt(t.modules,"postTransformNode"),So=t.delimiters;var n=[],r=t.preserveWhitespace!==!1,i=void 0,o=void 0,a=!1;return Bt(e,{expectHTML:t.expectHTML, +isUnaryTag:t.isUnaryTag,start:function(e,r,s){Co.test(e)&&(e=vr(e)),e=e.toLowerCase();var c=o&&o.ns||Oo(e);t.isIE&&"svg"===c&&(r=mn(r));var u={type:1,tag:e,attrsList:r,attrsMap:vn(r),parent:o,children:[]};c&&(u.ns=c),hn(u)&&(u.forbidden=!0);for(var l=0;lr;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}function nn(e){var t=Yt(e,"key");t&&(e.key=t)}function rn(e){var t=void 0;if(t=Qt(e,"v-for")){var n=t.match(yo);if(!n)return;e["for"]=n[2].trim();var r=n[1].trim(),i=r.match(_o);i?(e.alias=i[1].trim(),e.iterator1=i[2].trim(),i[3]&&(e.iterator2=i[3].trim())):e.alias=r}}function on(e){var t=Qt(e,"v-if");t&&(e["if"]=t),null!=Qt(e,"v-else")&&(e["else"]=!0)}function an(e,t){var n=pn(t.children);n&&n["if"]&&(n.elseBlock=e)}function sn(e){var t=Qt(e,"v-once");null!=t&&(e.once=!0)}function cn(e){"render"===e.tag&&(e.render=!0,e.renderMethod=e.attrsMap[":method"]||e.attrsMap["v-bind:method"],e.renderArgs=e.attrsMap[":args"]||e.attrsMap["v-bind:args"])}function un(e){if("slot"===e.tag)e.slotName=Yt(e,"name");else{var t=Yt(e,"slot");t&&(e.slotTarget=t)}}function ln(e){var t=void 0;(t=Yt(e,"is"))&&(e.component=t),null!=Qt(e,"keep-alive")&&(e.keepAlive=!0),null!=Qt(e,"inline-template")&&(e.inlineTemplate=!0)}function fn(e){var t=e.attrsList,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0;for(n=0,r=t.length;r>n;n++)if(i=t[n].name,o=t[n].value,go.test(i))if(s=dn(i),s&&(i=i.replace(Ao,"")),bo.test(i))i=i.replace(bo,""),To(i)?Kt(e,i,o):Jt(e,i,o);else if(wo.test(i))i=i.replace(wo,""),Wt(e,i,o,s);else{i=i.replace(go,"");var c=i.match($o);c&&(a=c[1])&&(i=i.slice(0,-(a.length+1))),Zt(e,i,o,a,s)}else qt(e,i,JSON.stringify(o))}function dn(e){var t=e.match(Ao);if(t){var n=function(){var e={};return t.forEach(function(t){e[t.slice(1)]=!0}),{v:e}}();if("object"==typeof n)return n.v}}function vn(e){for(var t={},n=0,r=e.length;r>n;n++)t[e[n].name]=e[n].value;return t}function pn(e){for(var t=e.length;t--;)if(e[t].tag)return e[t]}function hn(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function mn(e){for(var t=[],n=0;nt;t++){var r=e.children[t];_n(r),r["static"]||(e["static"]=!1)}}function bn(e){if(1===e.type&&(e.once||e["static"]))return void(e.staticRoot=!0);if(e.children)for(var t=0,n=e.children.length;n>t;t++)bn(e.children[t])}function wn(e){return 2===e.type?!1:3===e.type?!0:!(!e.pre&&(e["if"]||e["for"]||sr(e.tag)||!Ro(e.tag)||!e.plain&&!Object.keys(e).every(Do)))}function $n(e){var t="on:{";for(var n in e)t+='"'+n+'":'+An(e[n])+",";return t.slice(0,-1)+"}"}function An(e){if(e){if(Array.isArray(e))return"["+e.map(An).join(",")+"]";if(e.modifiers){var t="function($event){";for(var n in e.modifiers)t+=Fo[n]||Cn(n);var r=Io.test(e.value)?e.value+"($event)":e.value;return t+r+"}"}return Io.test(e.value)?e.value:"function($event){"+e.value+"}"}return"function(){}"}function Cn(e){var t=Bo[e];return Array.isArray(t)?"if("+t.map(function(e){return"$event.keyCode!=="+e}).join("&&")+")return;":"if($event.keyCode!=="+t+")return;"}function kn(e,t){if(t.arg){e.ref=t.arg;for(var n=e;n;){if(void 0!==n["for"]){e.refInFor=!0;break}n=n.parent}}}function xn(e,t){Gt(e,"construct","_b(n1,"+t.value+")")}function On(e,t){var n=qo,r=qo=[];Zo=t,zo=t.warn||Ht,Ho=Vt(t.modules,"transformCode"),Vo=Vt(t.modules,"genData"),Ko=t.directives||{},Jo=t.isReservedTag||mr;var i=e?Tn(e):'_h(_e("div"))';return qo=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function Tn(e){if(e["for"]&&!e.forProcessed)return En(e);if(e["if"]&&!e.ifProcessed)return jn(e);if("template"!==e.tag||e.slotTarget){if("render"===e.tag)return Pn(e);if("slot"===e.tag)return In(e);var t=void 0;if(e.component)t=Bn(e);else{var n=Sn(e),r=e.inlineTemplate?null:Nn(e,!e.ns&&!Jo(e.tag));t="_h(_e('"+e.tag+"'"+(n?","+n:e.ns?",void 0":"")+(e.ns?",'"+e.ns+"'":"")+")"+(r?","+r:"")+")",e.staticRoot&&(qo.push("with(this){return "+t+"}"),t="_m("+(qo.length-1)+")")}for(var i=0;ii;i++){a=t[i],s=!0;var c=Ko[a.name]||Uo[a.name];c&&(s=!!c(e,a,zo)),s&&(r=!0,n+='{name:"'+a.name+'"'+(a.value?",value:("+a.value+")":"")+(a.arg?',arg:"'+a.arg+'"':"")+(a.modifiers?",modifiers:"+JSON.stringify(a.modifiers):"")+"},")}return r?n.slice(0,-1)+"]":void 0}}function Nn(e,t){if(e.children.length){var n="["+e.children.map(Dn).join(",")+"]";return t?"function(){return "+n+"}":n}}function Dn(e){return 1===e.type?Tn(e):Rn(e)}function Rn(e){return 2===e.type?"("+e.expression+")":"_t("+JSON.stringify(e.text)+")"}function Pn(e){if(!e.renderMethod)return"void 0";var t=Nn(e);return e.renderMethod+"("+(e.renderArgs||"")+(t?(e.renderArgs?",":"")+t:"")+")"}function In(e){var t="$slots["+(e.slotName||'"default"')+"]",n=Nn(e);return n?"("+t+"||"+n+")":t}function Bn(e){var t=Nn(e,!0);return"_h(_e("+e.component+","+Sn(e)+")"+(t?","+t:"")+")"}function Fn(e){for(var t="",n=0;n-1")+(":("+t+")===("+r+")")),Wt(e,"change","var $$a="+t+",$$el=$event.target,"+("$$c=$$el.checked?("+r+"):("+i+");")+"if(Array.isArray($$a)){"+("var $$v="+n+",")+"$$i=$$a.indexOf($$v);if($$c){$$i<0&&$$a.push($$v)}else{$$i>-1&&$$a.splice($$i,1)}"+("}else{"+t+"=$$c}"))}function Qn(e,t){var n=Yt(e,"value");Kt(e,"checked","("+t+")===("+n+")"),Wt(e,"change",t+"="+n)}function Xn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=o?"change":"input",u=!o&&"range"!==r,l="$event.target.value"+(s?".trim()":""),f=a||"number"===r?t+"=Number("+l+")":t+"="+l;return u&&(f="if($event.target.composing)return;"+f),Kt(e,"value","("+t+")"),Wt(e,c,f),u?!0:void 0}function er(e,t){var n=t+'=Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){return "_value" in o ? o._value : o.value})'+(null==e.attrsMap.multiple?"[0]":"");return Wt(e,"change",n),!0}function tr(e,t){t.value&&Kt(e,"textContent","_s("+t.value+")")}function nr(e,t){t.value&&Kt(e,"innerHTML","_s("+t.value+")")}function rr(e,t){return t=t?c(c({},na),t):na,zn(e,t)}function ir(e,t,n){var r=(t&&t.warn||Yr,t&&t.delimiters?String(t.delimiters)+e:e);if(ta[r])return ta[r];var i={},o=rr(e,t);i.render=or(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var s=0;a>s;s++)i.staticRenderFns[s]=or(o.staticRenderFns[s]);return ta[r]=i}function or(e){try{return new Function(e)}catch(t){return d}}function ar(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var sr=t("slot,component,render,transition",!0),cr=Object.prototype.hasOwnProperty,ur=/-(\w)/g,lr=o(function(e){return e.replace(ur,function(e,t){return t?t.toUpperCase():""})}),fr=o(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),dr=/([a-z\d])([A-Z])/g,vr=o(function(e){return e.replace(dr,"$1-$2").toLowerCase()}),pr=Object.prototype.toString,hr="[object Object]",mr=function(){return!1},gr={optionMergeStrategies:Object.create(null),silent:!1,errorHandler:null,ignoredElements:null,isReservedTag:mr,isUnknownElement:mr,mustUseProp:mr,_assetTypes:["component","directive","transition","filter"],_lifecycleHooks:["init","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1,_ctors:[]},yr=/[^\w\.]/,_r="__proto__"in{},br="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),wr=br&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,$r=br&&window.navigator.userAgent.toLowerCase(),Ar=$r&&/(iphone|ipad|ipod|ios)/i.test($r),Cr=$r&&Ar&&$r.match(/os ([\d_]+)/),kr=Cr&&Cr[1].split("_"),xr=kr&&Number(kr[0])>=9&&Number(kr[1])>=3&&!window.indexedDB,Or=function(){function e(){n=!1;var e=t.slice(0);t=[];for(var r=0;rt;t++)e[t].update()},e}();Lr.target=null;var Er=[],Sr=[],Mr={},Nr=!1,Dr=0,Rr=void 0,Pr=function(){function e(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];this.vm=e,e._watchers.push(this),this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.expression=t.toString(),this.cb=n,this.id=++Dr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Tr,this.newDepIds=new Tr,"function"==typeof t?this.getter=t:(this.getter=m(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){this.beforeGet();var e=void 0;try{e=this.getter.call(this.vm,this.vm)}catch(t){e=this.value}return this.deep&&$(e),this.afterGet(),e},e.prototype.beforeGet=function(){Rr=Lr.target,Lr.target=this},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.afterGet=function(){Lr.target=Rr;for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:w(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;this.value=e,this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){var e=Lr.target;this.value=this.get(),this.dirty=!1,Lr.target=e},e.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},e.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||n(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}},e}(),Ir=new Tr,Br=Array.prototype,Fr=Object.create(Br);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Br[e];h(Fr,e,function(){for(var n=arguments.length,r=new Array(n);n--;)r[n]=arguments[n];var i=t.apply(this,r),o=this.__ob__,a=void 0;switch(e){case"push":a=r;break;case"unshift":a=r;break;case"splice":a=r.slice(2)}return a&&o.observeArray(a),o.dep.notify(),i})});var Ur=Object.getOwnPropertyNames(Fr),zr={shouldConvert:!0,isSettingProps:!1},Hr=function(){function e(e){if(this.value=e,this.dep=new Lr,this.vmCount=0,h(e,"__ob__",this),Array.isArray(e)){var t=_r?A:C;t(e,Fr,Ur),this.observeArray(e)}else this.walk(e)}return e.prototype.walk=function(e){var t=this.value;for(var n in e)x(t,n,e[n])},e.prototype.observeArray=function(e){for(var t=0,n=e.length;n>t;t++)k(e[t])},e}(),Vr={enumerable:!0,configurable:!0,get:d,set:d},Kr=function(){function e(e,t,n,r,i,o,a,s,c){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.host=s,this.key=t&&t.key,this.componentOptions=c,this.child=void 0,this.parent=void 0,this.raw=!1;var u=t&&t.hook&&t.hook.construct;u&&u(this)}return e.prototype.setChildren=function(e){this.children=e},e}(),Jr=function(){return new Kr(void 0,void 0,void 0,"")},qr={init:W,prepatch:Y,insert:Q,destroy:X},Zr=Object.keys(qr),Gr={activeInstance:null},Wr=0;pe(me),B(me),ve(me),J(me),le(me);var Yr=void 0,Qr=gr.optionMergeStrategies;Qr.data=function(e,t,n){return n?e||t?function(){var r="function"==typeof t?t.call(n):t,i="function"==typeof e?e.call(n):void 0;return r?ge(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return ge(t.call(this),e.call(this))}:t:e},gr._lifecycleHooks.forEach(function(e){Qr[e]=ye}),gr._assetTypes.forEach(function(e){Qr[e+"s"]=_e}),Qr.watch=function(e,t){if(!t)return e;if(!e)return t;var n={};c(n,e);for(var r in t){var i=n[r],o=t[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):[o]}return n},Qr.props=Qr.methods=Qr.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return c(n,e),c(n,t),n};var Xr=function(e,t){return void 0===t?e:t},ei=Object.freeze({defineReactive:x,renderString:e,makeMap:t,isBuiltInTag:sr,remove:n,hasOwn:r,isPrimitive:i,cached:o,camelize:lr,capitalize:fr,hyphenate:vr,bind:a,toArray:s,extend:c,isObject:u,isPlainObject:l,toObject:f,noop:d,no:mr,genStaticKeys:v,isReserved:p,def:h,parsePath:m,hasProto:_r,inBrowser:br,devtools:wr,UA:$r,nextTick:Or,get _Set(){return Tr},mergeOptions:Ae,resolveAsset:Ce,warn:Yr,validateProp:ke}),ti={name:"keep-alive",_abstract:!0,props:{child:Object},created:function(){this.cache=Object.create(null)},render:function(){var e=this.child,t=Ee(this.child),n=t.componentOptions.Ctor.cid;if(this.cache[n]){var r=t.child=this.cache[n].child;t.elm=this.$el=r.$el}else this.cache[n]=t;return t.data.keepAlive=!0,e},destroyed:function(){for(var e in this.cache){var t=this.cache[e];q(t.child,"deactivated"),t.child.$destroy()}}},ni={KeepAlive:ti};Se(me),Object.defineProperty(me.prototype,"$isServer",{get:function(){return gr._isServer}}),me.version="2.0.0-alpha.4";var ri=t("value,selected,checked,muted"),ii=t("contenteditable,draggable,spellcheck"),oi=t("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"),ai="http://www.w3.org/1999/xlink",si=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},ci=function(e){return si(e)?e.slice(6,e.length):""},ui=function(e){return null==e||e===!1},li={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},fi=t("html,base,head,link,meta,style,title,address,article,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"),di=t("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),vi=t("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),pi=t("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),hi=t("svg,g,defs,symbol,use,image,text,circle,ellipse,line,path,polygon,polyline,rect",!0),mi=Object.create(null),gi=br&&window.navigator.userAgent.toLowerCase(),yi=gi&&/msie|trident/.test(gi),_i=gi&&gi.indexOf("msie 9.0")>0,bi=gi&&gi.indexOf("android")>0,wi=Object.freeze({createElement:Ue,createElementNS:ze,createTextNode:He,insertBefore:Ve,removeChild:Ke,appendChild:Je,parentNode:qe,nextSibling:Ze,tagName:Ge,setTextContent:We,childNodes:Ye,setAttribute:Qe}),$i=new Kr("",{},[]),Ai=["create","update","postpatch","remove","destroy"],Ci={create:function(e,t){it(e,t,"bind")},update:function(e,t){it(e,t,"update")},postpatch:function(e,t){it(e,t,"postupdate")},destroy:function(e){it(e,e,"unbind")}},ki={create:function(e,t){ot(t,!1)},destroy:function(e){ot(e,!0)}},xi=[ki,Ci],Oi={create:function(e,t){var n=t.data.staticAttrs;if(n)for(var r in n)st(t.elm,r,n[r]);at(e,t)},update:at},Ti={create:ct,update:ct},ji={create:ut,update:ut},Li={create:lt,update:lt},Ei=["Webkit","Moz","ms"],Si=void 0,Mi=o(function(e){if(Si=Si||document.createElement("div"),e=lr(e),"filter"!==e&&e in Si.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,to=/=/,no=[to],ro=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],io="[a-zA-Z_][\\w\\-\\.]*",oo="((?:"+io+"\\:)?"+io+")",ao=new RegExp("^<"+oo),so=/^\s*(\/?)>/,co=new RegExp("^<\\/"+oo+"[^>]*>"),uo=/^]+>/i,lo=!1;"x".replace(/x(.)?/g,function(e,t){lo=""===t});var fo=t("script,style",!0),vo={},po=/\{\{((?:.|\\n)+?)\}\}/g,ho=/[-.*+?^${}()|[\]\/\\]/g,mo=o(function(e){var t=e[0].replace(ho,"\\$&"),n=e[1].replace(ho,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),go=/^v-|^@|^:/,yo=/(.*)\s+(?:in|of)\s+(.*)/,_o=/\(([^,]*),([^,]*)(?:,([^,]*))?\)/,bo=/^:|^v-bind:/,wo=/^@|^v-on:/,$o=/:(.*)$/,Ao=/\.[^\.]+/g,Co=/[a-z\d][A-Z]/,ko=o(Rt),xo=void 0,Oo=void 0,To=void 0,jo=void 0,Lo=void 0,Eo=void 0,So=void 0,Mo=/^xmlns:NS\d+/,No=/^NS\d+:/,Do=void 0,Ro=void 0,Po=o(yn),Io=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Bo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Fo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Uo={ref:kn,bind:xn,cloak:d},zo=void 0,Ho=void 0,Vo=void 0,Ko=void 0,Jo=void 0,qo=void 0,Zo=void 0,Go=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:Hn,genData:Vn}),Wo={transformNode:Kn,genData:Jn},Yo={transformNode:qn,genData:Zn,transformCode:Gn},Qo=[Go,Wo,Yo],Xo=void 0,ea={model:Wn,text:tr,html:nr},ta=Object.create(null),na={isIE:yi,expectHTML:!0,modules:Qo,staticKeys:v(Qo),directives:ea,isReservedTag:fi,isUnaryTag:di,mustUseProp:ri,getTagNamespace:Ie},ra=o(function(e){var t=Fe(e);return t&&t.innerHTML}),ia=me.prototype.$mount;return me.prototype.$mount=function(e,t){e=e&&Fe(e);var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ra(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=ar(e));if(r){var i=ir(r,{delimiters:n.delimiters,warn:Yr},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ia.call(this,e,t)},me.compile=ir,me}); \ No newline at end of file diff --git a/packages/vue-server-renderer/index.js b/packages/vue-server-renderer/index.js index 86515ab4..20b99863 100644 --- a/packages/vue-server-renderer/index.js +++ b/packages/vue-server-renderer/index.js @@ -460,6 +460,11 @@ var config = { */ errorHandler: null, + /** + * Ignore certain custom elements + */ + ignoredElements: null, + /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. @@ -1943,7 +1948,7 @@ function renderElement(tag, data, namespace) { return createComponent(Ctor, data, parent, context, host, tag); } else { if (process.env.NODE_ENV !== 'production') { - if (!namespace && config.isUnknownElement(tag)) { + if (!namespace && !(config.ignoredElements && config.ignoredElements.indexOf(tag) > -1) && config.isUnknownElement(tag)) { warn('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.'); } } diff --git a/packages/vue-server-renderer/package.json b/packages/vue-server-renderer/package.json index c2e2f9eb..a2b56ef0 100644 --- a/packages/vue-server-renderer/package.json +++ b/packages/vue-server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "vue-server-renderer", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "server renderer for Vue 2.0", "main": "index.js", "repository": { diff --git a/packages/vue-template-compiler/index.js b/packages/vue-template-compiler/index.js index 79d924a8..f99fe9cc 100644 --- a/packages/vue-template-compiler/index.js +++ b/packages/vue-template-compiler/index.js @@ -200,6 +200,11 @@ var config = { */ errorHandler: null, + /** + * Ignore certain custom elements + */ + ignoredElements: null, + /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. @@ -1808,7 +1813,7 @@ function renderElement(tag, data, namespace) { return createComponent(Ctor, data, parent, context, host, tag); } else { if (process.env.NODE_ENV !== 'production') { - if (!namespace && config.isUnknownElement(tag)) { + if (!namespace && !(config.ignoredElements && config.ignoredElements.indexOf(tag) > -1) && config.isUnknownElement(tag)) { warn('Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.'); } } @@ -3851,7 +3856,7 @@ function compile$2(template, options) { // operators like typeof, instanceof and in are allowed var prohibitedKeywordRE = new RegExp('\\b' + ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments').split(',').join('\\b|\\b') + '\\b'); // check valid identifier for v-for -var identRE = /[^\w$\.](?:[A-Za-z_$][\w$]*)/; +var identRE = /[A-Za-z_$][\w$]*/; // detect problematic expressions in a template function detectErrors(ast) { diff --git a/packages/vue-template-compiler/package.json b/packages/vue-template-compiler/package.json index b4233eb5..910ea551 100644 --- a/packages/vue-template-compiler/package.json +++ b/packages/vue-template-compiler/package.json @@ -1,6 +1,6 @@ { "name": "vue-template-compiler", - "version": "2.0.0-alpha.3", + "version": "2.0.0-alpha.4", "description": "template compiler for Vue 2.0", "main": "index.js", "repository": { diff --git a/src/core/index.js b/src/core/index.js index 09af9aea..35e2e41a 100644 --- a/src/core/index.js +++ b/src/core/index.js @@ -8,6 +8,6 @@ Object.defineProperty(Vue.prototype, '$isServer', { get: () => config._isServer }) -Vue.version = '2.0.0-alpha.3' +Vue.version = '2.0.0-alpha.4' export default Vue