diff --git a/docs/1kcomponents/dist/bundle.js b/docs/1kcomponents/dist/bundle.js index 038ac6df2..7ebd16aa1 100644 --- a/docs/1kcomponents/dist/bundle.js +++ b/docs/1kcomponents/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(){return(e=Object.assign||function(e){for(var f=1;f0,h=o(u),p=i(u)&&u[0]===A;s||h||p?(a=a||f.slice(0,b),(s||p)&&(l=_(l)),(h||p)&&(l.key=A+b),a.push(l)):a&&a.push(l),l.flags|=65536}}c=0===(a=a||f).length?1:8}else(a=f).flags|=65536,81920&f.flags&&(a=_(f)),c=2;return e.children=a,e.childFlags=c,e}var q="http://www.w3.org/1999/xlink",W="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":q,"xlink:arcrole":q,"xlink:href":q,"xlink:role":q,"xlink:show":q,"xlink:title":q,"xlink:type":q,"xml:base":W,"xml:lang":W,"xml:space":W};function G(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var X=G(0),Q=G(null),Y=G(!0);function z(e,f,a){var n=a.$EV;f?(0===X[e]&&(Q[e]=te(e)),n||(n=a.$EV=G(null)),n[e]||++X[e],n[e]=f):n&&n[e]&&(0===--X[e]&&(document.removeEventListener(u(e),Q[e]),Q[e]=null),n[e]=null)}function K(e,f,a,n,t){var c=f;do{if(a&&c.disabled)return;var d=c.$EV;if(d){var r=d[n];if(r&&(t.dom=c,r.event?r.event(r.data,e):r(e),e.cancelBubble))return}c=c.parentNode}while(!o(c))}function J(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Z(){return this.defaultPrevented}function ee(){return this.cancelBubble}function fe(e){var f={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return f.dom}},isDefaultPrevented:{value:Z},isPropagationStopped:{value:ee},stopPropagation:{value:J}}),f}function ae(e){return function(f){if(0!==f.button)return void f.stopPropagation();K(f,f.target,!0,e,fe(f))}}function ne(e){return function(f){K(f,f.target,!1,e,fe(f))}}function te(e){var f="onClick"===e||"onDblClick"===e?ae(e):ne(e);return document.addEventListener(u(e),f),f}function ce(e,f){var a=document.createElement("i");return a.innerHTML=f,a.innerHTML===e.innerHTML}function de(e,f,a){if(e[f]){var n=e[f];n.event?n.event(n.data,a):n(a)}else{var t=f.toLowerCase();e[t]&&e[t](a)}}function re(e,f){var a=function(a){var n=this.$V;if(!n)return;var t=n.props||l,c=n.dom;if(i(e))de(t,e,a);else for(var d=0;d-1&&f.options[d]&&(r=f.options[d].value),a&&c(r)&&(r=e.defaultValue),pe(n,r)}}var we,xe,ke=re("onInput",Ne),Me=re("onChange");function $e(e,f){ie(e,"input",ke),f.onChange&&ie(e,"change",Me)}function Ne(e,f,a){var n=e.value,t=f.value;if(c(n)){if(a){var d=e.defaultValue;c(d)||d===t||(f.defaultValue=d,f.value=d)}}else t!==n&&(f.defaultValue=n,f.value=n)}function Ce(e,f,a,n,t,c){64&e?he(n,a):256&e?ye(n,a,t,f):128&e&&Ne(n,a,t),c&&(a.$V=f)}function Pe(e,f,a){64&e?se(f,a):256&e?ge(f):128&e&&$e(f,a)}function Se(e){return e.type&&oe(e.type)?!c(e.checked):!c(e.value)}function Ae(e){e&&(r(e)?e(null):e.current&&(e.current=null))}function Ie(e,f,a){e&&(r(e)||void 0!==e.current)&&a.push(function(){r(e)?e(f):void 0!==e.current&&(e.current=f)})}function Le(e,f){Te(e),f&&x(e,f)}function Te(e){var f,a=e.flags,n=e.children;if(481&a){f=e.ref;var t=e.props;Ae(f);var d=e.childFlags;if(!o(t))for(var i=Object.keys(t),b=0,u=i.length;b0;for(var r in d&&(c=Se(a))&&Pe(f,n,a),a)Oe(r,null,a[r],n,t,c,null);d&&Ce(f,e,n,a,!0,c)}function Be(e,f,a){var n=We(e.render(f,e.state,a)),t=a;return r(e.getChildContext)&&(t=b(a,e.getChildContext())),e.$CX=t,n}function qe(e,f,a,n,t,c){var d=new f(a,n),i=d.$N=Boolean(f.getDerivedStateFromProps||d.getSnapshotBeforeUpdate);if(d.$SVG=t,d.$L=c,e.children=d,d.$BS=!1,d.context=n,d.props===l&&(d.props=a),i)d.state=M(d,a,d.state);else if(r(d.componentWillMount)){d.$BR=!0,d.componentWillMount();var b=d.$PS;if(!o(b)){var u=d.state;if(o(u))d.state=b;else for(var s in b)u[s]=b[s];d.$PS=null}d.$BR=!1}return d.$LI=Be(d,a,n),d}function We(e){if(d(e)||t(e))return V(e,null);if(n(e))return H(e,0,null);return 16384&e.flags?_(e):e}function je(e,f,a,n,t,c){var d=e.flags|=16384;481&d?Ye(e,f,a,n,t,c):4&d?Ke(e,f,a,n,t,c):8&d?Je(e,f,a,n,t,c):512&d||16&d?Qe(e,f,t):8192&d?Xe(e,f,a,n,t,c):1024&d&&Ge(e,a,f,t,c)}function Ge(e,f,a,n,t){je(e.children,e.ref,f,!1,null,t);var c=O();Qe(c,a,n),e.dom=c.dom}function Xe(e,f,a,n,t,c){var d=e.children,r=e.childFlags;12&r&&0===d.length&&(r=e.childFlags=2,d=e.children=O()),2===r?je(d,f,t,n,t,c):ze(d,f,a,n,t,c)}function Qe(e,f,a){var n=e.dom=document.createTextNode(e.children);o(f)||h(f,n,a)}function Ye(e,f,a,n,t,d){var r=e.flags,i=e.props,b=e.className,l=e.children,u=e.childFlags,s=e.dom=p(e.type,n=n||(32&r)>0);if(c(b)||""===b||(n?s.setAttribute("class",b):s.className=b),16===u)C(s,l);else if(1!==u){var m=n&&"foreignObject"!==e.type;2===u?(16384&l.flags&&(e.children=l=_(l)),je(l,s,a,m,null,d)):8!==u&&4!==u||ze(l,s,a,m,null,d)}o(f)||h(f,s,t),o(i)||De(e,r,i,s,n),Ie(e.ref,s,d)}function ze(e,f,a,n,t,c){for(var d=0;du)&&(b=w(d[u-1],!1).nextSibling)}uf(i,o,d,r,a,n,t,b,e,c)}function of(e,f,a,n){var t=e.ref,c=f.ref,r=f.children;if(uf(e.childFlags,f.childFlags,e.children,r,t,a,!1,null,e,n),f.dom=e.dom,t!==c&&!d(r)){var i=r.dom;v(t,i),s(c,i)}}function bf(e,f,a,n,t,d){var r,i=f.dom=e.dom,o=e.props,b=f.props,u=!1,s=!1;if(n=n||(32&t)>0,o!==b){var h=o||l;if((r=b||l)!==l)for(var p in(u=(448&t)>0)&&(s=Se(r)),r){var m=h[p],v=r[p];m!==v&&Oe(p,m,v,i,n,s,e)}if(h!==l)for(var g in h)c(r[g])&&!c(h[g])&&Oe(g,h[g],null,i,n,s,e)}var y=f.children,w=f.className;e.className!==w&&(c(w)?i.removeAttribute("class"):n?i.setAttribute("class",w):i.className=w),4096&t?df(i,y):uf(e.childFlags,f.childFlags,e.children,y,i,a,n&&"foreignObject"!==f.type,null,e,d),u&&Ce(t,f,i,r,!1,s);var x=f.ref,k=e.ref;k!==x&&(Ae(k),Ie(x,i,d))}function lf(e,f,a,n,t,c){Te(e),ze(f,a,n,t,w(e,!0),c),x(e,a)}function uf(e,f,a,n,t,c,d,r,i,o){switch(e){case 2:switch(f){case 2:tf(a,n,t,c,d,r,o);break;case 1:Le(a,t);break;case 16:Te(a),C(t,n);break;default:lf(a,n,t,c,d,o)}break;case 1:switch(f){case 2:je(n,t,c,d,r,o);break;case 1:break;case 16:C(t,n);break;default:ze(n,t,c,d,r,o)}break;case 16:switch(f){case 16:cf(a,n,t);break;case 2:Ee(t),je(n,t,c,d,r,o);break;case 1:Ee(t);break;default:Ee(t),ze(n,t,c,d,r,o)}break;default:switch(f){case 16:Fe(a),C(t,n);break;case 2:Ue(t,i,a),je(n,t,c,d,r,o);break;case 1:Ue(t,i,a);break;default:var b=0|a.length,l=0|n.length;0===b?l>0&&ze(n,t,c,d,r,o):0===l?Ue(t,i,a):8===f&&8===e?yf(a,n,t,c,d,b,l,r,i,o):gf(a,n,t,c,d,b,l,r,o)}}}function sf(e,f,a,n,t){t.push(function(){e.componentDidUpdate(f,a,n)})}function hf(e,f,a,n,t,c,d,i,o){var l=e.state,u=e.props,s=Boolean(e.$N),h=r(e.shouldComponentUpdate);if(s&&(f=M(e,a,f!==l?b(l,f):f)),d||!h||h&&e.shouldComponentUpdate(a,f,t)){!s&&r(e.componentWillUpdate)&&e.componentWillUpdate(a,f,t),e.props=a,e.state=f,e.context=t;var p=null,m=Be(e,a,t);s&&r(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(u,l)),tf(e.$LI,m,n,e.$CX,c,i,o),e.$LI=m,r(e.componentDidUpdate)&&sf(e,u,l,p,o)}else e.props=a,e.state=f,e.context=t}function pf(e,f,a,n,t,c,d){var i=f.children=e.children;if(o(i))return;i.$L=d;var u=f.props||l,s=f.ref,h=e.ref,p=i.state;if(!i.$N){if(r(i.componentWillReceiveProps)){if(i.$BR=!0,i.componentWillReceiveProps(u,n),i.$UN)return;i.$BR=!1}o(i.$PS)||(p=b(p,i.$PS),i.$PS=null)}hf(i,p,u,a,n,t,!1,c,d),h!==s&&(Ae(h),Ie(s,i,d))}function mf(e,f,a,n,t,d,i){var o=!0,b=f.props||l,u=f.ref,s=e.props,h=!c(u),p=e.children;if(h&&r(u.onComponentShouldUpdate)&&(o=u.onComponentShouldUpdate(s,b)),!1!==o){h&&r(u.onComponentWillUpdate)&&u.onComponentWillUpdate(s,b);var m=f.type,v=We(32768&f.flags?m.render(b,u,n):m(b,n));tf(p,v,a,n,t,d,i),f.children=v,h&&r(u.onComponentDidUpdate)&&u.onComponentDidUpdate(s,b)}else f.children=p}function vf(e,f){var a=f.children,n=f.dom=e.dom;a!==e.children&&(n.nodeValue=a)}function gf(e,f,a,n,t,c,d,r,i){for(var o,b,l=c>d?d:c,u=0;ud)for(u=l;uu||h>s)break e;p=e[h],m=f[h]}for(p=e[u],m=f[s];p.key===m.key;){if(16384&m.flags&&(f[s]=m=_(m)),tf(p,m,a,n,t,r,o),e[u]=m,s--,h>--u||h>s)break e;p=e[u],m=f[s]}}if(h>u){if(h<=s)for(l=(b=s+1)s)for(;h<=u;)Le(e[h++],a);else wf(e,f,n,c,d,u,s,h,a,t,r,i,o)}function wf(e,f,a,n,t,c,d,r,i,o,b,l,u){var s,h,p,m=0,v=r,g=r,y=c-r+1,x=d-r+1,M=new Int32Array(x+1),$=y===n,N=!1,C=0,P=0;if(t<4||(y|x)<32)for(m=v;m<=c;++m)if(s=e[m],Pr?N=!0:C=r,16384&h.flags&&(f[r]=h=_(h)),tf(s,h,i,a,o,b,u),++P;break}!$&&r>d&&Le(s,i)}else $||Le(s,i);else{var S={};for(m=g;m<=d;++m)S[f[m].key]=m;for(m=v;m<=c;++m)if(s=e[m],Pv;)Le(e[v++],i);M[r-g]=m+1,C>r?N=!0:C=r,16384&(h=f[r]).flags&&(f[r]=h=_(h)),tf(s,h,i,a,o,b,u),++P}else $||Le(s,i);else $||Le(s,i)}if($)Ue(i,l,e),ze(f,i,a,o,b,u);else if(N){var A=kf(M);for(r=A.length-1,m=x-1;m>=0;m--)0===M[m]?(16384&(h=f[C=m+g]).flags&&(f[C]=h=_(h)),je(h,i,a,o,(p=C+1)=0;m--)0===M[m]&&(16384&(h=f[C=m+g]).flags&&(f[C]=h=_(h)),je(h,i,a,o,(p=C+1)xf&&(xf=i,we=new Int32Array(i),xe=new Int32Array(i));a>1]]0&&(xe[a]=we[c-1]),we[c]=a)}c=t+1;var o=new Int32Array(c);for(d=we[c-1];c-- >0;)o[c]=d,d=xe[d],we[c]=0;return o}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Mf=[],$f="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Nf=!1;function Cf(e,f,a,n){var t=e.$PS;if(r(f)&&(f=f(t?b(e.state,t):e.state,e.props,e.context)),c(t))e.$PS=f;else for(var d in f)t[d]=f[d];if(e.$BR)r(a)&&e.$L.push(a.bind(e));else{if(!$.v&&0===Mf.length)return void Af(e,n,a);if(-1===Mf.indexOf(e)&&Mf.push(e),Nf||(Nf=!0,$f(Sf)),r(a)){var i=e.$QU;i||(i=e.$QU=[]),i.push(a)}}}function Pf(e){for(var f=e.$QU,a=0,n=f.length;a0&&g(t),$.v=!1}else e.state=e.$PS,e.$PS=null;r(a)&&a.call(e)}var If=function(e,f){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||l,this.context=f||l};If.prototype.forceUpdate=function(e){if(this.$UN)return;Cf(this,{},e,!0)},If.prototype.setState=function(e,f){if(this.$UN)return;this.$BS||Cf(this,e,f,!1)},If.prototype.render=function(e,f,a){return null};var Lf,Tf,Ff=function(e,f,a,n){this.min=e,this.max=f,this.mean=a,this.last=n},Ef=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var f=this.samples,a=0;aa&&(a=c),n+=c}var d=e[this._i],r=n/e.length;return new Ff(f,a,r,d)},e}(),Uf=[],Vf=-1,Hf=(Lf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,f){e.__proto__=f}||function(e,f){for(var a in f)f.hasOwnProperty(a)&&(e[a]=f[a])},function(e,f){function a(){this.constructor=e}Lf(e,f),e.prototype=null===f?Object.create(f):(a.prototype=f.prototype,new a)}),Rf=30,_f=100,Of=function(){function e(e){var f=this;this._sync=function(){f.sync(),f._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,Uf.push(e),-1===Vf&&requestAnimationFrame(function(e){Vf=-1;var f=Uf;Uf=[];for(var a=0;a>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):(f=Jf.exec(e))?ra(parseInt(f[1],16)):(f=Zf.exec(e))?new la(f[1],f[2],f[3],1):(f=ea.exec(e))?new la(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=fa.exec(e))?ia(f[1],f[2],f[3],f[4]):(f=aa.exec(e))?ia(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=na.exec(e))?sa(f[1],f[2]/100,f[3]/100,1):(f=ta.exec(e))?sa(f[1],f[2]/100,f[3]/100,f[4]):ca.hasOwnProperty(e)?ra(ca[e]):"transparent"===e?new la(NaN,NaN,NaN,0):null}function ra(e){return new la(e>>16&255,e>>8&255,255&e,1)}function ia(e,f,a,n){return n<=0&&(e=f=a=NaN),new la(e,f,a,n)}function oa(e){if(e instanceof Xf||(e=da(e)),!e)return new la;return new la((e=e.rgb()).r,e.g,e.b,e.opacity)}function ba(e,f,a,n){return 1===arguments.length?oa(e):new la(e,f,a,null==n?1:n)}function la(e,f,a,n){this.r=+e,this.g=+f,this.b=+a,this.opacity=+n}function ua(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function sa(e,f,a,n){return n<=0?e=f=a=NaN:a<=0||a>=1?e=f=NaN:f<=0&&(e=NaN),new pa(e,f,a,n)}function ha(e){if(e instanceof pa)return new pa(e.h,e.s,e.l,e.opacity);if(e instanceof Xf||(e=da(e)),!e)return new pa;if(e instanceof pa)return e;var f=(e=e.rgb()).r/255,a=e.g/255,n=e.b/255,t=Math.min(f,a,n),c=Math.max(f,a,n),d=NaN,r=c-t,i=(c+t)/2;return r?(d=f===c?(a-n)/r+6*(a0&&i<1?0:d,new pa(d,r,i,e.opacity)}function pa(e,f,a,n){this.h=+e,this.s=+f,this.l=+a,this.opacity=+n}function ma(e,f,a){return 255*(e<60?f+(a-f)*e/60:e<180?a:e<240?f+(a-f)*(240-e)/60:f)}jf(Xf,da,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),jf(la,ba,Gf(Xf,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new la(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new la(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+ua(this.r)+ua(this.g)+ua(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),jf(pa,function(e,f,a,n){return 1===arguments.length?ha(e):new pa(e,f,a,null==n?1:n)},Gf(Xf,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new pa(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new pa(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),f=isNaN(e)||isNaN(this.s)?0:this.s,a=this.l,n=a+(a<.5?a:1-a)*f,t=2*a-n;return new la(ma(e>=240?e-240:e+120,t,n),ma(e,t,n),ma(e<120?e+240:e-120,t,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var va=Math.PI/180,ga=180/Math.PI,ya=.96422,wa=1,xa=.82521,ka=4/29,Ma=6/29,$a=3*Ma*Ma,Na=Ma*Ma*Ma;function Ca(e){if(e instanceof Pa)return new Pa(e.l,e.a,e.b,e.opacity);if(e instanceof Fa)return Ea(e);e instanceof la||(e=oa(e));var f,a,n=La(e.r),t=La(e.g),c=La(e.b),d=Sa((.2225045*n+.7168786*t+.0606169*c)/wa);return n===t&&t===c?f=a=d:(f=Sa((.4360747*n+.3850649*t+.1430804*c)/ya),a=Sa((.0139322*n+.0971045*t+.7141733*c)/xa)),new Pa(116*d-16,500*(f-d),200*(d-a),e.opacity)}function Pa(e,f,a,n){this.l=+e,this.a=+f,this.b=+a,this.opacity=+n}function Sa(e){return e>Na?Math.pow(e,1/3):e/$a+ka}function Aa(e){return e>Ma?e*e*e:$a*(e-ka)}function Ia(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function La(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Ta(e){if(e instanceof Fa)return new Fa(e.h,e.c,e.l,e.opacity);if(e instanceof Pa||(e=Ca(e)),0===e.a&&0===e.b)return new Fa(NaN,0=1?(a=1,f-1):Math.floor(a*f),t=e[n],c=e[n+1],d=n>0?e[n-1]:2*t-c,r=n180||a<-180?a-360*Math.round(a/360):a):Xa(isNaN(e)?f:e)});var Za=Ja(Ya);function en(e){return Ka(e[e.length-1])}function fn(e){var f=e.length;return function(a){return e[Math.max(0,Math.min(f-1,Math.floor(a*f)))]}}en(new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Wf)),en(new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Wf)),en(new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Wf)),en(new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Wf)),en(new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Wf)),en(new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Wf)),en(new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Wf)),en(new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Wf)),en(new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Wf)),en(new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Wf)),en(new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Wf)),en(new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Wf)),en(new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Wf)),en(new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Wf)),en(new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Wf)),en(new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Wf)),en(new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Wf)),en(new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Wf)),en(new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Wf)),en(new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Wf)),en(new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Wf)),en(new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Wf)),en(new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Wf)),en(new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Wf)),en(new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Wf)),en(new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Wf)),en(new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Wf)),Za(Wa(300,.5,0),Wa(-240,.5,1)),Za(Wa(-100,.75,.35),Wa(80,1.5,.8)),Za(Wa(260,.75,.35),Wa(80,1.5,.8)),Wa(),ba(),Math.PI,Math.PI;var an=fn(Wf("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));function nn(e,f){for(var a=[],n=0;n0&&(t+=2/121*(1e3/(c-n)-t)),n=c,f.addSample(t),a.invalidate(),requestAnimationFrame(e)})}(),function(e){if(void 0===e&&(e=Tf.HideMin|Tf.HideMean),qf(),void 0===performance.memory)return;var f=new Ef(100),a=new Df("Memory",e,"MB",f);Bf.appendChild(a.element),function e(){f.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),a.invalidate(),setTimeout(e,30)}()}();var tn=function(e){function n(f,n){var t;return(t=e.call(this,f,n)||this).state={numPoints:0},t.updateCount=t.updateCount.bind(a(t)),t}f(n,e);var t=n.prototype;return t.updateCount=function(e){this.setState({numPoints:e.target.value})},t.componentDidMount=function(){this.setState({numPoints:1e3})},t.render=function(e,f){return L(1,"div","app-wrapper",[U(2,rn,{count:f.numPoints},null,null),L(1,"div","controls",[V("# Points"),L(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:f.numPoints,onInput:this.updateCount},null,null),f.numPoints],0,null,null,null),L(1,"div","about",[V("InfernoJS 1k Components Demo based on the Glimmer demo by "),L(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),V(".")],4,null,null,null)],4,null,null,null)},n}(If),cn={PHYLLOTAXIS:0,GRID:1,WAVE:2,SPIRAL:3},dn=[cn.PHYLLOTAXIS,cn.SPIRAL,cn.PHYLLOTAXIS,cn.GRID,cn.WAVE],rn=function(a){function n(e,f){var n;return(n=a.call(this,e,f)||this).layout=0,n.phyllotaxis=gn(100),n.grid=yn(100),n.wave=wn(100),n.spiral=xn(100),n.points=[],n.step=0,n.numSteps=120,n}f(n,a);var t=n.prototype;return t.next=function(){var f=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%dn.length);var a=Math.min(1,this.step/(.8*this.numSteps)),n=dn[this.layout],t=dn[(this.layout+1)%dn.length],c=pn(n),d=pn(t),r=mn(n),i=mn(t);this.points=this.points.map(function(f){var n=e({},f);return n.x=vn(n,a,c,d),n.y=vn(n,a,r,i),n}),this.setState(),requestAnimationFrame(function(){f.next()})},t.setAnchors=function(e){var f=this;e.map(function(e,a){var n=$n(f.grid(a)),t=n[0],c=n[1],d=$n(f.wave(a)),r=d[0],i=d[1],o=$n(f.spiral(a)),b=o[0],l=o[1],u=$n(f.phyllotaxis(a)),s=u[0],h=u[1];Object.assign(e,{gx:t,gy:c,wx:r,wy:i,sx:b,sy:l,px:s,py:h})}),this.points=e},t.makePoints=function(e){for(var f=[],a=0;a0&&g(t),$.v=!1,r(a)&&a(),r(N.renderComplete)&&N.renderComplete(d,f)}(bn,ln,un,sn)}(); +!function(){"use strict";function e(){return(e=Object.assign||function(e){for(var f=1;f0,h=o(u),p=i(u)&&u[0]===L;s||h||p?(a=a||f.slice(0,b),(s||p)&&(l=D(l)),(h||p)&&(l.key=L+b),a.push(l)):a&&a.push(l),l.flags|=65536}}c=0===(a=a||f).length?1:8}else(a=f).flags|=65536,81920&f.flags&&(a=D(f)),c=2;return e.children=a,e.childFlags=c,e}var j="http://www.w3.org/1999/xlink",G="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":j,"xlink:arcrole":j,"xlink:href":j,"xlink:role":j,"xlink:show":j,"xlink:title":j,"xlink:type":j,"xml:base":G,"xml:lang":G,"xml:space":G};function Q(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var Y=Q(0),z=Q(null),K=Q(!0);function J(e,f){var a=f.$EV;return a||(a=f.$EV=Q(null)),a[e]||1===++Y[e]&&(z[e]=ie(e)),a}function Z(e,f){var a=f.$EV;a&&a[e]&&(0===--Y[e]&&(document.removeEventListener(s(e),z[e]),z[e]=null),a[e]=null)}function ee(e,f,a,n){if(r(a))J(e,n)[e]=a;else if(l(a)){if(S(f,a))return;J(e,n)[e]=a}else Z(e,n)}function fe(e,f,a,n,t){var c=f;do{if(a&&c.disabled)return;var d=c.$EV;if(d){var r=d[n];if(r&&(t.dom=c,r.event?r.event(r.data,e):r(e),e.cancelBubble))return}c=c.parentNode}while(!o(c))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ne(){return this.defaultPrevented}function te(){return this.cancelBubble}function ce(e){var f={dom:document};return e.isDefaultPrevented=ne,e.isPropagationStopped=te,e.stopPropagation=ae,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return f.dom}}),f}function de(e){return function(f){if(0!==f.button)return void f.stopPropagation();fe(f,f.target,!0,e,ce(f))}}function re(e){return function(f){fe(f,f.target,!1,e,ce(f))}}function ie(e){var f="onClick"===e||"onDblClick"===e?de(e):re(e);return document.addEventListener(s(e),f),f}function oe(e,f){var a=document.createElement("i");return a.innerHTML=f,a.innerHTML===e.innerHTML}function be(e,f,a){if(e[f]){var n=e[f];n.event?n.event(n.data,a):n(a)}else{var t=f.toLowerCase();e[t]&&e[t](a)}}function le(e,f){var a=function(a){var n=this.$V;if(!n)return;var t=n.props||u,c=n.dom;if(i(e))be(t,e,a);else for(var d=0;d-1&&f.options[d]&&(r=f.options[d].value),a&&c(r)&&(r=e.defaultValue),ye(n,r)}}var $e,Ne,Ce=le("onInput",Ae),Pe=le("onChange");function Se(e,f){ue(e,"input",Ce),f.onChange&&ue(e,"change",Pe)}function Ae(e,f,a){var n=e.value,t=f.value;if(c(n)){if(a){var d=e.defaultValue;c(d)||d===t||(f.defaultValue=d,f.value=d)}}else t!==n&&(f.defaultValue=n,f.value=n)}function Ie(e,f,a,n,t,c){64&e?ge(n,a):256&e?Me(n,a,t,f):128&e&&Ae(n,a,t),c&&(a.$V=f)}function Le(e,f,a){64&e?ve(f,a):256&e?ke(f):128&e&&Se(f,a)}function Te(e){return e.type&&se(e.type)?!c(e.checked):!c(e.value)}function Fe(e){e&&!I(e,null)&&e.current&&(e.current=null)}function Ee(e,f,a){e&&(r(e)||void 0!==e.current)&&a.push(function(){I(e,f)||void 0===e.current||(e.current=f)})}function Ve(e,f){Ue(e),k(e,f)}function Ue(e){var f,a=e.flags,n=e.children;if(481&a){f=e.ref;var t=e.props;Fe(f);var d=e.childFlags;if(!o(t))for(var i=Object.keys(t),b=0,l=i.length;b0;for(var r in d&&(c=Te(a))&&Le(f,n,a),a)We(r,null,a[r],n,t,c,null);d&&Ie(f,e,n,a,!0,c)}function Ge(e,f,a){var n=Qe(e.render(f,e.state,a)),t=a;return r(e.getChildContext)&&(t=b(a,e.getChildContext())),e.$CX=t,n}function Xe(e,f,a,n,t,c){var d=new f(a,n),i=d.$N=Boolean(f.getDerivedStateFromProps||d.getSnapshotBeforeUpdate);if(d.$SVG=t,d.$L=c,e.children=d,d.$BS=!1,d.context=n,d.props===u&&(d.props=a),i)d.state=$(d,a,d.state);else if(r(d.componentWillMount)){d.$BR=!0,d.componentWillMount();var b=d.$PS;if(!o(b)){var l=d.state;if(o(l))d.state=b;else for(var s in b)l[s]=b[s];d.$PS=null}d.$BR=!1}return d.$LI=Ge(d,a,n),d}function Qe(e){if(d(e)||t(e))return R(e,null);if(n(e))return _(e,0,null);return 16384&e.flags?D(e):e}function Ye(e,f,a,n,t,c){var d=e.flags|=16384;481&d?Ze(e,f,a,n,t,c):4&d?ff(e,f,a,n,t,c):8&d?(nf(e,f,a,n,t,c),rf(e,c)):512&d||16&d?Je(e,f,t):8192&d?Ke(e,f,a,n,t,c):1024&d&&ze(e,a,f,t,c)}function ze(e,f,a,n,t){Ye(e.children,e.ref,f,!1,null,t);var c=B();Je(c,a,n),e.dom=c.dom}function Ke(e,f,a,n,t,c){var d=e.children,r=e.childFlags;12&r&&0===d.length&&(r=e.childFlags=2,d=e.children=B()),2===r?Ye(d,f,t,n,t,c):ef(d,f,a,n,t,c)}function Je(e,f,a){var n=e.dom=document.createTextNode(e.children);o(f)||p(f,n,a)}function Ze(e,f,a,n,t,d){var r=e.flags,i=e.props,b=e.className,l=e.children,u=e.childFlags,s=e.dom=m(e.type,n=n||(32&r)>0);if(c(b)||""===b||(n?s.setAttribute("class",b):s.className=b),16===u)P(s,l);else if(1!==u){var h=n&&"foreignObject"!==e.type;2===u?(16384&l.flags&&(e.children=l=D(l)),Ye(l,s,a,h,null,d)):8!==u&&4!==u||ef(l,s,a,h,null,d)}o(f)||p(f,s,t),o(i)||je(e,r,i,s,n),Ee(e.ref,s,d)}function ef(e,f,a,n,t,c){for(var d=0;du)&&(b=x(d[u-1],!1).nextSibling)}vf(i,o,d,r,a,n,t,b,e,c)}function hf(e,f,a,n){var t=e.ref,c=f.ref,r=f.children;if(vf(e.childFlags,f.childFlags,e.children,r,t,a,!1,null,e,n),f.dom=e.dom,t!==c&&!d(r)){var i=r.dom;g(t,i),h(c,i)}}function pf(e,f,a,n,t,d){var r,i=f.dom=e.dom,o=e.props,b=f.props,l=!1,s=!1;if(n=n||(32&t)>0,o!==b){var h=o||u;if((r=b||u)!==u)for(var p in(l=(448&t)>0)&&(s=Te(r)),r){var m=h[p],v=r[p];m!==v&&We(p,m,v,i,n,s,e)}if(h!==u)for(var g in h)c(r[g])&&!c(h[g])&&We(g,h[g],null,i,n,s,e)}var y=f.children,w=f.className;e.className!==w&&(c(w)?i.removeAttribute("class"):n?i.setAttribute("class",w):i.className=w),4096&t?uf(i,y):vf(e.childFlags,f.childFlags,e.children,y,i,a,n&&"foreignObject"!==f.type,null,e,d),l&&Ie(t,f,i,r,!1,s);var x=f.ref,k=e.ref;k!==x&&(Fe(k),Ee(x,i,d))}function mf(e,f,a,n,t,c){Ue(e),ef(f,a,n,t,x(e,!0),c),k(e,a)}function vf(e,f,a,n,t,c,d,r,i,o){switch(e){case 2:switch(f){case 2:bf(a,n,t,c,d,r,o);break;case 1:Ve(a,t);break;case 16:Ue(a),P(t,n);break;default:mf(a,n,t,c,d,o)}break;case 1:switch(f){case 2:Ye(n,t,c,d,r,o);break;case 1:break;case 16:P(t,n);break;default:ef(n,t,c,d,r,o)}break;case 16:switch(f){case 16:lf(a,n,t);break;case 2:Re(t),Ye(n,t,c,d,r,o);break;case 1:Re(t);break;default:Re(t),ef(n,t,c,d,r,o)}break;default:switch(f){case 16:He(a),P(t,n);break;case 2:_e(t,i,a),Ye(n,t,c,d,r,o);break;case 1:_e(t,i,a);break;default:var b=0|a.length,l=0|n.length;0===b?l>0&&ef(n,t,c,d,r,o):0===l?_e(t,i,a):8===f&&8===e?$f(a,n,t,c,d,b,l,r,i,o):Mf(a,n,t,c,d,b,l,r,o)}}}function gf(e,f,a,n,t){t.push(function(){e.componentDidUpdate(f,a,n)})}function yf(e,f,a,n,t,c,d,i,o){var l=e.state,u=e.props,s=Boolean(e.$N),h=r(e.shouldComponentUpdate);if(s&&(f=$(e,a,f!==l?b(l,f):f)),d||!h||h&&e.shouldComponentUpdate(a,f,t)){!s&&r(e.componentWillUpdate)&&e.componentWillUpdate(a,f,t),e.props=a,e.state=f,e.context=t;var p=null,m=Ge(e,a,t);s&&r(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(u,l)),bf(e.$LI,m,n,e.$CX,c,i,o),e.$LI=m,r(e.componentDidUpdate)&&gf(e,u,l,p,o)}else e.props=a,e.state=f,e.context=t}function wf(e,f,a,n,t,c,d){var i=f.children=e.children;if(o(i))return;i.$L=d;var l=f.props||u,s=f.ref,h=e.ref,p=i.state;if(!i.$N){if(r(i.componentWillReceiveProps)){if(i.$BR=!0,i.componentWillReceiveProps(l,n),i.$UN)return;i.$BR=!1}o(i.$PS)||(p=b(p,i.$PS),i.$PS=null)}yf(i,p,l,a,n,t,!1,c,d),h!==s&&(Fe(h),Ee(s,i,d))}function xf(e,f,a,n,t,d,i){var o=!0,b=f.props||u,l=f.ref,s=e.props,h=!c(l),p=e.children;if(h&&r(l.onComponentShouldUpdate)&&(o=l.onComponentShouldUpdate(s,b)),!1!==o){h&&r(l.onComponentWillUpdate)&&l.onComponentWillUpdate(s,b);var m=f.type,v=Qe(32768&f.flags?m.render(b,l,n):m(b,n));bf(p,v,a,n,t,d,i),f.children=v,h&&r(l.onComponentDidUpdate)&&l.onComponentDidUpdate(s,b)}else f.children=p}function kf(e,f){var a=f.children,n=f.dom=e.dom;a!==e.children&&(n.nodeValue=a)}function Mf(e,f,a,n,t,c,d,r,i){for(var o,b,l=c>d?d:c,u=0;ud)for(u=l;uu||h>s)break e;p=e[h],m=f[h]}for(p=e[u],m=f[s];p.key===m.key;){if(16384&m.flags&&(f[s]=m=D(m)),bf(p,m,a,n,t,r,o),e[u]=m,s--,h>--u||h>s)break e;p=e[u],m=f[s]}}if(h>u){if(h<=s)for(l=(b=s+1)s)for(;h<=u;)Ve(e[h++],a);else Nf(e,f,n,c,d,u,s,h,a,t,r,i,o)}function Nf(e,f,a,n,t,c,d,r,i,o,b,l,u){var s,h,p,m=0,v=r,g=r,y=c-r+1,w=d-r+1,k=new Int32Array(w+1),$=y===n,N=!1,C=0,P=0;if(t<4||(y|w)<32)for(m=v;m<=c;++m)if(s=e[m],Pr?N=!0:C=r,16384&h.flags&&(f[r]=h=D(h)),bf(s,h,i,a,o,b,u),++P;break}!$&&r>d&&Ve(s,i)}else $||Ve(s,i);else{var S={};for(m=g;m<=d;++m)S[f[m].key]=m;for(m=v;m<=c;++m)if(s=e[m],Pv;)Ve(e[v++],i);k[r-g]=m+1,C>r?N=!0:C=r,16384&(h=f[r]).flags&&(f[r]=h=D(h)),bf(s,h,i,a,o,b,u),++P}else $||Ve(s,i);else $||Ve(s,i)}if($)_e(i,l,e),ef(f,i,a,o,b,u);else if(N){var A=Pf(k);for(r=A.length-1,m=w-1;m>=0;m--)0===k[m]?(16384&(h=f[C=m+g]).flags&&(f[C]=h=D(h)),Ye(h,i,a,o,(p=C+1)=0;m--)0===k[m]&&(16384&(h=f[C=m+g]).flags&&(f[C]=h=D(h)),Ye(h,i,a,o,(p=C+1)Cf&&(Cf=i,$e=new Int32Array(i),Ne=new Int32Array(i));a>1]]0&&(Ne[a]=$e[c-1]),$e[c]=a)}c=t+1;var o=new Int32Array(c);for(d=$e[c-1];c-- >0;)o[c]=d,d=Ne[d],$e[c]=0;return o}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Sf=[],Af="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},If=!1;function Lf(e,f,a,n){var t=e.$PS;if(r(f)&&(f=f(t?b(e.state,t):e.state,e.props,e.context)),c(t))e.$PS=f;else for(var d in f)t[d]=f[d];if(e.$BR)r(a)&&e.$L.push(a.bind(e));else{if(!N.v&&0===Sf.length)return void Ef(e,n,a);if(-1===Sf.indexOf(e)&&Sf.push(e),If||(If=!0,Af(Ff)),r(a)){var i=e.$QU;i||(i=e.$QU=[]),i.push(a)}}}function Tf(e){for(var f=e.$QU,a=0,n=f.length;a0&&y(t),N.v=!1}else e.state=e.$PS,e.$PS=null;r(a)&&a.call(e)}var Vf=function(e,f){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||u,this.context=f||u};Vf.prototype.forceUpdate=function(e){if(this.$UN)return;Lf(this,{},e,!0)},Vf.prototype.setState=function(e,f){if(this.$UN)return;this.$BS||Lf(this,e,f,!1)},Vf.prototype.render=function(e,f,a){return null};var Uf,Hf,Rf=function(e,f,a,n){this.min=e,this.max=f,this.mean=a,this.last=n},_f=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var f=this.samples,a=0;aa&&(a=c),n+=c}var d=e[this._i],r=n/e.length;return new Rf(f,a,r,d)},e}(),Of=[],Df=-1,Bf=(Uf=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,f){e.__proto__=f}||function(e,f){for(var a in f)f.hasOwnProperty(a)&&(e[a]=f[a])},function(e,f){function a(){this.constructor=e}Uf(e,f),e.prototype=null===f?Object.create(f):(a.prototype=f.prototype,new a)}),qf=30,Wf=100,jf=function(){function e(e){var f=this;this._sync=function(){f.sync(),f._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,Of.push(e),-1===Df&&requestAnimationFrame(function(e){Df=-1;var f=Of;Of=[];for(var a=0;a>8&15|f>>4&240,f>>4&15|240&f,(15&f)<<4|15&f,1):(f=na.exec(e))?ua(parseInt(f[1],16)):(f=ta.exec(e))?new ma(f[1],f[2],f[3],1):(f=ca.exec(e))?new ma(255*f[1]/100,255*f[2]/100,255*f[3]/100,1):(f=da.exec(e))?sa(f[1],f[2],f[3],f[4]):(f=ra.exec(e))?sa(255*f[1]/100,255*f[2]/100,255*f[3]/100,f[4]):(f=ia.exec(e))?ga(f[1],f[2]/100,f[3]/100,1):(f=oa.exec(e))?ga(f[1],f[2]/100,f[3]/100,f[4]):ba.hasOwnProperty(e)?ua(ba[e]):"transparent"===e?new ma(NaN,NaN,NaN,0):null}function ua(e){return new ma(e>>16&255,e>>8&255,255&e,1)}function sa(e,f,a,n){return n<=0&&(e=f=a=NaN),new ma(e,f,a,n)}function ha(e){if(e instanceof Jf||(e=la(e)),!e)return new ma;return new ma((e=e.rgb()).r,e.g,e.b,e.opacity)}function pa(e,f,a,n){return 1===arguments.length?ha(e):new ma(e,f,a,null==n?1:n)}function ma(e,f,a,n){this.r=+e,this.g=+f,this.b=+a,this.opacity=+n}function va(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ga(e,f,a,n){return n<=0?e=f=a=NaN:a<=0||a>=1?e=f=NaN:f<=0&&(e=NaN),new wa(e,f,a,n)}function ya(e){if(e instanceof wa)return new wa(e.h,e.s,e.l,e.opacity);if(e instanceof Jf||(e=la(e)),!e)return new wa;if(e instanceof wa)return e;var f=(e=e.rgb()).r/255,a=e.g/255,n=e.b/255,t=Math.min(f,a,n),c=Math.max(f,a,n),d=NaN,r=c-t,i=(c+t)/2;return r?(d=f===c?(a-n)/r+6*(a0&&i<1?0:d,new wa(d,r,i,e.opacity)}function wa(e,f,a,n){this.h=+e,this.s=+f,this.l=+a,this.opacity=+n}function xa(e,f,a){return 255*(e<60?f+(a-f)*e/60:e<180?a:e<240?f+(a-f)*(240-e)/60:f)}zf(Jf,la,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),zf(ma,pa,Kf(Jf,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new ma(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new ma(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+va(this.r)+va(this.g)+va(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),zf(wa,function(e,f,a,n){return 1===arguments.length?ya(e):new wa(e,f,a,null==n?1:n)},Kf(Jf,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new wa(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new wa(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),f=isNaN(e)||isNaN(this.s)?0:this.s,a=this.l,n=a+(a<.5?a:1-a)*f,t=2*a-n;return new ma(xa(e>=240?e-240:e+120,t,n),xa(e,t,n),xa(e<120?e+240:e-120,t,n),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var ka=Math.PI/180,Ma=180/Math.PI,$a=.96422,Na=1,Ca=.82521,Pa=4/29,Sa=6/29,Aa=3*Sa*Sa,Ia=Sa*Sa*Sa;function La(e){if(e instanceof Ta)return new Ta(e.l,e.a,e.b,e.opacity);if(e instanceof Ra)return _a(e);e instanceof ma||(e=ha(e));var f,a,n=Ua(e.r),t=Ua(e.g),c=Ua(e.b),d=Fa((.2225045*n+.7168786*t+.0606169*c)/Na);return n===t&&t===c?f=a=d:(f=Fa((.4360747*n+.3850649*t+.1430804*c)/$a),a=Fa((.0139322*n+.0971045*t+.7141733*c)/Ca)),new Ta(116*d-16,500*(f-d),200*(d-a),e.opacity)}function Ta(e,f,a,n){this.l=+e,this.a=+f,this.b=+a,this.opacity=+n}function Fa(e){return e>Ia?Math.pow(e,1/3):e/Aa+Pa}function Ea(e){return e>Sa?e*e*e:Aa*(e-Pa)}function Va(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ua(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Ha(e){if(e instanceof Ra)return new Ra(e.h,e.c,e.l,e.opacity);if(e instanceof Ta||(e=La(e)),0===e.a&&0===e.b)return new Ra(NaN,0=1?(a=1,f-1):Math.floor(a*f),t=e[n],c=e[n+1],d=n>0?e[n-1]:2*t-c,r=n180||a<-180?a-360*Math.round(a/360):a):Ja(isNaN(e)?f:e)});var tn=nn(en);function cn(e){return an(e[e.length-1])}function dn(e){var f=e.length;return function(a){return e[Math.max(0,Math.min(f-1,Math.floor(a*f)))]}}cn(new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Yf)),cn(new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Yf)),cn(new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Yf)),cn(new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Yf)),cn(new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Yf)),cn(new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Yf)),cn(new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Yf)),cn(new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Yf)),cn(new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Yf)),cn(new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Yf)),cn(new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Yf)),cn(new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Yf)),cn(new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Yf)),cn(new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Yf)),cn(new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Yf)),cn(new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Yf)),cn(new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Yf)),cn(new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Yf)),cn(new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Yf)),cn(new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Yf)),cn(new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Yf)),cn(new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Yf)),cn(new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Yf)),cn(new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Yf)),cn(new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Yf)),cn(new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Yf)),cn(new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Yf)),tn(Ya(300,.5,0),Ya(-240,.5,1)),tn(Ya(-100,.75,.35),Ya(80,1.5,.8)),tn(Ya(260,.75,.35),Ya(80,1.5,.8)),Ya(),pa(),Math.PI,Math.PI;var rn=dn(Yf("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725"));function on(e,f){for(var a=[],n=0;n0&&(t+=2/121*(1e3/(c-n)-t)),n=c,f.addSample(t),a.invalidate(),requestAnimationFrame(e)})}(),function(e){if(void 0===e&&(e=Hf.HideMin|Hf.HideMean),Qf(),void 0===performance.memory)return;var f=new _f(100),a=new Gf("Memory",e,"MB",f);Xf.appendChild(a.element),function e(){f.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),a.invalidate(),setTimeout(e,30)}()}();var bn=function(e){function n(f,n){var t;return(t=e.call(this,f,n)||this).state={numPoints:0},t.updateCount=t.updateCount.bind(a(t)),t}f(n,e);var t=n.prototype;return t.updateCount=function(e){this.setState({numPoints:e.target.value})},t.componentDidMount=function(){this.setState({numPoints:1e3})},t.render=function(e,f){return F(1,"div","app-wrapper",[H(2,sn,{count:f.numPoints},null,null),F(1,"div","controls",[R("# Points"),F(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:f.numPoints,onInput:this.updateCount},null,null),f.numPoints],0,null,null,null),F(1,"div","about",[R("InfernoJS 1k Components Demo based on the Glimmer demo by "),F(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),R(".")],4,null,null,null)],4,null,null,null)},n}(Vf),ln={PHYLLOTAXIS:0,GRID:1,WAVE:2,SPIRAL:3},un=[ln.PHYLLOTAXIS,ln.SPIRAL,ln.PHYLLOTAXIS,ln.GRID,ln.WAVE],sn=function(a){function n(e,f){var n;return(n=a.call(this,e,f)||this).layout=0,n.phyllotaxis=Mn(100),n.grid=$n(100),n.wave=Nn(100),n.spiral=Cn(100),n.points=[],n.step=0,n.numSteps=120,n}f(n,a);var t=n.prototype;return t.next=function(){var f=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%un.length);var a=Math.min(1,this.step/(.8*this.numSteps)),n=un[this.layout],t=un[(this.layout+1)%un.length],c=wn(n),d=wn(t),r=xn(n),i=xn(t);this.points=this.points.map(function(f){var n=e({},f);return n.x=kn(n,a,c,d),n.y=kn(n,a,r,i),n}),this.setState(),requestAnimationFrame(function(){f.next()})},t.setAnchors=function(e){var f=this;e.map(function(e,a){var n=An(f.grid(a)),t=n[0],c=n[1],d=An(f.wave(a)),r=d[0],i=d[1],o=An(f.spiral(a)),b=o[0],l=o[1],u=An(f.phyllotaxis(a)),s=u[0],h=u[1];Object.assign(e,{gx:t,gy:c,wx:r,wy:i,sx:b,sy:l,px:s,py:h})}),this.points=e},t.makePoints=function(e){for(var f=[],a=0;a0&&y(t),N.v=!1,r(a)&&a(),r(C.renderComplete)&&C.renderComplete(d,f)}(pn,mn,vn,gn)}(); diff --git a/docs/dbmonster/dist/bundle.js b/docs/dbmonster/dist/bundle.js index 8ed993578..c57abea43 100644 --- a/docs/dbmonster/dist/bundle.js +++ b/docs/dbmonster/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";var e,n,t=function(e,n,t,l){this.min=e,this.max=n,this.mean=t,this.last=l},l=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var n=this.samples,t=0;tl&&(l=a),i+=a}var o=e[this._i],u=i/e.length;return new t(n,l,u,o)},e}(),i=[],r=-1,a=(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(n,t){function l(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),o=30,u=100,s=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,i.push(e),-1===r&&requestAnimationFrame(function(e){r=-1;var n=i;i=[];for(var t=0;t0,s=C(o),c=k(o)&&o[0]===D;u||s||c?(t=t||n.slice(0,r),(u||c)&&(a=G(a)),(s||c)&&(a.key=D+r),t.push(a)):t&&t.push(a),a.flags|=65536}}l=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=G(n)),l=2;return e.children=t,e.childFlags=l,e}var Q="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Y={"xlink:actuate":Q,"xlink:arcrole":Q,"xlink:href":Q,"xlink:role":Q,"xlink:show":Q,"xlink:title":Q,"xlink:type":Q,"xml:base":J,"xml:lang":J,"xml:space":J};function Z(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var ee=Z(0),ne=Z(null),te=Z(!0);function le(e,n,t){var l=t.$EV;n?(0===ee[e]&&(ne[e]=fe(e)),l||(l=t.$EV=Z(null)),l[e]||++ee[e],l[e]=n):l&&l[e]&&(0===--ee[e]&&(document.removeEventListener(F(e),ne[e]),ne[e]=null),l[e]=null)}function ie(e,n,t,l,i){var r=n;do{if(t&&r.disabled)return;var a=r.$EV;if(a){var o=a[l];if(o&&(i.dom=r,o.event?o.event(o.data,e):o(e),e.cancelBubble))return}r=r.parentNode}while(!C(r))}function re(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ae(){return this.defaultPrevented}function oe(){return this.cancelBubble}function ue(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:ae},isPropagationStopped:{value:oe},stopPropagation:{value:re}}),n}function se(e){return function(n){if(0!==n.button)return void n.stopPropagation();ie(n,n.target,!0,e,ue(n))}}function ce(e){return function(n){ie(n,n.target,!1,e,ue(n))}}function fe(e){var n="onClick"===e||"onDblClick"===e?se(e):ce(e);return document.addEventListener(F(e),n),n}function de(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function pe(e,n,t){if(e[n]){var l=e[n];l.event?l.event(l.data,t):l(t)}else{var i=n.toLowerCase();e[i]&&e[i](t)}}function he(e,n){var t=function(t){var l=this.$V;if(!l)return;var i=l.props||$,r=l.dom;if(k(e))pe(i,e,t);else for(var a=0;a-1&&n.options[r]&&(a=n.options[r].value),t&&y(a)&&(a=e.defaultValue),Ce(l,a)}}var Me,Se,Pe=he("onInput",Ee),Ve=he("onChange");function Ne(e,n){ve(e,"input",Pe),n.onChange&&ve(e,"change",Ve)}function Ee(e,n,t){var l=e.value,i=n.value;if(y(l)){if(t){var r=e.defaultValue;y(r)||r===i||(n.defaultValue=r,n.value=r)}}else i!==l&&(n.defaultValue=l,n.value=l)}function He(e,n,t,l,i,r){64&e?ke(l,t):256&e?Te(l,t,i,n):128&e&&Ee(l,t,i),r&&(t.$V=n)}function Le(e,n,t){64&e?be(n,t):256&e?Fe(n):128&e&&Ne(n,t)}function _e(e){return e.type&&me(e.type)?!y(e.checked):!y(e.value)}function Ie(e){e&&(b(e)?e(null):e.current&&(e.current=null))}function Ue(e,n,t){e&&(b(e)||void 0!==e.current)&&t.push(function(){b(e)?e(n):void 0!==e.current&&(e.current=n)})}function Ae(e,n){Be(e),n&&L(e,n)}function Be(e){var n,t=e.flags,l=e.children;if(481&t){n=e.ref;var i=e.props;Ie(n);var r=e.childFlags;if(!C(i))for(var a=Object.keys(i),o=0,u=a.length;o0;for(var o in a&&(r=_e(t))&&Le(n,l,t),t)Xe(o,null,t[o],l,i,r,null);a&&He(n,e,l,t,!0,r)}function ze(e,n,t){var l=Je(e.render(n,e.state,t)),i=t;return b(e.getChildContext)&&(i=w(t,e.getChildContext())),e.$CX=i,l}function Qe(e,n,t,l,i,r){var a=new n(t,l),o=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=r,e.children=a,a.$BS=!1,a.context=l,a.props===$&&(a.props=t),o)a.state=I(a,t,a.state);else if(b(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!C(u)){var s=a.state;if(C(s))a.state=u;else for(var c in u)s[c]=u[c];a.$PS=null}a.$BR=!1}return a.$LI=ze(a,t,l),a}function Je(e){if(x(e)||g(e))return R(e,null);if(m(e))return j(e,0,null);return 16384&e.flags?G(e):e}function Ye(e,n,t,l,i,r){var a=e.flags|=16384;481&a?tn(e,n,t,l,i,r):4&a?rn(e,n,t,l,i,r):8&a?an(e,n,t,l,i,r):512&a||16&a?nn(e,n,i):8192&a?en(e,n,t,l,i,r):1024&a&&Ze(e,t,n,i,r)}function Ze(e,n,t,l,i){Ye(e.children,e.ref,n,!1,null,i);var r=X();nn(r,t,l),e.dom=r.dom}function en(e,n,t,l,i,r){var a=e.children,o=e.childFlags;12&o&&0===a.length&&(o=e.childFlags=2,a=e.children=X()),2===o?Ye(a,n,i,l,i,r):ln(a,n,t,l,i,r)}function nn(e,n,t){var l=e.dom=document.createTextNode(e.children);C(n)||M(n,l,t)}function tn(e,n,t,l,i,r){var a=e.flags,o=e.props,u=e.className,s=e.children,c=e.childFlags,f=e.dom=S(e.type,l=l||(32&a)>0);if(y(u)||""===u||(l?f.setAttribute("class",u):f.className=u),16===c)A(f,s);else if(1!==c){var d=l&&"foreignObject"!==e.type;2===c?(16384&s.flags&&(e.children=s=G(s)),Ye(s,f,t,d,null,r)):8!==c&&4!==c||ln(s,f,t,d,null,r)}C(n)||M(n,f,i),C(o)||Ke(e,a,o,f,l),Ue(e.ref,f,r)}function ln(e,n,t,l,i,r){for(var a=0;ad)&&(c=H(a[d-1],!1).nextSibling)}xn(u,s,a,o,t,l,i,c,e,r)}function mn(e,n,t,l){var i=e.ref,r=n.ref,a=n.children;if(xn(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,l),n.dom=e.dom,i!==r&&!x(a)){var o=a.dom;V(i,o),T(r,o)}}function gn(e,n,t,l,i,r){var a,o=n.dom=e.dom,u=e.props,s=n.props,c=!1,f=!1;if(l=l||(32&i)>0,u!==s){var d=u||$;if((a=s||$)!==$)for(var p in(c=(448&i)>0)&&(f=_e(a)),a){var h=d[p],v=a[p];h!==v&&Xe(p,h,v,o,l,f,e)}if(d!==$)for(var m in d)y(a[m])&&!y(d[m])&&Xe(m,d[m],null,o,l,f,e)}var g=n.children,x=n.className;e.className!==x&&(y(x)?o.removeAttribute("class"):l?o.setAttribute("class",x):o.className=x),4096&i?hn(o,g):xn(e.childFlags,n.childFlags,e.children,g,o,t,l&&"foreignObject"!==n.type,null,e,r),c&&He(i,n,o,a,!1,f);var b=n.ref,k=e.ref;k!==b&&(Ie(k),Ue(b,o,r))}function yn(e,n,t,l,i,r){Be(e),ln(n,t,l,i,H(e,!0),r),L(e,t)}function xn(e,n,t,l,i,r,a,o,u,s){switch(e){case 2:switch(n){case 2:dn(t,l,i,r,a,o,s);break;case 1:Ae(t,i);break;case 16:Be(t),A(i,l);break;default:yn(t,l,i,r,a,s)}break;case 1:switch(n){case 2:Ye(l,i,r,a,o,s);break;case 1:break;case 16:A(i,l);break;default:ln(l,i,r,a,o,s)}break;case 16:switch(n){case 16:pn(t,l,i);break;case 2:We(i),Ye(l,i,r,a,o,s);break;case 1:We(i);break;default:We(i),ln(l,i,r,a,o,s)}break;default:switch(n){case 16:De(t),A(i,l);break;case 2:Oe(i,u,t),Ye(l,i,r,a,o,s);break;case 1:Oe(i,u,t);break;default:var c=0|t.length,f=0|l.length;0===c?f>0&&ln(l,i,r,a,o,s):0===f?Oe(i,u,t):8===n&&8===e?Tn(t,l,i,r,a,c,f,o,u,s):Fn(t,l,i,r,a,c,f,o,s)}}}function bn(e,n,t,l,i){i.push(function(){e.componentDidUpdate(n,t,l)})}function kn(e,n,t,l,i,r,a,o,u){var s=e.state,c=e.props,f=Boolean(e.$N),d=b(e.shouldComponentUpdate);if(f&&(n=I(e,t,n!==s?w(s,n):n)),a||!d||d&&e.shouldComponentUpdate(t,n,i)){!f&&b(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var p=null,h=ze(e,t,i);f&&b(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(c,s)),dn(e.$LI,h,l,e.$CX,r,o,u),e.$LI=h,b(e.componentDidUpdate)&&bn(e,c,s,p,u)}else e.props=t,e.state=n,e.context=i}function Cn(e,n,t,l,i,r,a){var o=n.children=e.children;if(C(o))return;o.$L=a;var u=n.props||$,s=n.ref,c=e.ref,f=o.state;if(!o.$N){if(b(o.componentWillReceiveProps)){if(o.$BR=!0,o.componentWillReceiveProps(u,l),o.$UN)return;o.$BR=!1}C(o.$PS)||(f=w(f,o.$PS),o.$PS=null)}kn(o,f,u,t,l,i,!1,r,a),c!==s&&(Ie(c),Ue(s,o,a))}function wn(e,n,t,l,i,r,a){var o=!0,u=n.props||$,s=n.ref,c=e.props,f=!y(s),d=e.children;if(f&&b(s.onComponentShouldUpdate)&&(o=s.onComponentShouldUpdate(c,u)),!1!==o){f&&b(s.onComponentWillUpdate)&&s.onComponentWillUpdate(c,u);var p=n.type,h=Je(32768&n.flags?p.render(u,s,l):p(u,l));dn(d,h,t,l,i,r,a),n.children=h,f&&b(s.onComponentDidUpdate)&&s.onComponentDidUpdate(c,u)}else n.children=d}function $n(e,n){var t=n.children,l=n.dom=e.dom;t!==e.children&&(l.nodeValue=t)}function Fn(e,n,t,l,i,r,a,o,u){for(var s,c,f=r>a?a:r,d=0;da)for(d=f;dd||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=G(m)),dn(v,m,t,l,i,o,s),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(f=(c=p+1)p)for(;h<=d;)Ae(e[h++],t);else Mn(e,n,l,r,a,d,p,h,t,i,o,u,s)}function Mn(e,n,t,l,i,r,a,o,u,s,c,f,d){var p,h,v,m=0,g=o,y=o,x=r-o+1,b=a-o+1,k=new Int32Array(b+1),C=x===l,w=!1,$=0,F=0;if(i<4||(x|b)<32)for(m=g;m<=r;++m)if(p=e[m],Fo?w=!0:$=o,16384&h.flags&&(n[o]=h=G(h)),dn(p,h,u,t,s,c,d),++F;break}!C&&o>a&&Ae(p,u)}else C||Ae(p,u);else{var T={};for(m=y;m<=a;++m)T[n[m].key]=m;for(m=g;m<=r;++m)if(p=e[m],Fg;)Ae(e[g++],u);k[o-y]=m+1,$>o?w=!0:$=o,16384&(h=n[o]).flags&&(n[o]=h=G(h)),dn(p,h,u,t,s,c,d),++F}else C||Ae(p,u);else C||Ae(p,u)}if(C)Oe(u,f,e),ln(n,u,t,s,c,d);else if(w){var M=Pn(k);for(o=M.length-1,m=b-1;m>=0;m--)0===k[m]?(16384&(h=n[$=m+y]).flags&&(n[$]=h=G(h)),Ye(h,u,t,s,(v=$+1)=0;m--)0===k[m]&&(16384&(h=n[$=m+y]).flags&&(n[$]=h=G(h)),Ye(h,u,t,s,(v=$+1)Sn&&(Sn=u,Me=new Int32Array(u),Se=new Int32Array(u));t>1]]0&&(Se[t]=Me[r-1]),Me[r]=t)}r=i+1;var s=new Int32Array(r);for(a=Me[r-1];r-- >0;)s[r]=a,a=Se[a],Me[r]=0;return s}function Vn(e,n,t,l){var i=[],r=n.$V;y(r)?y(e)||(16384&e.flags&&(e=G(e)),Ye(e,n,l,!1,null,i),n.$V=e,r=e):y(e)?(Ae(r,n),n.$V=null):(16384&e.flags&&(e=G(e)),dn(r,e,n,l,!1,null,i),r=n.$V=e),i.length>0&&N(i),b(t)&&t(),b(U.renderComplete)&&U.renderComplete(r,n)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Nn=document.getElementById("app");function En(e){for(var n,t,l,i=e.length,r=[],a=0;a0&&(a+=2/121*(1e3/(n-r)-a)),r=n,t.addSample(a),i.invalidate(),requestAnimationFrame(e)})}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),d(),void 0===performance.memory)return;var t=new l(100),i=new c("Memory",e,"MB",t);f.appendChild(i.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),i.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),d();var t=h[e];void 0===t&&(h[e]=t=new p(e,"ms",n),f.appendChild(t.widget.element))}("view update"),setInterval(function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=h["view update"])&&(e.startTime=performance.now()),En(n),v("view update")},0)}(); +!function(){"use strict";var e,n,t=function(e,n,t,r){this.min=e,this.max=n,this.mean=t,this.last=r},r=function(){function e(e){this.samples=[],this.maxSamples=e,this._i=-1}return e.prototype.addSample=function(e){this._i=(this._i+1)%this.maxSamples,this.samples[this._i]=e},e.prototype.each=function(e){for(var n=this.samples,t=0;tr&&(r=a),i+=a}var o=e[this._i],u=i/e.length;return new t(n,r,u,o)},e}(),i=[],l=-1,a=(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=30,u=100,c=function(){function e(e){var n=this;this._sync=function(){n.sync(),n._dirty=!1},this.name=e,this.element=document.createElement("div"),this.element.style.cssText="padding: 2px;background-color: #020;font-family: monospace;font-size: 12px;color: #0f0",this._dirty=!1,this.invalidate()}return e.prototype.invalidate=function(){var e;this._dirty||(this._dirty=!0,e=this._sync,i.push(e),-1===l&&requestAnimationFrame(function(e){l=-1;var n=i;i=[];for(var t=0;t0,c=C(o),s=k(o)&&o[0]===O;u||c||s?(t=t||n.slice(0,l),(u||s)&&(a=K(a)),(c||s)&&(a.key=O+l),t.push(a)):t&&t.push(a),a.flags|=65536}}r=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=K(n)),r=2;return e.children=t,e.childFlags=r,e}var Y="http://www.w3.org/1999/xlink",Z="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":Z,"xml:lang":Z,"xml:space":Z};function ne(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var te=ne(0),re=ne(null),ie=ne(!0);function le(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=ve(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(T(e),re[e]),re[e]=null),t[e]=null)}function oe(e,n,t,r){if(b(t))le(e,r)[e]=t;else if($(t)){if(D(n,t))return;le(e,r)[e]=t}else ae(e,r)}function ue(e,n,t,r,i){var l=n;do{if(t&&l.disabled)return;var a=l.$EV;if(a){var o=a[r];if(o&&(i.dom=l,o.event?o.event(o.data,e):o(e),e.cancelBubble))return}l=l.parentNode}while(!C(l))}function ce(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function fe(){return this.cancelBubble}function de(e){var n={dom:document};return e.isDefaultPrevented=se,e.isPropagationStopped=fe,e.stopPropagation=ce,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function pe(e){return function(n){if(0!==n.button)return void n.stopPropagation();ue(n,n.target,!0,e,de(n))}}function he(e){return function(n){ue(n,n.target,!1,e,de(n))}}function ve(e){var n="onClick"===e||"onDblClick"===e?pe(e):he(e);return document.addEventListener(T(e),n),n}function me(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ge(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var i=n.toLowerCase();e[i]&&e[i](t)}}function ye(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||F,l=r.dom;if(k(e))ge(i,e,t);else for(var a=0;a-1&&n.options[l]&&(a=n.options[l].value),t&&y(a)&&(a=e.defaultValue),Te(r,a)}}var Ne,Ee,He=ye("onInput",Ie),Le=ye("onChange");function _e(e,n){xe(e,"input",He),n.onChange&&xe(e,"change",Le)}function Ie(e,n,t){var r=e.value,i=n.value;if(y(r)){if(t){var l=e.defaultValue;y(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==r&&(n.defaultValue=r,n.value=r)}function Ue(e,n,t,r,i,l){64&e?Fe(r,t):256&e?Ve(r,t,i,n):128&e&&Ie(r,t,i),l&&(t.$V=n)}function Ae(e,n,t){64&e?$e(n,t):256&e?Pe(n):128&e&&_e(n,t)}function Be(e){return e.type&&be(e.type)?!y(e.checked):!y(e.value)}function De(e){e&&!W(e,null)&&e.current&&(e.current=null)}function We(e,n,t){e&&(b(e)||void 0!==e.current)&&t.push(function(){W(e,n)||void 0===e.current||(e.current=n)})}function Oe(e,n){Re(e),_(e,n)}function Re(e){var n,t=e.flags,r=e.children;if(481&t){n=e.ref;var i=e.props;De(n);var l=e.childFlags;if(!C(i))for(var a=Object.keys(i),o=0,u=a.length;o0;for(var o in a&&(l=Be(t))&&Ae(n,r,t),t)Je(o,null,t[o],r,i,l,null);a&&Ue(n,e,r,t,!0,l)}function Ze(e,n,t){var r=nn(e.render(n,e.state,t)),i=t;return b(e.getChildContext)&&(i=w(t,e.getChildContext())),e.$CX=i,r}function en(e,n,t,r,i,l){var a=new n(t,r),o=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=l,e.children=a,a.$BS=!1,a.context=r,a.props===F&&(a.props=t),o)a.state=U(a,t,a.state);else if(b(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!C(u)){var c=a.state;if(C(c))a.state=u;else for(var s in u)c[s]=u[s];a.$PS=null}a.$BR=!1}return a.$LI=Ze(a,t,r),a}function nn(e){if(x(e)||g(e))return q(e,null);if(m(e))return G(e,0,null);return 16384&e.flags?K(e):e}function tn(e,n,t,r,i,l){var a=e.flags|=16384;481&a?on(e,n,t,r,i,l):4&a?cn(e,n,t,r,i,l):8&a?(fn(e,n,t,r,i,l),vn(e,l)):512&a||16&a?an(e,n,i):8192&a?ln(e,n,t,r,i,l):1024&a&&rn(e,t,n,i,l)}function rn(e,n,t,r,i){tn(e.children,e.ref,n,!1,null,i);var l=z();an(l,t,r),e.dom=l.dom}function ln(e,n,t,r,i,l){var a=e.children,o=e.childFlags;12&o&&0===a.length&&(o=e.childFlags=2,a=e.children=z()),2===o?tn(a,n,i,r,i,l):un(a,n,t,r,i,l)}function an(e,n,t){var r=e.dom=document.createTextNode(e.children);C(n)||S(n,r,t)}function on(e,n,t,r,i,l){var a=e.flags,o=e.props,u=e.className,c=e.children,s=e.childFlags,f=e.dom=P(e.type,r=r||(32&a)>0);if(y(u)||""===u||(r?f.setAttribute("class",u):f.className=u),16===s)B(f,c);else if(1!==s){var d=r&&"foreignObject"!==e.type;2===s?(16384&c.flags&&(e.children=c=K(c)),tn(c,f,t,d,null,l)):8!==s&&4!==s||un(c,f,t,d,null,l)}C(n)||S(n,f,i),C(o)||Ye(e,a,o,f,r),We(e.ref,f,l)}function un(e,n,t,r,i,l){for(var a=0;ad)&&(s=L(a[d-1],!1).nextSibling)}$n(u,c,a,o,t,r,i,s,e,l)}function kn(e,n,t,r){var i=e.ref,l=n.ref,a=n.children;if($n(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,r),n.dom=e.dom,i!==l&&!x(a)){var o=a.dom;N(i,o),M(l,o)}}function Cn(e,n,t,r,i,l){var a,o=n.dom=e.dom,u=e.props,c=n.props,s=!1,f=!1;if(r=r||(32&i)>0,u!==c){var d=u||F;if((a=c||F)!==F)for(var p in(s=(448&i)>0)&&(f=Be(a)),a){var h=d[p],v=a[p];h!==v&&Je(p,h,v,o,r,f,e)}if(d!==F)for(var m in d)y(a[m])&&!y(d[m])&&Je(m,d[m],null,o,r,f,e)}var g=n.children,x=n.className;e.className!==x&&(y(x)?o.removeAttribute("class"):r?o.setAttribute("class",x):o.className=x),4096&i?xn(o,g):$n(e.childFlags,n.childFlags,e.children,g,o,t,r&&"foreignObject"!==n.type,null,e,l),s&&Ue(i,n,o,a,!1,f);var b=n.ref,k=e.ref;k!==b&&(De(k),We(b,o,l))}function wn(e,n,t,r,i,l){Re(e),un(n,t,r,i,L(e,!0),l),_(e,t)}function $n(e,n,t,r,i,l,a,o,u,c){switch(e){case 2:switch(n){case 2:gn(t,r,i,l,a,o,c);break;case 1:Oe(t,i);break;case 16:Re(t),B(i,r);break;default:wn(t,r,i,l,a,c)}break;case 1:switch(n){case 2:tn(r,i,l,a,o,c);break;case 1:break;case 16:B(i,r);break;default:un(r,i,l,a,o,c)}break;case 16:switch(n){case 16:yn(t,r,i);break;case 2:qe(i),tn(r,i,l,a,o,c);break;case 1:qe(i);break;default:qe(i),un(r,i,l,a,o,c)}break;default:switch(n){case 16:je(t),B(i,r);break;case 2:Ge(i,u,t),tn(r,i,l,a,o,c);break;case 1:Ge(i,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&un(r,i,l,a,o,c):0===f?Ge(i,u,t):8===n&&8===e?Nn(t,r,i,l,a,s,f,o,u,c):Vn(t,r,i,l,a,s,f,o,c)}}}function Fn(e,n,t,r,i){i.push(function(){e.componentDidUpdate(n,t,r)})}function Tn(e,n,t,r,i,l,a,o,u){var c=e.state,s=e.props,f=Boolean(e.$N),d=b(e.shouldComponentUpdate);if(f&&(n=U(e,t,n!==c?w(c,n):n)),a||!d||d&&e.shouldComponentUpdate(t,n,i)){!f&&b(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var p=null,h=Ze(e,t,i);f&&b(e.getSnapshotBeforeUpdate)&&(p=e.getSnapshotBeforeUpdate(s,c)),gn(e.$LI,h,r,e.$CX,l,o,u),e.$LI=h,b(e.componentDidUpdate)&&Fn(e,s,c,p,u)}else e.props=t,e.state=n,e.context=i}function Mn(e,n,t,r,i,l,a){var o=n.children=e.children;if(C(o))return;o.$L=a;var u=n.props||F,c=n.ref,s=e.ref,f=o.state;if(!o.$N){if(b(o.componentWillReceiveProps)){if(o.$BR=!0,o.componentWillReceiveProps(u,r),o.$UN)return;o.$BR=!1}C(o.$PS)||(f=w(f,o.$PS),o.$PS=null)}Tn(o,f,u,t,r,i,!1,l,a),s!==c&&(De(s),We(c,o,a))}function Sn(e,n,t,r,i,l,a){var o=!0,u=n.props||F,c=n.ref,s=e.props,f=!y(c),d=e.children;if(f&&b(c.onComponentShouldUpdate)&&(o=c.onComponentShouldUpdate(s,u)),!1!==o){f&&b(c.onComponentWillUpdate)&&c.onComponentWillUpdate(s,u);var p=n.type,h=nn(32768&n.flags?p.render(u,c,r):p(u,r));gn(d,h,t,r,i,l,a),n.children=h,f&&b(c.onComponentDidUpdate)&&c.onComponentDidUpdate(s,u)}else n.children=d}function Pn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Vn(e,n,t,r,i,l,a,o,u){for(var c,s,f=l>a?a:l,d=0;da)for(d=f;dd||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=K(m)),gn(v,m,t,r,i,o,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)Oe(e[h++],t);else En(e,n,r,l,a,d,p,h,t,i,o,u,c)}function En(e,n,t,r,i,l,a,o,u,c,s,f,d){var p,h,v,m=0,g=o,y=o,x=l-o+1,b=a-o+1,k=new Int32Array(b+1),C=x===r,w=!1,$=0,F=0;if(i<4||(x|b)<32)for(m=g;m<=l;++m)if(p=e[m],Fo?w=!0:$=o,16384&h.flags&&(n[o]=h=K(h)),gn(p,h,u,t,c,s,d),++F;break}!C&&o>a&&Oe(p,u)}else C||Oe(p,u);else{var T={};for(m=y;m<=a;++m)T[n[m].key]=m;for(m=g;m<=l;++m)if(p=e[m],Fg;)Oe(e[g++],u);k[o-y]=m+1,$>o?w=!0:$=o,16384&(h=n[o]).flags&&(n[o]=h=K(h)),gn(p,h,u,t,c,s,d),++F}else C||Oe(p,u);else C||Oe(p,u)}if(C)Ge(u,f,e),un(n,u,t,c,s,d);else if(w){var M=Ln(k);for(o=M.length-1,m=b-1;m>=0;m--)0===k[m]?(16384&(h=n[$=m+y]).flags&&(n[$]=h=K(h)),tn(h,u,t,c,(v=$+1)=0;m--)0===k[m]&&(16384&(h=n[$=m+y]).flags&&(n[$]=h=K(h)),tn(h,u,t,c,(v=$+1)Hn&&(Hn=u,Ne=new Int32Array(u),Ee=new Int32Array(u));t>1]]0&&(Ee[t]=Ne[l-1]),Ne[l]=t)}l=i+1;var c=new Int32Array(l);for(a=Ne[l-1];l-- >0;)c[l]=a,a=Ee[a],Ne[l]=0;return c}function _n(e,n,t,r){var i=[],l=n.$V;y(l)?y(e)||(16384&e.flags&&(e=K(e)),tn(e,n,r,!1,null,i),n.$V=e,l=e):y(e)?(Oe(l,n),n.$V=null):(16384&e.flags&&(e=K(e)),gn(l,e,n,r,!1,null,i),l=n.$V=e),i.length>0&&E(i),b(t)&&t(),b(A.renderComplete)&&A.renderComplete(l,n)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var In=document.getElementById("app");function Un(e){for(var n,t,r,i=e.length,l=[],a=0;a0&&(a+=2/121*(1e3/(n-l)-a)),l=n,t.addSample(a),i.invalidate(),requestAnimationFrame(e)})}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),d(),void 0===performance.memory)return;var t=new r(100),i=new s("Memory",e,"MB",t);f.appendChild(i.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),i.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),d();var t=h[e];void 0===t&&(h[e]=t=new p(e,"ms",n),f.appendChild(t.widget.element))}("view update"),setInterval(function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=h["view update"])&&(e.startTime=performance.now()),Un(n),v("view update")},0)}(); diff --git a/docs/event-test/dist/bundle.js b/docs/event-test/dist/bundle.js index 5e27b97ca..52e3678c6 100644 --- a/docs/event-test/dist/bundle.js +++ b/docs/event-test/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";var e=Array.isArray;function n(e){var n=typeof e;return"string"===n||"number"===n}function t(e){return void 0===e||null===e}function r(e){return null===e||!1===e||!0===e||void 0===e}function l(e){return"function"===typeof e}function o(e){return"string"===typeof e}function i(e){return null===e}function u(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var l in n)t[l]=n[l];return t}var a={};function c(e){return e.substr(2).toLowerCase()}function f(e,n){e.appendChild(n)}function s(e,n,t){i(t)?f(e,n):e.insertBefore(n,t)}function d(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function v(e,n,t){e.replaceChild(n,t)}function p(e,n){e.removeChild(n)}function h(e){for(var n;void 0!==(n=e.shift());)n()}function m(e,n,t){var r=e.children;if(4&t)return r.$LI;if(8192&t)return 2===e.childFlags?r:r[n?0:r.length-1];return r}function g(e,n){for(var t;e;){if(2033&(t=e.flags))return e.dom;e=m(e,n,t)}return null}function y(e,n){do{var t=e.flags;if(2033&t)return void p(n,e.dom);var r=e.children;if(4&t&&(e=r.$LI),8&t&&(e=r),8192&t){if(2!==e.childFlags){for(var l=0,o=r.length;l0,p=i(d),h=o(d)&&d[0]===x;v||p||h?(u=u||l.slice(0,f),(v||h)&&(s=D(s)),(p||h)&&(s.key=x+f),u.push(s)):u&&u.push(s),s.flags|=65536}}a=0===(u=u||l).length?1:8}else(u=l).flags|=65536,81920&l.flags&&(u=D(l)),a=2;return t.children=u,t.childFlags=a,t}function W(e,n){if(l(n))return{data:e,event:n};return null}var O="http://www.w3.org/1999/xlink",j="http://www.w3.org/XML/1998/namespace",H={"xlink:actuate":O,"xlink:arcrole":O,"xlink:href":O,"xlink:role":O,"xlink:show":O,"xlink:title":O,"xlink:type":O,"xml:base":j,"xml:lang":j,"xml:space":j};function R(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var X=R(0),_=R(null),K=R(!0);function q(e,n,t){var r=t.$EV;n?(0===X[e]&&(_[e]=ne(e)),r||(r=t.$EV=R(null)),r[e]||++X[e],r[e]=n):r&&r[e]&&(0===--X[e]&&(document.removeEventListener(c(e),_[e]),_[e]=null),r[e]=null)}function G(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var u=o.$EV;if(u){var a=u[r];if(a&&(l.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function J(){return this.defaultPrevented}function Q(){return this.cancelBubble}function Y(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:J},isPropagationStopped:{value:Q},stopPropagation:{value:z}}),n}function Z(e){return function(n){if(0!==n.button)return void n.stopPropagation();G(n,n.target,!0,e,Y(n))}}function ee(e){return function(n){G(n,n.target,!1,e,Y(n))}}function ne(e){var n="onClick"===e||"onDblClick"===e?Z(e):ee(e);return document.addEventListener(c(e),n),n}function te(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function re(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function le(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||a,u=r.dom;if(o(e))re(i,e,t);else for(var c=0;c-1&&n.options[i]&&(u=n.options[i].value),r&&t(u)&&(u=e.defaultValue),de(l,u)}}var ge,ye,ke=le("onInput",we),be=le("onChange");function Ce(e,n){oe(e,"input",ke),n.onChange&&oe(e,"change",be)}function we(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function $e(e,n,t,r,l,o){64&e?se(r,t):256&e?me(r,t,l,n):128&e&&we(r,t,l),o&&(t.$V=n)}function Fe(e,n,t){64&e?fe(n,t):256&e?he(n):128&e&&Ce(n,t)}function xe(e){return e.type&&ie(e.type)?!t(e.checked):!t(e.value)}function Pe(e){e&&(l(e)?e(null):e.current&&(e.current=null))}function Se(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){l(e)?e(n):void 0!==e.current&&(e.current=n)})}function Le(e,n){Me(e),n&&y(e,n)}function Me(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var u=e.props;Pe(n);var c=e.childFlags;if(!i(u))for(var f=Object.keys(u),s=0,d=f.length;s0;for(var u in i&&(o=xe(t))&&Fe(n,r,t),t)Te(u,null,t[u],r,l,o,null);i&&$e(n,e,r,t,!0,o)}function We(e,n,t){var r=je(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=u(t,e.getChildContext())),e.$CX=o,r}function Oe(e,n,t,r,o,u){var c=new n(t,r),f=c.$N=Boolean(n.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=o,c.$L=u,e.children=c,c.$BS=!1,c.context=r,c.props===a&&(c.props=t),f)c.state=b(c,t,c.state);else if(l(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!i(s)){var d=c.state;if(i(d))c.state=s;else for(var v in s)d[v]=s[v];c.$PS=null}c.$BR=!1}return c.$LI=We(c,t,r),c}function je(t){if(r(t)||n(t))return U(t,null);if(e(t))return I(t,0,null);return 16384&t.flags?D(t):t}function He(e,n,t,r,l,o){var i=e.flags|=16384;481&i?Ke(e,n,t,r,l,o):4&i?Ge(e,n,t,r,l,o):8&i?ze(e,n,t,r,l,o):512&i||16&i?_e(e,n,l):8192&i?Xe(e,n,t,r,l,o):1024&i&&Re(e,t,n,l,o)}function Re(e,n,t,r,l){He(e.children,e.ref,n,!1,null,l);var o=E();_e(o,t,r),e.dom=o.dom}function Xe(e,n,t,r,l,o){var i=e.children,u=e.childFlags;12&u&&0===i.length&&(u=e.childFlags=2,i=e.children=E()),2===u?He(i,n,l,r,l,o):qe(i,n,t,r,l,o)}function _e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||s(n,r,t)}function Ke(e,n,r,l,o,u){var a=e.flags,c=e.props,f=e.className,v=e.children,p=e.childFlags,h=e.dom=d(e.type,l=l||(32&a)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===p)w(h,v);else if(1!==p){var m=l&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=D(v)),He(v,h,r,m,null,u)):8!==p&&4!==p||qe(v,h,r,m,null,u)}i(n)||s(n,h,o),i(c)||Be(e,a,c,h,l),Se(e.ref,h,u)}function qe(e,n,t,r,l,o){for(var i=0;id)&&(f=g(i[d-1],!1).nextSibling)}cn(a,c,i,u,t,r,l,f,e,o)}function on(e,n,t,l){var o=e.ref,i=n.ref,u=n.children;if(cn(e.childFlags,n.childFlags,e.children,u,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(u)){var a=u.dom;p(o,a),f(i,a)}}function un(e,n,r,l,o,i){var u,c=n.dom=e.dom,f=e.props,s=n.props,d=!1,v=!1;if(l=l||(32&o)>0,f!==s){var p=f||a;if((u=s||a)!==a)for(var h in(d=(448&o)>0)&&(v=xe(u)),u){var m=p[h],g=u[h];m!==g&&Te(h,m,g,c,l,v,e)}if(p!==a)for(var y in p)t(u[y])&&!t(p[y])&&Te(y,p[y],null,c,l,v,e)}var k=n.children,b=n.className;e.className!==b&&(t(b)?c.removeAttribute("class"):l?c.setAttribute("class",b):c.className=b),4096&o?rn(c,k):cn(e.childFlags,n.childFlags,e.children,k,c,r,l&&"foreignObject"!==n.type,null,e,i),d&&$e(o,n,c,u,!1,v);var C=n.ref,w=e.ref;w!==C&&(Pe(w),Se(C,c,i))}function an(e,n,t,r,l,o){Me(e),qe(n,t,r,l,g(e,!0),o),y(e,t)}function cn(e,n,t,r,l,o,i,u,a,c){switch(e){case 2:switch(n){case 2:nn(t,r,l,o,i,u,c);break;case 1:Le(t,l);break;case 16:Me(t),w(l,r);break;default:an(t,r,l,o,i,c)}break;case 1:switch(n){case 2:He(r,l,o,i,u,c);break;case 1:break;case 16:w(l,r);break;default:qe(r,l,o,i,u,c)}break;case 16:switch(n){case 16:tn(t,r,l);break;case 2:Ne(l),He(r,l,o,i,u,c);break;case 1:Ne(l);break;default:Ne(l),qe(r,l,o,i,u,c)}break;default:switch(n){case 16:Ve(t),w(l,r);break;case 2:Ue(l,a,t),He(r,l,o,i,u,c);break;case 1:Ue(l,a,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&qe(r,l,o,i,u,c):0===s?Ue(l,a,t):8===n&&8===e?mn(t,r,l,o,i,f,s,u,a,c):hn(t,r,l,o,i,f,s,u,c)}}}function fn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function sn(e,n,t,r,o,i,a,c,f){var s=e.state,d=e.props,v=Boolean(e.$N),p=l(e.shouldComponentUpdate);if(v&&(n=b(e,t,n!==s?u(s,n):n)),a||!p||p&&e.shouldComponentUpdate(t,n,o)){!v&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=We(e,t,o);v&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),nn(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&fn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function dn(e,n,t,r,o,c,f){var s=n.children=e.children;if(i(s))return;s.$L=f;var d=n.props||a,v=n.ref,p=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=u(h,s.$PS),s.$PS=null)}sn(s,h,d,t,r,o,!1,c,f),p!==v&&(Pe(p),Se(v,s,f))}function vn(e,n,r,o,i,u,c){var f=!0,s=n.props||a,d=n.ref,v=e.props,p=!t(d),h=e.children;if(p&&l(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(v,s)),!1!==f){p&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,s);var m=n.type,g=je(32768&n.flags?m.render(s,d,o):m(s,o));nn(h,g,r,o,i,u,c),n.children=g,p&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,s)}else n.children=h}function pn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function hn(e,n,t,r,l,o,i,u,a){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||p>v)break e;h=e[p],m=n[p]}for(h=e[d],m=n[v];h.key===m.key;){if(16384&m.flags&&(n[v]=m=D(m)),nn(h,m,t,r,l,u,c),e[d]=m,v--,p>--d||p>v)break e;h=e[d],m=n[v]}}if(p>d){if(p<=v)for(s=(f=v+1)v)for(;p<=d;)Le(e[p++],t);else gn(e,n,r,o,i,d,v,p,t,l,u,a,c)}function gn(e,n,t,r,l,o,i,u,a,c,f,s,d){var v,p,h,m=0,y=u,b=u,C=o-u+1,w=i-u+1,$=new Int32Array(w+1),F=C===r,x=!1,P=0,S=0;if(l<4||(C|w)<32)for(m=y;m<=o;++m)if(v=e[m],Su?x=!0:P=u,16384&p.flags&&(n[u]=p=D(p)),nn(v,p,a,t,c,f,d),++S;break}!F&&u>i&&Le(v,a)}else F||Le(v,a);else{var L={};for(m=b;m<=i;++m)L[n[m].key]=m;for(m=y;m<=o;++m)if(v=e[m],Sy;)Le(e[y++],a);$[u-b]=m+1,P>u?x=!0:P=u,16384&(p=n[u]).flags&&(n[u]=p=D(p)),nn(v,p,a,t,c,f,d),++S}else F||Le(v,a);else F||Le(v,a)}if(F)Ue(a,s,e),qe(n,a,t,c,f,d);else if(x){var M=kn($);for(u=M.length-1,m=w-1;m>=0;m--)0===$[m]?(16384&(p=n[P=m+b]).flags&&(n[P]=p=D(p)),He(p,a,t,c,(h=P+1)=0;m--)0===$[m]&&(16384&(p=n[P=m+b]).flags&&(n[P]=p=D(p)),He(p,a,t,c,(h=P+1)yn&&(yn=a,ge=new Int32Array(a),ye=new Int32Array(a));t>1]]0&&(ye[t]=ge[o-1]),ge[o]=t)}o=l+1;var c=new Int32Array(o);for(i=ge[o-1];o-- >0;)c[o]=i,i=ye[i],ge[o]=0;return c}function bn(e,n,r,o){var i=[],u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=D(e)),He(e,n,o,!1,null,i),n.$V=e,u=e):t(e)?(Le(u,n),n.$V=null):(16384&e.flags&&(e=D(e)),nn(u,e,n,o,!1,null,i),u=n.$V=e),i.length>0&&h(i),l(r)&&r(),l(C.renderComplete)&&C.renderComplete(u,n)}function Cn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=a),bn(e,n,t,r)}function wn(e){console.log("ok",e)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var $n=30,Fn=7,xn=[function(){for(var e=[],n=0;n<500;n++)e.push(S(1,"li",null,n,16,{onclick:wn},null,null));return S(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(S(1,"li",null,n,16,{onclick:W(n,wn)},null,null));return S(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(S(1,"li",null,n,16,{onClick:wn},null,null));return S(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(S(1,"li",null,n,16,{onclick:function(){console.log("ok")}},null,null));return S(1,"ul",null,e,4,null,null,null)}],Pn=["hoistedNonSyntheticEvents","hoistedLinkEventNonSynthetic","hoistedSyntheticEvents","newFuncsNonSyntheticEvents"],Sn=function(e){return e.reduce(function(e,n){return e+n},0)/e.length},Ln=function(e){return Math.min.apply(Math,e)},Mn=function(e){return Math.max.apply(Math,e)};function Vn(e){for(var n=e.results,t=[],r=0;r0,v=i(d),h=o(d)&&d[0]===L;p||v||h?(u=u||l.slice(0,f),(p||h)&&(s=B(s)),(v||h)&&(s.key=L+f),u.push(s)):u&&u.push(s),s.flags|=65536}}a=0===(u=u||l).length?1:8}else(u=l).flags|=65536,81920&l.flags&&(u=B(l)),a=2;return t.children=u,t.childFlags=a,t}var H="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":H,"xlink:arcrole":H,"xlink:href":H,"xlink:role":H,"xlink:show":H,"xlink:title":H,"xlink:type":H,"xml:base":R,"xml:lang":R,"xml:space":R};function _(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=_(0),q=_(null),G=_(!0);function z(e,n){var t=n.$EV;return t||(t=n.$EV=_(null)),t[e]||1===++K[e]&&(q[e]=oe(e)),t}function J(e,n){var t=n.$EV;t&&t[e]&&(0===--K[e]&&(document.removeEventListener(s(e),q[e]),q[e]=null),t[e]=null)}function Q(e,n,t,r){if(l(t))z(e,r)[e]=t;else if(c(t)){if(x(n,t))return;z(e,r)[e]=t}else J(e,r)}function Y(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var u=o.$EV;if(u){var a=u[r];if(a&&(l.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function Z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ee(){return this.defaultPrevented}function ne(){return this.cancelBubble}function te(e){var n={dom:document};return e.isDefaultPrevented=ee,e.isPropagationStopped=ne,e.stopPropagation=Z,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function re(e){return function(n){if(0!==n.button)return void n.stopPropagation();Y(n,n.target,!0,e,te(n))}}function le(e){return function(n){Y(n,n.target,!1,e,te(n))}}function oe(e){var n="onClick"===e||"onDblClick"===e?re(e):le(e);return document.addEventListener(s(e),n),n}function ie(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ue(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function ae(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,u=r.dom;if(o(e))ue(i,e,t);else for(var a=0;a-1&&n.options[i]&&(u=n.options[i].value),r&&t(u)&&(u=e.defaultValue),me(l,u)}}var we,Ce,$e=ae("onInput",Pe),Fe=ae("onChange");function xe(e,n){ce(e,"input",$e),n.onChange&&ce(e,"change",Fe)}function Pe(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function Se(e,n,t,r,l,o){64&e?he(r,t):256&e?be(r,t,l,n):128&e&&Pe(r,t,l),o&&(t.$V=n)}function Le(e,n,t){64&e?ve(n,t):256&e?ke(n):128&e&&xe(n,t)}function Me(e){return e.type&&fe(e.type)?!t(e.checked):!t(e.value)}function Ve(e){e&&!S(e,null)&&e.current&&(e.current=null)}function Ne(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){S(e,n)||void 0===e.current||(e.current=n)})}function Ue(e,n){Ie(e),b(e,n)}function Ie(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var u=e.props;Ve(n);var a=e.childFlags;if(!i(u))for(var c=Object.keys(u),s=0,d=c.length;s0;for(var u in i&&(o=Me(t))&&Le(n,r,t),t)je(u,null,t[u],r,l,o,null);i&&Se(n,e,r,t,!0,o)}function Re(e,n,t){var r=_e(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=u(t,e.getChildContext())),e.$CX=o,r}function Xe(e,n,t,r,o,u){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=u,e.children=a,a.$BS=!1,a.context=r,a.props===f&&(a.props=t),c)a.state=C(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!i(s)){var d=a.state;if(i(d))a.state=s;else for(var p in s)d[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=Re(a,t,r),a}function _e(t){if(r(t)||n(t))return E(t,null);if(e(t))return D(t,0,null);return 16384&t.flags?B(t):t}function Ke(e,n,t,r,l,o){var i=e.flags|=16384;481&i?Je(e,n,t,r,l,o):4&i?Ye(e,n,t,r,l,o):8&i?(en(e,n,t,r,l,o),ln(e,o)):512&i||16&i?ze(e,n,l):8192&i?Ge(e,n,t,r,l,o):1024&i&&qe(e,t,n,l,o)}function qe(e,n,t,r,l){Ke(e.children,e.ref,n,!1,null,l);var o=W();ze(o,t,r),e.dom=o.dom}function Ge(e,n,t,r,l,o){var i=e.children,u=e.childFlags;12&u&&0===i.length&&(u=e.childFlags=2,i=e.children=W()),2===u?Ke(i,n,l,r,l,o):Qe(i,n,t,r,l,o)}function ze(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function Je(e,n,r,l,o,u){var a=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,h=e.dom=v(e.type,l=l||(32&a)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===d)F(h,s);else if(1!==d){var m=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=B(s)),Ke(s,h,r,m,null,u)):8!==d&&4!==d||Qe(s,h,r,m,null,u)}i(n)||p(n,h,o),i(c)||He(e,a,c,h,l),Ne(e.ref,h,u)}function Qe(e,n,t,r,l,o){for(var i=0;id)&&(f=k(i[d-1],!1).nextSibling)}vn(a,c,i,u,t,r,l,f,e,o)}function sn(e,n,t,l){var o=e.ref,i=n.ref,u=n.children;if(vn(e.childFlags,n.childFlags,e.children,u,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(u)){var a=u.dom;m(o,a),d(i,a)}}function dn(e,n,r,l,o,i){var u,a=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(l=l||(32&o)>0,c!==s){var v=c||f;if((u=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=Me(u)),u){var m=v[h],g=u[h];m!==g&&je(h,m,g,a,l,p,e)}if(v!==f)for(var y in v)t(u[y])&&!t(v[y])&&je(y,v[y],null,a,l,p,e)}var k=n.children,b=n.className;e.className!==b&&(t(b)?a.removeAttribute("class"):l?a.setAttribute("class",b):a.className=b),4096&o?cn(a,k):vn(e.childFlags,n.childFlags,e.children,k,a,r,l&&"foreignObject"!==n.type,null,e,i),d&&Se(o,n,a,u,!1,p);var w=n.ref,C=e.ref;C!==w&&(Ve(C),Ne(w,a,i))}function pn(e,n,t,r,l,o){Ie(e),Qe(n,t,r,l,k(e,!0),o),b(e,t)}function vn(e,n,t,r,l,o,i,u,a,c){switch(e){case 2:switch(n){case 2:un(t,r,l,o,i,u,c);break;case 1:Ue(t,l);break;case 16:Ie(t),F(l,r);break;default:pn(t,r,l,o,i,c)}break;case 1:switch(n){case 2:Ke(r,l,o,i,u,c);break;case 1:break;case 16:F(l,r);break;default:Qe(r,l,o,i,u,c)}break;case 16:switch(n){case 16:an(t,r,l);break;case 2:Ee(l),Ke(r,l,o,i,u,c);break;case 1:Ee(l);break;default:Ee(l),Qe(r,l,o,i,u,c)}break;default:switch(n){case 16:Ae(t),F(l,r);break;case 2:De(l,a,t),Ke(r,l,o,i,u,c);break;case 1:De(l,a,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Qe(r,l,o,i,u,c):0===s?De(l,a,t):8===n&&8===e?wn(t,r,l,o,i,f,s,u,a,c):bn(t,r,l,o,i,f,s,u,c)}}}function hn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function mn(e,n,t,r,o,i,a,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=C(e,t,n!==s?u(s,n):n)),a||!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=Re(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),un(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&hn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function gn(e,n,t,r,o,a,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=u(h,s.$PS),s.$PS=null)}mn(s,h,d,t,r,o,!1,a,c),v!==p&&(Ve(v),Ne(p,s,c))}function yn(e,n,r,o,i,u,a){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=_e(32768&n.flags?m.render(s,d,o):m(s,o));un(h,g,r,o,i,u,a),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}function kn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function bn(e,n,t,r,l,o,i,u,a){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||v>p)break e;h=e[v],m=n[v]}for(h=e[d],m=n[p];h.key===m.key;){if(16384&m.flags&&(n[p]=m=B(m)),un(h,m,t,r,l,u,c),e[d]=m,p--,v>--d||v>p)break e;h=e[d],m=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)Ue(e[v++],t);else Cn(e,n,r,o,i,d,p,v,t,l,u,a,c)}function Cn(e,n,t,r,l,o,i,u,a,c,f,s,d){var p,v,h,m=0,g=u,y=u,b=o-u+1,C=i-u+1,$=new Int32Array(C+1),F=b===r,x=!1,P=0,S=0;if(l<4||(b|C)<32)for(m=g;m<=o;++m)if(p=e[m],Su?x=!0:P=u,16384&v.flags&&(n[u]=v=B(v)),un(p,v,a,t,c,f,d),++S;break}!F&&u>i&&Ue(p,a)}else F||Ue(p,a);else{var L={};for(m=y;m<=i;++m)L[n[m].key]=m;for(m=g;m<=o;++m)if(p=e[m],Sg;)Ue(e[g++],a);$[u-y]=m+1,P>u?x=!0:P=u,16384&(v=n[u]).flags&&(n[u]=v=B(v)),un(p,v,a,t,c,f,d),++S}else F||Ue(p,a);else F||Ue(p,a)}if(F)De(a,s,e),Qe(n,a,t,c,f,d);else if(x){var M=Fn($);for(u=M.length-1,m=C-1;m>=0;m--)0===$[m]?(16384&(v=n[P=m+y]).flags&&(n[P]=v=B(v)),Ke(v,a,t,c,(h=P+1)=0;m--)0===$[m]&&(16384&(v=n[P=m+y]).flags&&(n[P]=v=B(v)),Ke(v,a,t,c,(h=P+1)$n&&($n=a,we=new Int32Array(a),Ce=new Int32Array(a));t>1]]0&&(Ce[t]=we[o-1]),we[o]=t)}o=l+1;var c=new Int32Array(o);for(i=we[o-1];o-- >0;)c[o]=i,i=Ce[i],we[o]=0;return c}function xn(e,n,r,o){var i=[],u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=B(e)),Ke(e,n,o,!1,null,i),n.$V=e,u=e):t(e)?(Ue(u,n),n.$V=null):(16384&e.flags&&(e=B(e)),un(u,e,n,o,!1,null,i),u=n.$V=e),i.length>0&&g(i),l(r)&&r(),l($.renderComplete)&&$.renderComplete(u,n)}function Pn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),xn(e,n,t,r)}function Sn(e){console.log("ok",e)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Ln=30,Mn=7,Vn=[function(){for(var e=[],n=0;n<500;n++)e.push(V(1,"li",null,n,16,{onclick:Sn},null,null));return V(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(V(1,"li",null,n,16,{onclick:a(n,Sn)},null,null));return V(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(V(1,"li",null,n,16,{onClick:Sn},null,null));return V(1,"ul",null,e,4,null,null,null)},function(){for(var e=[],n=0;n<500;n++)e.push(V(1,"li",null,n,16,{onclick:function(){console.log("ok")}},null,null));return V(1,"ul",null,e,4,null,null,null)}],Nn=["hoistedNonSyntheticEvents","hoistedLinkEventNonSynthetic","hoistedSyntheticEvents","newFuncsNonSyntheticEvents"],Un=function(e){return e.reduce(function(e,n){return e+n},0)/e.length},In=function(e){return Math.min.apply(Math,e)},An=function(e){return Math.max.apply(Math,e)};function En(e){for(var n=e.results,t=[],r=0;r0,v=l(d),h=i(d)&&d[0]===U;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=E(s)),(v||h)&&(s.key=U+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||o).length?1:8}else(a=o).flags|=65536,81920&o.flags&&(a=E(o)),u=2;return t.children=a,t.childFlags=u,t}function j(e,n){if(o(n))return{data:e,event:n};return null}var H="http://www.w3.org/1999/xlink",z="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":H,"xlink:arcrole":H,"xlink:href":H,"xlink:role":H,"xlink:show":H,"xlink:title":H,"xlink:type":H,"xml:base":z,"xml:lang":z,"xml:space":z};function X(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var q=X(0),G=X(null),K=X(!0);function J(e,n,t){var r=t.$EV;n?(0===q[e]&&(G[e]=ie(e)),r||(r=t.$EV=X(null)),r[e]||++q[e],r[e]=n):r&&r[e]&&(0===--q[e]&&(document.removeEventListener(f(e),G[e]),G[e]=null),r[e]=null)}function Y(e,n,t,r,o){var i=n;do{if(t&&i.disabled)return;var a=i.$EV;if(a){var u=a[r];if(u&&(o.dom=i,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}i=i.parentNode}while(!l(i))}function Z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ee(){return this.defaultPrevented}function ne(){return this.cancelBubble}function te(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:ee},isPropagationStopped:{value:ne},stopPropagation:{value:Z}}),n}function re(e){return function(n){if(0!==n.button)return void n.stopPropagation();Y(n,n.target,!0,e,te(n))}}function oe(e){return function(n){Y(n,n.target,!1,e,te(n))}}function ie(e){var n="onClick"===e||"onDblClick"===e?re(e):oe(e);return document.addEventListener(f(e),n),n}function le(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ae(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function ue(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||u,a=r.dom;if(i(e))ae(l,e,t);else for(var c=0;c-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),me(o,a)}}var Ce,xe,we=ue("onInput",Se),$e=ue("onChange");function Ne(e,n){ce(e,"input",we),n.onChange&&ce(e,"change",$e)}function Se(e,n,r){var o=e.value,i=n.value;if(t(o)){if(r){var l=e.defaultValue;t(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==o&&(n.defaultValue=o,n.value=o)}function Ue(e,n,t,r,o,i){64&e?he(r,t):256&e?ke(r,t,o,n):128&e&&Se(r,t,o),i&&(t.$V=n)}function Pe(e,n,t){64&e?ve(n,t):256&e?be(n):128&e&&Ne(n,t)}function Ve(e){return e.type&&fe(e.type)?!t(e.checked):!t(e.value)}function Fe(e){e&&(o(e)?e(null):e.current&&(e.current=null))}function Me(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push(function(){o(e)?e(n):void 0!==e.current&&(e.current=n)})}function Le(e,n){Ie(e),n&&b(e,n)}function Ie(e){var n,r=e.flags,i=e.children;if(481&r){n=e.ref;var a=e.props;Fe(n);var c=e.childFlags;if(!l(a))for(var f=Object.keys(a),s=0,d=f.length;s0;for(var a in l&&(i=Ve(t))&&Pe(n,r,t),t)Re(a,null,t[a],r,o,i,null);l&&Ue(n,e,r,t,!0,i)}function je(e,n,t){var r=ze(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function He(e,n,t,r,i,a){var c=new n(t,r),f=c.$N=Boolean(n.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=i,c.$L=a,e.children=c,c.$BS=!1,c.context=r,c.props===u&&(c.props=t),f)c.state=C(c,t,c.state);else if(o(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!l(s)){var d=c.state;if(l(d))c.state=s;else for(var p in s)d[p]=s[p];c.$PS=null}c.$BR=!1}return c.$LI=je(c,t,r),c}function ze(t){if(r(t)||n(t))return T(t,null);if(e(t))return _(t,0,null);return 16384&t.flags?E(t):t}function Qe(e,n,t,r,o,i){var l=e.flags|=16384;481&l?Ke(e,n,t,r,o,i):4&l?Ye(e,n,t,r,o,i):8&l?Ze(e,n,t,r,o,i):512&l||16&l?Ge(e,n,o):8192&l?qe(e,n,t,r,o,i):1024&l&&Xe(e,t,n,o,i)}function Xe(e,n,t,r,o){Qe(e.children,e.ref,n,!1,null,o);var i=O();Ge(i,t,r),e.dom=i.dom}function qe(e,n,t,r,o,i){var l=e.children,a=e.childFlags;12&a&&0===l.length&&(a=e.childFlags=2,l=e.children=O()),2===a?Qe(l,n,o,r,o,i):Je(l,n,t,r,o,i)}function Ge(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||d(n,r,t)}function Ke(e,n,r,o,i,a){var u=e.flags,c=e.props,f=e.className,s=e.children,v=e.childFlags,h=e.dom=p(e.type,o=o||(32&u)>0);if(t(f)||""===f||(o?h.setAttribute("class",f):h.className=f),16===v)$(h,s);else if(1!==v){var m=o&&"foreignObject"!==e.type;2===v?(16384&s.flags&&(e.children=s=E(s)),Qe(s,h,r,m,null,a)):8!==v&&4!==v||Je(s,h,r,m,null,a)}l(n)||d(n,h,i),l(c)||We(e,u,c,h,o),Me(e.ref,h,a)}function Je(e,n,t,r,o,i){for(var l=0;ld)&&(f=y(l[d-1],!1).nextSibling)}pn(u,c,l,a,t,r,o,f,e,i)}function fn(e,n,t,o){var i=e.ref,l=n.ref,a=n.children;if(pn(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,o),n.dom=e.dom,i!==l&&!r(a)){var u=a.dom;h(i,u),s(l,u)}}function sn(e,n,r,o,i,l){var a,c=n.dom=e.dom,f=e.props,s=n.props,d=!1,p=!1;if(o=o||(32&i)>0,f!==s){var v=f||u;if((a=s||u)!==u)for(var h in(d=(448&i)>0)&&(p=Ve(a)),a){var m=v[h],g=a[h];m!==g&&Re(h,m,g,c,o,p,e)}if(v!==u)for(var y in v)t(a[y])&&!t(v[y])&&Re(y,v[y],null,c,o,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?c.removeAttribute("class"):o?c.setAttribute("class",k):c.className=k),4096&i?un(c,b):pn(e.childFlags,n.childFlags,e.children,b,c,r,o&&"foreignObject"!==n.type,null,e,l),d&&Ue(i,n,c,a,!1,p);var C=n.ref,x=e.ref;x!==C&&(Fe(x),Me(C,c,l))}function dn(e,n,t,r,o,i){Ie(e),Je(n,t,r,o,y(e,!0),i),b(e,t)}function pn(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:ln(t,r,o,i,l,a,c);break;case 1:Le(t,o);break;case 16:Ie(t),$(o,r);break;default:dn(t,r,o,i,l,c)}break;case 1:switch(n){case 2:Qe(r,o,i,l,a,c);break;case 1:break;case 16:$(o,r);break;default:Je(r,o,i,l,a,c)}break;case 16:switch(n){case 16:an(t,r,o);break;case 2:_e(o),Qe(r,o,i,l,a,c);break;case 1:_e(o);break;default:_e(o),Je(r,o,i,l,a,c)}break;default:switch(n){case 16:Te(t),$(o,r);break;case 2:Ae(o,u,t),Qe(r,o,i,l,a,c);break;case 1:Ae(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Je(r,o,i,l,a,c):0===s?Ae(o,u,t):8===n&&8===e?kn(t,r,o,i,l,f,s,a,u,c):bn(t,r,o,i,l,f,s,a,c)}}}function vn(e,n,t,r,o){o.push(function(){e.componentDidUpdate(n,t,r)})}function hn(e,n,t,r,i,l,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=o(e.shouldComponentUpdate);if(p&&(n=C(e,t,n!==s?a(s,n):n)),u||!v||v&&e.shouldComponentUpdate(t,n,i)){!p&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var h=null,m=je(e,t,i);p&&o(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),ln(e.$LI,m,r,e.$CX,l,c,f),e.$LI=m,o(e.componentDidUpdate)&&vn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=i}function mn(e,n,t,r,i,c,f){var s=n.children=e.children;if(l(s))return;s.$L=f;var d=n.props||u,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(o(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}l(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}hn(s,h,d,t,r,i,!1,c,f),v!==p&&(Fe(v),Me(p,s,f))}function gn(e,n,r,i,l,a,c){var f=!0,s=n.props||u,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&o(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(p,s)),!1!==f){v&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=ze(32768&n.flags?m.render(s,d,i):m(s,i));ln(h,g,r,i,l,a,c),n.children=g,v&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}function yn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function bn(e,n,t,r,o,i,l,a,u){for(var c,f,s=i>l?l:i,d=0;dl)for(d=s;dd||v>p)break e;h=e[v],m=n[v]}for(h=e[d],m=n[p];h.key===m.key;){if(16384&m.flags&&(n[p]=m=E(m)),ln(h,m,t,r,o,a,c),e[d]=m,p--,v>--d||v>p)break e;h=e[d],m=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)Le(e[v++],t);else Cn(e,n,r,i,l,d,p,v,t,o,a,u,c)}function Cn(e,n,t,r,o,i,l,a,u,c,f,s,d){var p,v,h,m=0,g=a,b=a,C=i-a+1,x=l-a+1,w=new Int32Array(x+1),$=C===r,N=!1,S=0,U=0;if(o<4||(C|x)<32)for(m=g;m<=i;++m)if(p=e[m],Ua?N=!0:S=a,16384&v.flags&&(n[a]=v=E(v)),ln(p,v,u,t,c,f,d),++U;break}!$&&a>l&&Le(p,u)}else $||Le(p,u);else{var P={};for(m=b;m<=l;++m)P[n[m].key]=m;for(m=g;m<=i;++m)if(p=e[m],Ug;)Le(e[g++],u);w[a-b]=m+1,S>a?N=!0:S=a,16384&(v=n[a]).flags&&(n[a]=v=E(v)),ln(p,v,u,t,c,f,d),++U}else $||Le(p,u);else $||Le(p,u)}if($)Ae(u,s,e),Je(n,u,t,c,f,d);else if(N){var V=wn(w);for(a=V.length-1,m=x-1;m>=0;m--)0===w[m]?(16384&(v=n[S=m+b]).flags&&(n[S]=v=E(v)),Qe(v,u,t,c,(h=S+1)=0;m--)0===w[m]&&(16384&(v=n[S=m+b]).flags&&(n[S]=v=E(v)),Qe(v,u,t,c,(h=S+1)xn&&(xn=u,Ce=new Int32Array(u),xe=new Int32Array(u));t>1]]0&&(xe[t]=Ce[i-1]),Ce[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Ce[i-1];i-- >0;)c[i]=l,l=xe[l],Ce[i]=0;return c}function $n(e,n,r,i){var l=[],a=n.$V;x.v=!0,t(a)?t(e)||(16384&e.flags&&(e=E(e)),Qe(e,n,i,!1,null,l),n.$V=e,a=e):t(e)?(Le(a,n),n.$V=null):(16384&e.flags&&(e=E(e)),ln(a,e,n,i,!1,null,l),a=n.$V=e),l.length>0&&m(l),x.v=!1,o(r)&&r(),o(w.renderComplete)&&w.renderComplete(a,n)}function Nn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=u),$n(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Sn=[],Un="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Pn=!1;function Vn(e,n,r,i){var l=e.$PS;if(o(n)&&(n=n(l?a(e.state,l):e.state,e.props,e.context)),t(l))e.$PS=n;else for(var u in n)l[u]=n[u];if(e.$BR)o(r)&&e.$L.push(r.bind(e));else{if(!x.v&&0===Sn.length)return void Ln(e,i,r);if(-1===Sn.indexOf(e)&&Sn.push(e),Pn||(Pn=!0,Un(Mn)),o(r)){var c=e.$QU;c||(c=e.$QU=[]),c.push(r)}}}function Fn(e){for(var n=e.$QU,t=0,r=n.length;t0&&m(i),x.v=!1}else e.state=e.$PS,e.$PS=null;o(t)&&t.call(e)}var In=function(e,n){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||u,this.context=n||u};function Tn(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var o in n)t[o]=n[o];return t}function _n(e,n,t){var r=arguments,o=e.flags,i=14&o?e.props&&e.props.children:e.children,l=arguments.length-2,a=e.className,c=e.key,f=e.ref;if(n?(void 0!==n.className&&(a=n.className),void 0!==n.ref&&(f=n.ref),void 0!==n.key&&(c=n.key),void 0!==n.children&&(i=n.children)):n={},1===l)i=t;else if(l>1)for(i=[];l-- >0;)i[l]=r[l+2];if(n.children=i,14&o)return I(o,e.type,e.props||n?Tn(e.props,n):u,c,f);if(16&o)return T(i);if(8192&o)return _(1===l?[i]:i,0,c);return A(V(o,e.type,a,null,1,Tn(e.props,n),c,f))}In.prototype.forceUpdate=function(e){if(this.$UN)return;Vn(this,{},e,!0)},In.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Vn(this,e,n,!1)},In.prototype.render=function(e,n,t){return null};var An="a runtime error occured! Use Inferno in development environment to find the error.";function Dn(e){throw e||(e=An),new Error("Inferno Error: "+e)}var En={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function On(e,n){for(var t in n)e[t]=n[t];return e}function Bn(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||En[n]||((e[n]=t.bind(e)).__bound=!0)}}function Rn(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];f-- >0;)r[f]=i[f+2];if("string"!==typeof e){if(c=2,Xn(r)||(n||(n={}),n.children=r),!Qn(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?l=n.ref:1===qn[s]?(l||(l={}),l[s]=n[s]):o[s]=n[s];return I(c,e,o,a,l)}if(c=R(e),!Qn(n))for(var d in o={},n)"className"===d||"class"===d?u=n[d]:"key"===d?a=n.key:"children"===d&&Xn(r)?r=n.children:"ref"===d?l=n.ref:("contenteditable"===d&&(c|=4096),o[d]=n[d]);if(8192&c)return _(1===f?[r]:r,0,a);return V(c,e,u,r,0,o,a,l)}var Kn="a runtime error occured! Use Inferno in development environment to find the error.";function Jn(e){return"function"===typeof e}function Yn(e){return null===e}function Zn(e){throw e||(e=Kn),new Error("Inferno Error: "+e)}function et(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function nt(e){for(var n,t;e;){if(2033&(n=e.flags))return e.dom;t=e.children,e=8192&n?2===e.childFlags?t:t[t.length-1]:4&n?t.$LI:t}return null}function tt(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&et(e,n.dangerouslySetInnerHTML.__html))}function rt(e,n,t,r,o,i,l){var a,u=e.type,c=e.ref,f=e.props||{};if(i){var s=He(e,u,f,r,o,l);a=ut(s.$LI,n,t,s.$CX,o,l),nn(c,s,l)}else{var d=ze(u(f,r));a=ut(d,n,t,r,o,l),e.children=d,rn(f,c,e,l)}return a}function ot(e,n,t,r,o,i){var l=e.childFlags,a=e.children,u=e.props,c=e.flags;if(1!==l){if(2===l)Yn(t)?Qe(a,n,r,o,null,i):t=(t=ut(a,n,t,r,o,i))?t.nextSibling:null;else if(16===l)Yn(t)?n.appendChild(document.createTextNode(a)):1!==n.childNodes.length||3!==t.nodeType?n.textContent=a:t.nodeValue!==a&&(t.nodeValue=a),t=null;else if(12&l)for(var f=!1,s=0,d=a.length;s0?Qe(p,n,r,o,t,i):t=(t=ut(p,n,t,r,o,i))?t.nextSibling:null,f=(16&p.flags)>0}if(0===(8192&c))for(var v=null;t;)v=t.nextSibling,n.removeChild(t),t=v}else Yn(n.firstChild)||tt(n,u)||(n.textContent="",448&c&&(n.defaultValue=""))}function it(e,n,t,r,o,i){var l,a=e.props,u=e.className,c=e.flags,f=e.ref;return o=o||(32&c)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(Ke(e,null,r,o,null,i),n.replaceChild(e.dom,t)):(e.dom=t,ot(e,t,t.firstChild,r,o,i),Yn(a)||We(e,c,a,t,o),void 0===(l=u)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",u):t.className=u,Me(f,t,i)),e.dom}function lt(e,n,t){if(3!==t.nodeType)Ge(e,null,null),n.replaceChild(e.dom,t);else{var r=e.children;t.nodeValue!==r&&(t.nodeValue=r),e.dom=t}return e.dom}function at(e,n,t,r,o,i){var l=e.children;if(2===e.childFlags)return lt(l,n,t),l.dom;return ot(e,n,t,r,o,i),nt(l[l.length-1])}function ut(e,n,t,r,o,i){var l=e.flags|=16384;if(14&l)return rt(e,n,t,r,o,(4&l)>0,i);if(481&l)return it(e,n,t,r,o,i);if(16&l)return lt(e,n,t);if(512&l)return e.dom=t;if(8192&l)return at(e,n,t,r,o,i);return Zn(),null}var ct=Array.isArray;function ft(e){return void 0===e||null===e}function st(e){return"string"===typeof e}function dt(e){return null===e}function pt(){}pt.isRequired=pt;var vt=function(){return pt},ht={any:vt,array:pt,arrayOf:vt,bool:pt,checkPropTypes:function(){return null},element:vt,func:pt,instanceOf:vt,node:vt,number:pt,object:pt,objectOf:vt,oneOf:vt,oneOfType:vt,shape:vt,string:pt,symbol:pt},mt={htmlFor:"for",onDoubleClick:"onDblClick"},gt=/[\-\:]([a-z])/g,yt=function(e){return e[1].toUpperCase()};function bt(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach(function(e){var n=e.replace(gt,yt);mt[n]=e});var kt=/[A-Z]/g;function Ct(e,n){for(var t=0,r=e.length;t0)for(var l;void 0!==(l=i.shift());)l()}n.$V=e,Jn(t)&&t()},isValidElement:function(e){if("object"!==typeof e||dt(e))return!1;return(495&e.flags)>0},linkEvent:j,normalizeProps:A,options:w,render:At,rerender:Mn,unmountComponentAtNode:function(e){return $n(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){At(I(4,_t,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=Dt,window.ReactDOM=Dt}function Et(e){return V(1,"li","TreeLeaf",T(e.children),0,null,null,null)}function Ot(e,n){return e!==n}function Bt(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0,h=l(d),v=i(d)&&d[0]===F;p||h||v?(a=a||o.slice(0,f),(p||v)&&(s=R(s)),(h||v)&&(s.key=F+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||o).length?1:8}else(a=o).flags|=65536,81920&o.flags&&(a=R(o)),u=2;return t.children=a,t.childFlags=u,t}var Q="http://www.w3.org/1999/xlink",X="http://www.w3.org/XML/1998/namespace",q={"xlink:actuate":Q,"xlink:arcrole":Q,"xlink:href":Q,"xlink:role":Q,"xlink:show":Q,"xlink:title":Q,"xlink:type":Q,"xml:base":X,"xml:lang":X,"xml:space":X};function G(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=G(0),J=G(null),Y=G(!0);function Z(e,n){var t=n.$EV;return t||(t=n.$EV=G(null)),t[e]||1===++K[e]&&(J[e]=ce(e)),t}function ee(e,n){var t=n.$EV;t&&t[e]&&(0===--K[e]&&(document.removeEventListener(d(e),J[e]),J[e]=null),t[e]=null)}function ne(e,n,t,r){if(o(t))Z(e,r)[e]=t;else if(c(t)){if(U(n,t))return;Z(e,r)[e]=t}else ee(e,r)}function te(e,n,t,r,o){var i=n;do{if(t&&i.disabled)return;var a=i.$EV;if(a){var u=a[r];if(u&&(o.dom=i,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}i=i.parentNode}while(!l(i))}function re(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function oe(){return this.defaultPrevented}function ie(){return this.cancelBubble}function le(e){var n={dom:document};return e.isDefaultPrevented=oe,e.isPropagationStopped=ie,e.stopPropagation=re,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ae(e){return function(n){if(0!==n.button)return void n.stopPropagation();te(n,n.target,!0,e,le(n))}}function ue(e){return function(n){te(n,n.target,!1,e,le(n))}}function ce(e){var n="onClick"===e||"onDblClick"===e?ae(e):ue(e);return document.addEventListener(d(e),n),n}function fe(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function se(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function de(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))se(l,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),ke(o,a)}}var Ne,Se,Ue=de("onInput",Fe),Pe=de("onChange");function Ve(e,n){pe(e,"input",Ue),n.onChange&&pe(e,"change",Pe)}function Fe(e,n,r){var o=e.value,i=n.value;if(t(o)){if(r){var l=e.defaultValue;t(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==o&&(n.defaultValue=o,n.value=o)}function Le(e,n,t,r,o,i){64&e?be(r,t):256&e?$e(r,t,o,n):128&e&&Fe(r,t,o),i&&(t.$V=n)}function Me(e,n,t){64&e?ye(n,t):256&e?we(n):128&e&&Ve(n,t)}function Ie(e){return e.type&&he(e.type)?!t(e.checked):!t(e.value)}function Te(e){e&&!V(e,null)&&e.current&&(e.current=null)}function _e(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push(function(){V(e,n)||void 0===e.current||(e.current=n)})}function Ae(e,n){De(e),C(e,n)}function De(e){var n,r=e.flags,i=e.children;if(481&r){n=e.ref;var a=e.props;Te(n);var u=e.childFlags;if(!l(a))for(var c=Object.keys(a),s=0,d=c.length;s0;for(var a in l&&(i=Ie(t))&&Me(n,r,t),t)ze(a,null,t[a],r,o,i,null);l&&Le(n,e,r,t,!0,i)}function Xe(e,n,t){var r=Ge(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function qe(e,n,t,r,i,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=i,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=w(u,t,u.state);else if(o(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!l(s)){var d=u.state;if(l(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=Xe(u,t,r),u}function Ge(t){if(r(t)||n(t))return D(t,null);if(e(t))return E(t,0,null);return 16384&t.flags?R(t):t}function Ke(e,n,t,r,o,i){var l=e.flags|=16384;481&l?en(e,n,t,r,o,i):4&l?tn(e,n,t,r,o,i):8&l?(on(e,n,t,r,o,i),cn(e,i)):512&l||16&l?Ze(e,n,o):8192&l?Ye(e,n,t,r,o,i):1024&l&&Je(e,t,n,o,i)}function Je(e,n,t,r,o){Ke(e.children,e.ref,n,!1,null,o);var i=W();Ze(i,t,r),e.dom=i.dom}function Ye(e,n,t,r,o,i){var l=e.children,a=e.childFlags;12&a&&0===l.length&&(a=e.childFlags=2,l=e.children=W()),2===a?Ke(l,n,o,r,o,i):nn(l,n,t,r,o,i)}function Ze(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||h(n,r,t)}function en(e,n,r,o,i,a){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,p=e.dom=v(e.type,o=o||(32&u)>0);if(t(f)||""===f||(o?p.setAttribute("class",f):p.className=f),16===d)S(p,s);else if(1!==d){var m=o&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=R(s)),Ke(s,p,r,m,null,a)):8!==d&&4!==d||nn(s,p,r,m,null,a)}l(n)||h(n,p,i),l(c)||Qe(e,u,c,p,o),_e(e.ref,p,a)}function nn(e,n,t,r,o,i){for(var l=0;ld)&&(f=k(l[d-1],!1).nextSibling)}yn(u,c,l,a,t,r,o,f,e,i)}function vn(e,n,t,o){var i=e.ref,l=n.ref,a=n.children;if(yn(e.childFlags,n.childFlags,e.children,a,i,t,!1,null,e,o),n.dom=e.dom,i!==l&&!r(a)){var u=a.dom;g(i,u),p(l,u)}}function mn(e,n,r,o,i,l){var a,u=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(o=o||(32&i)>0,c!==s){var h=c||f;if((a=s||f)!==f)for(var v in(d=(448&i)>0)&&(p=Ie(a)),a){var m=h[v],g=a[v];m!==g&&ze(v,m,g,u,o,p,e)}if(h!==f)for(var y in h)t(a[y])&&!t(h[y])&&ze(y,h[y],null,u,o,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):o?u.setAttribute("class",k):u.className=k),4096&i?pn(u,b):yn(e.childFlags,n.childFlags,e.children,b,u,r,o&&"foreignObject"!==n.type,null,e,l),d&&Le(i,n,u,a,!1,p);var C=n.ref,x=e.ref;x!==C&&(Te(x),_e(C,u,l))}function gn(e,n,t,r,o,i){De(e),nn(n,t,r,o,k(e,!0),i),C(e,t)}function yn(e,n,t,r,o,i,l,a,u,c){switch(e){case 2:switch(n){case 2:sn(t,r,o,i,l,a,c);break;case 1:Ae(t,o);break;case 16:De(t),S(o,r);break;default:gn(t,r,o,i,l,c)}break;case 1:switch(n){case 2:Ke(r,o,i,l,a,c);break;case 1:break;case 16:S(o,r);break;default:nn(r,o,i,l,a,c)}break;case 16:switch(n){case 16:dn(t,r,o);break;case 2:Oe(o),Ke(r,o,i,l,a,c);break;case 1:Oe(o);break;default:Oe(o),nn(r,o,i,l,a,c)}break;default:switch(n){case 16:Ee(t),S(o,r);break;case 2:Be(o,u,t),Ke(r,o,i,l,a,c);break;case 1:Be(o,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&nn(r,o,i,l,a,c):0===s?Be(o,u,t):8===n&&8===e?Nn(t,r,o,i,l,f,s,a,u,c):$n(t,r,o,i,l,f,s,a,c)}}}function bn(e,n,t,r,o){o.push(function(){e.componentDidUpdate(n,t,r)})}function kn(e,n,t,r,i,l,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(p&&(n=w(e,t,n!==s?a(s,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,i)){!p&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var v=null,m=Xe(e,t,i);p&&o(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(d,s)),sn(e.$LI,m,r,e.$CX,l,c,f),e.$LI=m,o(e.componentDidUpdate)&&bn(e,d,s,v,f)}else e.props=t,e.state=n,e.context=i}function Cn(e,n,t,r,i,u,c){var s=n.children=e.children;if(l(s))return;s.$L=c;var d=n.props||f,p=n.ref,h=e.ref,v=s.state;if(!s.$N){if(o(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}l(s.$PS)||(v=a(v,s.$PS),s.$PS=null)}kn(s,v,d,t,r,i,!1,u,c),h!==p&&(Te(h),_e(p,s,c))}function xn(e,n,r,i,l,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,h=!t(d),v=e.children;if(h&&o(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=Ge(32768&n.flags?m.render(s,d,i):m(s,i));sn(v,g,r,i,l,a,u),n.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=v}function wn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function $n(e,n,t,r,o,i,l,a,u){for(var c,f,s=i>l?l:i,d=0;dl)for(d=s;dd||h>p)break e;v=e[h],m=n[h]}for(v=e[d],m=n[p];v.key===m.key;){if(16384&m.flags&&(n[p]=m=R(m)),sn(v,m,t,r,o,a,c),e[d]=m,p--,h>--d||h>p)break e;v=e[d],m=n[p]}}if(h>d){if(h<=p)for(s=(f=p+1)p)for(;h<=d;)Ae(e[h++],t);else Sn(e,n,r,i,l,d,p,h,t,o,a,u,c)}function Sn(e,n,t,r,o,i,l,a,u,c,f,s,d){var p,h,v,m=0,g=a,y=a,b=i-a+1,C=l-a+1,w=new Int32Array(C+1),$=b===r,N=!1,S=0,U=0;if(o<4||(b|C)<32)for(m=g;m<=i;++m)if(p=e[m],Ua?N=!0:S=a,16384&h.flags&&(n[a]=h=R(h)),sn(p,h,u,t,c,f,d),++U;break}!$&&a>l&&Ae(p,u)}else $||Ae(p,u);else{var P={};for(m=y;m<=l;++m)P[n[m].key]=m;for(m=g;m<=i;++m)if(p=e[m],Ug;)Ae(e[g++],u);w[a-y]=m+1,S>a?N=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=R(h)),sn(p,h,u,t,c,f,d),++U}else $||Ae(p,u);else $||Ae(p,u)}if($)Be(u,s,e),nn(n,u,t,c,f,d);else if(N){var V=Pn(w);for(a=V.length-1,m=C-1;m>=0;m--)0===w[m]?(16384&(h=n[S=m+y]).flags&&(n[S]=h=R(h)),Ke(h,u,t,c,(v=S+1)=0;m--)0===w[m]&&(16384&(h=n[S=m+y]).flags&&(n[S]=h=R(h)),Ke(h,u,t,c,(v=S+1)Un&&(Un=u,Ne=new Int32Array(u),Se=new Int32Array(u));t>1]]0&&(Se[t]=Ne[i-1]),Ne[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Ne[i-1];i-- >0;)c[i]=l,l=Se[l],Ne[i]=0;return c}function Vn(e,n,r,i){var l=[],a=n.$V;$.v=!0,t(a)?t(e)||(16384&e.flags&&(e=R(e)),Ke(e,n,i,!1,null,l),n.$V=e,a=e):t(e)?(Ae(a,n),n.$V=null):(16384&e.flags&&(e=R(e)),sn(a,e,n,i,!1,null,l),a=n.$V=e),l.length>0&&y(l),$.v=!1,o(r)&&r(),o(N.renderComplete)&&N.renderComplete(a,n)}function Fn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Vn(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Ln=[],Mn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},In=!1;function Tn(e,n,r,i){var l=e.$PS;if(o(n)&&(n=n(l?a(e.state,l):e.state,e.props,e.context)),t(l))e.$PS=n;else for(var u in n)l[u]=n[u];if(e.$BR)o(r)&&e.$L.push(r.bind(e));else{if(!$.v&&0===Ln.length)return void Dn(e,i,r);if(-1===Ln.indexOf(e)&&Ln.push(e),In||(In=!0,Mn(An)),o(r)){var c=e.$QU;c||(c=e.$QU=[]),c.push(r)}}}function _n(e){for(var n=e.$QU,t=0,r=n.length;t0&&y(i),$.v=!1}else e.state=e.$PS,e.$PS=null;o(t)&&t.call(e)}var En=function(e,n){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||f,this.context=n||f};function On(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var o in n)t[o]=n[o];return t}function Bn(e,n,t){var r=arguments,o=e.flags,i=14&o?e.props&&e.props.children:e.children,l=arguments.length-2,a=e.className,u=e.key,c=e.ref;if(n?(void 0!==n.className&&(a=n.className),void 0!==n.ref&&(c=n.ref),void 0!==n.key&&(u=n.key),void 0!==n.children&&(i=n.children)):n={},1===l)i=t;else if(l>1)for(i=[];l-- >0;)i[l]=r[l+2];if(n.children=i,14&o)return A(o,e.type,e.props||n?On(e.props,n):f,u,c);if(16&o)return D(i);if(8192&o)return E(1===l?[i]:i,0,u);return O(M(o,e.type,a,null,1,On(e.props,n),u,c))}En.prototype.forceUpdate=function(e){if(this.$UN)return;Tn(this,{},e,!0)},En.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Tn(this,e,n,!1)},En.prototype.render=function(e,n,t){return null};var Rn="a runtime error occured! Use Inferno in development environment to find the error.";function Wn(e){throw e||(e=Rn),new Error("Inferno Error: "+e)}var jn={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function Hn(e,n){for(var t in n)e[t]=n[t];return e}function zn(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||jn[n]||((e[n]=t.bind(e)).__bound=!0)}}function Qn(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];f-- >0;)r[f]=i[f+2];if("string"!==typeof e){if(c=2,Yn(r)||(n||(n={}),n.children=r),!Jn(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?l=n.ref:1===Zn[s]?(l||(l={}),l[s]=n[s]):o[s]=n[s];return A(c,e,o,a,l)}if(c=H(e),!Jn(n))for(var d in o={},n)"className"===d||"class"===d?u=n[d]:"key"===d?a=n.key:"children"===d&&Yn(r)?r=n.children:"ref"===d?l=n.ref:("contenteditable"===d&&(c|=4096),o[d]=n[d]);if(8192&c)return E(1===f?[r]:r,0,a);return M(c,e,u,r,0,o,a,l)}var nt="a runtime error occured! Use Inferno in development environment to find the error.";function tt(e){return"function"===typeof e}function rt(e){return null===e}function ot(e){throw e||(e=nt),new Error("Inferno Error: "+e)}function it(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function lt(e){for(var n,t;e;){if(2033&(n=e.flags))return e.dom;t=e.children,e=8192&n?2===e.childFlags?t:t[t.length-1]:4&n?t.$LI:t}return null}function at(e,n){return Boolean(n&&n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html&&it(e,n.dangerouslySetInnerHTML.__html))}function ut(e,n,t,r,o,i,l){var a,u=e.type,c=e.ref,f=e.props||{};if(i){var s=qe(e,u,f,r,o,l);a=pt(s.$LI,n,t,s.$CX,o,l),an(c,s,l)}else{var d=Ge(u(f,r));a=pt(d,n,t,r,o,l),e.children=d,cn(e,l)}return a}function ct(e,n,t,r,o,i){var l=e.childFlags,a=e.children,u=e.props,c=e.flags;if(1!==l){if(2===l)rt(t)?Ke(a,n,r,o,null,i):t=(t=pt(a,n,t,r,o,i))?t.nextSibling:null;else if(16===l)rt(t)?n.appendChild(document.createTextNode(a)):1!==n.childNodes.length||3!==t.nodeType?n.textContent=a:t.nodeValue!==a&&(t.nodeValue=a),t=null;else if(12&l)for(var f=!1,s=0,d=a.length;s0?Ke(p,n,r,o,t,i):t=(t=pt(p,n,t,r,o,i))?t.nextSibling:null,f=(16&p.flags)>0}if(0===(8192&c))for(var h=null;t;)h=t.nextSibling,n.removeChild(t),t=h}else rt(n.firstChild)||at(n,u)||(n.textContent="",448&c&&(n.defaultValue=""))}function ft(e,n,t,r,o,i){var l,a=e.props,u=e.className,c=e.flags,f=e.ref;return o=o||(32&c)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(en(e,null,r,o,null,i),n.replaceChild(e.dom,t)):(e.dom=t,ct(e,t,t.firstChild,r,o,i),rt(a)||Qe(e,c,a,t,o),void 0===(l=u)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",u):t.className=u,_e(f,t,i)),e.dom}function st(e,n,t){if(3!==t.nodeType)n.replaceChild(e.dom=document.createTextNode(e.children),t);else{var r=e.children;t.nodeValue!==r&&(t.nodeValue=r),e.dom=t}return e.dom}function dt(e,n,t,r,o,i){var l=e.children;if(2===e.childFlags)return st(l,n,t),l.dom;return ct(e,n,t,r,o,i),lt(l[l.length-1])}function pt(e,n,t,r,o,i){var l=e.flags|=16384;if(14&l)return ut(e,n,t,r,o,(4&l)>0,i);if(481&l)return ft(e,n,t,r,o,i);if(16&l)return st(e,n,t);if(512&l)return e.dom=t;if(8192&l)return dt(e,n,t,r,o,i);return ot(),null}var ht=Array.isArray;function vt(e){return void 0===e||null===e}function mt(e){return"string"===typeof e}function gt(e){return null===e}function yt(){}yt.isRequired=yt;var bt=function(){return yt},kt={any:bt,array:yt,arrayOf:bt,bool:yt,checkPropTypes:function(){return null},element:bt,func:yt,instanceOf:bt,node:bt,number:yt,object:yt,objectOf:bt,oneOf:bt,oneOfType:bt,shape:bt,string:yt,symbol:yt},Ct={htmlFor:"for",onDoubleClick:"onDblClick"},xt=/[\-\:]([a-z])/g,wt=function(e){return e[1].toUpperCase()};function $t(e,n){switch(e){case"animation-iteration-count":case"border-image-outset":case"border-image-slice":case"border-image-width":case"box-flex":case"box-flex-group":case"box-ordinal-group":case"column-count":case"fill-opacity":case"flex":case"flex-grow":case"flex-negative":case"flex-order":case"flex-positive":case"flex-shrink":case"flood-opacity":case"font-weight":case"grid-column":case"grid-row":case"line-clamp":case"line-height":case"opacity":case"order":case"orphans":case"stop-opacity":case"stroke-dasharray":case"stroke-dashoffset":case"stroke-miterlimit":case"stroke-opacity":case"stroke-width":case"tab-size":case"widows":case"z-index":case"zoom":return n;default:return n+"px"}}["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-constiant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach(function(e){var n=e.replace(xt,wt);Ct[n]=e});var Nt=/[A-Z]/g;function St(e,n){for(var t=0,r=e.length;t0)for(var l;void 0!==(l=i.shift());)l()}n.$V=e,tt(t)&&t()},isValidElement:function(e){if("object"!==typeof e||gt(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:O,options:N,render:Rt,rerender:An,unmountComponentAtNode:function(e){return Vn(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){Rt(A(4,Bt,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=Wt,window.ReactDOM=Wt}function jt(e){return M(1,"li","TreeLeaf",D(e.children),0,null,null,null)}function Ht(e,n){return e!==n}function zt(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0,v=i(d),h=o(d)&&d[0]===S;p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=T(s)),(v||h)&&(s.key=S+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=T(l)),u=2;return t.children=a,t.childFlags=u,t}function E(e,n){if(l(n))return{data:e,event:n};return null}var O="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":O,"xlink:arcrole":O,"xlink:href":O,"xlink:role":O,"xlink:show":O,"xlink:title":O,"xlink:type":O,"xml:base":R,"xml:lang":R,"xml:space":R};function H(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var X=H(0),_=H(null),K=H(!0);function q(e,n,t){var r=t.$EV;n?(0===X[e]&&(_[e]=ne(e)),r||(r=t.$EV=H(null)),r[e]||++X[e],r[e]=n):r&&r[e]&&(0===--X[e]&&(document.removeEventListener(c(e),_[e]),_[e]=null),r[e]=null)}function z(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var a=o.$EV;if(a){var u=a[r];if(u&&(l.dom=o,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function G(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function J(){return this.defaultPrevented}function Q(){return this.cancelBubble}function Y(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:J},isPropagationStopped:{value:Q},stopPropagation:{value:G}}),n}function Z(e){return function(n){if(0!==n.button)return void n.stopPropagation();z(n,n.target,!0,e,Y(n))}}function ee(e){return function(n){z(n,n.target,!1,e,Y(n))}}function ne(e){var n="onClick"===e||"onDblClick"===e?Z(e):ee(e);return document.addEventListener(c(e),n),n}function te(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function re(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function le(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||u,a=r.dom;if(o(e))re(i,e,t);else for(var c=0;c-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),de(l,a)}}var ge,ye,be=le("onInput",we),ke=le("onChange");function Ce(e,n){oe(e,"input",be),n.onChange&&oe(e,"change",ke)}function we(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function $e(e,n,t,r,l,o){64&e?se(r,t):256&e?me(r,t,l,n):128&e&&we(r,t,l),o&&(t.$V=n)}function Fe(e,n,t){64&e?fe(n,t):256&e?he(n):128&e&&Ce(n,t)}function Se(e){return e.type&&ie(e.type)?!t(e.checked):!t(e.value)}function xe(e){e&&(l(e)?e(null):e.current&&(e.current=null))}function Ue(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){l(e)?e(n):void 0!==e.current&&(e.current=n)})}function Pe(e,n){Le(e),n&&y(e,n)}function Le(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var a=e.props;xe(n);var c=e.childFlags;if(!i(a))for(var f=Object.keys(a),s=0,d=f.length;s0;for(var a in i&&(o=Se(t))&&Fe(n,r,t),t)Be(a,null,t[a],r,l,o,null);i&&$e(n,e,r,t,!0,o)}function Ee(e,n,t){var r=Re(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=a(t,e.getChildContext())),e.$CX=o,r}function Oe(e,n,t,r,o,a){var c=new n(t,r),f=c.$N=Boolean(n.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=o,c.$L=a,e.children=c,c.$BS=!1,c.context=r,c.props===u&&(c.props=t),f)c.state=k(c,t,c.state);else if(l(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!i(s)){var d=c.state;if(i(d))c.state=s;else for(var p in s)d[p]=s[p];c.$PS=null}c.$BR=!1}return c.$LI=Ee(c,t,r),c}function Re(t){if(r(t)||n(t))return I(t,null);if(e(t))return N(t,0,null);return 16384&t.flags?T(t):t}function je(e,n,t,r,l,o){var i=e.flags|=16384;481&i?Ke(e,n,t,r,l,o):4&i?ze(e,n,t,r,l,o):8&i?Ge(e,n,t,r,l,o):512&i||16&i?_e(e,n,l):8192&i?Xe(e,n,t,r,l,o):1024&i&&He(e,t,n,l,o)}function He(e,n,t,r,l){je(e.children,e.ref,n,!1,null,l);var o=D();_e(o,t,r),e.dom=o.dom}function Xe(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=D()),2===a?je(i,n,l,r,l,o):qe(i,n,t,r,l,o)}function _e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||s(n,r,t)}function Ke(e,n,r,l,o,a){var u=e.flags,c=e.props,f=e.className,p=e.children,v=e.childFlags,h=e.dom=d(e.type,l=l||(32&u)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===v)w(h,p);else if(1!==v){var m=l&&"foreignObject"!==e.type;2===v?(16384&p.flags&&(e.children=p=T(p)),je(p,h,r,m,null,a)):8!==v&&4!==v||qe(p,h,r,m,null,a)}i(n)||s(n,h,o),i(c)||We(e,u,c,h,l),Ue(e.ref,h,a)}function qe(e,n,t,r,l,o){for(var i=0;id)&&(f=g(i[d-1],!1).nextSibling)}cn(u,c,i,a,t,r,l,f,e,o)}function on(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(cn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;v(o,u),f(i,u)}}function an(e,n,r,l,o,i){var a,c=n.dom=e.dom,f=e.props,s=n.props,d=!1,p=!1;if(l=l||(32&o)>0,f!==s){var v=f||u;if((a=s||u)!==u)for(var h in(d=(448&o)>0)&&(p=Se(a)),a){var m=v[h],g=a[h];m!==g&&Be(h,m,g,c,l,p,e)}if(v!==u)for(var y in v)t(a[y])&&!t(v[y])&&Be(y,v[y],null,c,l,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?c.removeAttribute("class"):l?c.setAttribute("class",k):c.className=k),4096&o?rn(c,b):cn(e.childFlags,n.childFlags,e.children,b,c,r,l&&"foreignObject"!==n.type,null,e,i),d&&$e(o,n,c,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(xe(w),Ue(C,c,i))}function un(e,n,t,r,l,o){Le(e),qe(n,t,r,l,g(e,!0),o),y(e,t)}function cn(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:nn(t,r,l,o,i,a,c);break;case 1:Pe(t,l);break;case 16:Le(t),w(l,r);break;default:un(t,r,l,o,i,c)}break;case 1:switch(n){case 2:je(r,l,o,i,a,c);break;case 1:break;case 16:w(l,r);break;default:qe(r,l,o,i,a,c)}break;case 16:switch(n){case 16:tn(t,r,l);break;case 2:Ae(l),je(r,l,o,i,a,c);break;case 1:Ae(l);break;default:Ae(l),qe(r,l,o,i,a,c)}break;default:switch(n){case 16:Ve(t),w(l,r);break;case 2:Ie(l,u,t),je(r,l,o,i,a,c);break;case 1:Ie(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&qe(r,l,o,i,a,c):0===s?Ie(l,u,t):8===n&&8===e?mn(t,r,l,o,i,f,s,a,u,c):hn(t,r,l,o,i,f,s,a,c)}}}function fn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function sn(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=k(e,t,n!==s?a(s,n):n)),u||!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,m=Ee(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),nn(e.$LI,m,r,e.$CX,i,c,f),e.$LI=m,l(e.componentDidUpdate)&&fn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function dn(e,n,t,r,o,c,f){var s=n.children=e.children;if(i(s))return;s.$L=f;var d=n.props||u,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}sn(s,h,d,t,r,o,!1,c,f),v!==p&&(xe(v),Ue(p,s,f))}function pn(e,n,r,o,i,a,c){var f=!0,s=n.props||u,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(p,s)),!1!==f){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var m=n.type,g=Re(32768&n.flags?m.render(s,d,o):m(s,o));nn(h,g,r,o,i,a,c),n.children=g,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}function vn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function hn(e,n,t,r,l,o,i,a,u){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||v>p)break e;h=e[v],m=n[v]}for(h=e[d],m=n[p];h.key===m.key;){if(16384&m.flags&&(n[p]=m=T(m)),nn(h,m,t,r,l,a,c),e[d]=m,p--,v>--d||v>p)break e;h=e[d],m=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)Pe(e[v++],t);else gn(e,n,r,o,i,d,p,v,t,l,a,u,c)}function gn(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,m=0,y=a,k=a,C=o-a+1,w=i-a+1,$=new Int32Array(w+1),F=C===r,S=!1,x=0,U=0;if(l<4||(C|w)<32)for(m=y;m<=o;++m)if(p=e[m],Ua?S=!0:x=a,16384&v.flags&&(n[a]=v=T(v)),nn(p,v,u,t,c,f,d),++U;break}!F&&a>i&&Pe(p,u)}else F||Pe(p,u);else{var P={};for(m=k;m<=i;++m)P[n[m].key]=m;for(m=y;m<=o;++m)if(p=e[m],Uy;)Pe(e[y++],u);$[a-k]=m+1,x>a?S=!0:x=a,16384&(v=n[a]).flags&&(n[a]=v=T(v)),nn(p,v,u,t,c,f,d),++U}else F||Pe(p,u);else F||Pe(p,u)}if(F)Ie(u,s,e),qe(n,u,t,c,f,d);else if(S){var L=bn($);for(a=L.length-1,m=w-1;m>=0;m--)0===$[m]?(16384&(v=n[x=m+k]).flags&&(n[x]=v=T(v)),je(v,u,t,c,(h=x+1)=0;m--)0===$[m]&&(16384&(v=n[x=m+k]).flags&&(n[x]=v=T(v)),je(v,u,t,c,(h=x+1)yn&&(yn=u,ge=new Int32Array(u),ye=new Int32Array(u));t>1]]0&&(ye[t]=ge[o-1]),ge[o]=t)}o=l+1;var c=new Int32Array(o);for(i=ge[o-1];o-- >0;)c[o]=i,i=ye[i],ge[o]=0;return c}function kn(e,n,r,o){var i=[],a=n.$V;t(a)?t(e)||(16384&e.flags&&(e=T(e)),je(e,n,o,!1,null,i),n.$V=e,a=e):t(e)?(Pe(a,n),n.$V=null):(16384&e.flags&&(e=T(e)),nn(a,e,n,o,!1,null,i),a=n.$V=e),i.length>0&&h(i),l(r)&&r(),l(C.renderComplete)&&C.renderComplete(a,n)}function Cn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=u),kn(e,n,t,r)}function wn(e){return U(1,"li","TreeLeaf",e.children,0,null,null,null)}function $n(e,n){return e!==n}function Fn(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l0,v=i(d),h=o(d)&&d[0]===P;p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=E(s)),(v||h)&&(s.key=P+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=E(l)),u=2;return t.children=a,t.childFlags=u,t}var j="http://www.w3.org/1999/xlink",H="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":j,"xlink:arcrole":j,"xlink:href":j,"xlink:role":j,"xlink:show":j,"xlink:title":j,"xlink:type":j,"xml:base":H,"xml:lang":H,"xml:space":H};function _(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=_(0),q=_(null),z=_(!0);function G(e,n){var t=n.$EV;return t||(t=n.$EV=_(null)),t[e]||1===++K[e]&&(q[e]=oe(e)),t}function J(e,n){var t=n.$EV;t&&t[e]&&(0===--K[e]&&(document.removeEventListener(s(e),q[e]),q[e]=null),t[e]=null)}function Q(e,n,t,r){if(l(t))G(e,r)[e]=t;else if(c(t)){if(S(n,t))return;G(e,r)[e]=t}else J(e,r)}function Y(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var a=o.$EV;if(a){var u=a[r];if(u&&(l.dom=o,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function Z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ee(){return this.defaultPrevented}function ne(){return this.cancelBubble}function te(e){var n={dom:document};return e.isDefaultPrevented=ee,e.isPropagationStopped=ne,e.stopPropagation=Z,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function re(e){return function(n){if(0!==n.button)return void n.stopPropagation();Y(n,n.target,!0,e,te(n))}}function le(e){return function(n){Y(n,n.target,!1,e,te(n))}}function oe(e){var n="onClick"===e||"onDblClick"===e?re(e):le(e);return document.addEventListener(s(e),n),n}function ie(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ae(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function ue(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(o(e))ae(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),ge(l,a)}}var Ce,we,$e=ue("onInput",xe),Fe=ue("onChange");function Se(e,n){ce(e,"input",$e),n.onChange&&ce(e,"change",Fe)}function xe(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function Ue(e,n,t,r,l,o){64&e?he(r,t):256&e?ke(r,t,l,n):128&e&&xe(r,t,l),o&&(t.$V=n)}function Pe(e,n,t){64&e?ve(n,t):256&e?be(n):128&e&&Se(n,t)}function Le(e){return e.type&&fe(e.type)?!t(e.checked):!t(e.value)}function Ve(e){e&&!U(e,null)&&e.current&&(e.current=null)}function Ae(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){U(e,n)||void 0===e.current||(e.current=n)})}function Ie(e,n){Ne(e),k(e,n)}function Ne(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var a=e.props;Ve(n);var u=e.childFlags;if(!i(a))for(var c=Object.keys(a),s=0,d=c.length;s0;for(var a in i&&(o=Le(t))&&Pe(n,r,t),t)Re(a,null,t[a],r,l,o,null);i&&Ue(n,e,r,t,!0,o)}function He(e,n,t){var r=_e(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=a(t,e.getChildContext())),e.$CX=o,r}function Xe(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=w(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=He(u,t,r),u}function _e(t){if(r(t)||n(t))return T(t,null);if(e(t))return D(t,0,null);return 16384&t.flags?E(t):t}function Ke(e,n,t,r,l,o){var i=e.flags|=16384;481&i?Je(e,n,t,r,l,o):4&i?Ye(e,n,t,r,l,o):8&i?(en(e,n,t,r,l,o),ln(e,o)):512&i||16&i?Ge(e,n,l):8192&i?ze(e,n,t,r,l,o):1024&i&&qe(e,t,n,l,o)}function qe(e,n,t,r,l){Ke(e.children,e.ref,n,!1,null,l);var o=W();Ge(o,t,r),e.dom=o.dom}function ze(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=W()),2===a?Ke(i,n,l,r,l,o):Qe(i,n,t,r,l,o)}function Ge(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function Je(e,n,r,l,o,a){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,h=e.dom=v(e.type,l=l||(32&u)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===d)F(h,s);else if(1!==d){var g=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=E(s)),Ke(s,h,r,g,null,a)):8!==d&&4!==d||Qe(s,h,r,g,null,a)}i(n)||p(n,h,o),i(c)||je(e,u,c,h,l),Ae(e.ref,h,a)}function Qe(e,n,t,r,l,o){for(var i=0;id)&&(f=b(i[d-1],!1).nextSibling)}vn(u,c,i,a,t,r,l,f,e,o)}function sn(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(vn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;g(o,u),d(i,u)}}function dn(e,n,r,l,o,i){var a,u=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(l=l||(32&o)>0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=Le(a)),a){var g=v[h],m=a[h];g!==m&&Re(h,g,m,u,l,p,e)}if(v!==f)for(var y in v)t(a[y])&&!t(v[y])&&Re(y,v[y],null,u,l,p,e)}var b=n.children,k=n.className;e.className!==k&&(t(k)?u.removeAttribute("class"):l?u.setAttribute("class",k):u.className=k),4096&o?cn(u,b):vn(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&Ue(o,n,u,a,!1,p);var C=n.ref,w=e.ref;w!==C&&(Ve(w),Ae(C,u,i))}function pn(e,n,t,r,l,o){Ne(e),Qe(n,t,r,l,b(e,!0),o),k(e,t)}function vn(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:an(t,r,l,o,i,a,c);break;case 1:Ie(t,l);break;case 16:Ne(t),F(l,r);break;default:pn(t,r,l,o,i,c)}break;case 1:switch(n){case 2:Ke(r,l,o,i,a,c);break;case 1:break;case 16:F(l,r);break;default:Qe(r,l,o,i,a,c)}break;case 16:switch(n){case 16:un(t,r,l);break;case 2:Te(l),Ke(r,l,o,i,a,c);break;case 1:Te(l);break;default:Te(l),Qe(r,l,o,i,a,c)}break;default:switch(n){case 16:Me(t),F(l,r);break;case 2:De(l,u,t),Ke(r,l,o,i,a,c);break;case 1:De(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Qe(r,l,o,i,a,c):0===s?De(l,u,t):8===n&&8===e?Cn(t,r,l,o,i,f,s,a,u,c):kn(t,r,l,o,i,f,s,a,c)}}}function hn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function gn(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=w(e,t,n!==s?a(s,n):n)),u||!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=He(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),an(e.$LI,g,r,e.$CX,i,c,f),e.$LI=g,l(e.componentDidUpdate)&&hn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function mn(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}gn(s,h,d,t,r,o,!1,u,c),v!==p&&(Ve(v),Ae(p,s,c))}function yn(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=_e(32768&n.flags?g.render(s,d,o):g(s,o));an(h,m,r,o,i,a,u),n.children=m,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}function bn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function kn(e,n,t,r,l,o,i,a,u){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||v>p)break e;h=e[v],g=n[v]}for(h=e[d],g=n[p];h.key===g.key;){if(16384&g.flags&&(n[p]=g=E(g)),an(h,g,t,r,l,a,c),e[d]=g,p--,v>--d||v>p)break e;h=e[d],g=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)Ie(e[v++],t);else wn(e,n,r,o,i,d,p,v,t,l,a,u,c)}function wn(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,g=0,m=a,y=a,k=o-a+1,w=i-a+1,$=new Int32Array(w+1),F=k===r,S=!1,x=0,U=0;if(l<4||(k|w)<32)for(g=m;g<=o;++g)if(p=e[g],Ua?S=!0:x=a,16384&v.flags&&(n[a]=v=E(v)),an(p,v,u,t,c,f,d),++U;break}!F&&a>i&&Ie(p,u)}else F||Ie(p,u);else{var P={};for(g=y;g<=i;++g)P[n[g].key]=g;for(g=m;g<=o;++g)if(p=e[g],Um;)Ie(e[m++],u);$[a-y]=g+1,x>a?S=!0:x=a,16384&(v=n[a]).flags&&(n[a]=v=E(v)),an(p,v,u,t,c,f,d),++U}else F||Ie(p,u);else F||Ie(p,u)}if(F)De(u,s,e),Qe(n,u,t,c,f,d);else if(S){var L=Fn($);for(a=L.length-1,g=w-1;g>=0;g--)0===$[g]?(16384&(v=n[x=g+y]).flags&&(n[x]=v=E(v)),Ke(v,u,t,c,(h=x+1)=0;g--)0===$[g]&&(16384&(v=n[x=g+y]).flags&&(n[x]=v=E(v)),Ke(v,u,t,c,(h=x+1)$n&&($n=u,Ce=new Int32Array(u),we=new Int32Array(u));t>1]]0&&(we[t]=Ce[o-1]),Ce[o]=t)}o=l+1;var c=new Int32Array(o);for(i=Ce[o-1];o-- >0;)c[o]=i,i=we[i],Ce[o]=0;return c}function Sn(e,n,r,o){var i=[],a=n.$V;t(a)?t(e)||(16384&e.flags&&(e=E(e)),Ke(e,n,o,!1,null,i),n.$V=e,a=e):t(e)?(Ie(a,n),n.$V=null):(16384&e.flags&&(e=E(e)),an(a,e,n,o,!1,null,i),a=n.$V=e),i.length>0&&m(i),l(r)&&r(),l($.renderComplete)&&$.renderComplete(a,n)}function xn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Sn(e,n,t,r)}function Un(e){return V(1,"li","TreeLeaf",e.children,0,null,null,null)}function Pn(e,n){return e!==n}function Ln(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l0,h=u(d),v=a(d)&&d[0]===F;p||h||v?(o=o||n.slice(0,s),(p||v)&&(f=E(f)),(h||v)&&(f.key=F+s),o.push(f)):o&&o.push(f),f.flags|=65536}}i=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=E(n)),i=2;return e.children=o,e.childFlags=i,e}var _="http://www.w3.org/1999/xlink",j="http://www.w3.org/XML/1998/namespace",H={"xlink:actuate":_,"xlink:arcrole":_,"xlink:href":_,"xlink:role":_,"xlink:show":_,"xlink:title":_,"xlink:type":_,"xml:base":j,"xml:lang":j,"xml:space":j};function Q(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var X=Q(0),G=Q(null),K=Q(!0);function q(e,n,t){var r=t.$EV;n?(0===X[e]&&(G[e]=re(e)),r||(r=t.$EV=Q(null)),r[e]||++X[e],r[e]=n):r&&r[e]&&(0===--X[e]&&(document.removeEventListener(f(e),G[e]),G[e]=null),r[e]=null)}function J(e,n,t,r,o){var l=n;do{if(t&&l.disabled)return;var i=l.$EV;if(i){var a=i[r];if(a&&(o.dom=l,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}l=l.parentNode}while(!u(l))}function z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Y(){return this.defaultPrevented}function Z(){return this.cancelBubble}function ee(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:Y},isPropagationStopped:{value:Z},stopPropagation:{value:z}}),n}function ne(e){return function(n){if(0!==n.button)return void n.stopPropagation();J(n,n.target,!0,e,ee(n))}}function te(e){return function(n){J(n,n.target,!1,e,ee(n))}}function re(e){var n="onClick"===e||"onDblClick"===e?ne(e):te(e);return document.addEventListener(f(e),n),n}function oe(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function le(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function ie(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||s,l=r.dom;if(a(e))le(o,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),t&&o(a)&&(a=e.defaultValue),he(r,a)}}var be,ke,$e=ie("onInput",Ue),Ce=ie("onChange");function we(e,n){ae(e,"input",$e),n.onChange&&ae(e,"change",Ce)}function Ue(e,n,t){var r=e.value,l=n.value;if(o(r)){if(t){var i=e.defaultValue;o(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==r&&(n.defaultValue=r,n.value=r)}function xe(e,n,t,r,o,l){64&e?pe(r,t):256&e?ye(r,t,o,n):128&e&&Ue(r,t,o),l&&(t.$V=n)}function Se(e,n,t){64&e?de(n,t):256&e?me(n):128&e&&we(n,t)}function Pe(e){return e.type&&ue(e.type)?!o(e.checked):!o(e.value)}function Fe(e){e&&(i(e)?e(null):e.current&&(e.current=null))}function Le(e,n,t){e&&(i(e)||void 0!==e.current)&&t.push(function(){i(e)?e(n):void 0!==e.current&&(e.current=n)})}function Ne(e,n){Ve(e),n&&k(e,n)}function Ve(e){var n,t=e.flags,r=e.children;if(481&t){n=e.ref;var l=e.props;Fe(n);var a=e.childFlags;if(!u(l))for(var c=Object.keys(l),f=0,d=c.length;f0;for(var a in i&&(l=Pe(t))&&Se(n,r,t),t)We(a,null,t[a],r,o,l,null);i&&xe(n,e,r,t,!0,l)}function Re(e,n,t){var r=je(e.render(n,e.state,t)),o=t;return i(e.getChildContext)&&(o=c(t,e.getChildContext())),e.$CX=o,r}function _e(e,n,t,r,o,l){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=l,e.children=a,a.$BS=!1,a.context=r,a.props===s&&(a.props=t),c)a.state=C(a,t,a.state);else if(i(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var f=a.$PS;if(!u(f)){var d=a.state;if(u(d))a.state=f;else for(var p in f)d[p]=f[p];a.$PS=null}a.$BR=!1}return a.$LI=Re(a,t,r),a}function je(e){if(l(e)||r(e))return T(e,null);if(t(e))return A(e,0,null);return 16384&e.flags?E(e):e}function He(e,n,t,r,o,l){var i=e.flags|=16384;481&i?Ke(e,n,t,r,o,l):4&i?Je(e,n,t,r,o,l):8&i?ze(e,n,t,r,o,l):512&i||16&i?Ge(e,n,o):8192&i?Xe(e,n,t,r,o,l):1024&i&&Qe(e,t,n,o,l)}function Qe(e,n,t,r,o){He(e.children,e.ref,n,!1,null,o);var l=W();Ge(l,t,r),e.dom=l.dom}function Xe(e,n,t,r,o,l){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=W()),2===a?He(i,n,o,r,o,l):qe(i,n,t,r,o,l)}function Ge(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||p(n,r,t)}function Ke(e,n,t,r,l,i){var a=e.flags,c=e.props,s=e.className,f=e.children,d=e.childFlags,v=e.dom=h(e.type,r=r||(32&a)>0);if(o(s)||""===s||(r?v.setAttribute("class",s):v.className=s),16===d)x(v,f);else if(1!==d){var g=r&&"foreignObject"!==e.type;2===d?(16384&f.flags&&(e.children=f=E(f)),He(f,v,t,g,null,i)):8!==d&&4!==d||qe(f,v,t,g,null,i)}u(n)||p(n,v,l),u(c)||Oe(e,a,c,v,r),Le(e.ref,v,i)}function qe(e,n,t,r,o,l){for(var i=0;id)&&(s=b(i[d-1],!1).nextSibling)}fn(u,c,i,a,t,r,o,s,e,l)}function un(e,n,t,r){var o=e.ref,i=n.ref,a=n.children;if(fn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,r),n.dom=e.dom,o!==i&&!l(a)){var u=a.dom;g(o,u),d(i,u)}}function cn(e,n,t,r,l,i){var a,u=n.dom=e.dom,c=e.props,f=n.props,d=!1,p=!1;if(r=r||(32&l)>0,c!==f){var h=c||s;if((a=f||s)!==s)for(var v in(d=(448&l)>0)&&(p=Pe(a)),a){var g=h[v],m=a[v];g!==m&&We(v,g,m,u,r,p,e)}if(h!==s)for(var y in h)o(a[y])&&!o(h[y])&&We(y,h[y],null,u,r,p,e)}var b=n.children,k=n.className;e.className!==k&&(o(k)?u.removeAttribute("class"):r?u.setAttribute("class",k):u.className=k),4096&l?ln(u,b):fn(e.childFlags,n.childFlags,e.children,b,u,t,r&&"foreignObject"!==n.type,null,e,i),d&&xe(l,n,u,a,!1,p);var $=n.ref,C=e.ref;C!==$&&(Fe(C),Le($,u,i))}function sn(e,n,t,r,o,l){Ve(e),qe(n,t,r,o,b(e,!0),l),k(e,t)}function fn(e,n,t,r,o,l,i,a,u,c){switch(e){case 2:switch(n){case 2:rn(t,r,o,l,i,a,c);break;case 1:Ne(t,o);break;case 16:Ve(t),x(o,r);break;default:sn(t,r,o,l,i,c)}break;case 1:switch(n){case 2:He(r,o,l,i,a,c);break;case 1:break;case 16:x(o,r);break;default:qe(r,o,l,i,a,c)}break;case 16:switch(n){case 16:on(t,r,o);break;case 2:Be(o),He(r,o,l,i,a,c);break;case 1:Be(o);break;default:Be(o),qe(r,o,l,i,a,c)}break;default:switch(n){case 16:Ie(t),x(o,r);break;case 2:Me(o,u,t),He(r,o,l,i,a,c);break;case 1:Me(o,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&qe(r,o,l,i,a,c):0===f?Me(o,u,t):8===n&&8===e?yn(t,r,o,l,i,s,f,a,u,c):mn(t,r,o,l,i,s,f,a,c)}}}function dn(e,n,t,r,o){o.push(function(){e.componentDidUpdate(n,t,r)})}function pn(e,n,t,r,o,l,a,u,s){var f=e.state,d=e.props,p=Boolean(e.$N),h=i(e.shouldComponentUpdate);if(p&&(n=C(e,t,n!==f?c(f,n):n)),a||!h||h&&e.shouldComponentUpdate(t,n,o)){!p&&i(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var v=null,g=Re(e,t,o);p&&i(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(d,f)),rn(e.$LI,g,r,e.$CX,l,u,s),e.$LI=g,i(e.componentDidUpdate)&&dn(e,d,f,v,s)}else e.props=t,e.state=n,e.context=o}function hn(e,n,t,r,o,l,a){var f=n.children=e.children;if(u(f))return;f.$L=a;var d=n.props||s,p=n.ref,h=e.ref,v=f.state;if(!f.$N){if(i(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(d,r),f.$UN)return;f.$BR=!1}u(f.$PS)||(v=c(v,f.$PS),f.$PS=null)}pn(f,v,d,t,r,o,!1,l,a),h!==p&&(Fe(h),Le(p,f,a))}function vn(e,n,t,r,l,a,u){var c=!0,f=n.props||s,d=n.ref,p=e.props,h=!o(d),v=e.children;if(h&&i(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,f)),!1!==c){h&&i(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,f);var g=n.type,m=je(32768&n.flags?g.render(f,d,r):g(f,r));rn(v,m,t,r,l,a,u),n.children=m,h&&i(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,f)}else n.children=v}function gn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function mn(e,n,t,r,o,l,i,a,u){for(var c,s,f=l>i?i:l,d=0;di)for(d=f;dd||h>p)break e;v=e[h],g=n[h]}for(v=e[d],g=n[p];v.key===g.key;){if(16384&g.flags&&(n[p]=g=E(g)),rn(v,g,t,r,o,a,c),e[d]=g,p--,h>--d||h>p)break e;v=e[d],g=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)Ne(e[h++],t);else bn(e,n,r,l,i,d,p,h,t,o,a,u,c)}function bn(e,n,t,r,o,l,i,a,u,c,s,f,d){var p,h,v,g=0,m=a,y=a,k=l-a+1,C=i-a+1,w=new Int32Array(C+1),U=k===r,x=!1,S=0,P=0;if(o<4||(k|C)<32)for(g=m;g<=l;++g)if(p=e[g],Pa?x=!0:S=a,16384&h.flags&&(n[a]=h=E(h)),rn(p,h,u,t,c,s,d),++P;break}!U&&a>i&&Ne(p,u)}else U||Ne(p,u);else{var F={};for(g=y;g<=i;++g)F[n[g].key]=g;for(g=m;g<=l;++g)if(p=e[g],Pm;)Ne(e[m++],u);w[a-y]=g+1,S>a?x=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=E(h)),rn(p,h,u,t,c,s,d),++P}else U||Ne(p,u);else U||Ne(p,u)}if(U)Me(u,f,e),qe(n,u,t,c,s,d);else if(x){var L=$n(w);for(a=L.length-1,g=C-1;g>=0;g--)0===w[g]?(16384&(h=n[S=g+y]).flags&&(n[S]=h=E(h)),He(h,u,t,c,(v=S+1)=0;g--)0===w[g]&&(16384&(h=n[S=g+y]).flags&&(n[S]=h=E(h)),He(h,u,t,c,(v=S+1)kn&&(kn=u,be=new Int32Array(u),ke=new Int32Array(u));t>1]]0&&(ke[t]=be[l-1]),be[l]=t)}l=o+1;var c=new Int32Array(l);for(i=be[l-1];l-- >0;)c[l]=i,i=ke[i],be[l]=0;return c}function Cn(e,n,t,r){var l=[],a=n.$V;w.v=!0,o(a)?o(e)||(16384&e.flags&&(e=E(e)),He(e,n,r,!1,null,l),n.$V=e,a=e):o(e)?(Ne(a,n),n.$V=null):(16384&e.flags&&(e=E(e)),rn(a,e,n,r,!1,null,l),a=n.$V=e),l.length>0&&m(l),w.v=!1,i(t)&&t(),i(U.renderComplete)&&U.renderComplete(a,n)}function wn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=s),Cn(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Un=[],xn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Sn=!1;function Pn(e,n,t,r){var l=e.$PS;if(i(n)&&(n=n(l?c(e.state,l):e.state,e.props,e.context)),o(l))e.$PS=n;else for(var a in n)l[a]=n[a];if(e.$BR)i(t)&&e.$L.push(t.bind(e));else{if(!w.v&&0===Un.length)return void Nn(e,r,t);if(-1===Un.indexOf(e)&&Un.push(e),Sn||(Sn=!0,xn(Ln)),i(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Fn(e){for(var n=e.$QU,t=0,r=n.length;t0&&m(o),w.v=!1}else e.state=e.$PS,e.$PS=null;i(t)&&t.call(e)}var Vn=function(e,n){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||s,this.context=n||s};Vn.prototype.forceUpdate=function(e){if(this.$UN)return;Pn(this,{},e,!0)},Vn.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||Pn(this,e,n,!1)},Vn.prototype.render=function(e,n,t){return null},uibench.init("Inferno [same as react]","7.1.13");var In=function(t){function r(e){var r;return(r=t.call(this,e)||this).onClick=r.onClick.bind(n(r)),r}e(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(e,n){return this.props.text!==e.text},o.onClick=function(e){console.log("Clicked"+this.props.text),e.stopPropagation()},o.render=function(){return N(1,"td","TableCell",this.props.text,0,{onClick:this.onClick},null,null)},r}(Vn),Bn=function(n){function t(){return n.apply(this,arguments)||this}e(t,n);var r=t.prototype;return r.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},r.render=function(){for(var e=this.props.data,n=e.active?"TableRow active":"TableRow",t=e.props,r=[M(2,In,{text:"#"+e.id},-1,null)],o=0;o0,h=u(d),v=a(d)&&d[0]===N;p||h||v?(o=o||n.slice(0,s),(p||v)&&(f=O(f)),(h||v)&&(f.key=N+s),o.push(f)):o&&o.push(f),f.flags|=65536}}i=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=O(n)),i=2;return e.children=o,e.childFlags=i,e}var H="http://www.w3.org/1999/xlink",Q="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":H,"xlink:arcrole":H,"xlink:href":H,"xlink:role":H,"xlink:show":H,"xlink:title":H,"xlink:type":H,"xml:base":Q,"xml:lang":Q,"xml:space":Q};function G(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=G(0),q=G(null),J=G(!0);function z(e,n){var t=n.$EV;return t||(t=n.$EV=G(null)),t[e]||1===++K[e]&&(q[e]=ae(e)),t}function Y(e,n){var t=n.$EV;t&&t[e]&&(0===--K[e]&&(document.removeEventListener(d(e),q[e]),q[e]=null),t[e]=null)}function Z(e,n,t,r){if(i(t))z(e,r)[e]=t;else if(s(t)){if(P(n,t))return;z(e,r)[e]=t}else Y(e,r)}function ee(e,n,t,r,o){var l=n;do{if(t&&l.disabled)return;var i=l.$EV;if(i){var a=i[r];if(a&&(o.dom=l,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}l=l.parentNode}while(!u(l))}function ne(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function te(){return this.defaultPrevented}function re(){return this.cancelBubble}function oe(e){var n={dom:document};return e.isDefaultPrevented=te,e.isPropagationStopped=re,e.stopPropagation=ne,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function le(e){return function(n){if(0!==n.button)return void n.stopPropagation();ee(n,n.target,!0,e,oe(n))}}function ie(e){return function(n){ee(n,n.target,!1,e,oe(n))}}function ae(e){var n="onClick"===e||"onDblClick"===e?le(e):ie(e);return document.addEventListener(d(e),n),n}function ue(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ce(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function se(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||f,l=r.dom;if(a(e))ce(o,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),t&&o(a)&&(a=e.defaultValue),ye(r,a)}}var we,Ue,xe=se("onInput",Fe),Se=se("onChange");function Pe(e,n){fe(e,"input",xe),n.onChange&&fe(e,"change",Se)}function Fe(e,n,t){var r=e.value,l=n.value;if(o(r)){if(t){var i=e.defaultValue;o(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==r&&(n.defaultValue=r,n.value=r)}function Le(e,n,t,r,o,l){64&e?me(r,t):256&e?Ce(r,t,o,n):128&e&&Fe(r,t,o),l&&(t.$V=n)}function Ne(e,n,t){64&e?ge(n,t):256&e?$e(n):128&e&&Pe(n,t)}function Ve(e){return e.type&&de(e.type)?!o(e.checked):!o(e.value)}function Ie(e){e&&!L(e,null)&&e.current&&(e.current=null)}function Be(e,n,t){e&&(i(e)||void 0!==e.current)&&t.push(function(){L(e,n)||void 0===e.current||(e.current=n)})}function Me(e,n){Te(e),$(e,n)}function Te(e){var n,t=e.flags,r=e.children;if(481&t){n=e.ref;var l=e.props;Ie(n);var a=e.childFlags;if(!u(l))for(var c=Object.keys(l),s=0,d=c.length;s0;for(var a in i&&(l=Ve(t))&&Ne(n,r,t),t)je(a,null,t[a],r,o,l,null);i&&Le(n,e,r,t,!0,l)}function Qe(e,n,t){var r=Ge(e.render(n,e.state,t)),o=t;return i(e.getChildContext)&&(o=c(t,e.getChildContext())),e.$CX=o,r}function Xe(e,n,t,r,o,l){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=l,e.children=a,a.$BS=!1,a.context=r,a.props===f&&(a.props=t),c)a.state=w(a,t,a.state);else if(i(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!u(s)){var d=a.state;if(u(d))a.state=s;else for(var p in s)d[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=Qe(a,t,r),a}function Ge(e){if(l(e)||r(e))return D(e,null);if(t(e))return E(e,0,null);return 16384&e.flags?O(e):e}function Ke(e,n,t,r,o,l){var i=e.flags|=16384;481&i?Ye(e,n,t,r,o,l):4&i?en(e,n,t,r,o,l):8&i?(tn(e,n,t,r,o,l),an(e,l)):512&i||16&i?ze(e,n,o):8192&i?Je(e,n,t,r,o,l):1024&i&&qe(e,t,n,o,l)}function qe(e,n,t,r,o){Ke(e.children,e.ref,n,!1,null,o);var l=R();ze(l,t,r),e.dom=l.dom}function Je(e,n,t,r,o,l){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=R()),2===a?Ke(i,n,o,r,o,l):Ze(i,n,t,r,o,l)}function ze(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||h(n,r,t)}function Ye(e,n,t,r,l,i){var a=e.flags,c=e.props,s=e.className,f=e.children,d=e.childFlags,p=e.dom=v(e.type,r=r||(32&a)>0);if(o(s)||""===s||(r?p.setAttribute("class",s):p.className=s),16===d)S(p,f);else if(1!==d){var g=r&&"foreignObject"!==e.type;2===d?(16384&f.flags&&(e.children=f=O(f)),Ke(f,p,t,g,null,i)):8!==d&&4!==d||Ze(f,p,t,g,null,i)}u(n)||h(n,p,l),u(c)||He(e,a,c,p,r),Be(e.ref,p,i)}function Ze(e,n,t,r,o,l){for(var i=0;id)&&(s=k(i[d-1],!1).nextSibling)}gn(u,c,i,a,t,r,o,s,e,l)}function pn(e,n,t,r){var o=e.ref,i=n.ref,a=n.children;if(gn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,r),n.dom=e.dom,o!==i&&!l(a)){var u=a.dom;m(o,u),p(i,u)}}function hn(e,n,t,r,l,i){var a,u=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(r=r||(32&l)>0,c!==s){var h=c||f;if((a=s||f)!==f)for(var v in(d=(448&l)>0)&&(p=Ve(a)),a){var g=h[v],m=a[v];g!==m&&je(v,g,m,u,r,p,e)}if(h!==f)for(var y in h)o(a[y])&&!o(h[y])&&je(y,h[y],null,u,r,p,e)}var b=n.children,k=n.className;e.className!==k&&(o(k)?u.removeAttribute("class"):r?u.setAttribute("class",k):u.className=k),4096&l?fn(u,b):gn(e.childFlags,n.childFlags,e.children,b,u,t,r&&"foreignObject"!==n.type,null,e,i),d&&Le(l,n,u,a,!1,p);var $=n.ref,C=e.ref;C!==$&&(Ie(C),Be($,u,i))}function vn(e,n,t,r,o,l){Te(e),Ze(n,t,r,o,k(e,!0),l),$(e,t)}function gn(e,n,t,r,o,l,i,a,u,c){switch(e){case 2:switch(n){case 2:cn(t,r,o,l,i,a,c);break;case 1:Me(t,o);break;case 16:Te(t),S(o,r);break;default:vn(t,r,o,l,i,c)}break;case 1:switch(n){case 2:Ke(r,o,l,i,a,c);break;case 1:break;case 16:S(o,r);break;default:Ze(r,o,l,i,a,c)}break;case 16:switch(n){case 16:sn(t,r,o);break;case 2:De(o),Ke(r,o,l,i,a,c);break;case 1:De(o);break;default:De(o),Ze(r,o,l,i,a,c)}break;default:switch(n){case 16:Ae(t),S(o,r);break;case 2:Ee(o,u,t),Ke(r,o,l,i,a,c);break;case 1:Ee(o,u,t);break;default:var s=0|t.length,f=0|r.length;0===s?f>0&&Ze(r,o,l,i,a,c):0===f?Ee(o,u,t):8===n&&8===e?wn(t,r,o,l,i,s,f,a,u,c):Cn(t,r,o,l,i,s,f,a,c)}}}function mn(e,n,t,r,o){o.push(function(){e.componentDidUpdate(n,t,r)})}function yn(e,n,t,r,o,l,a,u,s){var f=e.state,d=e.props,p=Boolean(e.$N),h=i(e.shouldComponentUpdate);if(p&&(n=w(e,t,n!==f?c(f,n):n)),a||!h||h&&e.shouldComponentUpdate(t,n,o)){!p&&i(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var v=null,g=Qe(e,t,o);p&&i(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(d,f)),cn(e.$LI,g,r,e.$CX,l,u,s),e.$LI=g,i(e.componentDidUpdate)&&mn(e,d,f,v,s)}else e.props=t,e.state=n,e.context=o}function bn(e,n,t,r,o,l,a){var s=n.children=e.children;if(u(s))return;s.$L=a;var d=n.props||f,p=n.ref,h=e.ref,v=s.state;if(!s.$N){if(i(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}u(s.$PS)||(v=c(v,s.$PS),s.$PS=null)}yn(s,v,d,t,r,o,!1,l,a),h!==p&&(Ie(h),Be(p,s,a))}function kn(e,n,t,r,l,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,h=!o(d),v=e.children;if(h&&i(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){h&&i(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=Ge(32768&n.flags?g.render(s,d,r):g(s,r));cn(v,m,t,r,l,a,u),n.children=m,h&&i(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=v}function $n(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Cn(e,n,t,r,o,l,i,a,u){for(var c,s,f=l>i?i:l,d=0;di)for(d=f;dd||h>p)break e;v=e[h],g=n[h]}for(v=e[d],g=n[p];v.key===g.key;){if(16384&g.flags&&(n[p]=g=O(g)),cn(v,g,t,r,o,a,c),e[d]=g,p--,h>--d||h>p)break e;v=e[d],g=n[p]}}if(h>d){if(h<=p)for(f=(s=p+1)p)for(;h<=d;)Me(e[h++],t);else Un(e,n,r,l,i,d,p,h,t,o,a,u,c)}function Un(e,n,t,r,o,l,i,a,u,c,s,f,d){var p,h,v,g=0,m=a,y=a,b=l-a+1,$=i-a+1,w=new Int32Array($+1),U=b===r,x=!1,S=0,P=0;if(o<4||(b|$)<32)for(g=m;g<=l;++g)if(p=e[g],P<$){for(a=y;a<=i;a++)if(h=n[a],p.key===h.key){if(w[a-y]=g+1,U)for(U=!1;ma?x=!0:S=a,16384&h.flags&&(n[a]=h=O(h)),cn(p,h,u,t,c,s,d),++P;break}!U&&a>i&&Me(p,u)}else U||Me(p,u);else{var F={};for(g=y;g<=i;++g)F[n[g].key]=g;for(g=m;g<=l;++g)if(p=e[g],P<$)if(void 0!==(a=F[p.key])){if(U)for(U=!1;g>m;)Me(e[m++],u);w[a-y]=g+1,S>a?x=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=O(h)),cn(p,h,u,t,c,s,d),++P}else U||Me(p,u);else U||Me(p,u)}if(U)Ee(u,f,e),Ze(n,u,t,c,s,d);else if(x){var L=Sn(w);for(a=L.length-1,g=$-1;g>=0;g--)0===w[g]?(16384&(h=n[S=g+y]).flags&&(n[S]=h=O(h)),Ke(h,u,t,c,(v=S+1)=0;g--)0===w[g]&&(16384&(h=n[S=g+y]).flags&&(n[S]=h=O(h)),Ke(h,u,t,c,(v=S+1)xn&&(xn=u,we=new Int32Array(u),Ue=new Int32Array(u));t>1]]0&&(Ue[t]=we[l-1]),we[l]=t)}l=o+1;var c=new Int32Array(l);for(i=we[l-1];l-- >0;)c[l]=i,i=Ue[i],we[l]=0;return c}function Pn(e,n,t,r){var l=[],a=n.$V;U.v=!0,o(a)?o(e)||(16384&e.flags&&(e=O(e)),Ke(e,n,r,!1,null,l),n.$V=e,a=e):o(e)?(Me(a,n),n.$V=null):(16384&e.flags&&(e=O(e)),cn(a,e,n,r,!1,null,l),a=n.$V=e),l.length>0&&y(l),U.v=!1,i(t)&&t(),i(x.renderComplete)&&x.renderComplete(a,n)}function Fn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Pn(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var Ln=[],Nn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Vn=!1;function In(e,n,t,r){var l=e.$PS;if(i(n)&&(n=n(l?c(e.state,l):e.state,e.props,e.context)),o(l))e.$PS=n;else for(var a in n)l[a]=n[a];if(e.$BR)i(t)&&e.$L.push(t.bind(e));else{if(!U.v&&0===Ln.length)return void Tn(e,r,t);if(-1===Ln.indexOf(e)&&Ln.push(e),Vn||(Vn=!0,Nn(Mn)),i(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Bn(e){for(var n=e.$QU,t=0,r=n.length;t0&&y(o),U.v=!1}else e.state=e.$PS,e.$PS=null;i(t)&&t.call(e)}var An=function(e,n){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.props=e||f,this.context=n||f};An.prototype.forceUpdate=function(e){if(this.$UN)return;In(this,{},e,!0)},An.prototype.setState=function(e,n){if(this.$UN)return;this.$BS||In(this,e,n,!1)},An.prototype.render=function(e,n,t){return null},uibench.init("Inferno [same as react]","7.2.1");var Dn=function(t){function r(e){var r;return(r=t.call(this,e)||this).onClick=r.onClick.bind(n(r)),r}e(r,t);var o=r.prototype;return o.shouldComponentUpdate=function(e,n){return this.props.text!==e.text},o.onClick=function(e){console.log("Clicked"+this.props.text),e.stopPropagation()},o.render=function(){return I(1,"td","TableCell",this.props.text,0,{onClick:this.onClick},null,null)},r}(An),En=function(n){function t(){return n.apply(this,arguments)||this}e(t,n);var r=t.prototype;return r.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},r.render=function(){for(var e=this.props.data,n=e.active?"TableRow active":"TableRow",t=e.props,r=[A(2,Dn,{text:"#"+e.id},-1,null)],o=0;o0,p=i(d),h=o(d)&&d[0]===x;v||p||h?(a=a||l.slice(0,f),(v||h)&&(s=T(s)),(p||h)&&(s.key=x+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=T(l)),u=2;return t.children=a,t.childFlags=u,t}function E(e,n){if(l(n))return{data:e,event:n};return null}var H="http://www.w3.org/1999/xlink",O="http://www.w3.org/XML/1998/namespace",R={"xlink:actuate":H,"xlink:arcrole":H,"xlink:href":H,"xlink:role":H,"xlink:show":H,"xlink:title":H,"xlink:type":H,"xml:base":O,"xml:lang":O,"xml:space":O};function j(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var X=j(0),_=j(null),K=j(!0);function q(e,n,t){var r=t.$EV;n?(0===X[e]&&(_[e]=ne(e)),r||(r=t.$EV=j(null)),r[e]||++X[e],r[e]=n):r&&r[e]&&(0===--X[e]&&(document.removeEventListener(c(e),_[e]),_[e]=null),r[e]=null)}function G(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var a=o.$EV;if(a){var u=a[r];if(u&&(l.dom=o,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function J(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function z(){return this.defaultPrevented}function Q(){return this.cancelBubble}function Y(e){var n={dom:document};return Object.defineProperties(e,{currentTarget:{get:function(){return n.dom}},isDefaultPrevented:{value:z},isPropagationStopped:{value:Q},stopPropagation:{value:J}}),n}function Z(e){return function(n){if(0!==n.button)return void n.stopPropagation();G(n,n.target,!0,e,Y(n))}}function ee(e){return function(n){G(n,n.target,!1,e,Y(n))}}function ne(e){var n="onClick"===e||"onDblClick"===e?Z(e):ee(e);return document.addEventListener(c(e),n),n}function te(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function re(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function le(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||u,a=r.dom;if(o(e))re(i,e,t);else for(var c=0;c-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),de(l,a)}}var me,ke,ye=le("onInput",we),be=le("onChange");function Ce(e,n){oe(e,"input",ye),n.onChange&&oe(e,"change",be)}function we(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function $e(e,n,t,r,l,o){64&e?se(r,t):256&e?ge(r,t,l,n):128&e&&we(r,t,l),o&&(t.$V=n)}function Fe(e,n,t){64&e?fe(n,t):256&e?he(n):128&e&&Ce(n,t)}function xe(e){return e.type&&ie(e.type)?!t(e.checked):!t(e.value)}function Pe(e){e&&(l(e)?e(null):e.current&&(e.current=null))}function Le(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){l(e)?e(n):void 0!==e.current&&(e.current=n)})}function Se(e,n){Ue(e),n&&k(e,n)}function Ue(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var a=e.props;Pe(n);var c=e.childFlags;if(!i(a))for(var f=Object.keys(a),s=0,d=f.length;s0;for(var a in i&&(o=xe(t))&&Fe(n,r,t),t)Be(a,null,t[a],r,l,o,null);i&&$e(n,e,r,t,!0,o)}function Ee(e,n,t){var r=Oe(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=a(t,e.getChildContext())),e.$CX=o,r}function He(e,n,t,r,o,a){var c=new n(t,r),f=c.$N=Boolean(n.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=o,c.$L=a,e.children=c,c.$BS=!1,c.context=r,c.props===u&&(c.props=t),f)c.state=b(c,t,c.state);else if(l(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!i(s)){var d=c.state;if(i(d))c.state=s;else for(var v in s)d[v]=s[v];c.$PS=null}c.$BR=!1}return c.$LI=Ee(c,t,r),c}function Oe(t){if(r(t)||n(t))return N(t,null);if(e(t))return M(t,0,null);return 16384&t.flags?T(t):t}function Re(e,n,t,r,l,o){var i=e.flags|=16384;481&i?Ke(e,n,t,r,l,o):4&i?Ge(e,n,t,r,l,o):8&i?Je(e,n,t,r,l,o):512&i||16&i?_e(e,n,l):8192&i?Xe(e,n,t,r,l,o):1024&i&&je(e,t,n,l,o)}function je(e,n,t,r,l){Re(e.children,e.ref,n,!1,null,l);var o=D();_e(o,t,r),e.dom=o.dom}function Xe(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=D()),2===a?Re(i,n,l,r,l,o):qe(i,n,t,r,l,o)}function _e(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||s(n,r,t)}function Ke(e,n,r,l,o,a){var u=e.flags,c=e.props,f=e.className,v=e.children,p=e.childFlags,h=e.dom=d(e.type,l=l||(32&u)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===p)w(h,v);else if(1!==p){var g=l&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=T(v)),Re(v,h,r,g,null,a)):8!==p&&4!==p||qe(v,h,r,g,null,a)}i(n)||s(n,h,o),i(c)||We(e,u,c,h,l),Le(e.ref,h,a)}function qe(e,n,t,r,l,o){for(var i=0;id)&&(f=m(i[d-1],!1).nextSibling)}cn(u,c,i,a,t,r,l,f,e,o)}function on(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(cn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;p(o,u),f(i,u)}}function an(e,n,r,l,o,i){var a,c=n.dom=e.dom,f=e.props,s=n.props,d=!1,v=!1;if(l=l||(32&o)>0,f!==s){var p=f||u;if((a=s||u)!==u)for(var h in(d=(448&o)>0)&&(v=xe(a)),a){var g=p[h],m=a[h];g!==m&&Be(h,g,m,c,l,v,e)}if(p!==u)for(var k in p)t(a[k])&&!t(p[k])&&Be(k,p[k],null,c,l,v,e)}var y=n.children,b=n.className;e.className!==b&&(t(b)?c.removeAttribute("class"):l?c.setAttribute("class",b):c.className=b),4096&o?rn(c,y):cn(e.childFlags,n.childFlags,e.children,y,c,r,l&&"foreignObject"!==n.type,null,e,i),d&&$e(o,n,c,a,!1,v);var C=n.ref,w=e.ref;w!==C&&(Pe(w),Le(C,c,i))}function un(e,n,t,r,l,o){Ue(e),qe(n,t,r,l,m(e,!0),o),k(e,t)}function cn(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:nn(t,r,l,o,i,a,c);break;case 1:Se(t,l);break;case 16:Ue(t),w(l,r);break;default:un(t,r,l,o,i,c)}break;case 1:switch(n){case 2:Re(r,l,o,i,a,c);break;case 1:break;case 16:w(l,r);break;default:qe(r,l,o,i,a,c)}break;case 16:switch(n){case 16:tn(t,r,l);break;case 2:Ie(l),Re(r,l,o,i,a,c);break;case 1:Ie(l);break;default:Ie(l),qe(r,l,o,i,a,c)}break;default:switch(n){case 16:Ve(t),w(l,r);break;case 2:Ne(l,u,t),Re(r,l,o,i,a,c);break;case 1:Ne(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&qe(r,l,o,i,a,c):0===s?Ne(l,u,t):8===n&&8===e?gn(t,r,l,o,i,f,s,a,u,c):hn(t,r,l,o,i,f,s,a,c)}}}function fn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function sn(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,v=Boolean(e.$N),p=l(e.shouldComponentUpdate);if(v&&(n=b(e,t,n!==s?a(s,n):n)),u||!p||p&&e.shouldComponentUpdate(t,n,o)){!v&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=Ee(e,t,o);v&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),nn(e.$LI,g,r,e.$CX,i,c,f),e.$LI=g,l(e.componentDidUpdate)&&fn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function dn(e,n,t,r,o,c,f){var s=n.children=e.children;if(i(s))return;s.$L=f;var d=n.props||u,v=n.ref,p=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}sn(s,h,d,t,r,o,!1,c,f),p!==v&&(Pe(p),Le(v,s,f))}function vn(e,n,r,o,i,a,c){var f=!0,s=n.props||u,d=n.ref,v=e.props,p=!t(d),h=e.children;if(p&&l(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(v,s)),!1!==f){p&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,s);var g=n.type,m=Oe(32768&n.flags?g.render(s,d,o):g(s,o));nn(h,m,r,o,i,a,c),n.children=m,p&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,s)}else n.children=h}function pn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function hn(e,n,t,r,l,o,i,a,u){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||p>v)break e;h=e[p],g=n[p]}for(h=e[d],g=n[v];h.key===g.key;){if(16384&g.flags&&(n[v]=g=T(g)),nn(h,g,t,r,l,a,c),e[d]=g,v--,p>--d||p>v)break e;h=e[d],g=n[v]}}if(p>d){if(p<=v)for(s=(f=v+1)v)for(;p<=d;)Se(e[p++],t);else mn(e,n,r,o,i,d,v,p,t,l,a,u,c)}function mn(e,n,t,r,l,o,i,a,u,c,f,s,d){var v,p,h,g=0,k=a,b=a,C=o-a+1,w=i-a+1,$=new Int32Array(w+1),F=C===r,x=!1,P=0,L=0;if(l<4||(C|w)<32)for(g=k;g<=o;++g)if(v=e[g],La?x=!0:P=a,16384&p.flags&&(n[a]=p=T(p)),nn(v,p,u,t,c,f,d),++L;break}!F&&a>i&&Se(v,u)}else F||Se(v,u);else{var S={};for(g=b;g<=i;++g)S[n[g].key]=g;for(g=k;g<=o;++g)if(v=e[g],Lk;)Se(e[k++],u);$[a-b]=g+1,P>a?x=!0:P=a,16384&(p=n[a]).flags&&(n[a]=p=T(p)),nn(v,p,u,t,c,f,d),++L}else F||Se(v,u);else F||Se(v,u)}if(F)Ne(u,s,e),qe(n,u,t,c,f,d);else if(x){var U=yn($);for(a=U.length-1,g=w-1;g>=0;g--)0===$[g]?(16384&(p=n[P=g+b]).flags&&(n[P]=p=T(p)),Re(p,u,t,c,(h=P+1)=0;g--)0===$[g]&&(16384&(p=n[P=g+b]).flags&&(n[P]=p=T(p)),Re(p,u,t,c,(h=P+1)kn&&(kn=u,me=new Int32Array(u),ke=new Int32Array(u));t>1]]0&&(ke[t]=me[o-1]),me[o]=t)}o=l+1;var c=new Int32Array(o);for(i=me[o-1];o-- >0;)c[o]=i,i=ke[i],me[o]=0;return c}function bn(e,n,r,o){var i=[],a=n.$V;t(a)?t(e)||(16384&e.flags&&(e=T(e)),Re(e,n,o,!1,null,i),n.$V=e,a=e):t(e)?(Se(a,n),n.$V=null):(16384&e.flags&&(e=T(e)),nn(a,e,n,o,!1,null,i),a=n.$V=e),i.length>0&&h(i),l(r)&&r(),l(C.renderComplete)&&C.renderComplete(a,n)}function Cn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=u),bn(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve()),uibench.init("Inferno","7.1.13");var wn={onComponentShouldUpdate:function(e,n){return e!==n}};function $n(e){return L(1,"li","TreeLeaf",e.children,16,null,null,null)}function Fn(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l0,v=i(d),h=o(d)&&d[0]===S;p||v||h?(a=a||l.slice(0,f),(p||h)&&(s=E(s)),(v||h)&&(s.key=S+f),a.push(s)):a&&a.push(s),s.flags|=65536}}u=0===(a=a||l).length?1:8}else(a=l).flags|=65536,81920&l.flags&&(a=E(l)),u=2;return t.children=a,t.childFlags=u,t}var R="http://www.w3.org/1999/xlink",j="http://www.w3.org/XML/1998/namespace",X={"xlink:actuate":R,"xlink:arcrole":R,"xlink:href":R,"xlink:role":R,"xlink:show":R,"xlink:title":R,"xlink:type":R,"xml:base":j,"xml:lang":j,"xml:space":j};function _(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var K=_(0),q=_(null),G=_(!0);function J(e,n){var t=n.$EV;return t||(t=n.$EV=_(null)),t[e]||1===++K[e]&&(q[e]=oe(e)),t}function z(e,n){var t=n.$EV;t&&t[e]&&(0===--K[e]&&(document.removeEventListener(s(e),q[e]),q[e]=null),t[e]=null)}function Q(e,n,t,r){if(l(t))J(e,r)[e]=t;else if(c(t)){if(x(n,t))return;J(e,r)[e]=t}else z(e,r)}function Y(e,n,t,r,l){var o=n;do{if(t&&o.disabled)return;var a=o.$EV;if(a){var u=a[r];if(u&&(l.dom=o,u.event?u.event(u.data,e):u(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function Z(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ee(){return this.defaultPrevented}function ne(){return this.cancelBubble}function te(e){var n={dom:document};return e.isDefaultPrevented=ee,e.isPropagationStopped=ne,e.stopPropagation=Z,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function re(e){return function(n){if(0!==n.button)return void n.stopPropagation();Y(n,n.target,!0,e,te(n))}}function le(e){return function(n){Y(n,n.target,!1,e,te(n))}}function oe(e){var n="onClick"===e||"onDblClick"===e?re(e):le(e);return document.addEventListener(s(e),n),n}function ie(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ae(e,n,t){if(e[n]){var r=e[n];r.event?r.event(r.data,t):r(t)}else{var l=n.toLowerCase();e[l]&&e[l](t)}}function ue(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(o(e))ae(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),ge(l,a)}}var Ce,$e,we=ue("onInput",Pe),Fe=ue("onChange");function xe(e,n){ce(e,"input",we),n.onChange&&ce(e,"change",Fe)}function Pe(e,n,r){var l=e.value,o=n.value;if(t(l)){if(r){var i=e.defaultValue;t(i)||i===o||(n.defaultValue=i,n.value=i)}}else o!==l&&(n.defaultValue=l,n.value=l)}function Le(e,n,t,r,l,o){64&e?he(r,t):256&e?ye(r,t,l,n):128&e&&Pe(r,t,l),o&&(t.$V=n)}function Se(e,n,t){64&e?ve(n,t):256&e?be(n):128&e&&xe(n,t)}function Ve(e){return e.type&&fe(e.type)?!t(e.checked):!t(e.value)}function Ue(e){e&&!L(e,null)&&e.current&&(e.current=null)}function Ie(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push(function(){L(e,n)||void 0===e.current||(e.current=n)})}function Ne(e,n){Ae(e),y(e,n)}function Ae(e){var n,r=e.flags,o=e.children;if(481&r){n=e.ref;var a=e.props;Ue(n);var u=e.childFlags;if(!i(a))for(var c=Object.keys(a),s=0,d=c.length;s0;for(var a in i&&(o=Ve(t))&&Se(n,r,t),t)Oe(a,null,t[a],r,l,o,null);i&&Le(n,e,r,t,!0,o)}function je(e,n,t){var r=_e(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=a(t,e.getChildContext())),e.$CX=o,r}function Xe(e,n,t,r,o,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=o,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=$(u,t,u.state);else if(l(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!i(s)){var d=u.state;if(i(d))u.state=s;else for(var p in s)d[p]=s[p];u.$PS=null}u.$BR=!1}return u.$LI=je(u,t,r),u}function _e(t){if(r(t)||n(t))return T(t,null);if(e(t))return D(t,0,null);return 16384&t.flags?E(t):t}function Ke(e,n,t,r,l,o){var i=e.flags|=16384;481&i?ze(e,n,t,r,l,o):4&i?Ye(e,n,t,r,l,o):8&i?(en(e,n,t,r,l,o),ln(e,o)):512&i||16&i?Je(e,n,l):8192&i?Ge(e,n,t,r,l,o):1024&i&&qe(e,t,n,l,o)}function qe(e,n,t,r,l){Ke(e.children,e.ref,n,!1,null,l);var o=W();Je(o,t,r),e.dom=o.dom}function Ge(e,n,t,r,l,o){var i=e.children,a=e.childFlags;12&a&&0===i.length&&(a=e.childFlags=2,i=e.children=W()),2===a?Ke(i,n,l,r,l,o):Qe(i,n,t,r,l,o)}function Je(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||p(n,r,t)}function ze(e,n,r,l,o,a){var u=e.flags,c=e.props,f=e.className,s=e.children,d=e.childFlags,h=e.dom=v(e.type,l=l||(32&u)>0);if(t(f)||""===f||(l?h.setAttribute("class",f):h.className=f),16===d)F(h,s);else if(1!==d){var g=l&&"foreignObject"!==e.type;2===d?(16384&s.flags&&(e.children=s=E(s)),Ke(s,h,r,g,null,a)):8!==d&&4!==d||Qe(s,h,r,g,null,a)}i(n)||p(n,h,o),i(c)||Re(e,u,c,h,l),Ie(e.ref,h,a)}function Qe(e,n,t,r,l,o){for(var i=0;id)&&(f=b(i[d-1],!1).nextSibling)}vn(u,c,i,a,t,r,l,f,e,o)}function sn(e,n,t,l){var o=e.ref,i=n.ref,a=n.children;if(vn(e.childFlags,n.childFlags,e.children,a,o,t,!1,null,e,l),n.dom=e.dom,o!==i&&!r(a)){var u=a.dom;g(o,u),d(i,u)}}function dn(e,n,r,l,o,i){var a,u=n.dom=e.dom,c=e.props,s=n.props,d=!1,p=!1;if(l=l||(32&o)>0,c!==s){var v=c||f;if((a=s||f)!==f)for(var h in(d=(448&o)>0)&&(p=Ve(a)),a){var g=v[h],m=a[h];g!==m&&Oe(h,g,m,u,l,p,e)}if(v!==f)for(var k in v)t(a[k])&&!t(v[k])&&Oe(k,v[k],null,u,l,p,e)}var b=n.children,y=n.className;e.className!==y&&(t(y)?u.removeAttribute("class"):l?u.setAttribute("class",y):u.className=y),4096&o?cn(u,b):vn(e.childFlags,n.childFlags,e.children,b,u,r,l&&"foreignObject"!==n.type,null,e,i),d&&Le(o,n,u,a,!1,p);var C=n.ref,$=e.ref;$!==C&&(Ue($),Ie(C,u,i))}function pn(e,n,t,r,l,o){Ae(e),Qe(n,t,r,l,b(e,!0),o),y(e,t)}function vn(e,n,t,r,l,o,i,a,u,c){switch(e){case 2:switch(n){case 2:an(t,r,l,o,i,a,c);break;case 1:Ne(t,l);break;case 16:Ae(t),F(l,r);break;default:pn(t,r,l,o,i,c)}break;case 1:switch(n){case 2:Ke(r,l,o,i,a,c);break;case 1:break;case 16:F(l,r);break;default:Qe(r,l,o,i,a,c)}break;case 16:switch(n){case 16:un(t,r,l);break;case 2:Te(l),Ke(r,l,o,i,a,c);break;case 1:Te(l);break;default:Te(l),Qe(r,l,o,i,a,c)}break;default:switch(n){case 16:Me(t),F(l,r);break;case 2:De(l,u,t),Ke(r,l,o,i,a,c);break;case 1:De(l,u,t);break;default:var f=0|t.length,s=0|r.length;0===f?s>0&&Qe(r,l,o,i,a,c):0===s?De(l,u,t):8===n&&8===e?Cn(t,r,l,o,i,f,s,a,u,c):yn(t,r,l,o,i,f,s,a,c)}}}function hn(e,n,t,r,l){l.push(function(){e.componentDidUpdate(n,t,r)})}function gn(e,n,t,r,o,i,u,c,f){var s=e.state,d=e.props,p=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(p&&(n=$(e,t,n!==s?a(s,n):n)),u||!v||v&&e.shouldComponentUpdate(t,n,o)){!p&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,g=je(e,t,o);p&&l(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(d,s)),an(e.$LI,g,r,e.$CX,i,c,f),e.$LI=g,l(e.componentDidUpdate)&&hn(e,d,s,h,f)}else e.props=t,e.state=n,e.context=o}function mn(e,n,t,r,o,u,c){var s=n.children=e.children;if(i(s))return;s.$L=c;var d=n.props||f,p=n.ref,v=e.ref,h=s.state;if(!s.$N){if(l(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,r),s.$UN)return;s.$BR=!1}i(s.$PS)||(h=a(h,s.$PS),s.$PS=null)}gn(s,h,d,t,r,o,!1,u,c),v!==p&&(Ue(v),Ie(p,s,c))}function kn(e,n,r,o,i,a,u){var c=!0,s=n.props||f,d=n.ref,p=e.props,v=!t(d),h=e.children;if(v&&l(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(p,s)),!1!==c){v&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(p,s);var g=n.type,m=_e(32768&n.flags?g.render(s,d,o):g(s,o));an(h,m,r,o,i,a,u),n.children=m,v&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(p,s)}else n.children=h}function bn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function yn(e,n,t,r,l,o,i,a,u){for(var c,f,s=o>i?i:o,d=0;di)for(d=s;dd||v>p)break e;h=e[v],g=n[v]}for(h=e[d],g=n[p];h.key===g.key;){if(16384&g.flags&&(n[p]=g=E(g)),an(h,g,t,r,l,a,c),e[d]=g,p--,v>--d||v>p)break e;h=e[d],g=n[p]}}if(v>d){if(v<=p)for(s=(f=p+1)p)for(;v<=d;)Ne(e[v++],t);else $n(e,n,r,o,i,d,p,v,t,l,a,u,c)}function $n(e,n,t,r,l,o,i,a,u,c,f,s,d){var p,v,h,g=0,m=a,k=a,y=o-a+1,$=i-a+1,w=new Int32Array($+1),F=y===r,x=!1,P=0,L=0;if(l<4||(y|$)<32)for(g=m;g<=o;++g)if(p=e[g],L<$){for(a=k;a<=i;a++)if(v=n[a],p.key===v.key){if(w[a-k]=g+1,F)for(F=!1;ma?x=!0:P=a,16384&v.flags&&(n[a]=v=E(v)),an(p,v,u,t,c,f,d),++L;break}!F&&a>i&&Ne(p,u)}else F||Ne(p,u);else{var S={};for(g=k;g<=i;++g)S[n[g].key]=g;for(g=m;g<=o;++g)if(p=e[g],L<$)if(void 0!==(a=S[p.key])){if(F)for(F=!1;g>m;)Ne(e[m++],u);w[a-k]=g+1,P>a?x=!0:P=a,16384&(v=n[a]).flags&&(n[a]=v=E(v)),an(p,v,u,t,c,f,d),++L}else F||Ne(p,u);else F||Ne(p,u)}if(F)De(u,s,e),Qe(n,u,t,c,f,d);else if(x){var V=Fn(w);for(a=V.length-1,g=$-1;g>=0;g--)0===w[g]?(16384&(v=n[P=g+k]).flags&&(n[P]=v=E(v)),Ke(v,u,t,c,(h=P+1)=0;g--)0===w[g]&&(16384&(v=n[P=g+k]).flags&&(n[P]=v=E(v)),Ke(v,u,t,c,(h=P+1)wn&&(wn=u,Ce=new Int32Array(u),$e=new Int32Array(u));t>1]]0&&($e[t]=Ce[o-1]),Ce[o]=t)}o=l+1;var c=new Int32Array(o);for(i=Ce[o-1];o-- >0;)c[o]=i,i=$e[i],Ce[o]=0;return c}function xn(e,n,r,o){var i=[],a=n.$V;t(a)?t(e)||(16384&e.flags&&(e=E(e)),Ke(e,n,o,!1,null,i),n.$V=e,a=e):t(e)?(Ne(a,n),n.$V=null):(16384&e.flags&&(e=E(e)),an(a,e,n,o,!1,null,i),a=n.$V=e),i.length>0&&m(i),l(r)&&r(),l(w.renderComplete)&&w.renderComplete(a,n)}function Pn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),xn(e,n,t,r)}"undefined"!==typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve()),uibench.init("Inferno","7.2.1");var Ln={onComponentShouldUpdate:function(e,n){return e!==n}};function Sn(e){return U(1,"li","TreeLeaf",e.children,16,null,null,null)}function Vn(e){for(var n=e.data,t=n.children.length,r=new Array(t),l=0;l (https://terinstock.com/)", @@ -24,11 +24,11 @@ ], "repository": "https://github.com/infernojs/inferno", "dependencies": { - "inferno": "7.2.0" + "inferno": "7.2.1" }, "devDependencies": { - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0" + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-mobx/package.json b/packages/inferno-mobx/package.json index 15d1b0053..4a2490822 100644 --- a/packages/inferno-mobx/package.json +++ b/packages/inferno-mobx/package.json @@ -1,6 +1,6 @@ { "name": "inferno-mobx", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Official Inferno bindings for Mobx", "author": { @@ -36,11 +36,11 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.2.0", - "inferno-create-class": "7.2.0", - "inferno-create-element": "7.2.0", - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0", + "inferno": "7.2.1", + "inferno-create-class": "7.2.1", + "inferno-create-element": "7.2.1", + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-redux/package.json b/packages/inferno-redux/package.json index dda75886b..9da7fca4c 100644 --- a/packages/inferno-redux/package.json +++ b/packages/inferno-redux/package.json @@ -1,6 +1,6 @@ { "name": "inferno-redux", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Official Inferno bindings for Redux", "author": { @@ -36,12 +36,12 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.2.0" + "inferno": "7.2.1" }, "devDependencies": { - "inferno-create-class": "7.2.0", - "inferno-create-element": "7.2.0", - "inferno-shared": "7.2.0", + "inferno-create-class": "7.2.1", + "inferno-create-element": "7.2.1", + "inferno-shared": "7.2.1", "redux": "^4" }, "rollup": { diff --git a/packages/inferno-router/package.json b/packages/inferno-router/package.json index f47546236..f1f11654b 100644 --- a/packages/inferno-router/package.json +++ b/packages/inferno-router/package.json @@ -1,6 +1,6 @@ { "name": "inferno-router", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Provides routing functionality for Inferno", "author": { @@ -38,11 +38,11 @@ "dependencies": { "history": "^4.9.0", "hoist-non-inferno-statics": "^1.1.3", - "inferno": "7.2.0", + "inferno": "7.2.1", "path-to-regexp-es6": "1.7.0" }, "devDependencies": { - "inferno-vnode-flags": "7.2.0", + "inferno-vnode-flags": "7.2.1", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-server/package.json b/packages/inferno-server/package.json index c3a1e2275..f6089e9ea 100644 --- a/packages/inferno-server/package.json +++ b/packages/inferno-server/package.json @@ -1,6 +1,6 @@ { "name": "inferno-server", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Provides methods to render HTML strings from Inferno elements", "author": { @@ -41,15 +41,15 @@ "node": ">=8" }, "devDependencies": { - "inferno-create-class": "7.2.0", - "inferno-create-element": "7.2.0", - "inferno-hydrate": "7.2.0", - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0", + "inferno-create-class": "7.2.1", + "inferno-create-element": "7.2.1", + "inferno-hydrate": "7.2.1", + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1", "mobx": "*" }, "dependencies": { - "inferno": "7.2.0" + "inferno": "7.2.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-shared/package.json b/packages/inferno-shared/package.json index 67d7d1c93..770684974 100644 --- a/packages/inferno-shared/package.json +++ b/packages/inferno-shared/package.json @@ -1,6 +1,6 @@ { "name": "inferno-shared", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Helpers functions for Inferno", "author": { diff --git a/packages/inferno-test-utils/package.json b/packages/inferno-test-utils/package.json index 3a253d334..44326d1bb 100644 --- a/packages/inferno-test-utils/package.json +++ b/packages/inferno-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "inferno-test-utils", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Suite of utilities for testing Inferno applications", "author": { @@ -21,11 +21,11 @@ "utils" ], "devDependencies": { - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0" + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1" }, "dependencies": { - "inferno": "7.2.0" + "inferno": "7.2.1" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-utils/package.json b/packages/inferno-utils/package.json index a6c9f9a71..304237dfd 100644 --- a/packages/inferno-utils/package.json +++ b/packages/inferno-utils/package.json @@ -1,13 +1,13 @@ { "name": "inferno-utils", - "version": "7.2.0", + "version": "7.2.1", "description": "Meta test utilities which are not for userland", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": { - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0" + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1" }, "keywords": [], "author": "", diff --git a/packages/inferno-vnode-flags/package.json b/packages/inferno-vnode-flags/package.json index 87ff58808..e5f8df368 100644 --- a/packages/inferno-vnode-flags/package.json +++ b/packages/inferno-vnode-flags/package.json @@ -1,6 +1,6 @@ { "name": "inferno-vnode-flags", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "Provides an enum of all possible VNode Flags used when calling Inferno.createVNode", "author": { diff --git a/packages/inferno/package.json b/packages/inferno/package.json index 7e3090a99..0fd56d62d 100644 --- a/packages/inferno/package.json +++ b/packages/inferno/package.json @@ -1,6 +1,6 @@ { "name": "inferno", - "version": "7.2.0", + "version": "7.2.1", "license": "MIT", "description": "An extremely fast, React-like JavaScript library for building modern user interfaces", "author": { @@ -53,11 +53,11 @@ "typings": "dist/index.d.ts", "repository": "https://github.com/infernojs/inferno", "devDependencies": { - "inferno-utils": "7.2.0" + "inferno-utils": "7.2.1" }, "dependencies": { - "inferno-shared": "7.2.0", - "inferno-vnode-flags": "7.2.0", + "inferno-shared": "7.2.1", + "inferno-vnode-flags": "7.2.1", "opencollective-postinstall": "^2.0.2" } }