From 3b2cb5130fcca57da24f46318fe31b4bbeac633a Mon Sep 17 00:00:00 2001 From: scarry1992 Date: Mon, 17 Feb 2020 11:13:45 +0300 Subject: [PATCH] Infinite forceRender fix --- demos/item-mode/build.js | 2 +- demos/page-mode/build.js | 2 +- demos/scroll-element/build.js | 2 +- demos/table-mode/build.js | 2 +- demos/variable-height/build.js | 2 +- demos/vfor-mode/build.js | 2 +- dist/index.js | 10 ++++++++-- package-lock.json | 2 +- src/index.js | 8 ++++++-- 9 files changed, 21 insertions(+), 11 deletions(-) diff --git a/demos/item-mode/build.js b/demos/item-mode/build.js index 2b1797a..eedcc92 100644 --- a/demos/item-mode/build.js +++ b/demos/item-mode/build.js @@ -9,5 +9,5 @@ var u={Handler:a,Random:i,Util:o,XHR:r,RE:s,toJSONSchema:l,valid:c,heredoc:o.her * Vue.js v2.6.10 * (c) 2014-2019 Evan You * Released under the MIT License. - */var r;r=function(){"use strict";var e=Object.freeze({});function r(e){return null==e}function a(e){return null!=e}function o(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function c(e){return l.call(e).slice(8,-1)}function u(e){return"[object Object]"===l.call(e)}function f(e){return"[object RegExp]"===l.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return a(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function m(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var x=Object.prototype.hasOwnProperty;function _(e,t){return x.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var C=/-(\w)/g,k=w((function(e){return e.replace(C,(function(e,t){return t?t.toUpperCase():""}))})),A=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,$=w((function(e){return e.replace(S,"-$1").toLowerCase()})),T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function E(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function O(e,t){for(var n in t)e[n]=t[n];return e}function R(e){for(var t={},n=0;n0,ee=X&&X.indexOf("edge/")>0,te=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Y),ne=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),re={}.watch,ae=!1;if(K)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,oe)}catch(e){}var ie=function(){return void 0===V&&(V=!K&&!J&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),V},se=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function le(e){return"function"==typeof e&&/native code/.test(e.toString())}var ce,ue="undefined"!=typeof Symbol&&le(Symbol)&&"undefined"!=typeof Reflect&&le(Reflect.ownKeys);ce="undefined"!=typeof Set&&le(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=M,pe=M,de=M,he=M,ve="undefined"!=typeof console,me=/(?:^|[-_])(\w)/g;fe=function(e,t){var n=t?de(t):"";B.warnHandler?B.warnHandler.call(null,e,t,n):ve&&!B.silent&&console.error("[Vue warn]: "+e+n)},pe=function(e,t){ve&&!B.silent&&console.warn("[Vue tip]: "+e+(t?de(t):""))},he=function(e,t){if(e.$root===e)return"";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,a=n.__file;if(!r&&a){var o=a.match(/([^/\\]+)\.vue$/);r=o&&o[1]}return(r?"<"+function(e){return e.replace(me,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(r)+">":"")+(a&&!1!==t?" at "+a:"")},de=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?he(e[0])+"... ("+e[1]+" recursive calls)":he(e))})).join("\n")}return"\n\n(found in "+he(e)+")"};var ge=0,ye=function(){this.id=ge++,this.subs=[]};ye.prototype.addSub=function(e){this.subs.push(e)},ye.prototype.removeSub=function(e){b(this.subs,e)},ye.prototype.depend=function(){ye.target&&ye.target.addDep(this)},ye.prototype.notify=function(){var e=this.subs.slice();B.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t-1)if(o&&!_(a,"default"))i=!1;else if(""===i||i===$(e)){var u=Ze(String,a.type);(u<0||l0&&(Dt((l=e(l,(n||"")+"_"+s))[0])&&Dt(u)&&(f[c]=Ae(u.text+l[0].text),l.shift()),f.push.apply(f,l)):i(l)?Dt(u)?f[c]=Ae(u.text+l):""!==l&&f.push(Ae(l)):Dt(l)&&Dt(u)?f[c]=Ae(u.text+l.text):(o(t._isVList)&&a(l.tag)&&r(l.key)&&a(n)&&(l.key="__vlist"+n+"_"+s+"__"),f.push(l)));return f}(e):void 0}function Dt(e){return a(e)&&a(e.text)&&!1===e.isComment}function It(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),a=0;a0,i=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(i&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var l in a={},t)t[l]&&"$"!==l[0]&&(a[l]=Ft(n,l,t[l]))}else a={};for(var c in n)c in a||(a[c]=Ht(n,c));return t&&Object.isExtensible(t)&&(t._normalized=a),q(a,"$stable",i),q(a,"$key",s),q(a,"$hasNormal",o),a}function Ft(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:Pt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Ht(e,t){return function(){return e[t]}}function Bt(e,t){var n,r,o,i,l;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;rdocument.createEvent("Event").timeStamp&&(Nn=function(){return jn.now()})}function Fn(){var e,t;for(Ln=Nn(),Dn=!0,En.sort((function(e,t){return e.id-t.id})),In=0;InTn)){fe("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=On.slice(),r=En.slice();In=En.length=On.length=0,Rn={},Mn={},Pn=Dn=!1,function(e){for(var t=0;tIn&&En[n].id>e.id;)n--;En.splice(n+1,0,e)}else En.push(e);if(!Pn){if(Pn=!0,!B.async)return void Fn();mt(Fn)}}}(this)},Bn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){tt(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Bn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Bn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Bn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var zn={enumerable:!0,configurable:!0,get:M,set:M};function Un(e,t,n){zn.get=function(){return this[t][n]},zn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,zn)}function qn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[],o=!e.$parent;o||Re(!1);var i=function(i){a.push(i);var s=Ge(i,t,n,e),l=$(i);(y(l)||B.isReservedAttr(l))&&fe('"'+l+'" is a reserved attribute and cannot be used as component prop.',e),De(r,i,s,(function(){o||Cn||fe("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+i+'"',e)})),i in e||Un(e,"_props",i)};for(var s in t)i(s);Re(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)"function"!=typeof t[r]&&fe('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&_(n,r)&&fe('Method "'+r+'" has already been defined as a prop.',e),r in e&&U(r)&&fe('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!=typeof t[r]?M:T(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){xe();try{return e.call(t,t)}catch(e){return tt(e,t,"data()"),{}}finally{_e()}}(t,e):t||{})||(t={},fe("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,a=e.$options.methods,o=n.length;o--;){var i=n[o];a&&_(a,i)&&fe('Method "'+i+'" has already been defined as a data property.',e),r&&_(r,i)?fe('The data property "'+i+'" is already declared as a prop. Use prop default value instead.',e):U(i)||Un(e,"_data",i)}Pe(t,!0)}(e):Pe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var a in t){var o=t[a],i="function"==typeof o?o:o.get;null==i&&fe('Getter is missing for computed property "'+a+'".',e),r||(n[a]=new Bn(e,i||M,M,Vn)),a in e?a in e.$data?fe('The computed property "'+a+'" is already defined in data.',e):e.$options.props&&a in e.$options.props&&fe('The computed property "'+a+'" is already defined as a prop.',e):Wn(e,a,o)}}(e,t.computed),t.watch&&t.watch!==re&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function nr(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var o in n){var i=n[o];if(i){var s=er(i.componentOptions);s&&!t(s)&&rr(n,o,r,a)}}}function rr(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(t){t.prototype._init=function(t){var n,r,a=this;a._uid=Yn++,B.performance&&it&&(n="vue-perf-start:"+a._uid,r="vue-perf-end:"+a._uid,it(n)),a._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(a,t):a.$options=Ve(Xn(a.constructor),t||{},a),gt(a),a._self=a,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(a),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&_n(e,t)}(a),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,a=r&&r.context;t.$slots=Lt(n._renderChildren,a),t.$scopedSlots=e,t._c=function(e,n,r,a){return pn(t,e,n,r,a,!1)},t.$createElement=function(e,n,r,a){return pn(t,e,n,r,a,!0)};var o=r&&r.data;De(t,"$attrs",o&&o.attrs||e,(function(){!Cn&&fe("$attrs is readonly.",t)}),!0),De(t,"$listeners",n._parentListeners||e,(function(){!Cn&&fe("$listeners is readonly.",t)}),!0)}(a),$n(a,"beforeCreate"),function(e){var t=It(e.$options.inject,e);t&&(Re(!1),Object.keys(t).forEach((function(n){De(e,n,t[n],(function(){fe('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),Re(!0))}(a),qn(a),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(a),$n(a,"created"),B.performance&&it&&(a._name=he(a,!1),it(r),st("vue "+a._name+" init",n,r)),a.$options.el&&a.$mount(a.$options.el)}}(Zn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};t.set=function(){fe("Avoid replacing instance root $data. Use nested data properties instead.",this)},n.set=function(){fe("$props is readonly.",this)},Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ie,e.prototype.$delete=Le,e.prototype.$watch=function(e,t,n){if(u(t))return Jn(this,e,t,n);(n=n||{}).user=!0;var r=new Bn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){tt(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Zn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var a=0,o=e.length;a1?E(r):r;for(var a=E(arguments,1),o='event handler for "'+e+'"',i=0,s=r.length;iparseInt(this.max)&&rr(i,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return B},set:function(){fe("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:O,mergeOptions:Ve,defineReactive:De},e.set=Ie,e.delete=Le,e.nextTick=mt,e.observable=function(e){return Pe(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,O(e.options.components,or),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ve(this.options,e),this}}(e),Qn(e),function(e){F.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Ue(e),"component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Zn),Object.defineProperty(Zn.prototype,"$isServer",{get:ie}),Object.defineProperty(Zn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Zn,"FunctionalRenderContext",{value:nn}),Zn.version="2.6.10";var ir=m("style,class"),sr=m("input,textarea,option,select,progress"),lr=function(e,t,n){return"value"===n&&sr(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},cr=m("contenteditable,draggable,spellcheck"),ur=m("events,caret,typing,plaintext-only"),fr=function(e,t){return mr(t)||"false"===t?"false":"contenteditable"===e&&ur(t)?t:"true"},pr=m("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"),dr="http://www.w3.org/1999/xlink",hr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},vr=function(e){return hr(e)?e.slice(6,e.length):""},mr=function(e){return null==e||!1===e};function gr(e){for(var t=e.data,n=e,r=e;a(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=yr(r.data,t));for(;a(n=n.parent);)n&&n.data&&(t=yr(t,n.data));return o=t.staticClass,i=t.class,a(o)||a(i)?br(o,xr(i)):"";var o,i}function yr(e,t){return{staticClass:br(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function br(e,t){return e?t?e+" "+t:e:t||""}function xr(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r-1?Vr(e,t,n):pr(t)?mr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):cr(t)?e.setAttribute(t,fr(t,n)):hr(t)?mr(n)?e.removeAttributeNS(dr,vr(t)):e.setAttributeNS(dr,t,n):Vr(e,t,n)}function Vr(e,t,n){if(mr(n))e.removeAttribute(t);else{if(Z&&!Q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Wr={create:Ur,update:Ur};function Gr(e,t){var n=t.elm,o=t.data,i=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(i)||r(i.staticClass)&&r(i.class)))){var s=gr(t),l=n._transitionClasses;a(l)&&(s=br(s,xr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Kr,Jr,Yr,Xr,Zr,Qr,ea,ta={create:Gr,update:Gr},na=/[\w).+\-_$\]]/;function ra(e){var t,n,r,a,o,i=!1,s=!1,l=!1,c=!1,u=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(v=e.charAt(h));h--);v&&na.test(v)||(c=!0)}}else void 0===a?(d=r+1,a=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,Xr),key:'"'+e.slice(Xr+1)+'"'}:{exp:e,key:null};for(Jr=e,Xr=Zr=Qr=0;!_a();)wa(Yr=xa())?ka(Yr):91===Yr&&Ca(Yr);return{exp:e.slice(0,Zr),key:e.slice(Zr+1,Qr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function xa(){return Jr.charCodeAt(++Xr)}function _a(){return Xr>=Kr}function wa(e){return 34===e||39===e}function Ca(e){var t=1;for(Zr=Xr;!_a();)if(wa(e=xa()))ka(e);else if(91===e&&t++,93===e&&t--,0===t){Qr=Xr;break}}function ka(e){for(var t=e;!_a()&&(e=xa())!==t;);}var Aa,Sa="__r",$a="__c";function Ta(e,t,n){var r=Aa;return function a(){var o=t.apply(null,arguments);null!==o&&Ra(e,a,n,r)}}var Ea=lt&&!(ne&&Number(ne[1])<=53);function Oa(e,t,n,r){if(Ea){var a=Ln,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Aa.addEventListener(e,t,ae?{capture:n,passive:r}:n)}function Ra(e,t,n,r){(r||Aa).removeEventListener(e,t._wrapper||t,n)}function Ma(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Aa=t.elm,function(e){if(a(e[Sa])){var t=Z?"change":"input";e[t]=[].concat(e[Sa],e[t]||[]),delete e[Sa]}a(e[$a])&&(e.change=[].concat(e[$a],e.change||[]),delete e[$a])}(n),Ot(n,o,Oa,Ra,Ta,t.context),Aa=void 0}}var Pa,Da={create:Ma,update:Ma};function Ia(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,i=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in a(l.__ob__)&&(l=t.data.domProps=O({},l)),s)n in l||(i[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=o;var c=r(o)?"":String(o);La(i,c)&&(i.value=c)}else if("innerHTML"===n&&Cr(i.tagName)&&r(i.innerHTML)){(Pa=Pa||document.createElement("div")).innerHTML=""+o+"";for(var u=Pa.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(o!==s[n])try{i[n]=o}catch(e){}}}}function La(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(a(r)){if(r.number)return v(n)!==v(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Na={create:Ia,update:Ia},ja=w((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Fa(e){var t=Ha(e.style);return e.staticStyle?O(e.staticStyle,t):t}function Ha(e){return Array.isArray(e)?R(e):"string"==typeof e?ja(e):e}var Ba,za=/^--/,Ua=/\s*!important$/,qa=function(e,t,n){if(za.test(t))e.style.setProperty(t,n);else if(Ua.test(n))e.style.setProperty($(t),n.replace(Ua,""),"important");else{var r=Wa(t);if(Array.isArray(n))for(var a=0,o=n.length;a-1?t.split(Ja).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 Xa(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Ja).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Za(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&O(t,Qa(e.name||"v")),O(t,e),t}return"string"==typeof e?Qa(e):void 0}}var Qa=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),eo=K&&!Q,to="transition",no="animation",ro="transition",ao="transitionend",oo="animation",io="animationend";eo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ro="WebkitTransition",ao="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oo="WebkitAnimation",io="webkitAnimationEnd"));var so=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function lo(e){so((function(){so(e)}))}function co(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Ya(e,t))}function uo(e,t){e._transitionClasses&&b(e._transitionClasses,t),Xa(e,t)}function fo(e,t,n){var r=ho(e,t),a=r.type,o=r.timeout,i=r.propCount;if(!a)return n();var s=a===to?ao:io,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=i&&c()};setTimeout((function(){l0&&(n=to,u=i,f=o.length):t===no?c>0&&(n=no,u=c,f=l.length):f=(n=(u=Math.max(i,c))>0?i>c?to:no:null)?n===to?o.length:l.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===to&&po.test(r[ro+"Property"])}}function vo(e,t){for(;e.length explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&fe(" explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function xo(e){return"number"==typeof e&&!isNaN(e)}function _o(e){if(r(e))return!1;var t=e.fns;return a(t)?_o(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function wo(e,t){!0!==t.data.show&&go(t)}var Co=function(e){var t,n,s={},l=e.modules,c=e.nodeOps;for(t=0;t - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?c.createElementNS(e.ns,m):c.createElement(m,e),_(e),y(e,h,t),a(f)&&x(e,t),g(n,e.elm,r),f&&f.pre&&d--):o(e.isComment)?(e.elm=c.createComment(e.text),g(n,e.elm,r)):(e.elm=c.createTextNode(e.text),g(n,e.elm,r))}}function v(e,t){a(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(x(e,t),_(e)):(Rr(e),t.push(e))}function g(e,t,n){a(e)&&(a(n)?c.parentNode(n)===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function y(e,t,n){if(Array.isArray(t)){S(t);for(var r=0;rd?w(e,r(n[g+1])?null:n[g+1].elm,n,p,g,o):p>g&&k(0,t,f,d)}(f,v,m,n,u):a(m)?(S(m),a(e.text)&&c.setTextContent(f,""),w(f,null,m,0,m.length-1,n)):a(v)?k(0,v,0,v.length-1):a(e.text)&&c.setTextContent(f,""):e.text!==t.text&&c.setTextContent(f,t.text),a(d)&&a(p=d.hook)&&a(p=p.postpatch)&&p(e,t)}}}function E(e,t,n){if(o(n)&&a(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r, or missing . Bailing hydration and performing full client-side render.")}l=e,e=new we(c.tagName(l).toLowerCase(),{},[],void 0,l)}var d=e.elm,v=c.parentNode(d);if(h(t,f,d._leaveCb?null:v,c.nextSibling(d)),a(t.parent))for(var m=t.parent,g=b(t);m;){for(var y=0;y-1,i.selected!==o&&(i.selected=o);else if(I(To(i),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}else fe('