diff --git a/dist/build.js b/dist/build.js index c9feb75..da00142 100644 --- a/dist/build.js +++ b/dist/build.js @@ -1,7 +1,7 @@ -!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=3)}([function(t,e,n){"use strict";function r(t,e){t.forEach(function(t){isNaN(Number(t))?e.event=t:e.transition=t})}e.a={bind:function(t,e){function n(t,e){var n=e,r=n.getBoundingClientRect(),o=r.left,s=r.top,l=n.offsetWidth,u=n.offsetHeight,c=t.clientX-o,f=t.clientY-s,p=Math.max(c,l-c),A=Math.max(f,u-f),d=window.getComputedStyle(n),v=Math.sqrt(p*p+A*A),m=document.createElement("div"),h=document.createElement("div");m.style.marginTop="0px",m.style.marginLeft="0px",m.style.width="1px",m.style.height="1px",m.style.transition="all "+i.transition+"ms cubic-bezier(0.4, 0, 0.2, 1)",m.style.borderRadius="50%",m.style.pointerEvents="none",m.style.position="relative",m.style.zIndex="9999",m.style.backgroundColor=a,h.style.position="absolute",h.style.left="0",h.style.top="0",h.style.height="0",h.style.width="0",h.style.pointerEvents="none",h.style.overflow="hidden",h.appendChild(m),document.body.appendChild(h),m.style.marginLeft=c+"px",m.style.marginTop=f+"px",h.style.left=o+((window.pageXOffset||document.scrollLeft)-(document.clientLeft||0)||0)+"px",h.style.top=s+((window.pageYOffset||document.scrollTop)-(document.clientTop||0)||0)+"px",h.style.width=l+"px",h.style.height=u+"px",h.style.borderTopLeftRadius=d.borderTopLeftRadius,h.style.borderTopRightRadius=d.borderTopRightRadius,h.style.borderBottomLeftRadius=d.borderBottomLeftRadius,h.style.borderBottomRightRadius=d.borderBottomRightRadius,setTimeout(function(){m.style.width=2*v+"px",m.style.height=2*v+"px",m.style.marginLeft=c-v+"px",m.style.marginTop=f-v+"px"},0),setTimeout(function(){m.style.backgroundColor="rgba(0, 0, 0, 0)"},250),setTimeout(function(){m.remove(),h.remove()},650)}var i={event:"click",transition:600};r(Object.keys(e.modifiers),i),t.addEventListener(i.event,function(r){n(r,t,e.value)});var a=e.value||"rgba(0, 0, 0, 0.35)"}}},function(t,e,n){n(10);var r=n(8)(n(4),n(9),"data-v-70466aad",null);t.exports=r.exports},function(t,e,n){"use strict";(function(t){/*! +!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=3)}([function(t,e,n){"use strict";function r(t,e){t.forEach(function(t){isNaN(Number(t))?e.event=t:e.transition=t})}e.a={bind:function(t,e){function n(t,e){var n=e,r=n.getBoundingClientRect(),o=r.left,s=r.top,l=n.offsetWidth,u=n.offsetHeight,c=t.clientX-o,f=t.clientY-s,p=Math.max(c,l-c),A=Math.max(f,u-f),d=window.getComputedStyle(n),v=Math.sqrt(p*p+A*A),m=document.createElement("div"),h=document.createElement("div");m.style.marginTop="0px",m.style.marginLeft="0px",m.style.width="1px",m.style.height="1px",m.style.transition="all "+i.transition+"ms cubic-bezier(0.4, 0, 0.2, 1)",m.style.borderRadius="50%",m.style.pointerEvents="none",m.style.position="relative",m.style.zIndex="9999",m.style.backgroundColor=a,h.style.position="absolute",h.style.left="0",h.style.top="0",h.style.height="0",h.style.width="0",h.style.pointerEvents="none",h.style.overflow="hidden",h.appendChild(m),document.body.appendChild(h),m.style.marginLeft=c+"px",m.style.marginTop=f+"px",h.style.left=o+((window.pageXOffset||document.scrollLeft)-(document.clientLeft||0)||0)+"px",h.style.top=s+((window.pageYOffset||document.scrollTop)-(document.clientTop||0)||0)+"px",h.style.width=l+"px",h.style.height=u+"px",h.style.borderTopLeftRadius=d.borderTopLeftRadius,h.style.borderTopRightRadius=d.borderTopRightRadius,h.style.borderBottomLeftRadius=d.borderBottomLeftRadius,h.style.borderBottomRightRadius=d.borderBottomRightRadius,setTimeout(function(){m.style.width=2*v+"px",m.style.height=2*v+"px",m.style.marginLeft=c-v+"px",m.style.marginTop=f-v+"px"},0),"mousedown"==t.type?e.addEventListener("mouseup",function(t){setTimeout(function(){m.style.backgroundColor="rgba(0, 0, 0, 0)"},250),setTimeout(function(){m.remove(),h.remove()},750)}):(setTimeout(function(){m.style.backgroundColor="rgba(0, 0, 0, 0)"},250),setTimeout(function(){m.remove(),h.remove()},650))}var i={event:"mousedown",transition:600};r(Object.keys(e.modifiers),i),t.addEventListener(i.event,function(r){n(r,t,e.value)});var a=e.value||"rgba(0, 0, 0, 0.35)"}}},function(t,e,n){n(10);var r=n(8)(n(4),n(9),"data-v-0efca469",null);t.exports=r.exports},function(t,e,n){"use strict";(function(t){/*! * Vue.js v2.3.3 * (c) 2014-2017 Evan You * Released under the MIT License. */ -function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function a(t){return!1===t}function o(t){return"string"==typeof t||"number"==typeof t}function s(t){return null!==t&&"object"==typeof t}function l(t){return"[object Object]"===wi.call(t)}function u(t){return"[object RegExp]"===wi.call(t)}function c(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}function d(t,e){return Ki.call(t,e)}function v(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function m(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function h(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function y(t,e){for(var n in e)t[n]=e[n];return t}function g(t){for(var e={},n=0;nUa&&xa[n].id>t.id;)n--;xa.splice(n+1,0,t)}else xa.push(t);Ia||(Ia=!0,la(xt))}}function Ut(t){Ka.clear(),wt(t,Ka)}function wt(t,e){var n,r,i=Array.isArray(t);if((i||s(t))&&Object.isExtensible(t)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(n=t.length;n--;)wt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)wt(t[r[n]],e)}}function Tt(t,e,n){Ra.get=function(){return this[e][n]},Ra.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ra)}function Kt(t){t._watchers=[];var e=t.$options;e.props&&Rt(t,e.props),e.methods&&Pt(t,e.methods),e.data?Wt(t):K(t._data={},!0),e.computed&&Ot(t,e.computed),e.watch&&Ft(t,e.watch)}function Rt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],a=!t.$parent;va.shouldConvert=a;for(var o in e)!function(a){i.push(a);var o=N(a,e,n,t);R(r,a,o),a in t||Tt(t,"_props",a)}(o);va.shouldConvert=!0}function Wt(t){var e=t.$options.data;e=t._data="function"==typeof e?Jt(e,t):e||{},l(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=n.length;i--;)r&&d(r,n[i])||S(n[i])||Tt(t,"_data",n[i]);K(e,!0)}function Jt(t,e){try{return t.call(e)}catch(t){return q(t,e,"data()"),{}}}function Ot(t,e){var n=t._computedWatchers=Object.create(null);for(var r in e){var i=e[r],a="function"==typeof i?i:i.get;n[r]=new Ta(t,a,b,Wa),r in t||Xt(t,r,i)}}function Xt(t,e,n){"function"==typeof n?(Ra.get=Bt(e),Ra.set=b):(Ra.get=n.get?!1!==n.cache?Bt(e):n.get:b,Ra.set=n.set?n.set:b),Object.defineProperty(t,e,Ra)}function Bt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ca.target&&e.depend(),e.value}}function Pt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?b:m(e[n],t)}function Ft(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function me(t){this._init(t)}function he(t){t.use=function(t){if(t.installed)return this;var e=h(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),t.installed=!0,this}}function ye(t){t.mixin=function(t){return this.options=M(this.options,t),this}}function ge(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var a=t.name||n.options.name,o=function(t){this._init(t)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=e++,o.options=M(n.options,t),o.super=n,o.options.props&&be(o),o.options.computed&&Ce(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,Pi.forEach(function(t){o[t]=n[t]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=t,o.sealedOptions=y({},o.options),i[r]=o,o}}function be(t){var e=t.options.props;for(var n in e)Tt(t.prototype,"_props",n)}function Ce(t){var e=t.options.computed;for(var n in e)Xt(t.prototype,n,e[n])}function Le(t){Pi.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Ve(t){return t&&(t.Ctor.options.name||t.tag)}function Se(t,e){return"string"==typeof t?t.split(",").indexOf(e)>-1:!!u(t)&&t.test(e)}function xe(t,e,n){for(var r in t){var i=t[r];if(i){var a=Ve(i.componentOptions);a&&!n(a)&&(i!==e&&Ee(i),t[r]=null)}}}function Ee(t){t&&t.componentInstance.$destroy()}function qe(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(e=Ie(i.data,e));for(;r(n=n.parent);)n.data&&(e=Ie(e,n.data));return ke(e)}function Ie(t,e){return{staticClass:Ue(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function ke(t){var e=t.class,n=t.staticClass;return r(n)||r(e)?Ue(n,we(e)):""}function Ue(t,e){return t?e?t+" "+e:t:e||""}function we(t){if(n(t))return"";if("string"==typeof t)return t;var e="";if(Array.isArray(t)){for(var i,a=0,o=t.length;a-1?Ao[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Ao[t]=/HTMLUnknownElement/.test(e.toString())}function Re(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function We(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Je(t,e){return document.createElementNS(lo[t],e)}function Oe(t){return document.createTextNode(t)}function Xe(t){return document.createComment(t)}function Be(t,e,n){t.insertBefore(e,n)}function Pe(t,e){t.removeChild(e)}function Fe(t,e){t.appendChild(e)}function Ze(t){return t.parentNode}function Me(t){return t.nextSibling}function Qe(t){return t.tagName}function Ne(t,e){t.textContent=e}function Ye(t,e,n){t.setAttribute(e,n)}function je(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?A(a[n],i):a[n]===i&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function ze(t,e){return t.key===e.key&&t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&He(t,e)}function He(t,e){if("input"!==t.tag)return!0;var n;return(r(n=t.data)&&r(n=n.attrs)&&n.type)===(r(n=e.data)&&r(n=n.attrs)&&n.type)}function De(t,e,n){var i,a,o={};for(i=e;i<=n;++i)a=t[i].key,r(a)&&(o[a]=i);return o}function Ge(t,e){(t.data.directives||e.data.directives)&&_e(t,e)}function _e(t,e){var n,r,i,a=t===ho,o=e===ho,s=$e(t.data.directives,t.context),l=$e(e.data.directives,e.context),u=[],c=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,en(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(en(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n=0&&" "===(m=t.charAt(v));v--);m&&So.test(m)||(c=!0)}}else void 0===a?(d=i+1,a=t.slice(0,i).trim()):e();if(void 0===a?a=t.slice(0,i).trim():0!==d&&e(),o)for(i=0;i=Qa}function Cn(t){return 34===t||39===t}function Ln(t){var e=1;for(za=ja;!bn();)if(t=gn(),Cn(t))Vn(t);else if(91===t&&e++,93===t&&e--,0===e){Ha=ja;break}}function Vn(t){for(var e=t;!bn()&&(t=gn())!==e;);}function Sn(t,e,n){Da=n;var r=e.value,i=e.modifiers,a=t.tag,o=t.attrsMap.type;if("select"===a)qn(t,r,i);else if("input"===a&&"checkbox"===o)xn(t,r,i);else if("input"===a&&"radio"===o)En(t,r,i);else if("input"===a||"textarea"===a)In(t,r,i);else if(!Zi.isReservedTag(a))return mn(t,r,i),!1;return!0}function xn(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null",a=dn(t,"true-value")||"true",o=dn(t,"false-value")||"false";cn(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===a?":("+e+")":":_q("+e+","+a+")")),An(t,Eo,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+e+"=$$a.concat($$v))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+hn(e,"$$c")+"}",null,!0)}function En(t,e,n){var r=n&&n.number,i=dn(t,"value")||"null";i=r?"_n("+i+")":i,cn(t,"checked","_q("+e+","+i+")"),An(t,Eo,hn(e,i),null,!0)}function qn(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",a="var $$selectedVal = "+i+";";a=a+" "+hn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),An(t,"change",a,null,!0)}function In(t,e,n){var r=t.attrsMap.type,i=n||{},a=i.lazy,o=i.number,s=i.trim,l=!a&&"range"!==r,u=a?"change":"range"===r?xo:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),o&&(c="_n("+c+")");var f=hn(e,c);l&&(f="if($event.target.composing)return;"+f),cn(t,"value","("+e+")"),An(t,u,f,null,!0),(s||o||"number"===r)&&An(t,"blur","$forceUpdate()")}function kn(t){var e;r(t[xo])&&(e=Hi?"change":"input",t[e]=[].concat(t[xo],t[e]||[]),delete t[xo]),r(t[Eo])&&(e=ta?"click":"change",t[e]=[].concat(t[Eo],t[e]||[]),delete t[Eo])}function Un(t,e,n,r,i){if(n){var a=e,o=Ga;e=function(n){null!==(1===arguments.length?a(n):a.apply(null,arguments))&&wn(t,e,r,o)}}Ga.addEventListener(t,e,ea?{capture:r,passive:i}:r)}function wn(t,e,n,r){(r||Ga).removeEventListener(t,e,n)}function Tn(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},i=t.data.on||{};Ga=e.elm,kn(r),$(r,i,Un,wn,e.context)}}function Kn(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,a,o=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};r(l.__ob__)&&(l=e.data.domProps=y({},l));for(i in s)n(l[i])&&(o[i]="");for(i in l)if(a=l[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),a!==s[i]))if("value"===i){o._value=a;var u=n(a)?"":String(a);Rn(o,e,u)&&(o.value=u)}else o[i]=a}}function Rn(t,e,n){return!t.composing&&("option"===e.tag||Wn(t,n)||Jn(t,n))}function Wn(t,e){return document.activeElement!==t&&t.value!==e}function Jn(t,e){var n=t.value,i=t._vModifiers;return r(i)&&i.number||"number"===t.type?f(n)!==f(e):r(i)&&i.trim?n.trim()!==e.trim():n!==e}function On(t){var e=Xn(t.style);return t.staticStyle?y(t.staticStyle,e):e}function Xn(t){return Array.isArray(t)?g(t):"string"==typeof t?ko(t):t}function Bn(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=On(i.data))&&y(r,n);(n=On(t.data))&&y(r,n);for(var a=t;a=a.parent;)a.data&&(n=On(a.data))&&y(r,n);return r}function Pn(t,e){var i=e.data,a=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(a.staticStyle)&&n(a.style))){var o,s,l=e.elm,u=a.staticStyle,c=a.normalizedStyle||a.style||{},f=u||c,p=Xn(e.data.style)||{};e.data.normalizedStyle=r(p.__ob__)?y({},p):p;var A=Bn(e,!0);for(s in f)n(A[s])&&To(l,s,"");for(s in A)(o=A[s])!==f[s]&&To(l,s,null==o?"":o)}}function Fn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Zn(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e);else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.setAttribute("class",n.trim())}}function Mn(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&y(e,Jo(t.name||"v")),y(e,t),e}return"string"==typeof t?Jo(t):void 0}}function Qn(t){Qo(function(){Qo(t)})}function Nn(t,e){(t._transitionClasses||(t._transitionClasses=[])).push(e),Fn(t,e)}function Yn(t,e){t._transitionClasses&&A(t._transitionClasses,e),Zn(t,e)}function jn(t,e,n){var r=zn(t,e),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Xo?Fo:Mo,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=o&&u()};setTimeout(function(){l0&&(n=Xo,c=o,f=a.length):e===Bo?u>0&&(n=Bo,c=u,f=l.length):(c=Math.max(o,u),n=c>0?o>u?Xo:Bo:null,f=n?n===Xo?a.length:l.length:0),{type:n,timeout:c,propCount:f,hasTransform:n===Xo&&No.test(r[Po+"Property"])}}function Hn(t,e){for(;t.length1}function er(t,e){!0!==e.data.show&&Gn(e)}function nr(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,l=t.options.length;s-1,o.selected!==a&&(o.selected=a);else if(C(ir(o),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function rr(t,e){for(var n=0,r=e.length;n=0&&o[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=o.length-1;l>=i;l--)e.end&&e.end(o[l].tag,n,r);o.length=i,a=i&&o[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,a,o=[],s=e.expectHTML,l=e.isUnaryTag||Oi,u=e.canBeLeftOpenTag||Oi,c=0;t;){if(i=t,a&&Xs(a)){var f=a.toLowerCase(),p=Bs[f]||(Bs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),A=0,d=t.replace(p,function(t,n,r){return A=r.length,Xs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});c+=t.length-d.length,t=d,r(f,c-A,c)}else{var v=t.indexOf("<");if(0===v){if(hs.test(t)){var m=t.indexOf("--\x3e");if(m>=0){n(m+3);continue}}if(ys.test(t)){var h=t.indexOf("]>");if(h>=0){n(h+2);continue}}var y=t.match(ms);if(y){n(y[0].length);continue}var g=t.match(vs);if(g){var b=c;n(g[0].length),r(g[1],b,c);continue}var C=function(){var e=t.match(As);if(e){var r={tagName:e[1],attrs:[],start:c};n(e[0].length);for(var i,a;!(i=t.match(ds))&&(a=t.match(cs));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(C){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===a&&ls(n)&&r(a),u(n)&&a===n&&r(n));for(var c=l(n)||"html"===n&&"head"===a||!!i,f=t.attrs.length,p=new Array(f),A=0;A=0){for(V=t.slice(v);!(vs.test(V)||As.test(V)||hs.test(V)||ys.test(V)||(S=V.indexOf("<",1))<0);)v+=S,V=t.slice(v);L=t.substring(0,v),n(v)}v<0&&(L=t,t=""),e.chars&&L&&e.chars(L)}if(t===i){e.chars&&e.chars(t);break}}r()}function br(t,e){var n=e?Qs(e):Ms;if(n.test(t)){for(var r,i,a=[],o=n.lastIndex=0;r=n.exec(t);){i=r.index,i>o&&a.push(JSON.stringify(t.slice(o,i)));var s=on(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o0,Gi=zi&&zi.indexOf("edge/")>0,_i=zi&&zi.indexOf("android")>0,$i=zi&&/iphone|ipad|ipod|ios/.test(zi),ta=zi&&/chrome\/\d+/.test(zi)&&!Gi,ea=!1;if(ji)try{var na={};Object.defineProperty(na,"passive",{get:function(){ea=!0}}),window.addEventListener("test-passive",null,na)}catch(t){}var ra,ia,aa=function(){return void 0===ra&&(ra=!ji&&void 0!==t&&"server"===t.process.env.VUE_ENV),ra},oa=ji&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,sa="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys),la=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?h(n):n;for(var r=h(arguments,1),i=0,a=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Uo=/^--/,wo=/\s*!important$/,To=function(t,e,n){if(Uo.test(e))t.style.setProperty(e,n);else if(wo.test(n))t.style.setProperty(e,n.replace(wo,""),"important");else{var r=Ro(e);if(Array.isArray(n))for(var i=0,a=n.length;id?(f=n(i[h+1])?null:i[h+1].elm,y(t,f,i,A,h,a)):A>h&&b(t,e,p,d)}function V(t,e,a,o){if(t!==e){if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var s,l=e.data;r(l)&&r(s=l.hook)&&r(s=s.prepatch)&&s(t,e);var u=e.elm=t.elm,c=t.children,f=e.children;if(r(l)&&v(e)){for(s=0;s',n.innerHTML.indexOf(e)>0}("\n"," "),os=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ss=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ls=p("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"),us=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],cs=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+us.join("|")+"))?"),fs="[a-zA-Z_][\\w\\-\\.]*",ps="((?:"+fs+"\\:)?"+fs+")",As=new RegExp("^<"+ps),ds=/^\s*(\/?)>/,vs=new RegExp("^<\\/"+ps+"[^>]*>"),ms=/^]+>/i,hs=/^/g,"$1").replace(//g,"$1")),e.chars&&e.chars(n),""});c+=t.length-d.length,t=d,r(f,c-A,c)}else{var v=t.indexOf("<");if(0===v){if(hs.test(t)){var m=t.indexOf("--\x3e");if(m>=0){n(m+3);continue}}if(ys.test(t)){var h=t.indexOf("]>");if(h>=0){n(h+2);continue}}var y=t.match(ms);if(y){n(y[0].length);continue}var g=t.match(vs);if(g){var b=c;n(g[0].length),r(g[1],b,c);continue}var C=function(){var e=t.match(As);if(e){var r={tagName:e[1],attrs:[],start:c};n(e[0].length);for(var i,a;!(i=t.match(ds))&&(a=t.match(cs));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(C){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===a&&ls(n)&&r(a),u(n)&&a===n&&r(n));for(var c=l(n)||"html"===n&&"head"===a||!!i,f=t.attrs.length,p=new Array(f),A=0;A=0){for(V=t.slice(v);!(vs.test(V)||As.test(V)||hs.test(V)||ys.test(V)||(S=V.indexOf("<",1))<0);)v+=S,V=t.slice(v);L=t.substring(0,v),n(v)}v<0&&(L=t,t=""),e.chars&&L&&e.chars(L)}if(t===i){e.chars&&e.chars(t);break}}r()}function br(t,e){var n=e?Qs(e):Ms;if(n.test(t)){for(var r,i,a=[],o=n.lastIndex=0;r=n.exec(t);){i=r.index,i>o&&a.push(JSON.stringify(t.slice(o,i)));var s=on(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o0,Gi=zi&&zi.indexOf("edge/")>0,_i=zi&&zi.indexOf("android")>0,$i=zi&&/iphone|ipad|ipod|ios/.test(zi),ta=zi&&/chrome\/\d+/.test(zi)&&!Gi,ea=!1;if(ji)try{var na={};Object.defineProperty(na,"passive",{get:function(){ea=!0}}),window.addEventListener("test-passive",null,na)}catch(t){}var ra,ia,aa=function(){return void 0===ra&&(ra=!ji&&void 0!==t&&"server"===t.process.env.VUE_ENV),ra},oa=ji&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,sa="undefined"!=typeof Symbol&&I(Symbol)&&"undefined"!=typeof Reflect&&I(Reflect.ownKeys),la=function(){function t(){r=!1;var t=n.slice(0);n.length=0;for(var e=0;e1?h(n):n;for(var r=h(arguments,1),i=0,a=n.length;i1&&(e[n[0].trim()]=n[1].trim())}}),e}),Uo=/^--/,wo=/\s*!important$/,To=function(t,e,n){if(Uo.test(e))t.style.setProperty(e,n);else if(wo.test(n))t.style.setProperty(e,n.replace(wo,""),"important");else{var r=Ro(e);if(Array.isArray(n))for(var i=0,a=n.length;id?(f=n(i[h+1])?null:i[h+1].elm,y(t,f,i,A,h,a)):A>h&&b(t,e,p,d)}function V(t,e,a,o){if(t!==e){if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))return e.elm=t.elm,void(e.componentInstance=t.componentInstance);var s,l=e.data;r(l)&&r(s=l.hook)&&r(s=s.prepatch)&&s(t,e);var u=e.elm=t.elm,c=t.children,f=e.children;if(r(l)&&v(e)){for(s=0;s',n.innerHTML.indexOf(e)>0}("\n"," "),os=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ss=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ls=p("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"),us=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],cs=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+us.join("|")+"))?"),fs="[a-zA-Z_][\\w\\-\\.]*",ps="((?:"+fs+"\\:)?"+fs+")",As=new RegExp("^<"+ps),ds=/^\s*(\/?)>/,vs=new RegExp("^<\\/"+ps+"[^>]*>"),ms=/^]+>/i,hs=/^ ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm)\n ? ((formatComponentName(vm[0])) + \"... (\" + (vm[1]) + \" recursive calls)\")\n : formatComponentName(vm))); })\n .join('\\n')\n } else {\n return (\"\\n\\n(found in \" + (formatComponentName(vm)) + \")\")\n }\n };\n}\n\n/* */\n\nfunction handleError (err, vm, info) {\n if (config.errorHandler) {\n config.errorHandler.call(null, err, vm, info);\n } else {\n if (false) {\n warn((\"Error in \" + info + \": \\\"\" + (err.toString()) + \"\\\"\"), vm);\n }\n /* istanbul ignore else */\n if (inBrowser && typeof console !== 'undefined') {\n console.error(err);\n } else {\n throw err\n }\n }\n}\n\n/* */\n/* globals MutationObserver */\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nvar isAndroid = UA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nvar isChrome = UA && /chrome\\/\\d+/.test(UA) && !isEdge;\n\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', ({\n get: function get () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n } )); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n } catch (e) {}\n}\n\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer = global['process'].env.VUE_ENV === 'server';\n } else {\n _isServer = false;\n }\n }\n return _isServer\n};\n\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\n/* istanbul ignore next */\nfunction isNative (Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString())\n}\n\nvar hasSymbol =\n typeof Symbol !== 'undefined' && isNative(Symbol) &&\n typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys);\n\n/**\n * Defer a task to execute it asynchronously.\n */\nvar nextTick = (function () {\n var callbacks = [];\n var pending = false;\n var timerFunc;\n\n function nextTickHandler () {\n pending = false;\n var copies = callbacks.slice(0);\n callbacks.length = 0;\n for (var i = 0; i < copies.length; i++) {\n copies[i]();\n }\n }\n\n // the nextTick behavior leverages the microtask queue, which can be accessed\n // via either native Promise.then or MutationObserver.\n // MutationObserver has wider support, however it is seriously bugged in\n // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It\n // completely stops working after triggering a few times... so, if native\n // Promise is available, we will use it:\n /* istanbul ignore if */\n if (typeof Promise !== 'undefined' && isNative(Promise)) {\n var p = Promise.resolve();\n var logError = function (err) { console.error(err); };\n timerFunc = function () {\n p.then(nextTickHandler).catch(logError);\n // in problematic UIWebViews, Promise.then doesn't completely break, but\n // it can get stuck in a weird state where callbacks are pushed into the\n // microtask queue but the queue isn't being flushed, until the browser\n // needs to do some other work, e.g. handle a timer. Therefore we can\n // \"force\" the microtask queue to be flushed by adding an empty timer.\n if (isIOS) { setTimeout(noop); }\n };\n } else if (typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n // PhantomJS and iOS 7.x\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n )) {\n // use MutationObserver where native Promise is not available,\n // e.g. PhantomJS IE11, iOS7, Android 4.4\n var counter = 1;\n var observer = new MutationObserver(nextTickHandler);\n var textNode = document.createTextNode(String(counter));\n observer.observe(textNode, {\n characterData: true\n });\n timerFunc = function () {\n counter = (counter + 1) % 2;\n textNode.data = String(counter);\n };\n } else {\n // fallback to setTimeout\n /* istanbul ignore next */\n timerFunc = function () {\n setTimeout(nextTickHandler, 0);\n };\n }\n\n return function queueNextTick (cb, ctx) {\n var _resolve;\n callbacks.push(function () {\n if (cb) {\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n if (!pending) {\n pending = true;\n timerFunc();\n }\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(function (resolve, reject) {\n _resolve = resolve;\n })\n }\n }\n})();\n\nvar _Set;\n/* istanbul ignore if */\nif (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n} else {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = (function () {\n function Set () {\n this.set = Object.create(null);\n }\n Set.prototype.has = function has (key) {\n return this.set[key] === true\n };\n Set.prototype.add = function add (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function clear () {\n this.set = Object.create(null);\n };\n\n return Set;\n }());\n}\n\n/* */\n\n\nvar uid = 0;\n\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n */\nvar Dep = function Dep () {\n this.id = uid++;\n this.subs = [];\n};\n\nDep.prototype.addSub = function addSub (sub) {\n this.subs.push(sub);\n};\n\nDep.prototype.removeSub = function removeSub (sub) {\n remove(this.subs, sub);\n};\n\nDep.prototype.depend = function depend () {\n if (Dep.target) {\n Dep.target.addDep(this);\n }\n};\n\nDep.prototype.notify = function notify () {\n // stabilize the subscriber list first\n var subs = this.subs.slice();\n for (var i = 0, l = subs.length; i < l; i++) {\n subs[i].update();\n }\n};\n\n// the current target watcher being evaluated.\n// this is globally unique because there could be only one\n// watcher being evaluated at any time.\nDep.target = null;\nvar targetStack = [];\n\nfunction pushTarget (_target) {\n if (Dep.target) { targetStack.push(Dep.target); }\n Dep.target = _target;\n}\n\nfunction popTarget () {\n Dep.target = targetStack.pop();\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\n\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);[\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n]\n.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator () {\n var arguments$1 = arguments;\n\n // avoid leaking arguments:\n // http://jsperf.com/closure-with-arguments\n var i = arguments.length;\n var args = new Array(i);\n while (i--) {\n args[i] = arguments$1[i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n inserted = args;\n break\n case 'unshift':\n inserted = args;\n break\n case 'splice':\n inserted = args.slice(2);\n break\n }\n if (inserted) { ob.observeArray(inserted); }\n // notify change\n ob.dep.notify();\n return result\n });\n});\n\n/* */\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\n\n/**\n * By default, when a reactive property is set, the new value is\n * also converted to become reactive. However when passing down props,\n * we don't want to force conversion because the value may be a nested value\n * under a frozen data structure. Converting it would defeat the optimization.\n */\nvar observerState = {\n shouldConvert: true,\n isSettingProps: false\n};\n\n/**\n * Observer class that are attached to each observed\n * object. Once attached, the observer converts target\n * object's property keys into getter/setters that\n * collect dependencies and dispatches updates.\n */\nvar Observer = function Observer (value) {\n this.value = value;\n this.dep = new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (Array.isArray(value)) {\n var augment = hasProto\n ? protoAugment\n : copyAugment;\n augment(value, arrayMethods, arrayKeys);\n this.observeArray(value);\n } else {\n this.walk(value);\n }\n};\n\n/**\n * Walk through each property and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\nObserver.prototype.walk = function walk (obj) {\n var keys = Object.keys(obj);\n for (var i = 0; i < keys.length; i++) {\n defineReactive$$1(obj, keys[i], obj[keys[i]]);\n }\n};\n\n/**\n * Observe a list of Array items.\n */\nObserver.prototype.observeArray = function observeArray (items) {\n for (var i = 0, l = items.length; i < l; i++) {\n observe(items[i]);\n }\n};\n\n// helpers\n\n/**\n * Augment an target Object or Array by intercepting\n * the prototype chain using __proto__\n */\nfunction protoAugment (target, src) {\n /* eslint-disable no-proto */\n target.__proto__ = src;\n /* eslint-enable no-proto */\n}\n\n/**\n * Augment an target Object or Array by defining\n * hidden properties.\n */\n/* istanbul ignore next */\nfunction copyAugment (target, src, keys) {\n for (var i = 0, l = keys.length; i < l; i++) {\n var key = keys[i];\n def(target, key, src[key]);\n }\n}\n\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe (value, asRootData) {\n if (!isObject(value)) {\n return\n }\n var ob;\n if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n ob = value.__ob__;\n } else if (\n observerState.shouldConvert &&\n !isServerRendering() &&\n (Array.isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value._isVue\n ) {\n ob = new Observer(value);\n }\n if (asRootData && ob) {\n ob.vmCount++;\n }\n return ob\n}\n\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive$$1 (\n obj,\n key,\n val,\n customSetter\n) {\n var dep = new Dep();\n\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return\n }\n\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n\n var childOb = observe(val);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter () {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n dep.depend();\n if (childOb) {\n childOb.dep.depend();\n }\n if (Array.isArray(value)) {\n dependArray(value);\n }\n }\n return value\n },\n set: function reactiveSetter (newVal) {\n var value = getter ? getter.call(obj) : val;\n /* eslint-disable no-self-compare */\n if (newVal === value || (newVal !== newVal && value !== value)) {\n return\n }\n /* eslint-enable no-self-compare */\n if (false) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n } else {\n val = newVal;\n }\n childOb = observe(newVal);\n dep.notify();\n }\n });\n}\n\n/**\n * Set a property on an object. Adds the new property and\n * triggers change notification if the property doesn't\n * already exist.\n */\nfunction set (target, key, val) {\n if (Array.isArray(target) && typeof key === 'number') {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n return val\n }\n if (hasOwn(target, key)) {\n target[key] = val;\n return val\n }\n var ob = (target ).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' && warn(\n 'Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.'\n );\n return val\n }\n if (!ob) {\n target[key] = val;\n return val\n }\n defineReactive$$1(ob.value, key, val);\n ob.dep.notify();\n return val\n}\n\n/**\n * Delete a property and trigger change if necessary.\n */\nfunction del (target, key) {\n if (Array.isArray(target) && typeof key === 'number') {\n target.splice(key, 1);\n return\n }\n var ob = (target ).__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' && warn(\n 'Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.'\n );\n return\n }\n if (!hasOwn(target, key)) {\n return\n }\n delete target[key];\n if (!ob) {\n return\n }\n ob.dep.notify();\n}\n\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray (value) {\n for (var e = (void 0), i = 0, l = value.length; i < l; i++) {\n e = value[i];\n e && e.__ob__ && e.__ob__.dep.depend();\n if (Array.isArray(e)) {\n dependArray(e);\n }\n }\n}\n\n/* */\n\n/**\n * Option overwriting strategies are functions that handle\n * how to merge a parent option value and a child option\n * value into the final value.\n */\nvar strats = config.optionMergeStrategies;\n\n/**\n * Options with restrictions\n */\nif (false) {\n strats.el = strats.propsData = function (parent, child, vm, key) {\n if (!vm) {\n warn(\n \"option \\\"\" + key + \"\\\" can only be used during instance \" +\n 'creation with the `new` keyword.'\n );\n }\n return defaultStrat(parent, child)\n };\n}\n\n/**\n * Helper that recursively merges two data objects together.\n */\nfunction mergeData (to, from) {\n if (!from) { return to }\n var key, toVal, fromVal;\n var keys = Object.keys(from);\n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n toVal = to[key];\n fromVal = from[key];\n if (!hasOwn(to, key)) {\n set(to, key, fromVal);\n } else if (isPlainObject(toVal) && isPlainObject(fromVal)) {\n mergeData(toVal, fromVal);\n }\n }\n return to\n}\n\n/**\n * Data\n */\nstrats.data = function (\n parentVal,\n childVal,\n vm\n) {\n if (!vm) {\n // in a Vue.extend merge, both should be functions\n if (!childVal) {\n return parentVal\n }\n if (typeof childVal !== 'function') {\n \"production\" !== 'production' && warn(\n 'The \"data\" option should be a function ' +\n 'that returns a per-instance value in component ' +\n 'definitions.',\n vm\n );\n return parentVal\n }\n if (!parentVal) {\n return childVal\n }\n // when parentVal & childVal are both present,\n // we need to return a function that returns the\n // merged result of both functions... no need to\n // check if parentVal is a function here because\n // it has to be a function to pass previous merges.\n return function mergedDataFn () {\n return mergeData(\n childVal.call(this),\n parentVal.call(this)\n )\n }\n } else if (parentVal || childVal) {\n return function mergedInstanceDataFn () {\n // instance merge\n var instanceData = typeof childVal === 'function'\n ? childVal.call(vm)\n : childVal;\n var defaultData = typeof parentVal === 'function'\n ? parentVal.call(vm)\n : undefined;\n if (instanceData) {\n return mergeData(instanceData, defaultData)\n } else {\n return defaultData\n }\n }\n }\n};\n\n/**\n * Hooks and props are merged as arrays.\n */\nfunction mergeHook (\n parentVal,\n childVal\n) {\n return childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal\n}\n\nLIFECYCLE_HOOKS.forEach(function (hook) {\n strats[hook] = mergeHook;\n});\n\n/**\n * Assets\n *\n * When a vm is present (instance creation), we need to do\n * a three-way merge between constructor options, instance\n * options and parent options.\n */\nfunction mergeAssets (parentVal, childVal) {\n var res = Object.create(parentVal || null);\n return childVal\n ? extend(res, childVal)\n : res\n}\n\nASSET_TYPES.forEach(function (type) {\n strats[type + 's'] = mergeAssets;\n});\n\n/**\n * Watchers.\n *\n * Watchers hashes should not overwrite one\n * another, so we merge them as arrays.\n */\nstrats.watch = function (parentVal, childVal) {\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key in childVal) {\n var parent = ret[key];\n var child = childVal[key];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key] = parent\n ? parent.concat(child)\n : [child];\n }\n return ret\n};\n\n/**\n * Other object hashes.\n */\nstrats.props =\nstrats.methods =\nstrats.computed = function (parentVal, childVal) {\n if (!childVal) { return Object.create(parentVal || null) }\n if (!parentVal) { return childVal }\n var ret = Object.create(null);\n extend(ret, parentVal);\n extend(ret, childVal);\n return ret\n};\n\n/**\n * Default strategy.\n */\nvar defaultStrat = function (parentVal, childVal) {\n return childVal === undefined\n ? parentVal\n : childVal\n};\n\n/**\n * Validate component names\n */\nfunction checkComponents (options) {\n for (var key in options.components) {\n var lower = key.toLowerCase();\n if (isBuiltInTag(lower) || config.isReservedTag(lower)) {\n warn(\n 'Do not use built-in or reserved HTML elements as component ' +\n 'id: ' + key\n );\n }\n }\n}\n\n/**\n * Ensure all props option syntax are normalized into the\n * Object-based format.\n */\nfunction normalizeProps (options) {\n var props = options.props;\n if (!props) { return }\n var res = {};\n var i, val, name;\n if (Array.isArray(props)) {\n i = props.length;\n while (i--) {\n val = props[i];\n if (typeof val === 'string') {\n name = camelize(val);\n res[name] = { type: null };\n } else if (false) {\n warn('props must be strings when using array syntax.');\n }\n }\n } else if (isPlainObject(props)) {\n for (var key in props) {\n val = props[key];\n name = camelize(key);\n res[name] = isPlainObject(val)\n ? val\n : { type: val };\n }\n }\n options.props = res;\n}\n\n/**\n * Normalize raw function directives into object format.\n */\nfunction normalizeDirectives (options) {\n var dirs = options.directives;\n if (dirs) {\n for (var key in dirs) {\n var def = dirs[key];\n if (typeof def === 'function') {\n dirs[key] = { bind: def, update: def };\n }\n }\n }\n}\n\n/**\n * Merge two option objects into a new one.\n * Core utility used in both instantiation and inheritance.\n */\nfunction mergeOptions (\n parent,\n child,\n vm\n) {\n if (false) {\n checkComponents(child);\n }\n\n if (typeof child === 'function') {\n child = child.options;\n }\n\n normalizeProps(child);\n normalizeDirectives(child);\n var extendsFrom = child.extends;\n if (extendsFrom) {\n parent = mergeOptions(parent, extendsFrom, vm);\n }\n if (child.mixins) {\n for (var i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm);\n }\n }\n var options = {};\n var key;\n for (key in parent) {\n mergeField(key);\n }\n for (key in child) {\n if (!hasOwn(parent, key)) {\n mergeField(key);\n }\n }\n function mergeField (key) {\n var strat = strats[key] || defaultStrat;\n options[key] = strat(parent[key], child[key], vm, key);\n }\n return options\n}\n\n/**\n * Resolve an asset.\n * This function is used because child instances need access\n * to assets defined in its ancestor chain.\n */\nfunction resolveAsset (\n options,\n type,\n id,\n warnMissing\n) {\n /* istanbul ignore if */\n if (typeof id !== 'string') {\n return\n }\n var assets = options[type];\n // check local registration variations first\n if (hasOwn(assets, id)) { return assets[id] }\n var camelizedId = camelize(id);\n if (hasOwn(assets, camelizedId)) { return assets[camelizedId] }\n var PascalCaseId = capitalize(camelizedId);\n if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] }\n // fallback to prototype chain\n var res = assets[id] || assets[camelizedId] || assets[PascalCaseId];\n if (false) {\n warn(\n 'Failed to resolve ' + type.slice(0, -1) + ': ' + id,\n options\n );\n }\n return res\n}\n\n/* */\n\nfunction validateProp (\n key,\n propOptions,\n propsData,\n vm\n) {\n var prop = propOptions[key];\n var absent = !hasOwn(propsData, key);\n var value = propsData[key];\n // handle boolean props\n if (isType(Boolean, prop.type)) {\n if (absent && !hasOwn(prop, 'default')) {\n value = false;\n } else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) {\n value = true;\n }\n }\n // check default value\n if (value === undefined) {\n value = getPropDefaultValue(vm, prop, key);\n // since the default value is a fresh copy,\n // make sure to observe it.\n var prevShouldConvert = observerState.shouldConvert;\n observerState.shouldConvert = true;\n observe(value);\n observerState.shouldConvert = prevShouldConvert;\n }\n if (false) {\n assertProp(prop, key, value, vm, absent);\n }\n return value\n}\n\n/**\n * Get the default value of a prop.\n */\nfunction getPropDefaultValue (vm, prop, key) {\n // no default, return undefined\n if (!hasOwn(prop, 'default')) {\n return undefined\n }\n var def = prop.default;\n // warn against non-factory defaults for Object & Array\n if (false) {\n warn(\n 'Invalid default value for prop \"' + key + '\": ' +\n 'Props with type Object/Array must use a factory function ' +\n 'to return the default value.',\n vm\n );\n }\n // the raw prop value was also undefined from previous render,\n // return previous default value to avoid unnecessary watcher trigger\n if (vm && vm.$options.propsData &&\n vm.$options.propsData[key] === undefined &&\n vm._props[key] !== undefined\n ) {\n return vm._props[key]\n }\n // call factory function for non-Function types\n // a value is Function if its prototype is function even across different execution context\n return typeof def === 'function' && getType(prop.type) !== 'Function'\n ? def.call(vm)\n : def\n}\n\n/**\n * Assert whether a prop is valid.\n */\nfunction assertProp (\n prop,\n name,\n value,\n vm,\n absent\n) {\n if (prop.required && absent) {\n warn(\n 'Missing required prop: \"' + name + '\"',\n vm\n );\n return\n }\n if (value == null && !prop.required) {\n return\n }\n var type = prop.type;\n var valid = !type || type === true;\n var expectedTypes = [];\n if (type) {\n if (!Array.isArray(type)) {\n type = [type];\n }\n for (var i = 0; i < type.length && !valid; i++) {\n var assertedType = assertType(value, type[i]);\n expectedTypes.push(assertedType.expectedType || '');\n valid = assertedType.valid;\n }\n }\n if (!valid) {\n warn(\n 'Invalid prop: type check failed for prop \"' + name + '\".' +\n ' Expected ' + expectedTypes.map(capitalize).join(', ') +\n ', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.',\n vm\n );\n return\n }\n var validator = prop.validator;\n if (validator) {\n if (!validator(value)) {\n warn(\n 'Invalid prop: custom validator check failed for prop \"' + name + '\".',\n vm\n );\n }\n }\n}\n\nvar simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/;\n\nfunction assertType (value, type) {\n var valid;\n var expectedType = getType(type);\n if (simpleCheckRE.test(expectedType)) {\n valid = typeof value === expectedType.toLowerCase();\n } else if (expectedType === 'Object') {\n valid = isPlainObject(value);\n } else if (expectedType === 'Array') {\n valid = Array.isArray(value);\n } else {\n valid = value instanceof type;\n }\n return {\n valid: valid,\n expectedType: expectedType\n }\n}\n\n/**\n * Use function string name to check built-in types,\n * because a simple equality check will fail when running\n * across different vms / iframes.\n */\nfunction getType (fn) {\n var match = fn && fn.toString().match(/^\\s*function (\\w+)/);\n return match ? match[1] : ''\n}\n\nfunction isType (type, fn) {\n if (!Array.isArray(fn)) {\n return getType(fn) === getType(type)\n }\n for (var i = 0, len = fn.length; i < len; i++) {\n if (getType(fn[i]) === getType(type)) {\n return true\n }\n }\n /* istanbul ignore next */\n return false\n}\n\n/* */\n\nvar mark;\nvar measure;\n\nif (false) {\n var perf = inBrowser && window.performance;\n /* istanbul ignore if */\n if (\n perf &&\n perf.mark &&\n perf.measure &&\n perf.clearMarks &&\n perf.clearMeasures\n ) {\n mark = function (tag) { return perf.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf.measure(name, startTag, endTag);\n perf.clearMarks(startTag);\n perf.clearMarks(endTag);\n perf.clearMeasures(name);\n };\n }\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\n\nvar initProxy;\n\nif (false) {\n var allowedGlobals = makeMap(\n 'Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +\n 'require' // for Webpack/Browserify\n );\n\n var warnNonPresent = function (target, key) {\n warn(\n \"Property or method \\\"\" + key + \"\\\" is not defined on the instance but \" +\n \"referenced during render. Make sure to declare reactive data \" +\n \"properties in the data option.\",\n target\n );\n };\n\n var hasProxy =\n typeof Proxy !== 'undefined' &&\n Proxy.toString().match(/native code/);\n\n if (hasProxy) {\n var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function set (target, key, value) {\n if (isBuiltInModifier(key)) {\n warn((\"Avoid overwriting built-in modifier in config.keyCodes: .\" + key));\n return false\n } else {\n target[key] = value;\n return true\n }\n }\n });\n }\n\n var hasHandler = {\n has: function has (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals(key) || key.charAt(0) === '_';\n if (!has && !isAllowed) {\n warnNonPresent(target, key);\n }\n return has || !isAllowed\n }\n };\n\n var getHandler = {\n get: function get (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n warnNonPresent(target, key);\n }\n return target[key]\n }\n };\n\n initProxy = function initProxy (vm) {\n if (hasProxy) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped\n ? getHandler\n : hasHandler;\n vm._renderProxy = new Proxy(vm, handlers);\n } else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/* */\n\nvar VNode = function VNode (\n tag,\n data,\n children,\n text,\n elm,\n context,\n componentOptions\n) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.functionalContext = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n};\n\nvar prototypeAccessors = { child: {} };\n\n// DEPRECATED: alias for componentInstance for backwards compat.\n/* istanbul ignore next */\nprototypeAccessors.child.get = function () {\n return this.componentInstance\n};\n\nObject.defineProperties( VNode.prototype, prototypeAccessors );\n\nvar createEmptyVNode = function () {\n var node = new VNode();\n node.text = '';\n node.isComment = true;\n return node\n};\n\nfunction createTextVNode (val) {\n return new VNode(undefined, undefined, undefined, String(val))\n}\n\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode (vnode) {\n var cloned = new VNode(\n vnode.tag,\n vnode.data,\n vnode.children,\n vnode.text,\n vnode.elm,\n vnode.context,\n vnode.componentOptions\n );\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.isCloned = true;\n return cloned\n}\n\nfunction cloneVNodes (vnodes) {\n var len = vnodes.length;\n var res = new Array(len);\n for (var i = 0; i < len; i++) {\n res[i] = cloneVNode(vnodes[i]);\n }\n return res\n}\n\n/* */\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once$$1 ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once$$1,\n capture: capture,\n passive: passive\n }\n});\n\nfunction createFnInvoker (fns) {\n function invoker () {\n var arguments$1 = arguments;\n\n var fns = invoker.fns;\n if (Array.isArray(fns)) {\n for (var i = 0; i < fns.length; i++) {\n fns[i].apply(null, arguments$1);\n }\n } else {\n // return handler return value for single handlers\n return fns.apply(null, arguments)\n }\n }\n invoker.fns = fns;\n return invoker\n}\n\nfunction updateListeners (\n on,\n oldOn,\n add,\n remove$$1,\n vm\n) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n \"production\" !== 'production' && warn(\n \"Invalid handler for event \\\"\" + (event.name) + \"\\\": got \" + String(cur),\n vm\n );\n } else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur);\n }\n add(event.name, cur, event.once, event.capture, event.passive);\n } else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove$$1(event.name, oldOn[name], event.capture);\n }\n }\n}\n\n/* */\n\nfunction mergeVNodeHook (def, hookKey, hook) {\n var invoker;\n var oldHook = def[hookKey];\n\n function wrappedHook () {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove(invoker.fns, wrappedHook);\n }\n\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n } else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n } else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\n/* */\n\nfunction extractPropsFromVNodeData (\n data,\n Ctor,\n tag\n) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return\n }\n var res = {};\n var attrs = data.attrs;\n var props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (false) {\n var keyInLowerCase = key.toLowerCase();\n if (\n key !== keyInLowerCase &&\n attrs && hasOwn(attrs, keyInLowerCase)\n ) {\n tip(\n \"Prop \\\"\" + keyInLowerCase + \"\\\" is passed to component \" +\n (formatComponentName(tag || Ctor)) + \", but the declared prop name is\" +\n \" \\\"\" + key + \"\\\". \" +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\" + altKey + \"\\\" instead of \\\"\" + key + \"\\\".\"\n );\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res\n}\n\nfunction checkProp (\n res,\n hash,\n key,\n altKey,\n preserve\n) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true\n } else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true\n }\n }\n return false\n}\n\n/* */\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren (children) {\n for (var i = 0; i < children.length; i++) {\n if (Array.isArray(children[i])) {\n return Array.prototype.concat.apply([], children)\n }\n }\n return children\n}\n\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.