text: !function(){"use strict";function r(e,n){e.prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c=Array.isArray;function d(e){var n=typeof e;return"string"===n||"number"===n}function _(e){return h(e)||H(e)}function $(e){return H(e)||false===e||true===e||h(e)}function j(e){return"function"==typeof e}function p(e){return"string"==typeof e}function H(e){return null===e}function h(e){return void 0===e}function C(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 Q={};function U(e,n){e.appendChild(n)}function X(e,n,t){H(t)?U(e,n):e.insertBefore(n,t)}function w(e,n){e.removeChild(n)}function f(e){for(var n;void 0!==(n=e.shift());)n()}function G(e,n){for(var t,r;e;){if(2033&(t=e.flags))return e.dom;r=e.children,e=8192&t?2===e.childFlags?r:r[n?0:r.length-1]:4&t?r.$LI:r}return null}function x(e,n){var t=e.flags;if(2033&t)w(n,e.dom);else{var r=e.children;if(4&t)x(r.$LI,n);else if(8&t)x(r,n);else if(8192&t)if(2===e.childFlags)x(r,n);else for(var l=0,o=r.length;l<o;++l)x(r[l],n)}}function N(e,n,t){var r=e.flags;if(2033&r)X(n,e.dom,t);else{var l=e.children;if(4&r)N(l.$LI,n,t);else if(8&r)N(l,n,t);else if(8192&r)if(2===e.childFlags)N(l,n,t);else for(var o=0,a=l.length;o<a;++o)N(l[o],n,t)}}function K(e,n,t){return e.constructor.getDerivedStateFromProps?C(t,e.constructor.getDerivedStateFromProps(n,t)):t}var v={v:false},g={componentComparator:null,createVNode:null,renderComplete:null},m="$";function y(e,n,t,r,l,o,a,i){this.childFlags=e,this.children=n,this.className=t,this.dom=null,this.flags=r,this.key=void 0===l?null:l,this.props=void 0===o?null:o,this.ref=void 0===a?null:a,this.type=i}function o(e,n,t,r,l,o,a,i){var u=void 0===l?1:l,s=new y(u,r,t,e,a,o,i,n),f=g.createVNode;return j(f)&&f(s),0===u&&function(e,n){var t,r=1;if($(n))t=n;else if(d(n))r=16,t=n;else if(c(n)){for(var l=n.length,o=0;o<l;++o){var a=n[o];if($(a)||c(a)){k(n,t=t||n.slice(0,o),o,"");break}if(d(a))(t=t||n.slice(0,o)).push(b(a,m+o));else{var i=a.key,u=0<(81920&a.flags),s=H(i),f=!s&&p(i)&&i[0]===m;u||s||f?(t=t||n.slice(0,o),(u||f)&&(a=q(a)),(s||f)&&(a.key=m+o),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=q(n)),r=2;e.children=t,e.childFlags=r}(s,s.children),s}function a(e,n,t,r,l){0!=(2&e)&&(n.prototype&&n.prototype.render?e=4:n.render?(e=32776,n=n.render):e=8);var o=n.defaultProps;if(!_(o))for(var a in t||(t={}),o)h(t[a])&&(t[a]=o[a]);if(0<(8&e)&&0==(32768&e)){var i=n.defaultHooks;if(!_(i))if(l)for(var u in i)h(l[u])&&(l[u]=i[u]);else l=i}var s=new y(1,null,null,e,r,t,l,n),f=g.createVNode;return j(f)&&f(s),s}function b(e,n){return new y(1,_(e)?"":e,null,16,n,null,null,null)}function i(e,n,t){var r=o(8192,8192,null,e,n,null,t,null);switch(r.childFlags){case 1:r.children=J(),r.childFlags=2;break;case 16:r.children=[b(e)],r.childFlags=4}return r}function q(e){var n=-16385&e.flags,t=e.props;if(14&n&&!H(t)){var r=t;for(var l in t={},r)t[l]=r[l]}return 0==(8192&n)?new y(e.childFlags,e.children,e.className,n,e.key,t,e.ref,e.type):function(e){var n,t=e.children,r=e.childFlags;if(2===r)n=q(t);else if(12&r){n=[];for(var l=0,o=t.length;l<o;++l)n.push(q(t[l]))}return i(n,r,e.key)}(e)}function J(){return b("",null)}function k(e,n,t,r){for(var l=e.length;t<l;t++){var o=e[t];if(!$(o)){var a=r+m+t;if(c(o))k(o,n,0,a);else{if(d(o))o=b(o,a);else{var i=o.key,u=p(i)&&i[0]===m;(81920&o.flags||u)&&(o=q(o)),o.flags|=65536,H(i)||u?o.key=a:o.key=r+i}n.push(o)}}}}var e="http://www.w3.org/1999/xlink",n="http://www.w3.org/XML/1998/namespace",S={"xlink:actuate":e,"xlink:arcrole":e,"xlink:href":e,"xlink:role":e,"xlink:show":e,"xlink:title":e,"xlink:type":e,"xml:base":n,"xml:lang":n,"xml:space":n};function u(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onSubmit:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var s=u(0),F=u(null),P=u(true);function L(e,n,t){var r,l,o=t.$EV;n?(0===s[e]&&(F[e]=(r=e,l=function(e){var n="onClick"===r||"onDblClick"===r;if(n&&0!==e.button)e.stopPropagation();else{e.stopPropagation=M;var t={dom:document};Object.defineProperty(e,"currentTarget",{configurable:true,get:function(){return t.dom}}),function(e,n,t,r,l){for(var o=n;!H(o);){if(t&&o.disabled)return;var a=o.$EV;if(a){var i=a[r];if(i&&(l.dom=o,i.event?i.event(i.data,e):i(e),e.cancelBubble))return}o=o.parentNode}}(e,e.target,n,r,t)}},document.addEventListener(V(r),l),l)),o||(o=t.$EV=u(null)),o[e]||++s[e],o[e]=n):o&&o[e]&&(0==--s[e]&&(document.removeEventListener(V(e),F[e]),F[e]=null),o[e]=null)}function V(e){return e.substr(2).toLowerCase()}function M(){this.cancelBubble=true,this.immediatePropagationStopped||this.stopImmediatePropagation()}function B(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 t(i,u){var e=function(e){var n=this.$V;if(n){var t=n.props||Q,r=n.dom;if(p(i))B(t,i,e);else for(var l=0;l<i.length;++l)B(t,i[l],e);if(j(u)){var o=this.$V,a=o.props||Q;u(a,r,false,o)}}};return Object.defineProperty(e,"wrapped",{configurable:false,enumerable:false,value:true,writable:false}),e}function z(e){return"checkbox"===e||"radio"===e}var Y=t("onInput",T),Z=t(["onClick","onChange"],T);function ee(e){e.stopPropagation()}function T(e,n){var t=e.type,r=e.value,l=e.checked,o=e.multiple,a=e.defaultValue,i=!_(r);t&&t!==n.type&&n.setAttribute("type",t),_(o)||o===n.multiple||(n.multiple=o),_(a)||i||(n.defaultValue=a+""),z(t)?(i&&(n.value=r),_(l)||(n.checked=l)):i&&n.value!==r?(n.defaultValue=r,n.value=r):_(l)||(n.checked=l)}ee.wrapped=true;var ne=t("onChange",I);function I(e,n,t,r){var l=Boolean(e.multiple);if(_(e.multiple)||l===n.multiple||(n.multiple=l),1!==r.childFlags){var o=e.value;t&&_(o)&&(o=e.defaultValue),function e(n,t){if("option"===n.type)u=t,s=(i=n).props||Q,(f=i.dom).value=s.value,s.value===u||c(u)&&-1!==u.indexOf(s.value)?f.selected=true:_(u)&&_(s.selected)||(f.selected=s.selected||false);else{var r=n.children,l=n.flags;if(4&l)e(r.$LI,t);else if(8&l)e(r,t);else if(2===n.childFlags)e(r,t);else if(12&n.childFlags)for(var o=0,a=r.length;o<a;++o)e(r[o],t)}var i,u,s,f}(r,o)}}var te=t("onInput",D),re=t("onChange");function D(e,n,t){var r=e.value,l=n.value;if(_(r)){if(t){var o=e.defaultValue;_(o)||o===l||(n.defaultValue=o,n.value=o)}}else l!==r&&(n.defaultValue=r,n.value=r)}function le(e,n,t,r,l,o){64&e?T(r,t):256&e?I(r,t,l,n):128&e&&D(r,t,l),o&&(t.$V=n)}function oe(e){return e.type&&z(e.type)?!_(e.checked):!_(e.value)}function A(e){e&&(j(e)?e(null):e.current&&(e.current=null))}function ae(e,n,t){var r,l;e&&(j(e)?(r=n,l=e,t.push(function(){l(r)})):void 0!==e.current&&(e.current=n))}function W(e,n){E(e),n&&x(e,n)}function E(e){var n,t=e.flags,r=e.children;if(481&t){n=e.ref;var l=e.props;A(n);var o=e.childFlags;if(!H(l))for(var a=Object.keys(l),i=0,u=a.length;i<u;i++){var s=a[i];P[s]&&L(s,null,e.dom)}12&o?O(r):2===o&&E(r)}else r&&(4&t?(j(r.componentWillUnmount)&&r.componentWillUnmount(),A(e.ref),r.$UN=true,E(r.$LI)):8&t?(!_(n=e.ref)&&j(n.onComponentWillUnmount)&&n.onComponentWillUnmount(G(e,true),e.props||Q),E(r)):1024&t?W(r,e.ref):8192&t&&12&e.childFlags&&O(r))}function O(e){for(var n=0,t=e.length;n<t;++n)E(e[n])}function R(e){e.textContent=""}function ie(e,n,t){O(t),8192&n.flags?x(n,e):R(e)}function ue(u,e,n,t,r,l,o){switch(u){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":break;case"autoFocus":t.autofocus=!!n;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":t[u]=!!n;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===u)break;var a=_(n)?"":n;t[u]!==a&&(t[u]=a);break;case"style":!function(e,n,t){if(_(n))t.removeAttribute("style");else{var r,l,o=t.style;if(p(n))o.cssText=n;else if(_(e)||p(e))for(r in n)l=n[r],o.setProperty(r,l);else{for(r in n)(l=n[r])!==e[r]&&o.setProperty(r,l);for(r in e)_(n[r])&&o.removeProperty(r)}}}(e,n,t);break;case"dangerouslySetInnerHTML":var i=e&&e.__html||"",s=n&&n.__html||"";i!==s&&(_(s)||(f=t,c=s,(d=document.createElement("i")).innerHTML=c,d.innerHTML===f.innerHTML)||(H(o)||(12&o.childFlags?O(o.children):2===o.childFlags&&E(o.children),o.children=null,o.childFlags=1),t.innerHTML=s));break;default:P[u]?e&&n&&!j(e)&&!j(n)&&e.event===n.event&&e.data===n.data||L(u,n,t):111===u.charCodeAt(0)&&110===u.charCodeAt(1)?function(e,n,t){var r,l,o=u.toLowerCase();if(j(n)||_(n)){var a=t[o];a&&a.wrapped||(t[o]=n)}else{var i=n.event;j(i)&&(t[o]=(r=i,l=n,function(e){r(l.data,e)}))}}(0,n,t):_(n)?t.removeAttribute(u):r&&S[u]?t.setAttributeNS(S[u],u,n):t.setAttribute(u,n)}var f,c,d}function se(e,n,t){var r=fe(e.render(n,e.state,t)),l=t;return j(e.getChildContext)&&(l=C(t,e.getChildContext())),e.$CX=l,r}function fe(e){return $(e)?e=J():d(e)?e=b(e,null):c(e)?e=i(e,0,null):16384&e.flags&&(e=q(e)),e}function ce(e,n,t,r,l,o){var a,i,u,s,f,c,d,p,h,v,g,m,y,b,k,$,C,U,w,x,S,F,P,N,L,V,M,B,T,I,D,A,W,E,O,R=e.flags|=16384;481&R?function(e,n,t,r,l,o){var a=e.flags,i=e.props,u=e.className,s=e.ref,f=e.children,c=e.childFlags;r=r||0<(32&a);var d,p=(d=e.type,r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d));if(e.dom=p,_(u)||""===u||(r?p.setAttribute("class",u):p.className=u),16===c)pe(p,f);else if(1!==c){var h=r&&"foreignObject"!==e.type;2===c?(16384&f.flags&&(e.children=f=q(f)),ce(f,p,t,h,null,o)):8!==c&&4!==c||he(f,p,t,h,null,o)}H(n)||X(n,p,l),H(i)||function(e,n,t,r,l){var o,a,i,u,s,f,c=false,d=0<(448&n);for(var p in d&&(c=oe(t))&&(a=r,i=t,f=s=u=void 0,64&(o=n)?(f=a,z(i.type)?(f.onchange=Z,f.onclick=ee):f.oninput=Y):256&o?a.onchange=ne:128&o&&(s=i,(u=a).oninput=te,s.onChange&&(u.onchange=re))),t)ue(p,null,t[p],r,l,c,null);d&&le(n,e,r,t,true,c)}(e,a,i,p,r),ae(s,p,o)}(e,n,t,r,l,o):4&R?(w=n,x=t,S=r,F=l,P=o,ce((N=function(e,n,t,r,l,o){var a=new n(t,r),i=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=l,a.$L=o,(e.children=a).$BS=false,a.context=r,a.props===Q&&(a.props=t),i)a.state=K(a,t,a.state);else if(j(a.componentWillMount)){a.$BR=true,a.componentWillMount();var u=a.$PS;if(!H(u)){var s=a.state;if(H(s))a.state=u;else for(var f in u)s[f]=u[f];a.$PS=null}a.$BR=false}return a.$LI=se(a,t,r),a}(U=e,U.type,U.props||Q,x,S,P)).$LI,w,N.$CX,S,F,P),ae(U.ref,L=N,V=P),j(L.componentDidMount)&&V.push((M=L,function(){M.componentDidMount()}))):8&R?(i=n,u=t,s=r,f=l,c=o,d=(a=e).type,p=a.props||Q,h=a.ref,v=fe(32768&a.flags?d(p,h,u):d(p,u)),ce(a.children=v,i,u,s,f,c),g=p,y=a,b=c,_(m=h)||(j(m.onComponentWillMount)&&m.onComponentWillMount(g),j(m.onComponentDidMount)&&b.push((k=m,$=y,C=g,function(){k.onComponentDidMount(G($,true),C)})))):512&R||16&R?de(e,n,l):8192&R?(T=n,I=t,D=r,A=l,W=o,E=(B=e).children,12&(O=B.childFlags)&&0===E.length&&(O=B.childFlags=2,E=B.children=J()),2===O?ce(E,T,A,D,A,W):he(E,T,I,D,A,W)):1024&R&&function(e,n,t,r,l){ce(e.children,e.ref,n,false,null,l);var o=J();de(o,t,r),e.dom=o.dom}(e,t,n,l,o)}function de(e,n,t){var r=e.dom=document.createTextNode(e.children);H(n)||X(n,r,t)}function pe(e,n){e.textContent=n}function he(e,n,t,r,l,o){for(var a=0,i=e.length;a<i;++a){var u=e[a];16384&u.flags&&(e[a]=u=q(u)),ce(u,n,t,r,l,o)}}function ve(e,n,t,r,l,o,a){var i,u,s,f,c,d,p,h,v,g,m,y,b,k=n.flags|=16384;e.flags!==k||e.type!==n.type||e.key!==n.key||0!=(2048&k)?16384&e.flags?(u=n,s=t,f=r,c=l,d=a,E(i=e),0!=(u.flags&i.flags&2033)?(ce(u,null,f,c,null,d),p=s,h=u.dom,v=i.dom,p.replaceChild(h,v)):(ce(u,s,f,c,G(i,true),d),x(i,s))):ce(n,t,r,l,o,a):481&k?function(e,n,t,r,l,o){var a,i=e.dom,u=e.props,s=n.props,f=false,c=false;if(n.dom=i,r=r||0<(32&l),u!==s){var d=u||Q;if((a=s||Q)!==Q)for(var p in(f=0<(448&l))&&(c=oe(a)),a){var h=d[p],v=a[p];h!==v&&ue(p,h,v,i,r,c,e)}if(d!==Q)for(var g in d)_(a[g])&&!_(d[g])&&ue(g,d[g],null,i,r,c,e)}var m,y,b=n.children,k=n.className;e.className!==k&&(_(k)?i.removeAttribute("class"):r?i.setAttribute("class",k):i.className=k),4096&l?(y=b,(m=i).textContent!==y&&(m.textContent=y)):ge(e.childFlags,n.childFlags,e.children,b,i,t,r&&"foreignObject"!==n.type,null,e,o),f&&le(l,n,i,a,false,c);var $=n.ref,C=e.ref;C!==$&&(A(C),ae($,i,o))}(e,n,r,l,k,a):4&k?function(e,n,t,r,l,o,a){var i=n.children=e.children;if(!H(i)){i.$L=a;var u=n.props||Q,s=n.ref,f=e.ref,c=i.state;if(!i.$N){if(j(i.componentWillReceiveProps)){if(i.$BR=true,i.componentWillReceiveProps(u,r),i.$UN)return;i.$BR=false}H(i.$PS)||(c=C(c,i.$PS),i.$PS=null)}me(i,c,u,t,r,l,false,o,a),f!==s&&(A(f),ae(s,i,a))}}(e,n,t,r,l,o,a):8&k?function(e,n,t,r,l,o,a){var i=true,u=n.props||Q,s=n.ref,f=e.props,c=!_(s),d=e.children;if(c&&j(s.onComponentShouldUpdate)&&(i=s.onComponentShouldUpdate(f,u)),false!==i){c&&j(s.onComponentWillUpdate)&&s.onComponentWillUpdate(f,u);var p=fe(n.type(u,r));ve(d,p,t,r,l,o,a),n.children=p,c&&j(s.onComponentDidUpdate)&&s.onComponentDidUpdate(f,u)}else n.children=d}(e,n,t,r,l,o,a):16&k?(g=e,y=(m=n).children,b=g.dom,y!==g.children&&(b.nodeValue=y),m.dom=b):512&k?n.dom=e.dom:8192&k?function(e,n,t,r,l,o){var a=e.children,i=n.children,u=e.childFlags,s=n.childFlags,f=null;12&s&&0===i.length&&(s=n.childFlags=2,i=n.children=J());var c=0!=(2&s);if(12&u){var d=a.length;(8&u&&8&s||c||!c&&i.length>d)&&(f=G(a[d-1],false).nextSibling)}ge(u,s,a,i,t,r,l,f,e,o)}(e,n,t,r,l,a):function(e,n,t,r){var l=e.ref,o=n.ref,a=n.children;if(ge(e.childFlags,n.childFlags,e.children,a,l,t,false,null,e,r),n.dom=e.dom,l!==o&&!$(a)){var i=a.dom;w(l,i),U(o,i)}}(e,n,r,a)}function ge(e,n,t,r,l,o,a,i,u,s){switch(e){case 2:switch(n){case 2:ve(t,r,l,o,a,i,s);break;case 1:W(t,l);break;case 16:E(t),pe(l,r);break;default:g=r,m=l,y=o,b=a,k=s,E(v=t),he(g,m,y,b,G(v,true),k),x(v,m)}break;case 1:switch(n){case 2:ce(r,l,o,a,i,s);break;case 1:break;case 16:pe(l,r);break;default:he(r,l,o,a,i,s)}break;case 16:switch(n){case 16:h=l,(d=t)!==(p=r)&&(""!==d?h.firstChild.nodeValue=p:h.textContent=p);break;case 2:R(l),ce(r,l,o,a,i,s);break;case 1:R(l);break;default:R(l),he(r,l,o,a,i,s)}break;default:switch(n){case 16:O(t),pe(l,r);break;case 2:ie(l,u,t),ce(r,l,o,a,i,s);break;case 1:ie(l,u,t);break;default:var f=0|t.length,c=0|r.length;0===f?0<c&&he(r,l,o,a,i,s):0===c?ie(l,u,t):8===n&&8===e?function(e,n,t,r,l,o,a,i,u,s){var f,c,d=o-1,p=a-1,h=0,v=0,g=e[v],m=n[v];e:{for(;g.key===m.key;){if(16384&m.flags&&(n[v]=m=q(m)),ve(g,m,t,r,l,i,s),e[v]=m,d<++v||p<v)break e;g=e[v],m=n[v]}for(g=e[d],m=n[p];g.key===m.key;){if(16384&m.flags&&(n[p]=m=q(m)),ve(g,m,t,r,l,i,s),e[d]=m,p--,--d<v||p<v)break e;g=e[d],m=n[p]}}if(d<v){if(v<=p)for(c=(f=p+1)<a?G(n[f],true):i;v<=p;)16384&(m=n[v]).flags&&(n[v]=m=q(m)),++v,ce(m,t,r,l,c,s)}else if(p<v)for(;v<=d;)W(e[v++],t);else{for(var y=v,b=v,k=d-v+1,$=p-v+1,C=[];h++<=$;)C.push(0);var U=k===o,w=false,x=0,S=0;if(a<4||(k|$)<32)for(h=y;h<=d;++h)if(g=e[h],S<$){for(v=b;v<=p;v++)if(m=n[v],g.key===m.key){if(C[v-b]=h+1,U)for(U=false;y<h;)W(e[y++],t);v<x?w=true:x=v,16384&m.flags&&(n[v]=m=q(m)),ve(g,m,t,r,l,i,s),++S;break}!U&&p<v&&W(g,t)}else U||W(g,t);else{var F={};for(h=b;h<=p;++h)F[n[h].key]=h;for(h=y;h<=d;++h)if(g=e[h],S<$)if(void 0!==(v=F[g.key])){if(U)for(U=false;y<h;)W(e[y++],t);m=n[v],C[v-b]=h+1,v<x?w=true:x=v,16384&m.flags&&(n[v]=m=q(m)),ve(g,m,t,r,l,i,s),++S}else U||W(g,t);else U||W(g,t)}if(U)ie(t,u,e),he(n,t,r,l,i,s);else if(w){var P=function(e){var n,t,r,l,o,a=e.slice(),i=[0],u=e.length;for(n=0;n<u;++n){var s=e[n];if(0!==s){if(e[t=i[i.length-1]]<s){a[n]=t,i.push(n);continue}for(r=0,l=i.length-1;r<l;)e[i[o=(r+l)/2|0]]<s?r=o+1:l=o;s<e[i[r]]&&(0<r&&(a[n]=i[r-1]),i[r]=n)}}for(l=i[(r=i.length)-1];0<r--;)l=a[i[r]=l];return i}(C);for(v=P.length-1,h=$-1;0<=h;h--)0===C[h]?(16384&(m=n[x=h+b]).flags&&(n[x]=m=q(m)),ce(m,t,r,l,(f=x+1)<a?G(n[f],true):i,s)):v<0||h!==P[v]?N(m=n[x=h+b],t,(f=x+1)<a?G(n[f],true):i):v--}else if(S!==$)for(h=$-1;0<=h;h--)0===C[h]&&(16384&(m=n[x=h+b]).flags&&(n[x]=m=q(m)),ce(m,t,r,l,(f=x+1)<a?G(n[f],true):i,s))}}(t,r,l,o,a,f,c,i,u,s):function(e,n,t,r,l,o,a,i,u){for(var s,f,c=a<o?a:o,d=0;d<c;++d)s=n[d],f=e[d],16384&s.flags&&(s=n[d]=q(s)),ve(f,s,t,r,l,i,u),e[d]=s;if(o<a)for(d=c;d<a;++d)16384&(s=n[d]).flags&&(s=n[d]=q(s)),ce(s,t,r,l,i,u);else if(a<o)for(d=c;d<o;++d)W(e[d],t)}(t,r,l,o,a,f,c,i,s)}}var d,p,h,v,g,m,y,b,k}function me(e,n,t,r,l,o,a,i,u){var s,f,c,d,p=e.state,h=e.props,v=Boolean(e.$N),g=j(e.shouldComponentUpdate);if(v&&(n=K(e,t,n!==p?C(p,n):n)),a||!g||g&&e.shouldComponentUpdate(t,n,l)){!v&&j(e.componentWillUpdate)&&e.componentWillUpdate(t,n,l),e.props=t,e.state=n,e.context=l;var m=null,y=se(e,t,l);v&&j(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(h,p)),ve(e.$LI,y,r,e.$CX,o,i,u),e.$LI=y,j(e.componentDidUpdate)&&(s=e,f=h,c=p,d=m,u.push(function(){s.componentDidUpdate(f,c,d)}))}else e.props=t,e.state=n,e.context=l}function ye(e,n,t,r){var l,o,a,i,u,s;void 0===t&&(t=null),void 0===r&&(r=Q),l=e,a=t,i=r,u=[],s=(o=n).$V,v.v=true,_(s)?_(l)||(16384&l.flags&&(l=q(l)),ce(l,o,i,false,null,u),s=o.$V=l):_(l)?(W(s,o),o.$V=null):(16384&l.flags&&(l=q(l)),ve(s,l,o,i,false,null,u),s=o.$V=l),0<u.length&&f(u),v.v=false,j(a)&&a(),j(g.renderComplete)&&g.renderComplete(s,o)}"undefined"!=typeof document&&(document.body,Node.prototype.$EV=null,Node.prototype.$V=null);var be=[],ke="undefined"!=typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout.bind(window),$e=false;function Ce(e,n,t,r){var l=e.$PS;if(j(n)&&(n=n(l?C(e.state,l):e.state,e.props,e.context)),_(l))e.$PS=n;else for(var o in n)l[o]=n[o];if(e.$BR)j(t)&&e.$L.push(t.bind(e));else{if(!v.v&&0===be.length)return void xe(e,r,t);if(-1===be.indexOf(e)&&be.push(e),$e||($e=true,ke(we)),j(t)){var a=e.$QU;a||(a=e.$QU=[]),a.push(t)}}}function Ue(e){for(var n=e.$QU,t=0,r=n.length;t<r;++t)n[t].call(e);e.$QU=null}function we(){var e;for($e=false;e=be.pop();)xe(e,false,e.$QU?Ue.bind(null,e):null)}function xe(e,n,t){if(!e.$UN){if(n||!e.$BR){var r=e.$PS;e.$PS=null;var l=[];v.v=true,me(e,C(e.state,r),e.props,G(e.$LI,true).parentNode,e.context,e.$SVG,n,null,l),0<l.length&&f(l),v.v=false}else e.state=e.$PS,e.$PS=null;j(t)&&t.call(e)}}var Se=function(e,n){this.state=null,this.$BR=false,this.$BS=true,this.$PS=null,this.$LI=null,this.$UN=false,this.$CX=null,this.$QU=null,this.$N=false,this.$L=null,this.$SVG=false,this.props=e||Q,this.context=n||Q};Se.prototype.forceUpdate=function(e){this.$UN||Ce(this,{},e,true)},Se.prototype.setState=function(e,n){this.$UN||this.$BS||Ce(this,e,n,false)},Se.prototype.render=function(e,n,t){return null},uibench.init("Inferno [same as react]","7.0.4");var Fe=function(t){function e(e){var n;return(n=t.call(this,e)||this).onClick=n.onClick.bind(l(l(n))),n}r(e,t);var n=e.prototype;return n.shouldComponentUpdate=function(e,n){return this.props.text!==e.text},n.onClick=function(e){console.log("Clicked"+this.props.text),e.stopPropagation()},n.render=function(){return o(1,"td","TableCell",this.props.text,0,{onClick:this.onClick},null,null)},e}(Se),Pe=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){for(var e=this.props.data,n=e.active?"TableRow active":"TableRow",t=e.props,r=[a(2,Fe,{text:"#"+e.id},-1,null)],l=0;l<t.length;l++)r.push(a(2,Fe,{text:t[l]},l,null));return o(1,"tr",n,r,0,{"data-id":e.id},null,null)},n}(Se),Ne=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){for(var e=this.props.data.items,n=[],t=0;t<e.length;t++){var r=e[t];n.push(a(2,Pe,{data:r},r.id,null))}return o(1,"table","Table",o(1,"tbody",null,n,0,null,null,null),2,null,null,null)},n}(Se),Le=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){var e=this.props.data,n=e.time,t={"border-radius":(n%10).toString()+"px",background:"rgba(0,0,0,"+(.5+n%10/10).toString()+")"};return o(1,"div","AnimBox",null,1,{"data-id":e.id,style:t},null,null)},n}(Se),Ve=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){for(var e=this.props.data.items,n=[],t=0;t<e.length;t++){var r=e[t];n.push(a(2,Le,{data:r},r.id,null))}return o(1,"div","Anim",n,0,null,null,null)},n}(Se),Me=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){return o(1,"li","TreeLeaf",this.props.data.id,0,null,null,null)},n}(Se),Be=function(e){function l(){return e.apply(this,arguments)||this}r(l,e);var n=l.prototype;return n.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},n.render=function(){for(var e=this.props.data,n=[],t=0;t<e.children.length;t++){var r=e.children[t];r.container?n.push(a(2,l,{data:r},r.id,null)):n.push(a(2,Me,{data:r},r.id,null))}return o(1,"ul","TreeNode",n,0,null,null,null)},l}(Se),Te=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){return o(1,"div","Tree",a(2,Be,{data:this.props.data.root},null,null),2,null,null,null)},n}(Se),Ie=function(e){function n(){return e.apply(this,arguments)||this}r(n,e);var t=n.prototype;return t.shouldComponentUpdate=function(e,n){return this.props.data!==e.data},t.render=function(){var e,n=this.props.data,t=n.location;return"table"===t?e=a(2,Ne,{data:n.table},null,null):"anim"===t?e=a(2,Ve,{data:n.anim},null,null):"tree"===t&&(e=a(2,Te,{data:n.tree},null,null)),o(1,"div","Main",e,0,null,null,null)},n}(Se);document.addEventListener("DOMContentLoaded",function(e){var n=document.querySelector("#App");uibench.run(function(e){ye(a(2,Ie,{data:e},null,null),n)},function(e){ye(o(1,"pre",null,JSON.stringify(e,null," "),0,null,null,null),n)})})}();
  