diff --git a/dist/vue.common.js b/dist/vue.common.js index c0167253..9597e389 100644 --- a/dist/vue.common.js +++ b/dist/vue.common.js @@ -179,12 +179,6 @@ function genStaticKeys(modules) { } var config = { - - /** - * Preserve whitespaces between elements. - */ - preserveWhitespace: true, - /** * Option merge strategies (used in core/util/options) */ @@ -399,7 +393,8 @@ var proxyHandlers = void 0; var initProxy = void 0; if (process.env.NODE_ENV !== 'production') { (function () { - var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl'); + var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require,__webpack_require__' // for Webpack/Browserify + ); hasProxy = typeof Proxy !== 'undefined' && Proxy.toString().match(/native code/); @@ -620,10 +615,11 @@ var Watcher = function () { if (config.errorHandler) { config.errorHandler.call(null, e, this.vm); } else { - warn(e.stack); + throw e; } } // return old value when evaluation fails so the current UI is preserved + // if the error was somehow handled by user value = this.value; } // "touch" every property so they are all tracked as @@ -1304,9 +1300,9 @@ var VNode = function () { return VNode; }(); -var emptyVNode = new VNode(undefined, undefined, undefined, ''); - -var whitespace = new VNode(undefined, undefined, undefined, ' '); +var emptyVNode = function emptyVNode() { + return new VNode(undefined, undefined, undefined, ''); +}; function normalizeChildren(children) { // invoke children thunks. @@ -1326,13 +1322,8 @@ function normalizeChildren(children) { if (Array.isArray(c)) { res.push.apply(res, normalizeChildren(c)); } else if (isPrimitive(c)) { - // optimize whitespace - if (c === ' ') { - res.push(whitespace); - } else { - // convert primitive to vnode - res.push(new VNode(undefined, undefined, undefined, c)); - } + // convert primitive to vnode + res.push(new VNode(undefined, undefined, undefined, c)); } else if (c instanceof VNode) { res.push(c); } @@ -1420,9 +1411,7 @@ function lifecycleMixin(Vue) { var vm = this; vm.$el = el; if (!vm.$options.render) { - vm.$options.render = function () { - return emptyVNode; - }; + vm.$options.render = emptyVNode; if (process.env.NODE_ENV !== 'production') { /* istanbul ignore if */ if (vm.$options.template) { @@ -1799,7 +1788,7 @@ function renderElement(tag, data, namespace) { } if (!tag) { // in case of component :is set to falsy value - return emptyVNode; + return emptyVNode(); } if (typeof tag === 'string') { var Ctor = void 0; @@ -1853,19 +1842,24 @@ function renderMixin(Vue) { Vue.prototype._render = function () { var vm = this; + + // set current active instance var prev = renderState.activeInstance; renderState.activeInstance = vm; - if (!vm._isMounted) { - // render static sub-trees for once on initial render - renderStaticTrees(vm); - } + var _vm$$options = vm.$options; var render = _vm$$options.render; + var staticRenderFns = _vm$$options.staticRenderFns; var _renderChildren = _vm$$options._renderChildren; var _parentVnode = _vm$$options._parentVnode; + + + if (staticRenderFns && !vm._staticTrees) { + // render static sub-trees for once on initial render + renderStaticTrees(vm, staticRenderFns); + } // resolve slots. becaues slots are rendered in parent scope, // we set the activeInstance to parent. - if (_renderChildren) { resolveSlots(vm, _renderChildren); } @@ -1876,7 +1870,7 @@ function renderMixin(Vue) { if (process.env.NODE_ENV !== 'production' && Array.isArray(vnode)) { warn('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm); } - vnode = emptyVNode; + vnode = emptyVNode(); } // set parent vnode.parent = _parentVnode; @@ -1949,13 +1943,10 @@ function renderMixin(Vue) { }; } -function renderStaticTrees(vm) { - var staticRenderFns = vm.$options.staticRenderFns; - if (staticRenderFns) { - var trees = vm._staticTrees = new Array(staticRenderFns.length); - for (var i = 0; i < staticRenderFns.length; i++) { - trees[i] = staticRenderFns[i].call(vm._renderProxy); - } +function renderStaticTrees(vm, fns) { + var trees = vm._staticTrees = new Array(fns.length); + for (var i = 0; i < fns.length; i++) { + trees[i] = fns[i].call(vm._renderProxy); } } @@ -2680,7 +2671,7 @@ function initAssetRegisters(Vue) { } } if (type === 'component' && isPlainObject(definition)) { - definition.name = id; + definition.name = definition.name || id; definition = Vue.extend(definition); } this.options[type + 's'][id] = definition; @@ -2764,7 +2755,7 @@ Object.defineProperty(Vue.prototype, '$isServer', { } }); -Vue.version = '2.0.0-alpha.0'; +Vue.version = '2.0.0-alpha.1'; // attributes that should be using props for binding var mustUseProp = makeMap('value,selected,checked,muted'); @@ -2958,6 +2949,10 @@ function childNodes(node) { return node.childNodes; } +function setAttribute(node, key, val) { + node.setAttribute(key, val); +} + var nodeOps = Object.freeze({ createElement: createElement, createElementNS: createElementNS, @@ -2969,7 +2964,8 @@ var nodeOps = Object.freeze({ nextSibling: nextSibling, tagName: tagName, setTextContent: setTextContent, - childNodes: childNodes + childNodes: childNodes, + setAttribute: setAttribute }); var emptyNode = new VNode('', {}, []); @@ -3045,6 +3041,7 @@ function createPatchFunction(backend) { // in that case we can just return the element and be done. if (isDef(i = vnode.child)) { invokeCreateHooks(vnode, insertedVnodeQueue); + setScope(vnode); return vnode.elm; } } @@ -3052,6 +3049,7 @@ function createPatchFunction(backend) { var tag = vnode.tag; if (isDef(tag)) { elm = vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag); + setScope(vnode); if (Array.isArray(children)) { for (i = 0; i < children.length; ++i) { nodeOps.appendChild(elm, createElm(children[i], insertedVnodeQueue)); @@ -3079,6 +3077,16 @@ function createPatchFunction(backend) { } } + // set scope id attribute for scoped CSS. + // this is implemented as a special case to avoid the overhead + // of going through the normal attribute patching process. + function setScope(vnode) { + var i = void 0; + if (isDef(i = vnode.context) && isDef(i = i.$options._scopeId)) { + nodeOps.setAttribute(vnode.elm, i, ''); + } + } + function addVnodes(parentElm, before, vnodes, startIdx, endIdx, insertedVnodeQueue) { for (; startIdx <= endIdx; ++startIdx) { nodeOps.insertBefore(parentElm, createElm(vnodes[startIdx], insertedVnodeQueue), before); @@ -3222,6 +3230,7 @@ function createPatchFunction(backend) { } function patchVnode(oldVnode, vnode, insertedVnodeQueue) { + if (oldVnode === vnode) return; var i = void 0, hook = void 0; if (isDef(i = vnode.data) && isDef(hook = i.hook) && isDef(i = hook.prepatch)) { @@ -3230,7 +3239,6 @@ function createPatchFunction(backend) { var elm = vnode.elm = oldVnode.elm; var oldCh = oldVnode.children; var ch = vnode.children; - if (oldVnode === vnode) return; if (isDef(vnode.data)) { for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); diff --git a/dist/vue.js b/dist/vue.js index e12d8b27..3b704b8f 100644 --- a/dist/vue.js +++ b/dist/vue.js @@ -188,12 +188,6 @@ } var config = { - - /** - * Preserve whitespaces between elements. - */ - preserveWhitespace: true, - /** * Option merge strategies (used in core/util/options) */ @@ -408,7 +402,8 @@ var initProxy = void 0; if ("development" !== 'production') { (function () { - var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl'); + var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require,__webpack_require__' // for Webpack/Browserify + ); hasProxy = typeof Proxy !== 'undefined' && Proxy.toString().match(/native code/); @@ -629,10 +624,11 @@ if (config.errorHandler) { config.errorHandler.call(null, e, this.vm); } else { - warn(e.stack); + throw e; } } // return old value when evaluation fails so the current UI is preserved + // if the error was somehow handled by user value = this.value; } // "touch" every property so they are all tracked as @@ -1311,9 +1307,9 @@ return VNode; }(); - var emptyVNode = new VNode(undefined, undefined, undefined, ''); - - var whitespace = new VNode(undefined, undefined, undefined, ' '); + var emptyVNode = function emptyVNode() { + return new VNode(undefined, undefined, undefined, ''); + }; function normalizeChildren(children) { // invoke children thunks. @@ -1333,13 +1329,8 @@ if (Array.isArray(c)) { res.push.apply(res, normalizeChildren(c)); } else if (isPrimitive(c)) { - // optimize whitespace - if (c === ' ') { - res.push(whitespace); - } else { - // convert primitive to vnode - res.push(new VNode(undefined, undefined, undefined, c)); - } + // convert primitive to vnode + res.push(new VNode(undefined, undefined, undefined, c)); } else if (c instanceof VNode) { res.push(c); } @@ -1427,9 +1418,7 @@ var vm = this; vm.$el = el; if (!vm.$options.render) { - vm.$options.render = function () { - return emptyVNode; - }; + vm.$options.render = emptyVNode; if ("development" !== 'production') { /* istanbul ignore if */ if (vm.$options.template) { @@ -1806,7 +1795,7 @@ } if (!tag) { // in case of component :is set to falsy value - return emptyVNode; + return emptyVNode(); } if (typeof tag === 'string') { var Ctor = void 0; @@ -1860,19 +1849,24 @@ Vue.prototype._render = function () { var vm = this; + + // set current active instance var prev = renderState.activeInstance; renderState.activeInstance = vm; - if (!vm._isMounted) { - // render static sub-trees for once on initial render - renderStaticTrees(vm); - } + var _vm$$options = vm.$options; var render = _vm$$options.render; + var staticRenderFns = _vm$$options.staticRenderFns; var _renderChildren = _vm$$options._renderChildren; var _parentVnode = _vm$$options._parentVnode; + + + if (staticRenderFns && !vm._staticTrees) { + // render static sub-trees for once on initial render + renderStaticTrees(vm, staticRenderFns); + } // resolve slots. becaues slots are rendered in parent scope, // we set the activeInstance to parent. - if (_renderChildren) { resolveSlots(vm, _renderChildren); } @@ -1883,7 +1877,7 @@ if ("development" !== 'production' && Array.isArray(vnode)) { warn('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm); } - vnode = emptyVNode; + vnode = emptyVNode(); } // set parent vnode.parent = _parentVnode; @@ -1956,13 +1950,10 @@ }; } - function renderStaticTrees(vm) { - var staticRenderFns = vm.$options.staticRenderFns; - if (staticRenderFns) { - var trees = vm._staticTrees = new Array(staticRenderFns.length); - for (var i = 0; i < staticRenderFns.length; i++) { - trees[i] = staticRenderFns[i].call(vm._renderProxy); - } + function renderStaticTrees(vm, fns) { + var trees = vm._staticTrees = new Array(fns.length); + for (var i = 0; i < fns.length; i++) { + trees[i] = fns[i].call(vm._renderProxy); } } @@ -2685,7 +2676,7 @@ } } if (type === 'component' && isPlainObject(definition)) { - definition.name = id; + definition.name = definition.name || id; definition = Vue.extend(definition); } this.options[type + 's'][id] = definition; @@ -2769,7 +2760,7 @@ } }); - Vue.version = '2.0.0-alpha.0'; + Vue.version = '2.0.0-alpha.1'; // attributes that should be using props for binding var mustUseProp = makeMap('value,selected,checked,muted'); @@ -2974,6 +2965,10 @@ return node.childNodes; } + function setAttribute(node, key, val) { + node.setAttribute(key, val); + } + var nodeOps = Object.freeze({ createElement: createElement, createElementNS: createElementNS, @@ -2985,7 +2980,8 @@ var nodeOps = Object.freeze({ nextSibling: nextSibling, tagName: tagName, setTextContent: setTextContent, - childNodes: childNodes + childNodes: childNodes, + setAttribute: setAttribute }); var emptyNode = new VNode('', {}, []); @@ -3061,6 +3057,7 @@ var nodeOps = Object.freeze({ // in that case we can just return the element and be done. if (isDef(i = vnode.child)) { invokeCreateHooks(vnode, insertedVnodeQueue); + setScope(vnode); return vnode.elm; } } @@ -3068,6 +3065,7 @@ var nodeOps = Object.freeze({ var tag = vnode.tag; if (isDef(tag)) { elm = vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag); + setScope(vnode); if (Array.isArray(children)) { for (i = 0; i < children.length; ++i) { nodeOps.appendChild(elm, createElm(children[i], insertedVnodeQueue)); @@ -3095,6 +3093,16 @@ var nodeOps = Object.freeze({ } } + // set scope id attribute for scoped CSS. + // this is implemented as a special case to avoid the overhead + // of going through the normal attribute patching process. + function setScope(vnode) { + var i = void 0; + if (isDef(i = vnode.context) && isDef(i = i.$options._scopeId)) { + nodeOps.setAttribute(vnode.elm, i, ''); + } + } + function addVnodes(parentElm, before, vnodes, startIdx, endIdx, insertedVnodeQueue) { for (; startIdx <= endIdx; ++startIdx) { nodeOps.insertBefore(parentElm, createElm(vnodes[startIdx], insertedVnodeQueue), before); @@ -3238,6 +3246,7 @@ var nodeOps = Object.freeze({ } function patchVnode(oldVnode, vnode, insertedVnodeQueue) { + if (oldVnode === vnode) return; var i = void 0, hook = void 0; if (isDef(i = vnode.data) && isDef(hook = i.hook) && isDef(i = hook.prepatch)) { @@ -3246,7 +3255,6 @@ var nodeOps = Object.freeze({ var elm = vnode.elm = oldVnode.elm; var oldCh = oldVnode.children; var ch = vnode.children; - if (oldVnode === vnode) return; if (isDef(vnode.data)) { for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); @@ -4676,6 +4684,14 @@ var nodeOps = Object.freeze({ console.error('[Vue parser]: ' + msg); } + function pluckModuleFunction(modules, key) { + return modules ? modules.map(function (m) { + return m[key]; + }).filter(function (_) { + return _; + }) : []; + } + function addProp(el, name, value) { (el.props || (el.props = [])).push({ name: name, value: value }); } @@ -4763,7 +4779,9 @@ var nodeOps = Object.freeze({ var warn$1 = void 0; var platformGetTagNamespace = void 0; var platformMustUseProp = void 0; - var platformModules$1 = void 0; + var preTransforms = void 0; + var transforms = void 0; + var postTransforms = void 0; var delimiters = void 0; /** @@ -4773,7 +4791,9 @@ var nodeOps = Object.freeze({ warn$1 = options.warn || baseWarn; platformGetTagNamespace = options.getTagNamespace || no; platformMustUseProp = options.mustUseProp || no; - platformModules$1 = options.modules || []; + preTransforms = pluckModuleFunction(options.modules, 'preTransformNode'); + transforms = pluckModuleFunction(options.modules, 'transformNode'); + postTransforms = pluckModuleFunction(options.modules, 'postTransformNode'); delimiters = options.delimiters; var stack = []; var root = void 0; @@ -4819,6 +4839,11 @@ var nodeOps = Object.freeze({ "development" !== 'production' && warn$1('Templates should only be responsbile for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.')); } + // apply pre-transforms + for (var i = 0; i < preTransforms.length; i++) { + preTransforms[i](element, options); + } + if (!inPre) { processPre(element); if (element.pre) { @@ -4838,8 +4863,8 @@ var nodeOps = Object.freeze({ processRender(element); processSlot(element); processComponent(element); - for (var i = 0; i < platformModules$1.length; i++) { - platformModules$1[i].transformNode(element, options); + for (var _i = 0; _i < transforms.length; _i++) { + transforms[_i](element, options); } processAttrs(element); } @@ -4872,6 +4897,10 @@ var nodeOps = Object.freeze({ currentParent = element; stack.push(element); } + // apply post-transforms + for (var _i2 = 0; _i2 < postTransforms.length; _i2++) { + postTransforms[_i2](element, options); + } }, end: function end() { // remove trailing whitespace @@ -4898,7 +4927,7 @@ var nodeOps = Object.freeze({ } text = currentParent.tag === 'pre' || text.trim() ? decodeHTMLCached(text) // only preserve whitespace if its not right after a starting tag - : options.preserveWhitespace && currentParent.children.length ? ' ' : ''; + : currentParent.children.length ? ' ' : ''; if (text) { var expression = void 0; if (!inPre && text !== ' ' && (expression = parseText(text, delimiters))) { @@ -4928,7 +4957,7 @@ var nodeOps = Object.freeze({ function processRawAttrs(el) { var l = el.attrsList.length; if (l) { - var attrs = el.attrs = new Array(l); + var attrs = el.staticAttrs = new Array(l); for (var i = 0; i < l; i++) { attrs[i] = { name: el.attrsList[i].name, @@ -5300,7 +5329,8 @@ var nodeOps = Object.freeze({ // configurable state var warn$2 = void 0; - var platformModules$2 = void 0; + var transforms$1 = void 0; + var dataGenFns = void 0; var platformDirectives$1 = void 0; var isPlatformReservedTag$1 = void 0; var staticRenderFns = void 0; @@ -5312,7 +5342,8 @@ var nodeOps = Object.freeze({ var currentStaticRenderFns = staticRenderFns = []; currentOptions = options; warn$2 = options.warn || baseWarn; - platformModules$2 = options.modules || []; + transforms$1 = pluckModuleFunction(options.modules, 'transformCode'); + dataGenFns = pluckModuleFunction(options.modules, 'genData'); platformDirectives$1 = options.directives || {}; isPlatformReservedTag$1 = options.isReservedTag || no; var code = ast ? genElement(ast) : '_h(_e("div"))'; @@ -5354,12 +5385,9 @@ var nodeOps = Object.freeze({ code = '_m(' + (staticRenderFns.length - 1) + ')'; } } - // platform modules - for (var i = 0; i < platformModules$2.length; i++) { - var transform = platformModules$2[i].transformCode; - if (transform) { - code = transform(el, code); - } + // module transforms + for (var i = 0; i < transforms$1.length; i++) { + code = transforms$1[i](el, code); } // check keep-alive if (el.component && el.keepAlive) { @@ -5418,9 +5446,9 @@ var nodeOps = Object.freeze({ if (el.slotTarget) { data += 'slot:' + el.slotTarget + ','; } - // platform modules - for (var i = 0; i < platformModules$2.length; i++) { - data += platformModules$2[i].genData(el); + // module data generation functions + for (var i = 0; i < dataGenFns.length; i++) { + data += dataGenFns[i](el); } // v-show, used to avoid transition being applied // since v-show takes it over @@ -5561,6 +5589,8 @@ var nodeOps = Object.freeze({ }; } + var keywordRE = new RegExp('\\b' + ('do,if,in,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,typeof,default,' + 'extends,finally,continue,debugger,function,arguments,instanceof').split(',').join('\\b|\\b') + '\\b'); + // detect problematic expressions in a template function detectErrors(ast) { var errors = []; @@ -5591,13 +5621,23 @@ var nodeOps = Object.freeze({ } function checkExpression(exp, text, errors) { - try { - new Function(exp); - } catch (e) { - errors.push('- invalid expression: ' + text); + exp = stripToString(exp); + var keywordMatch = exp.match(keywordRE); + if (keywordMatch) { + errors.push('- avoid using JavaScript keyword as property name: ' + ('"' + keywordMatch[0] + '" in expression ' + text)); + } else { + try { + new Function(exp); + } catch (e) { + errors.push('- invalid expression: ' + text); + } } } + function stripToString(exp) { + return exp.replace(/^_s\((.*)\)$/, '$1'); + } + function transformNode(el, options) { var warn = options.warn || baseWarn; var staticClass = getAndRemoveAttr(el, 'class'); @@ -5789,13 +5829,11 @@ var nodeOps = Object.freeze({ html: html }; - var cache1 = Object.create(null); - var cache2 = Object.create(null); + var cache = Object.create(null); var baseOptions = { isIE: isIE, expectHTML: true, - preserveWhitespace: true, modules: modules$1, staticKeys: genStaticKeys(modules$1), directives: directives$1, @@ -5823,7 +5861,6 @@ var nodeOps = Object.freeze({ } } } - var cache = options && options.preserveWhitespace === false ? cache1 : cache2; var key = options && options.delimiters ? String(options.delimiters) + template : template; if (cache[key]) { return cache[key]; @@ -5884,7 +5921,6 @@ var nodeOps = Object.freeze({ } if (template) { var _compileToFunctions = compileToFunctions(template, { - preserveWhitespace: config.preserveWhitespace, delimiters: options.delimiters, warn: warn }, this); diff --git a/dist/vue.min.js b/dist/vue.min.js index ecac07fe..c4f66cbd 100644 --- a/dist/vue.min.js +++ b/dist/vue.min.js @@ -3,5 +3,5 @@ * (c) 2014-2016 Evan You * Released under the MIT License. */ -!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 sr.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 vr.call(e)===pr}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 zr?t=e.__ob__:Ur.shouldConvert&&!mr._isServer&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(t=new zr(e)),t}}function x(e,t,n,r){var i=new jr,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(jr.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),B(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;Ur.shouldConvert=i;for(var o=function(t){var i=r[t];x(e,i,xe(e,i,n))},a=0;an;n++){var o=e[n];Array.isArray(o)?t.push.apply(t,U(o)):i(o)?" "===o?t.push(Jr):t.push(new Vr(void 0,void 0,void 0,o)):o instanceof Vr&&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 q(e,t,n,r,i){if(e&&(u(e)&&(e=ge.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 o=te(t,e),a=t.on;a&&delete t.on;var s=e.options.name||i,c=new Vr("vue-component-"+e.cid+(s?"-"+s:""),t,void 0,void 0,void 0,void 0,r,{Ctor:e,propsData:o,listeners:a,parent:n,tag:i,children:void 0});return c}}function Z(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 G(e,t){if(!e.child){var n=e.child=Z(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,W(e.child,"mounted")),e.data.keepAlive&&W(e.child,"activated")}function X(e){e.child._isDestroyed||(e.data.keepAlive?W(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=ge.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=dr(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,r);else if("number"==typeof e)for(n=new Array(e),r=0;e>r;r++)n[r]=t(r+1,r,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],r,a);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=mr.mustUseProp(r)?n.props||(n.props={}):n.attrs||(n.attrs={});i[r]=t[r]}}else;}}function fe(e){var t=e.$options.staticRenderFns;if(t)for(var n=e._staticTrees=new Array(t.length),r=0;rs;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 ve(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 pe(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 he(e){e.prototype._init=function(e){var t=this;t._uid=Gr++,t._isVue=!0,e&&e._isComponent?me(t,e):t.$options=Ce(t.constructor.options,e||{},t),t._renderProxy=t,t._self=t,K(t),ve(t),W(t,"init"),E(t),W(t,"created"),ue(t)}}function me(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=n.staticRenderFns)}function ge(e){this._init(e)}function ye(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)&&ye(i,o):O(e,n,o);return e}function _e(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function be(e,t){var n=Object.create(e||null);return t?c(n,t):n}function we(e){if(e.components){var t=e.components,n=void 0;for(var r in t)ar(r)||mr.isReservedTag(r)||(n=t[r],l(n)&&(t[r]=ge.extend(n)))}}function $e(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=ur(i),n[o]={type:null});else if(l(t))for(var a in t)i=t[a],o=ur(a),n[o]=l(i)?i:{type:i};e.props=n}}function Ae(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 Ce(e,t,n){function i(r){var i=Qr[r]||Xr;u[r]=i(e[r],t[r],n,r)}we(t),$e(t),Ae(t);var o=t["extends"];if(o&&(e="function"==typeof o?Ce(e,o.options,n):Ce(e,o,n)),t.mixins)for(var a=0,s=t.mixins.length;s>a;a++){var c=t.mixins[a];c.prototype instanceof ge&&(c=c.options),e=Ce(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 ke(e,t,n,r){if("string"==typeof n){var i=e[t],o=i[n]||i[ur(n)]||i[lr(ur(n))];return o}}function xe(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!==dr(t)||(a=!0)),void 0===a&&(a=Oe(e,i,t),Ur.shouldConvert=!0,k(a),Ur.shouldConvert=!1),a}}function Oe(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 Te(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 je(e){e.mixin=function(t){e.options=Ce(e.options,t),mr._ctors.forEach(function(e){e.options=Ce(e["super"].options,e.extendOptions)})}}function Le(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=Ce(r.options,e),a["super"]=r,a.extend=r.extend,mr._assetTypes.forEach(function(e){a[e]=r[e]}),o&&(a.options.components[o]=a),a.extendOptions=e,mr._ctors.push(a),a.release=function(){n(mr._ctors,a)},i&&(e._Ctor=a),a}}function Ee(e){mr._assetTypes.forEach(function(t){e[t]=function(n,r){return r?("component"===t&&l(r)&&(r.name=n,r=e.extend(r)),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function Se(e){var t=e&&e.componentOptions;return t&&t.Ctor.options._abstract?Se(t.propsData.child):e}function Me(e){e.config=mr,e.util=ei,e.set=O,e["delete"]=T,e.nextTick=xr,e.options=Object.create(null),mr._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),c(e.options.components,ni),Te(e),je(e),Le(e),Ee(e)}function Ne(e){var t=e.data,n=void 0;return(n=e.child)&&(n=n._vnode.data)&&(t=De(n,t)),(n=e.parent)&&(n=n.data)&&(t=De(t,n)),Re(t)}function De(e,t){return{staticClass:Be(e.staticClass,t.staticClass),class:e["class"]?[e["class"],t["class"]]:t["class"]}}function Re(e){var t=e["class"],n=e.staticClass;return n||t?Be(n,Ie(t)):""}function Be(e,t){return e?t?e+" "+t:e:t||""}function Ie(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=Ie(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 Pe(e){return hi(e)?"svg":"math"===e?"math":void 0}function Fe(e){if(!_r)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())&&!/^(data|time|rtc|rb)$/.test(e)}function Ue(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function ze(e){return document.createElement(e)}function He(e,t){return document.createElementNS(li[e],t)}function Ve(e){return document.createTextNode(e)}function Ke(e,t,n){e.insertBefore(t,n)}function Je(e,t){e.removeChild(t)}function We(e,t){e.appendChild(t)}function qe(e){return e.parentNode}function Ze(e){return e.nextSibling}function Ge(e){return e.tagName}function Ye(e,t){e.textContent=t}function Qe(e){return e.childNodes}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 Vr(_.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=_.parentNode(e);_.removeChild(t,e)}function o(e,t){var n=void 0,r=void 0,s=e.data;if(et(s)&&(et(n=s.hook)&&et(n=n.init)&&n(e),et(n=e.child)))return a(e,t),e.elm;var c=e.children,u=e.tag;if(et(u)){if(r=e.elm=e.ns?_.createElementNS(e.ns,u):_.createElement(u),Array.isArray(c))for(n=0;n=r;++r)_.insertBefore(e,o(n[r],a),t)}function c(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)?(c(i),l(i)):_.removeChild(e,i.elm))}}function l(e,t){if(t||et(e.data)){var i=g.remove.length+1;for(t?t.listeners+=i:t=n(e.elm,i),et(h=e.child)&&et(h=h._vnode)&&et(h.data)&&l(h,t),h=0;h=i&&v>=a;)Xe(l)?l=t[++i]:Xe(f)?f=t[--c]:tt(l,p)?(d(l,p,r),l=t[++i],p=n[++a]):tt(f,h)?(d(f,h,r),f=t[--c],h=n[--v]):tt(l,h)?(d(l,h,r),_.insertBefore(e,l.elm,_.nextSibling(f.elm)),l=t[++i],h=n[--v]):tt(f,p)?(d(f,p,r),_.insertBefore(e,f.elm,l.elm),f=t[--c],p=n[++a]):(Xe(m)&&(m=nt(t,i,c)),g=m[p.key],Xe(g)?(_.insertBefore(e,o(p,r),l.elm),p=n[++a]):(y=t[g],y.tag!==p.tag?(_.insertBefore(e,o(p,r),l.elm),p=n[++a]):(d(y,p,r),t[g]=void 0,_.insertBefore(e,p.elm,l.elm),p=n[++a])));i>c?(b=Xe(n[v+1])?null:n[v+1].elm,s(e,b,n,a,v,r)):a>v&&u(e,t,i,c)}function d(e,t,n){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,c=t.children;if(e!==t){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=ke(t.$options,"transitions",e),n?yt(n.name||e,n):Hi(e);if("object"==typeof e){if(e.name&&(n=ke(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?Pi: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:Bi: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 Bt(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 Pt(e,t){function n(e){var t=e.match(ao);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r=void 0,i=void 0;!(r=e.match(so))&&(i=e.match(a));)e=e.slice(i[0].length),n.attrs.push(i);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e){var n=e.tagName,r=e.unarySlash;s&&("p"===v&&pi(n)&&i("",v),vi(n)&&v===n&&i("",n));for(var a=c(n)||"html"===n&&"head"===v||!!r,u=e.attrs.length,l=new Array(u),f=0;u>f;f++){var d=e.attrs[f];lo&&-1===d[0].indexOf('""')&&(""===d[3]&&delete d[3],""===d[4]&&delete d[4],""===d[5]&&delete d[5]),l[f]={name:d[1],value:Rt(d[3]||d[4]||d[5]||"")}}a||(o.push({tag:n,attrs:l}),v=n,r=""),t.start&&t.start(n,l,a,r)}function i(e,n){var r=void 0;if(n){var i=n.toLowerCase();for(r=o.length-1;r>=0&&o[r].tag.toLowerCase()!==i;r--);}else r=0;if(r>=0){for(var a=o.length-1;a>=r;a--)t.end&&t.end(o[a].tag,o[a].attrs,a>r||!e);o.length=r,v=r&&o[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var o=[],a=Bt(t),s=t.expectHTML,c=t.isUnaryTag||hr,u=t.isSpecialTag||fo,l=void 0,f=void 0,d=void 0,v=void 0;e;){if(l=e,v&&u(v))!function(){var n=v.toLowerCase(),r=vo[n]||(vo[n]=new RegExp("([\\s\\S]*?)]*>","i"));e=e.replace(r,function(e,r){return"script"!==n&&"style"!==n&&"noscript"!==n&&(r=r.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(r),""}),i("",n)}();else{var p=e.indexOf("<");if(0===p){if(/^");if(h>=0){e=e.substring(h+3),f="";continue}}if(/^");if(m>=0){e=e.substring(m+2),f="";continue}}var g=e.match(uo);if(g){t.doctype&&t.doctype(g[0]),e=e.substring(g[0].length),f="";continue}var y=e.match(co);if(y){e=e.substring(y[0].length),y[0].replace(co,i),f="/"+y[1].toLowerCase();continue}var _=n(e);if(_){e=_.rest,r(_),f=_.tagName.toLowerCase();continue}}var b=void 0;p>=0?(b=e.substring(0,p),e=e.substring(p)):(b=e,e="");var w=n(e);w?d=w.tagName:(w=e.match(co),d=w?"/"+w[1]:""),t.chars&&t.chars(b,f,d),f=""}if(e===l)throw new Error("Error parsing template:\n\n"+e)}t.partialMarkup||i()}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 Qt(e,t){xo=t.warn||Ht,Oo=t.getTagNamespace||hr,To=t.mustUseProp||hr,jo=t.modules||[],Lo=t.delimiters;var n=[],r=void 0,i=void 0,o=!1;return Pt(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,start:function(e,a,s){Co.test(e)&&(e=dr(e)),e=e.toLowerCase();var c=i&&i.ns||Oo(e);t.isIE&&"svg"===c&&(a=hn(a));var u={type:1,tag:e,attrsList:a,attrsMap:dn(a),parent:i,children:[]};if(c&&(u.ns=c), -pn(u)&&(u.forbidden=!0),o||(Xt(u),u.pre&&(o=!0)),o)en(u);else{tn(u),nn(u),rn(u),an(u),u.plain=!u.key&&!a.length,sn(u),cn(u),un(u);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 tn(e){var t=Gt(e,"key");t&&(e.key=t)}function nn(e){var t=void 0;if(t=Yt(e,"v-for")){var n=t.match($o);if(!n)return;e["for"]=n[2].trim();var r=n[1].trim(),i=r.match(Ao);i?(e.iterator=i[1].trim(),e.alias=i[2].trim()):e.alias=r}}function rn(e){var t=Yt(e,"v-if");t&&(e["if"]=t),null!=Yt(e,"v-else")&&(e["else"]=!0)}function on(e,t){var n=vn(t.children);n&&n["if"]&&(n.elseBlock=e)}function an(e){var t=Yt(e,"v-once");null!=t&&(e.once=!0)}function sn(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 cn(e){if("slot"===e.tag)e.slotName=Gt(e,"name");else{var t=Gt(e,"slot");t&&(e.slotTarget=t)}}function un(e){var t=void 0;(t=Gt(e,"is"))&&(e.component=t),null!=Yt(e,"keep-alive")&&(e.keepAlive=!0),null!=Yt(e,"inline-template")&&(e.inlineTemplate=!0)}function ln(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=fn(i),s&&(i=i.replace(wo,"")),yo.test(i))i=i.replace(yo,""),To(i)?Vt(e,i,o):Kt(e,i,o);else if(_o.test(i))i=i.replace(_o,""),Zt(e,i,o,s);else{i=i.replace(go,"");var c=i.match(bo);c&&(a=c[1])&&(i=i.slice(0,-(a.length+1))),Wt(e,i,o,a,s)}else Jt(e,i,JSON.stringify(o))}function fn(e){var t=e.match(wo);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 dn(e){for(var t={},n=0,r=e.length;r>n;n++)t[e[n].name]=e[n].value;return t}function vn(e){for(var t=e.length;t--;)if(e[t].tag)return e[t]}function pn(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function hn(e){for(var t=[],n=0;nt;t++){var r=e.children[t];yn(r),r["static"]||(e["static"]=!1)}}function _n(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++)_n(e.children[t])}function bn(e){return 2===e.type?!1:3===e.type?!0:!(!e.pre&&(e["if"]||e["for"]||ar(e.tag)||!No(e.tag)||!e.plain&&!Object.keys(e).every(Mo)))}function wn(e){var t="on:{";for(var n in e)t+='"'+n+'":'+$n(e[n])+",";return t.slice(0,-1)+"}"}function $n(e){if(e){if(Array.isArray(e))return"["+e.map($n).join(",")+"]";if(e.modifiers){var t="function($event){";for(var n in e.modifiers)t+=Io[n]||An(n);var r=Ro.test(e.value)?e.value+"($event)":e.value;return t+r+"}"}return Ro.test(e.value)?e.value:"function($event){"+e.value+"}"}return"function(){}"}function An(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 Cn(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 kn(e,t){qt(e,"construct","_b(n1,"+t.value+")")}function xn(e,t){var n=Vo,r=Vo=[];Ko=t,Fo=t.warn||Ht,Uo=t.modules||[],zo=t.directives||{},Ho=t.isReservedTag||hr;var i=e?On(e):'_h(_e("div"))';return Vo=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function On(e){if(e["for"])return Ln(e);if(e["if"])return Tn(e);if("template"!==e.tag||e.slotTarget){if("render"===e.tag)return Rn(e);if("slot"===e.tag)return Bn(e);var t=void 0;if(e.component)t=In(e);else{var n=En(e),r=e.inlineTemplate?null:Mn(e,!e.ns&&!Ho(e.tag));t="_h(_e('"+e.tag+"'"+(n?","+n:e.ns?",void 0":"")+(e.ns?",'"+e.ns+"'":"")+")"+(r?","+r:"")+")",e.staticRoot&&(Vo.push("with(this){return "+t+"}"),t="_m("+(Vo.length-1)+")")}for(var i=0;ii;i++){a=t[i],s=!0;var c=zo[a.name]||Po[a.name];c&&(s=!!c(e,a,Fo)),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 Mn(e,t){if(e.children.length){var n="["+e.children.map(Nn).join(",")+"]";return t?"function(){return "+n+"}":n}}function Nn(e){return 1===e.type?On(e):Dn(e)}function Dn(e){return 2===e.type?"("+e.expression+")":"_t("+JSON.stringify(e.text)+")"}function Rn(e){if(!e.renderMethod)return"void 0";var t=Mn(e);return e.renderMethod+"("+(e.renderArgs||"")+(t?(e.renderArgs?",":"")+t:"")+")"}function Bn(e){var t="$slots["+(e.slotName||'"default"')+"]",n=Mn(e);return n?"("+t+"||"+n+")":t}function In(e){var t=Mn(e,!0);return"_h(_e("+e.component+","+En(e)+")"+(t?","+t:"")+")"}function Pn(e){for(var t="",n=0;n-1")+(":("+t+")===("+r+")")),Zt(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 Yn(e,t){var n=Gt(e,"value");Vt(e,"checked","("+t+")===("+n+")"),Zt(e,"change",t+"="+n)}function Qn(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),Vt(e,"value","("+t+")"),Zt(e,c,f),u?!0:void 0}function Xn(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 Zt(e,"change",n),!0}function er(e,t){t.value&&Vt(e,"textContent","_s("+t.value+")")}function tr(e,t){t.value&&Vt(e,"innerHTML","_s("+t.value+")")}function nr(e,t){return t=t?c(c({},ea),t):ea,Un(e,t)}function rr(e,t,n){var r=(t&&t.warn||Yr,t&&t.preserveWhitespace===!1?Qo:Xo),i=t&&t.delimiters?String(t.delimiters)+e:e;if(r[i])return r[i];var o={},a=nr(e,t);o.render=ir(a.render);var s=a.staticRenderFns.length;o.staticRenderFns=new Array(s);for(var c=0;s>c;c++)o.staticRenderFns[c]=ir(a.staticRenderFns[c]);return r[i]=o}function ir(e){try{return new Function(e)}catch(t){return d}}function or(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var ar=t("slot,component,render,transition",!0),sr=Object.prototype.hasOwnProperty,cr=/-(\w)/g,ur=o(function(e){return e.replace(cr,function(e,t){return t?t.toUpperCase():""})}),lr=o(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),fr=/([a-z\d])([A-Z])/g,dr=o(function(e){return e.replace(fr,"$1-$2").toLowerCase()}),vr=Object.prototype.toString,pr="[object Object]",hr=function(){return!1},mr={preserveWhitespace:!0,optionMergeStrategies:Object.create(null),silent:!1,errorHandler:null,isReservedTag:hr,isUnknownElement:hr,mustUseProp:hr,_assetTypes:["component","directive","transition","filter"],_lifecycleHooks:["init","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1,_ctors:[]},gr=/[^\w\.]/,yr="__proto__"in{},_r="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),br=_r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,wr=_r&&window.navigator.userAgent.toLowerCase(),$r=wr&&/(iphone|ipad|ipod|ios)/i.test(wr),Ar=wr&&$r&&wr.match(/os ([\d_]+)/),Cr=Ar&&Ar[1].split("_"),kr=Cr&&Number(Cr[0])>=9&&Number(Cr[1])>=3&&!window.indexedDB,xr=function(){function e(){n=!1;var e=t.slice(0);t=[];for(var r=0;rt;t++)e[t].update()},e}();jr.target=null;var Lr=[],Er=[],Sr={},Mr=!1,Nr=0,Dr=void 0,Rr=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=++Nr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new Or,this.newDepIds=new Or,"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(){Dr=jr.target,jr.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(){jr.target=Dr;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=jr.target;this.value=this.get(),this.dirty=!1,jr.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}(),Br=new Or,Ir=Array.prototype,Pr=Object.create(Ir);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Ir[e];h(Pr,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 Fr=Object.getOwnPropertyNames(Pr),Ur={shouldConvert:!0,isSettingProps:!1},zr=function(){function e(e){if(this.value=e,this.dep=new jr,this.vmCount=0,h(e,"__ob__",this),Array.isArray(e)){var t=yr?A:C;t(e,Pr,Fr),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}(),Hr={enumerable:!0,configurable:!0,get:d,set:d},Vr=function(){function e(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.key=t&&t.key,this.componentOptions=s,this.child=void 0,this.parent=void 0;var c=t&&t.hook&&t.hook.construct;c&&c(this)}return e.prototype.setChildren=function(e){this.children=e},e}(),Kr=new Vr(void 0,void 0,void 0,""),Jr=new Vr(void 0,void 0,void 0," "),Wr={init:G,prepatch:Y,insert:Q,destroy:X},qr=Object.keys(Wr),Zr={activeInstance:null},Gr=0;he(ge),P(ge),pe(ge),J(ge),le(ge);var Yr=void 0,Qr=mr.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?ye(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return ye(t.call(this),e.call(this))}:t:e},mr._lifecycleHooks.forEach(function(e){Qr[e]=_e}),mr._assetTypes.forEach(function(e){Qr[e+"s"]=be}),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:ar,remove:n,hasOwn:r,isPrimitive:i,cached:o,camelize:ur,capitalize:lr,hyphenate:dr,bind:a,toArray:s,extend:c,isObject:u,isPlainObject:l,toObject:f,noop:d,no:hr,genStaticKeys:v,isReserved:p,def:h,parsePath:m,hasProto:yr,inBrowser:_r,devtools:br,nextTick:xr,get _Set(){return Or},mergeOptions:Ce,resolveAsset:ke,warn:Yr,validateProp:xe}),ti={name:"keep-alive",_abstract:!0,props:{child:Object},created:function(){this.cache=Object.create(null)},render:function(){var e=this.child,t=Se(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];W(t.child,"deactivated"),t.child.$destroy()}}},ni={KeepAlive:ti};Me(ge),Object.defineProperty(ge.prototype,"$isServer",{get:function(){return mr._isServer}}),ge.version="2.0.0-alpha.0";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=_r&&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:ze,createElementNS:He,createTextNode:Ve,insertBefore:Ke,removeChild:Je,appendChild:We,parentNode:qe,nextSibling:Ze,tagName:Ge,setTextContent:Ye,childNodes:Qe}),$i=new Vr("",{},[]),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=ur(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=/^:|^v-bind:/,_o=/^@|^v-on:/,bo=/:(.*)$/,wo=/\.[^\.]+/g,$o=/(.*)\s+(?:in|of)\s+(.*)/,Ao=/\((.*),(.*)\)/,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=/^xmlns:NS\d+/,So=/^NS\d+:/,Mo=void 0,No=void 0,Do=o(gn),Ro=/^[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]},Io={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},Po={ref:Cn,bind:kn,cloak:d},Fo=void 0,Uo=void 0,zo=void 0,Ho=void 0,Vo=void 0,Ko=void 0,Jo={staticKeys:["staticClass"],transformNode:zn,genData:Hn},Wo={transformNode:Vn,genData:Kn},qo={transformNode:Jn,genData:Wn,transformCode:qn},Zo=[Jo,Wo,qo],Go=void 0,Yo={model:Zn,text:er,html:tr},Qo=Object.create(null),Xo=Object.create(null),ea={isIE:yi,expectHTML:!0,preserveWhitespace:!0,modules:Zo,staticKeys:v(Zo),directives:Yo,isReservedTag:fi,isUnaryTag:di,mustUseProp:ri,getTagNamespace:Pe},ta=o(function(e){var t=Ue(e);return t&&t.innerHTML}),na=ge.prototype.$mount;return ge.prototype.$mount=function(e,t){e=e&&Ue(e);var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ta(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=or(e));if(r){var i=rr(r,{preserveWhitespace:mr.preserveWhitespace,delimiters:n.delimiters,warn:Yr},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return na.call(this,e,t)},ge.compile=rr,ge}); \ 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 ur.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 hr.call(e)===mr}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 Vr?t=e.__ob__:Hr.shouldConvert&&!yr._isServer&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(t=new Vr(e)),t}}function x(e,t,n,r){var i=new Er,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(Er.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),B(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;Hr.shouldConvert=i;for(var o=function(t){var i=r[t];x(e,i,xe(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 Jr(void 0,void 0,void 0,o)):o instanceof Jr&&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){if(e&&(u(e)&&(e=ge.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 o=te(t,e),a=t.on;a&&delete t.on;var s=e.options.name||i,c=new Jr("vue-component-"+e.cid+(s?"-"+s:""),t,void 0,void 0,void 0,void 0,r,{Ctor:e,propsData:o,listeners:a,parent:n,tag:i,children:void 0});return c}}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=ge.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=pr(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,r);else if("number"==typeof e)for(n=new Array(e),r=0;e>r;r++)n[r]=t(r+1,r,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],r,a);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=yr.mustUseProp(r)?n.props||(n.props={}):n.attrs||(n.attrs={});i[r]=t[r]}}else;}}function fe(e,t){for(var n=e._staticTrees=new Array(t.length),r=0;rs;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 ve(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 pe(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 he(e){e.prototype._init=function(e){var t=this;t._uid=Yr++,t._isVue=!0,e&&e._isComponent?me(t,e):t.$options=Ce(t.constructor.options,e||{},t),t._renderProxy=t,t._self=t,K(t),ve(t),q(t,"init"),E(t),q(t,"created"),ue(t)}}function me(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=n.staticRenderFns)}function ge(e){this._init(e)}function ye(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)&&ye(i,o):O(e,n,o);return e}function _e(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function be(e,t){var n=Object.create(e||null);return t?c(n,t):n}function we(e){if(e.components){var t=e.components,n=void 0;for(var r in t)cr(r)||yr.isReservedTag(r)||(n=t[r],l(n)&&(t[r]=ge.extend(n)))}}function $e(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=fr(i),n[o]={type:null});else if(l(t))for(var a in t)i=t[a],o=fr(a),n[o]=l(i)?i:{type:i};e.props=n}}function Ae(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 Ce(e,t,n){function i(r){var i=Xr[r]||ei;u[r]=i(e[r],t[r],n,r)}we(t),$e(t),Ae(t);var o=t["extends"];if(o&&(e="function"==typeof o?Ce(e,o.options,n):Ce(e,o,n)),t.mixins)for(var a=0,s=t.mixins.length;s>a;a++){var c=t.mixins[a];c.prototype instanceof ge&&(c=c.options),e=Ce(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 ke(e,t,n,r){if("string"==typeof n){var i=e[t],o=i[n]||i[fr(n)]||i[dr(fr(n))];return o}}function xe(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!==pr(t)||(a=!0)),void 0===a&&(a=Oe(e,i,t),Hr.shouldConvert=!0,k(a),Hr.shouldConvert=!1),a}}function Oe(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 Te(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 je(e){e.mixin=function(t){e.options=Ce(e.options,t),yr._ctors.forEach(function(e){e.options=Ce(e["super"].options,e.extendOptions)})}}function Le(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=Ce(r.options,e),a["super"]=r,a.extend=r.extend,yr._assetTypes.forEach(function(e){a[e]=r[e]}),o&&(a.options.components[o]=a),a.extendOptions=e,yr._ctors.push(a),a.release=function(){n(yr._ctors,a)},i&&(e._Ctor=a),a}}function Ee(e){yr._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 Se(e){var t=e&&e.componentOptions;return t&&t.Ctor.options._abstract?Se(t.propsData.child):e}function Me(e){e.config=yr,e.util=ti,e.set=O,e["delete"]=T,e.nextTick=Tr,e.options=Object.create(null),yr._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),c(e.options.components,ri),Te(e),je(e),Le(e),Ee(e)}function Ne(e){var t=e.data,n=void 0;return(n=e.child)&&(n=n._vnode.data)&&(t=De(n,t)),(n=e.parent)&&(n=n.data)&&(t=De(t,n)),Re(t)}function De(e,t){return{staticClass:Be(e.staticClass,t.staticClass),class:e["class"]?[e["class"],t["class"]]:t["class"]}}function Re(e){var t=e["class"],n=e.staticClass;return n||t?Be(n,Ie(t)):""}function Be(e,t){return e?t?e+" "+t:e:t||""}function Ie(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=Ie(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 Pe(e){return mi(e)?"svg":"math"===e?"math":void 0}function Fe(e){if(!wr)return!0;if(e=e.toLowerCase(),null!=gi[e])return gi[e];var t=document.createElement(e);return e.indexOf("-")>-1?gi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:gi[e]=/HTMLUnknownElement/.test(t.toString())&&!/^(data|time|rtc|rb)$/.test(e)}function Ue(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function ze(e){return document.createElement(e)}function He(e,t){return document.createElementNS(fi[e],t)}function Ve(e){return document.createTextNode(e)}function Ke(e,t,n){e.insertBefore(t,n)}function Je(e,t){e.removeChild(t)}function qe(e,t){e.appendChild(t)}function Ze(e){return e.parentNode}function Ge(e){return e.nextSibling}function We(e){return e.tagName}function Ye(e,t){e.textContent=t}function Qe(e){return e.childNodes}function Xe(e,t,n){e.setAttribute(t,n)}function et(e){return null==e}function tt(e){return null!=e}function nt(e,t){return e.key===t.key&&e.tag===t.tag}function rt(e,t,n){var r=void 0,i=void 0,o={};for(r=t;n>=r;++r)i=e[r].key,tt(i)&&(o[i]=r);return o}function it(e){function t(e){return new Jr(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(tt(c)&&(tt(n=c.hook)&&tt(n=n.init)&&n(e),tt(n=e.child)))return a(e,t),s(e),e.elm;var u=e.children,l=e.tag;if(tt(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(tt(r))for(tt(t=r.hook)&&tt(t=t.destroy)&&t(e),t=0;t=n;++n){var i=t[n];tt(i)&&(tt(i.tag)?(u(i),f(i)):b.removeChild(e,i.elm))}}function f(e,t){if(t||tt(e.data)){var i=y.remove.length+1;for(t?t.listeners+=i:t=n(e.elm,i),tt(m=e.child)&&tt(m=m._vnode)&&tt(m.data)&&f(m,t),m=0;m=i&&d>=a;)et(u)?u=t[++i]:et(f)?f=t[--s]:nt(u,p)?(v(u,p,r),u=t[++i],p=n[++a]):nt(f,h)?(v(f,h,r),f=t[--s],h=n[--d]):nt(u,h)?(v(u,h,r),b.insertBefore(e,u.elm,b.nextSibling(f.elm)),u=t[++i],h=n[--d]):nt(f,p)?(v(f,p,r),b.insertBefore(e,f.elm,u.elm),f=t[--s],p=n[++a]):(et(m)&&(m=rt(t,i,s)),g=m[p.key],et(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?(_=et(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;tt(r=t.data)&&tt(i=r.hook)&&tt(r=i.prepatch)&&r(e,t);var o=t.elm=e.elm,a=e.children,s=t.children;if(tt(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 pt(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 ht(e){Hi(function(){Hi(e)})}function mt(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=yt(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=Ot(function(){C&&$t(t,_),x.cancelled?(C&&$t(t,y),A&&A(t)):$&&$(t),t._enterCb=null});b&&b(t),C&&(wt(t,y),ht(function(){$t(t,y),x.cancelled||(wt(t,_),k||At(t,x))})),w&&w(t,x),C||k||x()}}}function gt(e,t){function n(){u&&u(r),p&&(wt(r,s),ht(function(){$t(r,s),m.cancelled||(wt(r,c),h||At(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=yt(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=Ot(function(){p&&$t(r,c),m.cancelled?(p&&$t(r,s),d&&d(r)):(t(),f&&f(r)),r._leaveCb=null});v?v(n):n()}function yt(e,t){var n=void 0;if(e&&"string"==typeof e)return n=ke(t.$options,"transitions",e),n?_t(n.name||e,n):Vi(e);if("object"==typeof e){if(e.name&&(n=ke(t.$options,"transitions",e.name)),n=n?c(_t(e.name,n),e):_t(e.name,e),e.hooks)for(var r in e.hooks)bt(n,r,e.hooks[r]);return n}return Vi("v")}function _t(e,t){e=e||"v";var n={};return t.css!==!1&&c(n,Vi(e)),c(n,t),n}function bt(e,t,n){var r=e[t];r?e[t]=function(){r.apply(this,arguments),n()}:e[t]=n}function wt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),vt(e,t)}function $t(e,t){n(e._transitionClasses,t),pt(e,t)}function At(e,t){var n=Ct(e),r=n.type,i=n.timeout,o=n.propCount;if(!r)return t();var a=r===Bi?Fi:zi,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 Ct(e){var t=window.getComputedStyle(e),n=t[Pi+"Delay"].split(", "),r=t[Pi+"Duration"].split(", "),i=t[Ui+"Delay"].split(", "),o=t[Ui+"Duration"].split(", "),a=kt(n,r),s=kt(i,o),c=Math.max(a,s),u=c>0?a>s?Bi:Ii:null,l=u?u===Bi?r.length:o.length:0;return{type:u,timeout:c,propCount:l}}function kt(e,t){return Math.max.apply(null,t.map(function(t,n){return xt(t)+xt(e[n])}))}function xt(e){return 1e3*Number(e.slice(0,-1))}function Ot(e){var t=!1;return function(){t||(t=!0,e())}}function Tt(e){return!!(e.parent&&e.parent.data.transition||e.data.show)}function jt(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(Et(o))>-1;else if(Et(o)===t){e.selectedIndex=r;break}}}function Lt(e,t){for(var n=0,r=t.length;r>n;n++)if(Et(t[n])===e)return!1;return!0}function Et(e){return"_value"in e?e._value:e.value||e.text}function St(e){e.target.composing=!0}function Mt(e){e.target.composing=!1,Nt(e.target,"input")}function Nt(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Dt(e){var t=e.parent;return t&&null!=t.data.transition?t.data.transition:e.data.transition}function Rt(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 Bt(e){return eo.innerHTML=e,eo.textContent}function It(e){var t=to.source+"(?:\\s*("+Pt(e)+")\\s*(?:"+io.join("|")+"))?";return new RegExp("^\\s*"+t)}function Pt(e){return ro.map(function(e){return"(?:"+e.source+")"}).join("|")}function Ft(e,t){function n(e){var t=e.match(so);if(t){var n={tagName:t[1],attrs:[]};e=e.slice(t[0].length);for(var r=void 0,i=void 0;!(r=e.match(co))&&(i=e.match(a));)e=e.slice(i[0].length),n.attrs.push(i);if(r)return n.unarySlash=r[1],n.rest=e.slice(r[0].length),n}}function r(e){var n=e.tagName,r=e.unarySlash;s&&("p"===v&&hi(n)&&i("",v),pi(n)&&v===n&&i("",n));for(var a=c(n)||"html"===n&&"head"===v||!!r,u=e.attrs.length,l=new Array(u),f=0;u>f;f++){var d=e.attrs[f];fo&&-1===d[0].indexOf('""')&&(""===d[3]&&delete d[3],""===d[4]&&delete d[4],""===d[5]&&delete d[5]),l[f]={name:d[1],value:Bt(d[3]||d[4]||d[5]||"")}}a||(o.push({tag:n,attrs:l}),v=n,r=""),t.start&&t.start(n,l,a,r)}function i(e,n){var r=void 0;if(n){var i=n.toLowerCase();for(r=o.length-1;r>=0&&o[r].tag.toLowerCase()!==i;r--);}else r=0;if(r>=0){for(var a=o.length-1;a>=r;a--)t.end&&t.end(o[a].tag,o[a].attrs,a>r||!e);o.length=r,v=r&&o[r-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,""):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,"",!0),t.end&&t.end(n,[]))}for(var o=[],a=It(t),s=t.expectHTML,c=t.isUnaryTag||gr,u=t.isSpecialTag||vo,l=void 0,f=void 0,d=void 0,v=void 0;e;){if(l=e,v&&u(v))!function(){var n=v.toLowerCase(),r=po[n]||(po[n]=new RegExp("([\\s\\S]*?)]*>","i"));e=e.replace(r,function(e,r){return"script"!==n&&"style"!==n&&"noscript"!==n&&(r=r.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(r),""}),i("",n)}();else{var p=e.indexOf("<");if(0===p){if(/^");if(h>=0){e=e.substring(h+3),f="";continue}}if(/^");if(m>=0){e=e.substring(m+2),f="";continue}}var g=e.match(lo);if(g){t.doctype&&t.doctype(g[0]),e=e.substring(g[0].length),f="";continue}var y=e.match(uo);if(y){e=e.substring(y[0].length),y[0].replace(uo,i),f="/"+y[1].toLowerCase();continue}var _=n(e);if(_){e=_.rest,r(_),f=_.tagName.toLowerCase();continue}}var b=void 0;p>=0?(b=e.substring(0,p),e=e.substring(p)):(b=e,e="");var w=n(e);w?d=w.tagName:(w=e.match(uo),d=w?"/"+w[1]:""),t.chars&&t.chars(b,f,d),f=""}if(e===l)throw new Error("Error parsing template:\n\n"+e)}t.partialMarkup||i()}function Ut(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 Ht(e,t){var n=t?go(t):ho;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=Ut(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 en(e,t){Oo=t.warn||Vt,To=t.getTagNamespace||gr,jo=t.mustUseProp||gr,Lo=Kt(t.modules,"preTransformNode"),Eo=Kt(t.modules,"transformNode"),So=Kt(t.modules,"postTransformNode"),Mo=t.delimiters; +var n=[],r=void 0,i=void 0,o=!1;return Ft(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,start:function(e,a,s){ko.test(e)&&(e=pr(e)),e=e.toLowerCase();var c=i&&i.ns||To(e);t.isIE&&"svg"===c&&(a=gn(a));var u={type:1,tag:e,attrsList:a,attrsMap:pn(a),parent:i,children:[]};c&&(u.ns=c),mn(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 rn(e){var t=Qt(e,"key");t&&(e.key=t)}function on(e){var t=void 0;if(t=Xt(e,"v-for")){var n=t.match(Ao);if(!n)return;e["for"]=n[2].trim();var r=n[1].trim(),i=r.match(Co);i?(e.iterator=i[1].trim(),e.alias=i[2].trim()):e.alias=r}}function an(e){var t=Xt(e,"v-if");t&&(e["if"]=t),null!=Xt(e,"v-else")&&(e["else"]=!0)}function sn(e,t){var n=hn(t.children);n&&n["if"]&&(n.elseBlock=e)}function cn(e){var t=Xt(e,"v-once");null!=t&&(e.once=!0)}function un(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 ln(e){if("slot"===e.tag)e.slotName=Qt(e,"name");else{var t=Qt(e,"slot");t&&(e.slotTarget=t)}}function fn(e){var t=void 0;(t=Qt(e,"is"))&&(e.component=t),null!=Xt(e,"keep-alive")&&(e.keepAlive=!0),null!=Xt(e,"inline-template")&&(e.inlineTemplate=!0)}function dn(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,yo.test(i))if(s=vn(i),s&&(i=i.replace($o,"")),_o.test(i))i=i.replace(_o,""),jo(i)?Jt(e,i,o):qt(e,i,o);else if(bo.test(i))i=i.replace(bo,""),Yt(e,i,o,s);else{i=i.replace(yo,"");var c=i.match(wo);c&&(a=c[1])&&(i=i.slice(0,-(a.length+1))),Gt(e,i,o,a,s)}else Zt(e,i,JSON.stringify(o))}function vn(e){var t=e.match($o);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 pn(e){for(var t={},n=0,r=e.length;r>n;n++)t[e[n].name]=e[n].value;return t}function hn(e){for(var t=e.length;t--;)if(e[t].tag)return e[t]}function mn(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}function gn(e){for(var t=[],n=0;nt;t++){var r=e.children[t];bn(r),r["static"]||(e["static"]=!1)}}function wn(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++)wn(e.children[t])}function $n(e){return 2===e.type?!1:3===e.type?!0:!(!e.pre&&(e["if"]||e["for"]||cr(e.tag)||!Bo(e.tag)||!e.plain&&!Object.keys(e).every(Ro)))}function An(e){var t="on:{";for(var n in e)t+='"'+n+'":'+Cn(e[n])+",";return t.slice(0,-1)+"}"}function Cn(e){if(e){if(Array.isArray(e))return"["+e.map(Cn).join(",")+"]";if(e.modifiers){var t="function($event){";for(var n in e.modifiers)t+=Uo[n]||kn(n);var r=Po.test(e.value)?e.value+"($event)":e.value;return t+r+"}"}return Po.test(e.value)?e.value:"function($event){"+e.value+"}"}return"function(){}"}function kn(e){var t=Fo[e];return Array.isArray(t)?"if("+t.map(function(e){return"$event.keyCode!=="+e}).join("&&")+")return;":"if($event.keyCode!=="+t+")return;"}function xn(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 On(e,t){Wt(e,"construct","_b(n1,"+t.value+")")}function Tn(e,t){var n=Zo,r=Zo=[];Go=t,Ho=t.warn||Vt,Vo=Kt(t.modules,"transformCode"),Ko=Kt(t.modules,"genData"),Jo=t.directives||{},qo=t.isReservedTag||gr;var i=e?jn(e):'_h(_e("div"))';return Zo=n,{render:"with(this){return "+i+"}",staticRenderFns:r}}function jn(e){if(e["for"])return Sn(e);if(e["if"])return Ln(e);if("template"!==e.tag||e.slotTarget){if("render"===e.tag)return In(e);if("slot"===e.tag)return Pn(e);var t=void 0;if(e.component)t=Fn(e);else{var n=Mn(e),r=e.inlineTemplate?null:Dn(e,!e.ns&&!qo(e.tag));t="_h(_e('"+e.tag+"'"+(n?","+n:e.ns?",void 0":"")+(e.ns?",'"+e.ns+"'":"")+")"+(r?","+r:"")+")",e.staticRoot&&(Zo.push("with(this){return "+t+"}"),t="_m("+(Zo.length-1)+")")}for(var i=0;ii;i++){a=t[i],s=!0;var c=Jo[a.name]||zo[a.name];c&&(s=!!c(e,a,Ho)),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 Dn(e,t){if(e.children.length){var n="["+e.children.map(Rn).join(",")+"]";return t?"function(){return "+n+"}":n}}function Rn(e){return 1===e.type?jn(e):Bn(e)}function Bn(e){return 2===e.type?"("+e.expression+")":"_t("+JSON.stringify(e.text)+")"}function In(e){if(!e.renderMethod)return"void 0";var t=Dn(e);return e.renderMethod+"("+(e.renderArgs||"")+(t?(e.renderArgs?",":"")+t:"")+")"}function Pn(e){var t="$slots["+(e.slotName||'"default"')+"]",n=Dn(e);return n?"("+t+"||"+n+")":t}function Fn(e){var t=Dn(e,!0);return"_h(_e("+e.component+","+Mn(e)+")"+(t?","+t:"")+")"}function Un(e){for(var t="",n=0;n-1")+(":("+t+")===("+r+")")),Yt(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 Xn(e,t){var n=Qt(e,"value");Jt(e,"checked","("+t+")===("+n+")"),Yt(e,"change",t+"="+n)}function er(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),Jt(e,"value","("+t+")"),Yt(e,c,f),u?!0:void 0}function tr(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 Yt(e,"change",n),!0}function nr(e,t){t.value&&Jt(e,"textContent","_s("+t.value+")")}function rr(e,t){t.value&&Jt(e,"innerHTML","_s("+t.value+")")}function ir(e,t){return t=t?c(c({},ra),t):ra,Hn(e,t)}function or(e,t,n){var r=(t&&t.warn||Qr,t&&t.delimiters?String(t.delimiters)+e:e);if(na[r])return na[r];var i={},o=ir(e,t);i.render=ar(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var s=0;a>s;s++)i.staticRenderFns[s]=ar(o.staticRenderFns[s]);return na[r]=i}function ar(e){try{return new Function(e)}catch(t){return d}}function sr(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var cr=t("slot,component,render,transition",!0),ur=Object.prototype.hasOwnProperty,lr=/-(\w)/g,fr=o(function(e){return e.replace(lr,function(e,t){return t?t.toUpperCase():""})}),dr=o(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),vr=/([a-z\d])([A-Z])/g,pr=o(function(e){return e.replace(vr,"$1-$2").toLowerCase()}),hr=Object.prototype.toString,mr="[object Object]",gr=function(){return!1},yr={optionMergeStrategies:Object.create(null),silent:!1,errorHandler:null,isReservedTag:gr,isUnknownElement:gr,mustUseProp:gr,_assetTypes:["component","directive","transition","filter"],_lifecycleHooks:["init","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100,_isServer:!1,_ctors:[]},_r=/[^\w\.]/,br="__proto__"in{},wr="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),$r=wr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ar=wr&&window.navigator.userAgent.toLowerCase(),Cr=Ar&&/(iphone|ipad|ipod|ios)/i.test(Ar),kr=Ar&&Cr&&Ar.match(/os ([\d_]+)/),xr=kr&&kr[1].split("_"),Or=xr&&Number(xr[0])>=9&&Number(xr[1])>=3&&!window.indexedDB,Tr=function(){function e(){n=!1;var e=t.slice(0);t=[];for(var r=0;rt;t++)e[t].update()},e}();Er.target=null;var Sr=[],Mr=[],Nr={},Dr=!1,Rr=0,Br=void 0,Ir=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=++Rr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new jr,this.newDepIds=new jr,"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(){Br=Er.target,Er.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(){Er.target=Br;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=Er.target;this.value=this.get(),this.dirty=!1,Er.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}(),Pr=new jr,Fr=Array.prototype,Ur=Object.create(Fr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Fr[e];h(Ur,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 zr=Object.getOwnPropertyNames(Ur),Hr={shouldConvert:!0,isSettingProps:!1},Vr=function(){function e(e){if(this.value=e,this.dep=new Er,this.vmCount=0,h(e,"__ob__",this),Array.isArray(e)){var t=br?A:C;t(e,Ur,zr),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}(),Kr={enumerable:!0,configurable:!0,get:d,set:d},Jr=function(){function e(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=o,this.context=a,this.key=t&&t.key,this.componentOptions=s,this.child=void 0,this.parent=void 0;var c=t&&t.hook&&t.hook.construct;c&&c(this)}return e.prototype.setChildren=function(e){this.children=e},e}(),qr=function(){return new Jr(void 0,void 0,void 0,"")},Zr={init:W,prepatch:Y,insert:Q,destroy:X},Gr=Object.keys(Zr),Wr={activeInstance:null},Yr=0;he(ge),P(ge),pe(ge),J(ge),le(ge);var Qr=void 0,Xr=yr.optionMergeStrategies;Xr.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?ye(r,i):i}:void 0:t?"function"!=typeof t?e:e?function(){return ye(t.call(this),e.call(this))}:t:e},yr._lifecycleHooks.forEach(function(e){Xr[e]=_e}),yr._assetTypes.forEach(function(e){Xr[e+"s"]=be}),Xr.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},Xr.props=Xr.methods=Xr.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 ei=function(e,t){return void 0===t?e:t},ti=Object.freeze({defineReactive:x,renderString:e,makeMap:t,isBuiltInTag:cr,remove:n,hasOwn:r,isPrimitive:i,cached:o,camelize:fr,capitalize:dr,hyphenate:pr,bind:a,toArray:s,extend:c,isObject:u,isPlainObject:l,toObject:f,noop:d,no:gr,genStaticKeys:v,isReserved:p,def:h,parsePath:m,hasProto:br,inBrowser:wr,devtools:$r,nextTick:Tr,get _Set(){return jr},mergeOptions:Ce,resolveAsset:ke,warn:Qr,validateProp:xe}),ni={name:"keep-alive",_abstract:!0,props:{child:Object},created:function(){this.cache=Object.create(null)},render:function(){var e=this.child,t=Se(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()}}},ri={KeepAlive:ni};Me(ge),Object.defineProperty(ge.prototype,"$isServer",{get:function(){return yr._isServer}}),ge.version="2.0.0-alpha.1";var ii=t("value,selected,checked,muted"),oi=t("contenteditable,draggable,spellcheck"),ai=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"),si="http://www.w3.org/1999/xlink",ci=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},ui=function(e){return ci(e)?e.slice(6,e.length):""},li=function(e){return null==e||e===!1},fi={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},di=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"),vi=t("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr",!0),pi=t("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source",!0),hi=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),mi=t("svg,g,defs,symbol,use,image,text,circle,ellipse,line,path,polygon,polyline,rect",!0),gi=Object.create(null),yi=wr&&window.navigator.userAgent.toLowerCase(),_i=yi&&/msie|trident/.test(yi),bi=yi&&yi.indexOf("msie 9.0")>0,wi=yi&&yi.indexOf("android")>0,$i=Object.freeze({createElement:ze,createElementNS:He,createTextNode:Ve,insertBefore:Ke,removeChild:Je,appendChild:qe,parentNode:Ze,nextSibling:Ge,tagName:We,setTextContent:Ye,childNodes:Qe,setAttribute:Xe}),Ai=new Jr("",{},[]),Ci=["create","update","postpatch","remove","destroy"],ki={create:function(e,t){ot(e,t,"bind")},update:function(e,t){ot(e,t,"update")},postpatch:function(e,t){ot(e,t,"postupdate")},destroy:function(e){ot(e,e,"unbind")}},xi={create:function(e,t){at(t,!1)},destroy:function(e){at(e,!0)}},Oi=[xi,ki],Ti={create:function(e,t){var n=t.data.staticAttrs;if(n)for(var r in n)ct(t.elm,r,n[r]);st(e,t)},update:st},ji={create:ut,update:ut},Li={create:lt,update:lt},Ei={create:ft,update:ft},Si=["Webkit","Moz","ms"],Mi=void 0,Ni=o(function(e){if(Mi=Mi||document.createElement("div"),e=fr(e),"filter"!==e&&e in Mi.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,no=/=/,ro=[no],io=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],oo="[a-zA-Z_][\\w\\-\\.]*",ao="((?:"+oo+"\\:)?"+oo+")",so=new RegExp("^<"+ao),co=/^\s*(\/?)>/,uo=new RegExp("^<\\/"+ao+"[^>]*>"),lo=/^]+>/i,fo=!1;"x".replace(/x(.)?/g,function(e,t){fo=""===t});var vo=t("script,style",!0),po={},ho=/\{\{((?:.|\\n)+?)\}\}/g,mo=/[-.*+?^${}()|[\]\/\\]/g,go=o(function(e){var t=e[0].replace(mo,"\\$&"),n=e[1].replace(mo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),yo=/^v-|^@|^:/,_o=/^:|^v-bind:/,bo=/^@|^v-on:/,wo=/:(.*)$/,$o=/\.[^\.]+/g,Ao=/(.*)\s+(?:in|of)\s+(.*)/,Co=/\((.*),(.*)\)/,ko=/[a-z\d][A-Z]/,xo=o(Bt),Oo=void 0,To=void 0,jo=void 0,Lo=void 0,Eo=void 0,So=void 0,Mo=void 0,No=/^xmlns:NS\d+/,Do=/^NS\d+:/,Ro=void 0,Bo=void 0,Io=o(_n),Po=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,Fo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Uo={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;"},zo={ref:xn,bind:On,cloak:d},Ho=void 0,Vo=void 0,Ko=void 0,Jo=void 0,qo=void 0,Zo=void 0,Go=void 0,Wo=(new RegExp("\\b"+"do,if,in,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,typeof,default,extends,finally,continue,debugger,function,arguments,instanceof".split(",").join("\\b|\\b")+"\\b"),{staticKeys:["staticClass"],transformNode:Vn,genData:Kn}),Yo={transformNode:Jn,genData:qn},Qo={transformNode:Zn,genData:Gn,transformCode:Wn},Xo=[Wo,Yo,Qo],ea=void 0,ta={model:Yn,text:nr,html:rr},na=Object.create(null),ra={isIE:_i,expectHTML:!0,modules:Xo,staticKeys:v(Xo),directives:ta,isReservedTag:di,isUnaryTag:vi,mustUseProp:ii,getTagNamespace:Pe},ia=o(function(e){var t=Ue(e);return t&&t.innerHTML}),oa=ge.prototype.$mount;return ge.prototype.$mount=function(e,t){e=e&&Ue(e);var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ia(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=sr(e));if(r){var i=or(r,{delimiters:n.delimiters,warn:Qr},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return oa.call(this,e,t)},ge.compile=or,ge}); \ No newline at end of file diff --git a/packages/vue-server-renderer/index.js b/packages/vue-server-renderer/index.js index c098ccc2..3a5cd7d3 100644 --- a/packages/vue-server-renderer/index.js +++ b/packages/vue-server-renderer/index.js @@ -444,12 +444,6 @@ if (typeof Set !== 'undefined' && Set.toString().match(/native code/)) { } var config = { - - /** - * Preserve whitespaces between elements. - */ - preserveWhitespace: true, - /** * Option merge strategies (used in core/util/options) */ @@ -1224,7 +1218,8 @@ var proxyHandlers = void 0; var initProxy = void 0; if (process.env.NODE_ENV !== 'production') { (function () { - var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl'); + var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require,__webpack_require__' // for Webpack/Browserify + ); hasProxy = typeof Proxy !== 'undefined' && Proxy.toString().match(/native code/); @@ -1405,10 +1400,11 @@ var Watcher = function () { if (config.errorHandler) { config.errorHandler.call(null, e, this.vm); } else { - warn(e.stack); + throw e; } } // return old value when evaluation fails so the current UI is preserved + // if the error was somehow handled by user value = this.value; } // "touch" every property so they are all tracked as @@ -1821,9 +1817,9 @@ var VNode = function () { return VNode; }(); -var emptyVNode = new VNode(undefined, undefined, undefined, ''); - -var whitespace = new VNode(undefined, undefined, undefined, ' '); +var emptyVNode = function emptyVNode() { + return new VNode(undefined, undefined, undefined, ''); +}; function normalizeChildren(children) { // invoke children thunks. @@ -1843,13 +1839,8 @@ function normalizeChildren(children) { if (Array.isArray(c)) { res.push.apply(res, normalizeChildren(c)); } else if (isPrimitive(c)) { - // optimize whitespace - if (c === ' ') { - res.push(whitespace); - } else { - // convert primitive to vnode - res.push(new VNode(undefined, undefined, undefined, c)); - } + // convert primitive to vnode + res.push(new VNode(undefined, undefined, undefined, c)); } else if (c instanceof VNode) { res.push(c); } @@ -1938,7 +1929,7 @@ function renderElement(tag, data, namespace) { } if (!tag) { // in case of component :is set to falsy value - return emptyVNode; + return emptyVNode(); } if (typeof tag === 'string') { var Ctor = void 0; @@ -1992,19 +1983,24 @@ function renderMixin(Vue) { Vue.prototype._render = function () { var vm = this; + + // set current active instance var prev = renderState.activeInstance; renderState.activeInstance = vm; - if (!vm._isMounted) { - // render static sub-trees for once on initial render - renderStaticTrees(vm); - } + var _vm$$options = vm.$options; var render = _vm$$options.render; + var staticRenderFns = _vm$$options.staticRenderFns; var _renderChildren = _vm$$options._renderChildren; var _parentVnode = _vm$$options._parentVnode; + + + if (staticRenderFns && !vm._staticTrees) { + // render static sub-trees for once on initial render + renderStaticTrees(vm, staticRenderFns); + } // resolve slots. becaues slots are rendered in parent scope, // we set the activeInstance to parent. - if (_renderChildren) { resolveSlots(vm, _renderChildren); } @@ -2015,7 +2011,7 @@ function renderMixin(Vue) { if (process.env.NODE_ENV !== 'production' && Array.isArray(vnode)) { warn('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm); } - vnode = emptyVNode; + vnode = emptyVNode(); } // set parent vnode.parent = _parentVnode; @@ -2088,13 +2084,10 @@ function renderMixin(Vue) { }; } -function renderStaticTrees(vm) { - var staticRenderFns = vm.$options.staticRenderFns; - if (staticRenderFns) { - var trees = vm._staticTrees = new Array(staticRenderFns.length); - for (var i = 0; i < staticRenderFns.length; i++) { - trees[i] = staticRenderFns[i].call(vm._renderProxy); - } +function renderStaticTrees(vm, fns) { + var trees = vm._staticTrees = new Array(fns.length); + for (var i = 0; i < fns.length; i++) { + trees[i] = fns[i].call(vm._renderProxy); } } @@ -2222,9 +2215,7 @@ function lifecycleMixin(Vue) { var vm = this; vm.$el = el; if (!vm.$options.render) { - vm.$options.render = function () { - return emptyVNode; - }; + vm.$options.render = emptyVNode; if (process.env.NODE_ENV !== 'production') { /* istanbul ignore if */ if (vm.$options.template) { diff --git a/packages/vue-server-renderer/package.json b/packages/vue-server-renderer/package.json index 7e31fb06..62f99e10 100644 --- a/packages/vue-server-renderer/package.json +++ b/packages/vue-server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "vue-server-renderer", - "version": "0.1.0", + "version": "2.0.0-alpha.1", "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 59bc77c2..b7747c57 100644 --- a/packages/vue-template-compiler/index.js +++ b/packages/vue-template-compiler/index.js @@ -4,6 +4,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau var entities = require('entities'); var deindent = _interopDefault(require('de-indent')); +var sourceMap = require('source-map'); /** * Convert a value to a string that is actually rendered. @@ -184,12 +185,6 @@ function genStaticKeys(modules) { } var config = { - - /** - * Preserve whitespaces between elements. - */ - preserveWhitespace: true, - /** * Option merge strategies (used in core/util/options) */ @@ -424,7 +419,8 @@ var proxyHandlers = void 0; var initProxy = void 0; if (process.env.NODE_ENV !== 'production') { (function () { - var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl'); + var allowedGlobals = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require,__webpack_require__' // for Webpack/Browserify + ); hasProxy = typeof Proxy !== 'undefined' && Proxy.toString().match(/native code/); @@ -645,10 +641,11 @@ var Watcher = function () { if (config.errorHandler) { config.errorHandler.call(null, e, this.vm); } else { - warn(e.stack); + throw e; } } // return old value when evaluation fails so the current UI is preserved + // if the error was somehow handled by user value = this.value; } // "touch" every property so they are all tracked as @@ -1310,9 +1307,9 @@ var VNode = function () { return VNode; }(); -var emptyVNode = new VNode(undefined, undefined, undefined, ''); - -var whitespace = new VNode(undefined, undefined, undefined, ' '); +var emptyVNode = function emptyVNode() { + return new VNode(undefined, undefined, undefined, ''); +}; function normalizeChildren(children) { // invoke children thunks. @@ -1332,13 +1329,8 @@ function normalizeChildren(children) { if (Array.isArray(c)) { res.push.apply(res, normalizeChildren(c)); } else if (isPrimitive(c)) { - // optimize whitespace - if (c === ' ') { - res.push(whitespace); - } else { - // convert primitive to vnode - res.push(new VNode(undefined, undefined, undefined, c)); - } + // convert primitive to vnode + res.push(new VNode(undefined, undefined, undefined, c)); } else if (c instanceof VNode) { res.push(c); } @@ -1426,9 +1418,7 @@ function lifecycleMixin(Vue) { var vm = this; vm.$el = el; if (!vm.$options.render) { - vm.$options.render = function () { - return emptyVNode; - }; + vm.$options.render = emptyVNode; if (process.env.NODE_ENV !== 'production') { /* istanbul ignore if */ if (vm.$options.template) { @@ -1805,7 +1795,7 @@ function renderElement(tag, data, namespace) { } if (!tag) { // in case of component :is set to falsy value - return emptyVNode; + return emptyVNode(); } if (typeof tag === 'string') { var Ctor = void 0; @@ -1859,19 +1849,24 @@ function renderMixin(Vue) { Vue.prototype._render = function () { var vm = this; + + // set current active instance var prev = renderState.activeInstance; renderState.activeInstance = vm; - if (!vm._isMounted) { - // render static sub-trees for once on initial render - renderStaticTrees(vm); - } + var _vm$$options = vm.$options; var render = _vm$$options.render; + var staticRenderFns = _vm$$options.staticRenderFns; var _renderChildren = _vm$$options._renderChildren; var _parentVnode = _vm$$options._parentVnode; + + + if (staticRenderFns && !vm._staticTrees) { + // render static sub-trees for once on initial render + renderStaticTrees(vm, staticRenderFns); + } // resolve slots. becaues slots are rendered in parent scope, // we set the activeInstance to parent. - if (_renderChildren) { resolveSlots(vm, _renderChildren); } @@ -1882,7 +1877,7 @@ function renderMixin(Vue) { if (process.env.NODE_ENV !== 'production' && Array.isArray(vnode)) { warn('Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm); } - vnode = emptyVNode; + vnode = emptyVNode(); } // set parent vnode.parent = _parentVnode; @@ -1955,13 +1950,10 @@ function renderMixin(Vue) { }; } -function renderStaticTrees(vm) { - var staticRenderFns = vm.$options.staticRenderFns; - if (staticRenderFns) { - var trees = vm._staticTrees = new Array(staticRenderFns.length); - for (var i = 0; i < staticRenderFns.length; i++) { - trees[i] = staticRenderFns[i].call(vm._renderProxy); - } +function renderStaticTrees(vm, fns) { + var trees = vm._staticTrees = new Array(fns.length); + for (var i = 0; i < fns.length; i++) { + trees[i] = fns[i].call(vm._renderProxy); } } @@ -2960,6 +2952,14 @@ function baseWarn(msg) { console.error('[Vue parser]: ' + msg); } +function pluckModuleFunction(modules, key) { + return modules ? modules.map(function (m) { + return m[key]; + }).filter(function (_) { + return _; + }) : []; +} + function addProp(el, name, value) { (el.props || (el.props = [])).push({ name: name, value: value }); } @@ -3047,7 +3047,9 @@ var decodeHTMLCached = cached(entities.decodeHTML); var warn$1 = void 0; var platformGetTagNamespace = void 0; var platformMustUseProp = void 0; -var platformModules = void 0; +var preTransforms = void 0; +var transforms = void 0; +var postTransforms = void 0; var delimiters = void 0; /** @@ -3057,7 +3059,9 @@ function parse(template, options) { warn$1 = options.warn || baseWarn; platformGetTagNamespace = options.getTagNamespace || no; platformMustUseProp = options.mustUseProp || no; - platformModules = options.modules || []; + preTransforms = pluckModuleFunction(options.modules, 'preTransformNode'); + transforms = pluckModuleFunction(options.modules, 'transformNode'); + postTransforms = pluckModuleFunction(options.modules, 'postTransformNode'); delimiters = options.delimiters; var stack = []; var root = void 0; @@ -3103,6 +3107,11 @@ function parse(template, options) { process.env.NODE_ENV !== 'production' && warn$1('Templates should only be responsbile for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + ('<' + tag + '>.')); } + // apply pre-transforms + for (var i = 0; i < preTransforms.length; i++) { + preTransforms[i](element, options); + } + if (!inPre) { processPre(element); if (element.pre) { @@ -3122,8 +3131,8 @@ function parse(template, options) { processRender(element); processSlot(element); processComponent(element); - for (var i = 0; i < platformModules.length; i++) { - platformModules[i].transformNode(element, options); + for (var _i = 0; _i < transforms.length; _i++) { + transforms[_i](element, options); } processAttrs(element); } @@ -3156,6 +3165,10 @@ function parse(template, options) { currentParent = element; stack.push(element); } + // apply post-transforms + for (var _i2 = 0; _i2 < postTransforms.length; _i2++) { + postTransforms[_i2](element, options); + } }, end: function end() { // remove trailing whitespace @@ -3182,7 +3195,7 @@ function parse(template, options) { } text = currentParent.tag === 'pre' || text.trim() ? decodeHTMLCached(text) // only preserve whitespace if its not right after a starting tag - : options.preserveWhitespace && currentParent.children.length ? ' ' : ''; + : currentParent.children.length ? ' ' : ''; if (text) { var expression = void 0; if (!inPre && text !== ' ' && (expression = parseText(text, delimiters))) { @@ -3212,7 +3225,7 @@ function processPre(el) { function processRawAttrs(el) { var l = el.attrsList.length; if (l) { - var attrs = el.attrs = new Array(l); + var attrs = el.staticAttrs = new Array(l); for (var i = 0; i < l; i++) { attrs[i] = { name: el.attrsList[i].name, @@ -3584,7 +3597,8 @@ var baseDirectives = { // configurable state var warn$2 = void 0; -var platformModules$1 = void 0; +var transforms$1 = void 0; +var dataGenFns = void 0; var platformDirectives = void 0; var isPlatformReservedTag$1 = void 0; var staticRenderFns = void 0; @@ -3596,7 +3610,8 @@ function generate(ast, options) { var currentStaticRenderFns = staticRenderFns = []; currentOptions = options; warn$2 = options.warn || baseWarn; - platformModules$1 = options.modules || []; + transforms$1 = pluckModuleFunction(options.modules, 'transformCode'); + dataGenFns = pluckModuleFunction(options.modules, 'genData'); platformDirectives = options.directives || {}; isPlatformReservedTag$1 = options.isReservedTag || no; var code = ast ? genElement(ast) : '_h(_e("div"))'; @@ -3638,12 +3653,9 @@ function genElement(el) { code = '_m(' + (staticRenderFns.length - 1) + ')'; } } - // platform modules - for (var i = 0; i < platformModules$1.length; i++) { - var transform = platformModules$1[i].transformCode; - if (transform) { - code = transform(el, code); - } + // module transforms + for (var i = 0; i < transforms$1.length; i++) { + code = transforms$1[i](el, code); } // check keep-alive if (el.component && el.keepAlive) { @@ -3702,9 +3714,9 @@ function genData(el) { if (el.slotTarget) { data += 'slot:' + el.slotTarget + ','; } - // platform modules - for (var i = 0; i < platformModules$1.length; i++) { - data += platformModules$1[i].genData(el); + // module data generation functions + for (var i = 0; i < dataGenFns.length; i++) { + data += dataGenFns[i](el); } // v-show, used to avoid transition being applied // since v-show takes it over @@ -3845,6 +3857,8 @@ function compile$2(template, options) { }; } +var keywordRE = new RegExp('\\b' + ('do,if,in,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,typeof,default,' + 'extends,finally,continue,debugger,function,arguments,instanceof').split(',').join('\\b|\\b') + '\\b'); + // detect problematic expressions in a template function detectErrors(ast) { var errors = []; @@ -3875,13 +3889,23 @@ function checkNode(node, errors) { } function checkExpression(exp, text, errors) { - try { - new Function(exp); - } catch (e) { - errors.push('- invalid expression: ' + text); + exp = stripToString(exp); + var keywordMatch = exp.match(keywordRE); + if (keywordMatch) { + errors.push('- avoid using JavaScript keyword as property name: ' + ('"' + keywordMatch[0] + '" in expression ' + text)); + } else { + try { + new Function(exp); + } catch (e) { + errors.push('- invalid expression: ' + text); + } } } +function stripToString(exp) { + return exp.replace(/^_s\((.*)\)$/, '$1'); +} + function transformNode(el, options) { var warn = options.warn || baseWarn; var staticClass = getAndRemoveAttr(el, 'class'); @@ -4073,13 +4097,11 @@ var directives = { html: html }; -var cache1 = Object.create(null); -var cache2 = Object.create(null); +var cache = Object.create(null); var baseOptions = { isIE: isIE, expectHTML: true, - preserveWhitespace: true, modules: modules, staticKeys: genStaticKeys(modules), directives: directives, @@ -4107,7 +4129,6 @@ function compileToFunctions(template, options, vm) { } } } - var cache = options && options.preserveWhitespace === false ? cache1 : cache2; var key = options && options.delimiters ? String(options.delimiters) + template : template; if (cache[key]) { return cache[key]; @@ -4138,19 +4159,23 @@ function makeFunction(code) { } } +var splitRE = /\r?\n/g; +var emptyRE = /^(?:\/\/)?\s*$/; var isSpecialTag = makeMap('script,style,template', true); /** * Parse a single-file component (*.vue) file into an SFC Descriptor Object. */ -function parseSFC(content) { +function parseComponent(content) { + var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; + var sfc = { template: null, script: null, styles: [] }; var depth = 0; - var currentBlock = void 0; + var currentBlock = null; function start(tag, attrs) { depth++; @@ -4158,39 +4183,90 @@ function parseSFC(content) { return; } if (isSpecialTag(tag)) { - var block = currentBlock = { + currentBlock = { type: tag, content: '' }; - for (var i = 0; i < attrs.length; i++) { - var attr = attrs[i]; - if (attr.name === 'lang') { - block.lang = attr.value; - } - if (attr.name === 'scoped') { - block.scoped = true; - } - if (attr.name === 'src') { - block.src = attr.value; - } - } + checkAttrs(currentBlock, attrs); if (tag === 'style') { - sfc.styles.push(block); + sfc.styles.push(currentBlock); } else { - sfc[tag] = block; + sfc[tag] = currentBlock; + } + } + } + + function checkAttrs(block, attrs) { + for (var i = 0; i < attrs.length; i++) { + var attr = attrs[i]; + if (attr.name === 'lang') { + block.lang = attr.value; + } + if (attr.name === 'scoped') { + block.scoped = true; + } + if (attr.name === 'src') { + block.src = attr.value; } } } function end() { depth--; + if (options.map && currentBlock && !currentBlock.src) { + addSourceMap(currentBlock); + } currentBlock = null; } function chars(text) { if (currentBlock) { - currentBlock.content = deindent(text); + currentBlock.start = content.indexOf(text); + currentBlock.end = currentBlock.start + text.length; + text = deindent(text); + // pad content so that linters and pre-processors can output correct + // line numbers in errors and warnings + if (currentBlock.type !== 'template' && options.pad) { + text = padContent(currentBlock) + text; + } + currentBlock.content = text; + } + } + + function padContent(block) { + var padChar = block.type === 'script' && !block.lang ? '//\n' : '\n'; + return Array(getPaddingOffset(block) + 1).join(padChar); + } + + function getPaddingOffset(block) { + return content.slice(0, block.start).split(splitRE).length - 1; + } + + function addSourceMap(block) { + var filename = options.map.filename; + /* istanbul ignore if */ + if (!filename) { + throw new Error('Should provide original filename in the map option.'); } + var offset = options.pad ? 0 : getPaddingOffset(block); + var map = new sourceMap.SourceMapGenerator(); + map.setSourceContent(filename, content); + block.content.split(splitRE).forEach(function (line, index) { + if (!emptyRE.test(line)) { + map.addMapping({ + source: filename, + original: { + line: index + 1 + offset, + column: 0 + }, + generated: { + line: index + 1, + column: 0 + } + }); + } + }); + block.map = JSON.parse(map.toString()); } parseHTML(content, { @@ -4204,8 +4280,14 @@ function parseSFC(content) { } function compile(template, options) { + options = options || {}; var errors = []; + // allow injecting modules/directives + var modules = options.modules ? baseOptions.modules.concat(options.modules) : baseOptions.modules; + var directives = options.directives ? extend(extend({}, baseOptions.directives), options.directives) : baseOptions.directives; var compiled = compile$1(template, { + modules: modules, + directives: directives, warn: function warn(msg) { errors.push(msg); } @@ -4215,5 +4297,5 @@ function compile(template, options) { } exports.compile = compile; -exports.parseComponent = parseSFC; +exports.parseComponent = parseComponent; exports.compileToFunctions = compileToFunctions; \ No newline at end of file diff --git a/packages/vue-template-compiler/package.json b/packages/vue-template-compiler/package.json index 74e359cc..99db6061 100644 --- a/packages/vue-template-compiler/package.json +++ b/packages/vue-template-compiler/package.json @@ -1,6 +1,6 @@ { "name": "vue-template-compiler", - "version": "0.1.0", + "version": "2.0.0-alpha.1", "description": "template compiler for Vue 2.0", "main": "index.js", "repository": { diff --git a/src/core/index.js b/src/core/index.js index c0f5e4b8..07d6f562 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.0' +Vue.version = '2.0.0-alpha.1' export default Vue