From f4a4e3b06f8853e9d91e7380aa9c94cf09c6afe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sampo=20Kivist=C3=B6?= Date: Wed, 8 Feb 2023 20:04:41 +0200 Subject: [PATCH] v8.0.6 --- docs/1kcomponents/dist/bundle.js | 2 +- docs/animations-demo-inner/dist/bundle.js | 2 +- docs/animations-demo/dist/bundle.js | 2 +- docs/animations-global-demo/dist/bundle.js | 2 +- docs/animations/dist/bundle.js | 2 +- docs/async-render/dist/bundle.js | 2 +- docs/compat/dist/bundle.js | 2 +- docs/dbmonster-mobx/dist/bundle.js | 2 +- docs/dbmonster/dist/bundle.js | 2 +- docs/event-test/dist/bundle.js | 2 +- docs/form/dist/bundle.js | 2 +- docs/svg/dist/bundle.js | 2 +- docs/uibench-inferno-compat/dist/bundle.js | 2 +- docs/uibench-normalization/dist/bundle.js | 2 +- docs/uibench-reactlike/dist/bundle.js | 2 +- docs/uibench/dist/bundle.js | 2 +- lerna.json | 2 +- packages/inferno-animation/package.json | 12 +++++------ packages/inferno-clone-vnode/package.json | 8 +++---- packages/inferno-compat/package.json | 22 ++++++++++---------- packages/inferno-create-class/package.json | 8 +++---- packages/inferno-create-element/package.json | 8 +++---- packages/inferno-extras/package.json | 6 +++--- packages/inferno-hydrate/package.json | 12 +++++------ packages/inferno-hyperscript/package.json | 8 +++---- packages/inferno-mobx/package.json | 12 +++++------ packages/inferno-redux/package.json | 10 ++++----- packages/inferno-router/package.json | 6 +++--- packages/inferno-server/package.json | 14 ++++++------- packages/inferno-shared/package.json | 2 +- packages/inferno-test-utils/package.json | 8 +++---- packages/inferno-utils/package.json | 6 +++--- packages/inferno-vnode-flags/package.json | 2 +- packages/inferno/package.json | 8 +++---- 34 files changed, 93 insertions(+), 93 deletions(-) diff --git a/docs/1kcomponents/dist/bundle.js b/docs/1kcomponents/dist/bundle.js index 8e304ed99..748683843 100644 --- a/docs/1kcomponents/dist/bundle.js +++ b/docs/1kcomponents/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var n=1;n0?k(t.componentWillDisappear,S(e,n)):P(e,n,!1)}function D(e,n,t,a,f,r,i,c){e.componentWillMove.push({dom:a,fn:function(){4&i?t.componentWillMove(n,f,a):8&i&&t.onComponentWillMove(n,f,a,c)},next:r,parent:f})}function T(e,n,t,a,f){var r,c,l=n.flags;do{var d=n.flags;if(1521&d)return void(i(r)||!o(r.componentWillMove)&&!o(r.onComponentWillMove)?m(t,n.dom,a):D(f,e,r,n.dom,t,a,l,c));var u=n.children;if(4&d)r=n.children,c=n.props,n=u.$LI;else if(8&d)r=n.ref,c=n.props,n=u;else if(8192&d){if(2!==n.childFlags){for(var s=0,p=u.length;s0,h=d(s),b=l(s)&&s[0]===_;p||h||b?(t=t||n.slice(0,o),(p||b)&&(u=X(u)),(h||b)&&(u.key=_+o),t.push(u)):t&&t.push(u),u.flags|=65536}}a=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=X(n)),a=2;return e.children=t,e.childFlags=a,e}function Y(e){if(c(e)||r(e))return q(e,null);if(f(e))return G(e,0,null);return 16384&e.flags?X(e):e}var Z="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Z,"xlink:arcrole":Z,"xlink:href":Z,"xlink:role":Z,"xlink:show":Z,"xlink:title":Z,"xlink:type":Z,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 ae=te(0),fe=te(null),re=te(!0);function ie(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++ae[e]&&(fe[e]=me(e)),t}function ce(e,n){var t=n.$EV;t&&t[e]&&(0===--ae[e]&&(document.removeEventListener(b(e),fe[e]),fe[e]=null),t[e]=null)}function oe(e,n,t,a){if(o(t))ie(e,a)[e]=t;else if(s(t)){if(W(n,t))return;ie(e,a)[e]=t}else ce(e,a)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function de(e,n,t,a){var f=le(e);do{if(n&&f.disabled)return;var r=f.$EV;if(r){var i=r[t];if(i&&(a.dom=f,i.event?i.event(i.data,e):i(e),e.cancelBubble))return}f=f.parentNode}while(!d(f))}function ue(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function pe(){return this.cancelBubble}function he(e){var n={dom:document};return e.isDefaultPrevented=se,e.isPropagationStopped=pe,e.stopPropagation=ue,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function be(e){return function(n){if(0!==n.button)return void n.stopPropagation();de(n,!0,e,he(n))}}function ve(e){return function(n){de(n,!1,e,he(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?be(e):ve(e);return document.addEventListener(b(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(e,n,t){if(e[n]){var a=e[n];a.event?a.event(a.data,t):a(t)}else{var f=n.toLowerCase();e[f]&&e[f](t)}}function xe(e,n){var t=function(t){var a=this.$V;if(!a)return;var f=a.props||p,r=a.dom;if(l(e))ye(f,e,t);else for(var i=0;i-1&&n.options[r]&&(c=n.options[r].value),t&&i(c)&&(c=e.defaultValue),Fe(a,c)}}var Ue,Le,We=xe("onInput",_e),Ie=xe("onChange");function Ve(e,n){$e(e,"input",We),n.onChange&&$e(e,"change",Ie)}function _e(e,n,t){var a=e.value,f=n.value;if(i(a)){if(t){var r=e.defaultValue;i(r)||r===f||(n.defaultValue=r,n.value=r)}}else f!==a&&(n.defaultValue=a,n.value=a)}function He(e,n,t,a,f,r){64&e?Se(a,t):256&e?Ne(a,t,f,n):128&e&&_e(a,t,f),r&&(t.$V=n)}function Ee(e,n,t){64&e?Pe(n,t):256&e?Ae(n):128&e&&Ve(n,t)}function Oe(e){return e.type&&we(e.type)?!i(e.checked):!i(e.value)}function Be(e){e&&!V(e,null)&&e.current&&(e.current=null)}function Re(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){V(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){qe(e,t),F(e,n,t)}function qe(e,n){var t,a=e.flags,f=e.children;if(481&a){t=e.ref;var r=e.props;Be(t);var c=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0?k(t.componentWillDisappear,Qe(n,e)):e.textContent=""}function Ke(e,n,t,a){Ge(t,a),8192&n.flags?F(n,e,a):Xe(e,t,a)}function ze(e,n,t,a,f){e.componentWillDisappear.push((function(e){4&a?n.componentWillDisappear(t,e):8&a&&n.onComponentWillDisappear(t,f,e)}))}function Je(e){var n=e.event;return function(t){n(e.data,t)}}function Ye(e,n,t,a){if(s(t)){if(W(n,t))return;t=Je(t)}$e(a,b(e),t)}function Ze(e,n,t){if(i(n))return void t.removeAttribute("style");var a,f,r=t.style;if(l(n))return void(r.cssText=n);if(i(e)||l(e))for(a in n)f=n[a],r.setProperty(a,f);else{for(a in n)(f=n[a])!==e[a]&&r.setProperty(a,f);for(a in e)i(n[a])&&r.removeProperty(a)}}function en(e,n,t,a,f){var r=e&&e.__html||"",c=n&&n.__html||"";r!==c&&(i(c)||ge(a,c)||(d(t)||(12&t.childFlags?Ge(t.children,f):2===t.childFlags&&qe(t.children,f),t.children=null,t.childFlags=1),a.innerHTML=c))}function nn(e,n,t,a,f,r,c,o){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":a.autofocus=!!t;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":a[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var l=i(t)?"":t;a[e]!==l&&(a[e]=l);break;case"style":Ze(n,t,a);break;case"dangerouslySetInnerHTML":en(n,t,c,a,o);break;default:re[e]?oe(e,n,t,a):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ye(e,n,t,a):i(t)?a.removeAttribute(e):f&&ne[e]?a.setAttributeNS(ne[e],e,t):a.setAttribute(e,t)}}function tn(e,n,t,a,f,r){var i=!1,c=(448&n)>0;for(var o in c&&(i=Oe(t))&&Ee(n,a,t),t)nn(o,null,t[o],a,f,i,null,r);c&&He(n,e,a,t,!0,i)}function an(e,n,t){var a=Y(e.render(n,e.state,t)),f=t;return o(e.getChildContext)&&(f=u(t,e.getChildContext())),e.$CX=f,a}function fn(e,n,t,a,f,r){var i=new n(t,a),c=i.$N=Boolean(n.getDerivedStateFromProps||i.getSnapshotBeforeUpdate);if(i.$SVG=f,i.$L=r,e.children=i,i.$BS=!1,i.context=a,i.props===p&&(i.props=t),c)i.state=A(i,t,i.state);else if(o(i.componentWillMount)){i.$BR=!0,i.componentWillMount();var l=i.$PS;if(!d(l)){var u=i.state;if(d(u))i.state=l;else for(var s in l)u[s]=l[s];i.$PS=null}i.$BR=!1}return i.$LI=an(i,t,a),i}function rn(e,n){var t=e.props||p;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function cn(e,n,t,a,f,r,i){var c=e.flags|=16384;481&c?un(e,n,t,a,f,r,i):4&c?pn(e,n,t,a,f,r,i):8&c?hn(e,n,t,a,f,r,i):16&c?dn(e,n,f):8192&c?ln(e,t,n,a,f,r,i):1024&c&&on(e,t,n,f,r,i)}function on(e,n,t,a,f,r){cn(e.children,e.ref,n,!1,null,f,r);var i=K();dn(i,t,a),e.dom=i.dom}function ln(e,n,t,a,f,r,i){var c=e.children,o=e.childFlags;12&o&&0===c.length&&(o=e.childFlags=2,c=e.children=K()),2===o?cn(c,t,n,a,f,r,i):sn(c,t,n,a,f,r,i)}function dn(e,n,t){var a=e.dom=document.createTextNode(e.children);d(n)||m(n,a,t)}function un(e,n,t,a,f,r,c){var o=e.flags,l=e.props,u=e.className,s=e.childFlags,p=e.dom=g(e.type,a=a||(32&o)>0),h=e.children;if(i(u)||""===u||(a?p.setAttribute("class",u):p.className=u),16===s)L(p,h);else if(1!==s){var b=a&&"foreignObject"!==e.type;2===s?(16384&h.flags&&(e.children=h=X(h)),cn(h,p,t,b,null,r,c)):8!==s&&4!==s||sn(h,p,t,b,null,r,c)}d(n)||m(n,p,f),d(l)||tn(e,o,l,p,a,c),Re(e.ref,p,r)}function sn(e,n,t,a,f,r,i){for(var c=0;cp)&&(u=C(c[p-1],!1).nextSibling)}Fn(l,d,c,o,t,a,f,u,e,r,i)}function Mn(e,n,t,a,f){var r=e.ref,i=n.ref,o=n.children;if(Fn(e.childFlags,n.childFlags,e.children,o,r,t,!1,null,e,a,f),n.dom=e.dom,r!==i&&!c(o)){var l=o.dom;x(r,l),v(i,l)}}function Pn(e,n,t,a,f,r,c){var o,l=n.dom=e.dom,d=e.props,u=n.props,s=!1,h=!1;if(a=a||(32&f)>0,d!==u){var b=d||p;if((o=u||p)!==p)for(var v in(s=(448&f)>0)&&(h=Oe(o)),o){var m=b[v],g=o[v];m!==g&&nn(v,m,g,l,a,h,e,c)}if(b!==p)for(var y in b)i(o[y])&&!i(b[y])&&nn(y,b[y],null,l,a,h,e,c)}var x=n.children,$=n.className;e.className!==$&&(i($)?l.removeAttribute("class"):a?l.setAttribute("class",$):l.className=$),4096&f?Cn(l,x):Fn(e.childFlags,n.childFlags,e.children,x,l,t,a&&"foreignObject"!==n.type,null,e,r,c),s&&He(f,n,l,o,!1,h);var w=n.ref,C=e.ref;C!==w&&(Be(C),Re(w,l,r))}function Sn(e,n,t,a,f,r,i){qe(e,i),sn(n,t,a,f,C(e,!0),r,i),F(e,t,i)}function Fn(e,n,t,a,f,r,i,c,o,l,d){switch(e){case 2:switch(n){case 2:$n(t,a,f,r,i,c,l,d);break;case 1:je(t,f,d);break;case 16:qe(t,d),L(f,a);break;default:Sn(t,a,f,r,i,l,d)}break;case 1:switch(n){case 2:cn(a,f,r,i,c,l,d);break;case 1:break;case 16:L(f,a);break;default:sn(a,f,r,i,c,l,d)}break;case 16:switch(n){case 16:wn(t,a,f);break;case 2:Xe(f,t,d),cn(a,f,r,i,c,l,d);break;case 1:Xe(f,t,d);break;default:Xe(f,t,d),sn(a,f,r,i,c,l,d)}break;default:switch(n){case 16:Ge(t,d),L(f,a);break;case 2:Ke(f,o,t,d),cn(a,f,r,i,c,l,d);break;case 1:Ke(f,o,t,d);break;default:var u=0|t.length,s=0|a.length;0===u?s>0&&sn(a,f,r,i,c,l,d):0===s?Ke(f,o,t,d):8===n&&8===e?Wn(t,a,f,r,i,u,s,c,o,l,d):Ln(t,a,f,r,i,u,s,c,l,d)}}}function Dn(e,n,t,a,f){f.push((function(){e.componentDidUpdate(n,t,a)}))}function Tn(e,n,t,a,f,r,i,c,l,d){var s=e.state,p=e.props,h=Boolean(e.$N),b=o(e.shouldComponentUpdate);if(h&&(n=A(e,t,n!==s?u(s,n):n)),i||!b||b&&e.shouldComponentUpdate(t,n,f)){!h&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,f),e.props=t,e.state=n,e.context=f;var v=null,m=an(e,t,f);h&&o(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(p,s)),$n(e.$LI,m,a,e.$CX,r,c,l,d),e.$LI=m,o(e.componentDidUpdate)&&Dn(e,p,s,v,l)}else e.props=t,e.state=n,e.context=f}function An(e,n,t,a,f,r,i,c){var l=n.children=e.children;if(d(l))return;l.$L=i;var s=n.props||p,h=n.ref,b=e.ref,v=l.state;if(!l.$N){if(o(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,a),l.$UN)return;l.$BR=!1}d(l.$PS)||(v=u(v,l.$PS),l.$PS=null)}Tn(l,v,s,t,a,f,!1,r,i,c),b!==h&&(Be(b),Re(h,l,i))}function Nn(e,n,t,a,f,r,c,l){var d=!0,u=n.props||p,s=n.ref,h=e.props,b=!i(s),v=e.children;if(b&&o(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(h,u)),!1!==d){b&&o(s.onComponentWillUpdate)&&s.onComponentWillUpdate(h,u);var m=Y(rn(n,a));$n(v,m,t,a,f,r,c,l),n.children=m,b&&o(s.onComponentDidUpdate)&&s.onComponentDidUpdate(h,u)}else n.children=v}function Un(e,n){var t=n.children,a=n.dom=e.dom;t!==e.children&&(a.nodeValue=t)}function Ln(e,n,t,a,f,r,i,c,o,l){for(var d,u,s=r>i?i:r,p=0;pi)for(p=s;pp||b>h)break e;v=e[b],m=n[b]}for(v=e[p],m=n[h];v.key===m.key;){if(16384&m.flags&&(n[h]=m=X(m)),$n(v,m,t,a,f,c,l,d),e[p]=m,h--,b>--p||b>h)break e;v=e[p],m=n[h]}}if(b>p){if(b<=h)for(s=(u=h+1)h)for(;b<=p;)je(e[b++],t,d);else In(e,n,a,r,i,p,h,b,t,f,c,o,l,d)}function In(e,n,t,a,f,r,i,c,o,l,d,u,s,p){var h,b,v=0,m=0,g=c,y=c,x=r-c+1,$=i-c+1,w=new Int32Array($+1),k=x===a,P=!1,S=0,F=0;if(f<4||(x|$)<32)for(m=g;m<=r;++m)if(h=e[m],F<$){for(c=y;c<=i;c++)if(b=n[c],h.key===b.key){if(w[c-y]=m+1,k)for(k=!1;gc?P=!0:S=c,16384&b.flags&&(n[c]=b=X(b)),$n(h,b,o,t,l,d,s,p),++F;break}!k&&c>i&&je(h,o,p)}else k||je(h,o,p);else{var D={};for(m=y;m<=i;++m)D[n[m].key]=m;for(m=g;m<=r;++m)if(h=e[m],F<$)if(void 0!==(c=D[h.key])){if(k)for(k=!1;m>g;)je(e[g++],o,p);w[c-y]=m+1,S>c?P=!0:S=c,16384&(b=n[c]).flags&&(n[c]=b=X(b)),$n(h,b,o,t,l,d,s,p),++F}else k||je(h,o,p);else k||je(h,o,p)}if(k)Ke(o,u,e,p),sn(n,o,t,l,d,s,p);else if(P){var A=_n(w);for(c=A.length-1,m=$-1;m>=0;m--)0===w[m]?(16384&(b=n[S=m+y]).flags&&(n[S]=b=X(b)),cn(b,o,t,l,(v=S+1)0&&M(p.componentWillMove)}else if(F!==$)for(m=$-1;m>=0;m--)0===w[m]&&(16384&(b=n[S=m+y]).flags&&(n[S]=b=X(b)),cn(b,o,t,l,(v=S+1)Vn&&(Vn=o,Ue=new Int32Array(o),Le=new Int32Array(o));t>1]]0&&(Le[t]=Ue[r-1]),Ue[r]=t)}r=f+1;var l=new Int32Array(r);for(i=Ue[r-1];r-- >0;)l[r]=i,i=Le[i],Ue[r]=0;return l}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Hn=[],En="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},On=!1;function Bn(e,n,t,a){var f=e.$PS;if(o(n)&&(n=n(f?u(e.state,f):e.state,e.props,e.context)),i(f))e.$PS=n;else for(var r in n)f[r]=n[r];if(e.$BR)o(t)&&e.$L.push(t.bind(e));else{if(!N.v&&0===Hn.length)return qn(e,a),void(o(t)&&t.call(e));if(-1===Hn.indexOf(e)&&Hn.push(e),a&&(e.$F=!0),On||(On=!0,En(jn)),o(t)){var c=e.$QU;c||(c=e.$QU=[]),c.push(t)}}}function Rn(e){for(var n=e.$QU,t=0;tt&&(t=r),a+=r}var i=e[this._i],c=a/e.length;return new Kn(n,t,c,i)},e}(),Jn=[],Yn=-1,Zn=(Qn=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(e,n){function t(){this.constructor=e}Qn(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),et=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,Jn.push(e),-1===Yn&&requestAnimationFrame((function(e){Yn=-1;var n=Jn;Jn=[];for(var t=0;t0&&(f+=.01652892561983471*(1e3/(r-a)-f)),a=r,n.addSample(f),t.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=Xn.HideMin|Xn.HideMean),at(),void 0===performance.memory)return;var n=new zn(100),t=new nt("Memory",e,"MB",n);tt.appendChild(t.element),function e(){n.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),t.invalidate(),setTimeout(e,30)}()}();var ot=function(e){function t(n,t){var f;return(f=e.call(this,n,t)||this).state={numPoints:0},f.updateCount=f.updateCount.bind(a(f)),f}n(t,e);var f=t.prototype;return f.updateCount=function(e){this.setState({numPoints:e.target.value})},f.componentDidMount=function(){this.setState({numPoints:1e3})},f.render=function(e,n){return E(1,"div","app-wrapper",[j(2,dt,{count:n.numPoints},null,null),E(1,"div","controls",[q("# Points"),E(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:n.numPoints,onInput:this.updateCount},null,null),n.numPoints],0,null,null,null),E(1,"div","about",[q("InfernoJS 1k Components Demo based on the Glimmer demo by"),q(" "),E(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),q(".")],0,null,null,null)],4,null,null,null)},t}(Gn),lt=[0,3,0,1,2],dt=function(t){function a(e,n){var a;return(a=t.call(this,e,n)||this).layout=0,a.phyllotaxis=xt(100),a.grid=$t(100),a.wave=wt(100),a.spiral=Ct(100),a.points=[],a.step=0,a.numSteps=120,a}n(a,t);var f=a.prototype;return f.next=function(){var n=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%lt.length);var t=Math.min(1,this.step/(.8*this.numSteps)),a=lt[this.layout],f=lt[(this.layout+1)%lt.length],r=mt(a),i=mt(f),c=gt(a),o=gt(f);this.points=this.points.map((function(n){var a=e({},n);return a.x=yt(a,t,r,i),a.y=yt(a,t,c,o),a})),this.setState(),requestAnimationFrame((function(){n.next()}))},f.setAnchors=function(e){var n=this;e.map((function(e,t){var a=Pt(n.grid(t)),f=a[0],r=a[1],i=Pt(n.wave(t)),c=i[0],o=i[1],l=Pt(n.spiral(t)),d=l[0],u=l[1],s=Pt(n.phyllotaxis(t)),p=s[0],h=s[1];Object.assign(e,{gx:f,gy:r,wx:c,wy:o,sx:d,sy:u,px:p,py:h})})),this.points=e},f.makePoints=function(e){for(var n=[],t=0;t0?k(t.componentWillDisappear,S(e,n)):P(e,n,!1)}function F(e,n,t,a,f,r,i,c){e.componentWillMove.push({dom:a,fn:function(){4&i?t.componentWillMove(n,f,a):8&i&&t.onComponentWillMove(n,f,a,c)},next:r,parent:f})}function L(e,n,t,a,f){var r,c,l=n.flags;do{var d=n.flags;if(1521&d)return void(i(r)||!o(r.componentWillMove)&&!o(r.onComponentWillMove)?m(t,n.dom,a):F(f,e,r,n.dom,t,a,l,c));var u=n.children;if(4&d)r=n.children,c=n.props,n=u.$LI;else if(8&d)r=n.ref,c=n.props,n=u;else if(8192&d){if(2!==n.childFlags){for(var s=0,p=u.length;s0,h=d(s),b=l(s)&&s[0]===H;p||h||b?(t=t||n.slice(0,o),(p||b)&&(u=Q(u)),(h||b)&&(u.key=H+o),t.push(u)):t&&t.push(u),u.flags|=65536}}a=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=Q(n)),a=2;return e.children=t,e.childFlags=a,e}function J(e){if(c(e)||r(e))return G(e,null);if(f(e))return X(e,0,null);return 16384&e.flags?Q(e):e}var Z="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Z,"xlink:arcrole":Z,"xlink:href":Z,"xlink:role":Z,"xlink:show":Z,"xlink:title":Z,"xlink:type":Z,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 ae=te(0),fe=te(null),re=te(!0);function ie(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++ae[e]&&(fe[e]=me(e)),t}function ce(e,n){var t=n.$EV;t&&t[e]&&(0===--ae[e]&&(document.removeEventListener(b(e),fe[e]),fe[e]=null),t[e]=null)}function oe(e,n,t,a){if(o(t))ie(e,a)[e]=t;else if(s(t)){if(V(n,t))return;ie(e,a)[e]=t}else ce(e,a)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function de(e,n,t,a){var f=le(e);do{if(n&&f.disabled)return;var r=f.$EV;if(r){var i=r[t];if(i&&(a.dom=f,i.event?i.event(i.data,e):i(e),e.cancelBubble))return}f=f.parentNode}while(!d(f))}function ue(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function pe(){return this.cancelBubble}function he(e){var n={dom:document};return e.isDefaultPrevented=se,e.isPropagationStopped=pe,e.stopPropagation=ue,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function be(e){return function(n){if(0!==n.button)return void n.stopPropagation();de(n,!0,e,he(n))}}function ve(e){return function(n){de(n,!1,e,he(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?be(e):ve(e);return document.addEventListener(b(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(e,n,t){if(e[n]){var a=e[n];a.event?a.event(a.data,t):a(t)}else{var f=n.toLowerCase();e[f]&&e[f](t)}}function xe(e,n){var t=function(t){var a=this.$V;if(!a)return;var f=a.props||p,r=a.dom;if(l(e))ye(f,e,t);else for(var i=0;i-1&&n.options[r]&&(c=n.options[r].value),t&&i(c)&&(c=e.defaultValue),Ae(a,c)}}var Te,We,Ve=xe("onInput",He),Ne=xe("onChange");function Ue(e,n){$e(e,"input",Ve),n.onChange&&$e(e,"change",Ne)}function He(e,n,t){var a=e.value,f=n.value;if(i(a)){if(t){var r=e.defaultValue;i(r)||r===f||(n.defaultValue=r,n.value=r)}}else f!==a&&(n.defaultValue=a,n.value=a)}function _e(e,n,t,a,f,r){64&e?Se(a,t):256&e?De(a,t,f,n):128&e&&He(a,t,f),r&&(t.$V=n)}function Ee(e,n,t){64&e?Pe(n,t):256&e?Ie(n):128&e&&Ue(n,t)}function Oe(e){return e.type&&we(e.type)?!i(e.checked):!i(e.value)}function Re(e){e&&!U(e,null)&&e.current&&(e.current=null)}function Be(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){U(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){Ge(e,t),A(e,n,t)}function Ge(e,n){var t,a=e.flags,f=e.children;if(481&a){t=e.ref;var r=e.props;Re(t);var c=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0?k(t.componentWillDisappear,qe(n,e)):e.textContent=""}function Ye(e,n,t,a){Xe(t,a),8192&n.flags?A(n,e,a):Qe(e,t,a)}function Ke(e,n,t,a,f){e.componentWillDisappear.push((function(e){4&a?n.componentWillDisappear(t,e):8&a&&n.onComponentWillDisappear(t,f,e)}))}function ze(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,a){if(s(t)){if(V(n,t))return;t=ze(t)}$e(a,b(e),t)}function Ze(e,n,t){if(i(n))return void t.removeAttribute("style");var a,f,r=t.style;if(l(n))return void(r.cssText=n);if(i(e)||l(e))for(a in n)f=n[a],r.setProperty(a,f);else{for(a in n)(f=n[a])!==e[a]&&r.setProperty(a,f);for(a in e)i(n[a])&&r.removeProperty(a)}}function en(e,n,t,a,f){var r=e&&e.__html||"",c=n&&n.__html||"";r!==c&&(i(c)||ge(a,c)||(d(t)||(12&t.childFlags?Xe(t.children,f):2===t.childFlags&&Ge(t.children,f),t.children=null,t.childFlags=1),a.innerHTML=c))}function nn(e,n,t,a,f,r,c,o){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":a.autofocus=!!t;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":a[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var l=i(t)?"":t;a[e]!==l&&(a[e]=l);break;case"style":Ze(n,t,a);break;case"dangerouslySetInnerHTML":en(n,t,c,a,o);break;default:re[e]?oe(e,n,t,a):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,t,a):i(t)?a.removeAttribute(e):f&&ne[e]?a.setAttributeNS(ne[e],e,t):a.setAttribute(e,t)}}function tn(e,n,t,a,f,r){var i=!1,c=(448&n)>0;for(var o in c&&(i=Oe(t))&&Ee(n,a,t),t)nn(o,null,t[o],a,f,i,null,r);c&&_e(n,e,a,t,!0,i)}function an(e,n,t){var a=J(e.render(n,e.state,t)),f=t;return o(e.getChildContext)&&(f=u(t,e.getChildContext())),e.$CX=f,a}function fn(e,n,t,a,f,r){var i=new n(t,a),c=i.$N=Boolean(n.getDerivedStateFromProps||i.getSnapshotBeforeUpdate);if(i.$SVG=f,i.$L=r,e.children=i,i.$BS=!1,i.context=a,i.props===p&&(i.props=t),c)i.state=I(i,t,i.state);else if(o(i.componentWillMount)){i.$BR=!0,i.componentWillMount();var l=i.$PS;if(!d(l)){var u=i.state;if(d(u))i.state=l;else for(var s in l)u[s]=l[s];i.$PS=null}i.$BR=!1}return i.$LI=an(i,t,a),i}function rn(e,n){var t=e.props||p;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function cn(e,n,t,a,f,r,i){var c=e.flags|=16384;481&c?un(e,n,t,a,f,r,i):4&c?pn(e,n,t,a,f,r,i):8&c?hn(e,n,t,a,f,r,i):16&c?dn(e,n,f):8192&c?ln(e,t,n,a,f,r,i):1024&c&&on(e,t,n,f,r,i)}function on(e,n,t,a,f,r){cn(e.children,e.ref,n,!1,null,f,r);var i=Y();dn(i,t,a),e.dom=i.dom}function ln(e,n,t,a,f,r,i){var c=e.children,o=e.childFlags;12&o&&0===c.length&&(o=e.childFlags=2,c=e.children=Y()),2===o?cn(c,t,n,a,f,r,i):sn(c,t,n,a,f,r,i)}function dn(e,n,t){var a=e.dom=document.createTextNode(e.children);d(n)||m(n,a,t)}function un(e,n,t,a,f,r,c){var o=e.flags,l=e.props,u=e.className,s=e.childFlags,p=e.dom=g(e.type,a=a||(32&o)>0),h=e.children;if(i(u)||""===u||(a?p.setAttribute("class",u):p.className=u),16===s)W(p,h);else if(1!==s){var b=a&&"foreignObject"!==e.type;2===s?(16384&h.flags&&(e.children=h=Q(h)),cn(h,p,t,b,null,r,c)):8!==s&&4!==s||sn(h,p,t,b,null,r,c)}d(n)||m(n,p,f),d(l)||tn(e,o,l,p,a,c),Be(e.ref,p,r)}function sn(e,n,t,a,f,r,i){for(var c=0;cp)&&(u=C(c[p-1],!1).nextSibling)}An(l,d,c,o,t,a,f,u,e,r,i)}function Mn(e,n,t,a,f){var r=e.ref,i=n.ref,o=n.children;if(An(e.childFlags,n.childFlags,e.children,o,r,t,!1,null,e,a,f),n.dom=e.dom,r!==i&&!c(o)){var l=o.dom;x(r,l),v(i,l)}}function Pn(e,n,t,a,f,r,c){var o,l=n.dom=e.dom,d=e.props,u=n.props,s=!1,h=!1;if(a=a||(32&f)>0,d!==u){var b=d||p;if((o=u||p)!==p)for(var v in(s=(448&f)>0)&&(h=Oe(o)),o){var m=b[v],g=o[v];m!==g&&nn(v,m,g,l,a,h,e,c)}if(b!==p)for(var y in b)i(o[y])&&!i(b[y])&&nn(y,b[y],null,l,a,h,e,c)}var x=n.children,$=n.className;e.className!==$&&(i($)?l.removeAttribute("class"):a?l.setAttribute("class",$):l.className=$),4096&f?Cn(l,x):An(e.childFlags,n.childFlags,e.children,x,l,t,a&&"foreignObject"!==n.type,null,e,r,c),s&&_e(f,n,l,o,!1,h);var w=n.ref,C=e.ref;C!==w&&(Re(C),Be(w,l,r))}function Sn(e,n,t,a,f,r,i){Ge(e,i),sn(n,t,a,f,C(e,!0),r,i),A(e,t,i)}function An(e,n,t,a,f,r,i,c,o,l,d){switch(e){case 2:switch(n){case 2:$n(t,a,f,r,i,c,l,d);break;case 1:je(t,f,d);break;case 16:Ge(t,d),W(f,a);break;default:Sn(t,a,f,r,i,l,d)}break;case 1:switch(n){case 2:cn(a,f,r,i,c,l,d);break;case 1:break;case 16:W(f,a);break;default:sn(a,f,r,i,c,l,d)}break;case 16:switch(n){case 16:wn(t,a,f);break;case 2:Qe(f,t,d),cn(a,f,r,i,c,l,d);break;case 1:Qe(f,t,d);break;default:Qe(f,t,d),sn(a,f,r,i,c,l,d)}break;default:switch(n){case 16:Xe(t,d),W(f,a);break;case 2:Ye(f,o,t,d),cn(a,f,r,i,c,l,d);break;case 1:Ye(f,o,t,d);break;default:var u=0|t.length,s=0|a.length;0===u?s>0&&sn(a,f,r,i,c,l,d):0===s?Ye(f,o,t,d):8===n&&8===e?Vn(t,a,f,r,i,u,s,c,o,l,d):Wn(t,a,f,r,i,u,s,c,l,d)}}}function Fn(e,n,t,a,f){f.push((function(){e.componentDidUpdate(n,t,a)}))}function Ln(e,n,t,a,f,r,i,c,l,d){var s=e.state,p=e.props,h=Boolean(e.$N),b=o(e.shouldComponentUpdate);if(h&&(n=I(e,t,n!==s?u(s,n):n)),i||!b||b&&e.shouldComponentUpdate(t,n,f)){!h&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,f),e.props=t,e.state=n,e.context=f;var v=null,m=an(e,t,f);h&&o(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(p,s)),$n(e.$LI,m,a,e.$CX,r,c,l,d),e.$LI=m,o(e.componentDidUpdate)&&Fn(e,p,s,v,l)}else e.props=t,e.state=n,e.context=f}function In(e,n,t,a,f,r,i,c){var l=n.children=e.children;if(d(l))return;l.$L=i;var s=n.props||p,h=n.ref,b=e.ref,v=l.state;if(!l.$N){if(o(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,a),l.$UN)return;l.$BR=!1}d(l.$PS)||(v=u(v,l.$PS),l.$PS=null)}Ln(l,v,s,t,a,f,!1,r,i,c),b!==h&&(Re(b),Be(h,l,i))}function Dn(e,n,t,a,f,r,c,l){var d=!0,u=n.props||p,s=n.ref,h=e.props,b=!i(s),v=e.children;if(b&&o(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(h,u)),!1!==d){b&&o(s.onComponentWillUpdate)&&s.onComponentWillUpdate(h,u);var m=J(rn(n,a));$n(v,m,t,a,f,r,c,l),n.children=m,b&&o(s.onComponentDidUpdate)&&s.onComponentDidUpdate(h,u)}else n.children=v}function Tn(e,n){var t=n.children,a=n.dom=e.dom;t!==e.children&&(a.nodeValue=t)}function Wn(e,n,t,a,f,r,i,c,o,l){for(var d,u,s=r>i?i:r,p=0;pi)for(p=s;pp||b>h)break e;v=e[b],m=n[b]}for(v=e[p],m=n[h];v.key===m.key;){if(16384&m.flags&&(n[h]=m=Q(m)),$n(v,m,t,a,f,c,l,d),e[p]=m,h--,b>--p||b>h)break e;v=e[p],m=n[h]}}if(b>p){if(b<=h)for(s=(u=h+1)h)for(;b<=p;)je(e[b++],t,d);else Nn(e,n,a,r,i,p,h,b,t,f,c,o,l,d)}function Nn(e,n,t,a,f,r,i,c,o,l,d,u,s,p){var h,b,v=0,m=0,g=c,y=c,x=r-c+1,$=i-c+1,w=new Int32Array($+1),k=x===a,P=!1,S=0,A=0;if(f<4||(x|$)<32)for(m=g;m<=r;++m)if(h=e[m],A<$){for(c=y;c<=i;c++)if(b=n[c],h.key===b.key){if(w[c-y]=m+1,k)for(k=!1;gc?P=!0:S=c,16384&b.flags&&(n[c]=b=Q(b)),$n(h,b,o,t,l,d,s,p),++A;break}!k&&c>i&&je(h,o,p)}else k||je(h,o,p);else{var F={};for(m=y;m<=i;++m)F[n[m].key]=m;for(m=g;m<=r;++m)if(h=e[m],A<$)if(void 0!==(c=F[h.key])){if(k)for(k=!1;m>g;)je(e[g++],o,p);w[c-y]=m+1,S>c?P=!0:S=c,16384&(b=n[c]).flags&&(n[c]=b=Q(b)),$n(h,b,o,t,l,d,s,p),++A}else k||je(h,o,p);else k||je(h,o,p)}if(k)Ye(o,u,e,p),sn(n,o,t,l,d,s,p);else if(P){var I=Hn(w);for(c=I.length-1,m=$-1;m>=0;m--)0===w[m]?(16384&(b=n[S=m+y]).flags&&(n[S]=b=Q(b)),cn(b,o,t,l,(v=S+1)0&&M(p.componentWillMove)}else if(A!==$)for(m=$-1;m>=0;m--)0===w[m]&&(16384&(b=n[S=m+y]).flags&&(n[S]=b=Q(b)),cn(b,o,t,l,(v=S+1)Un&&(Un=o,Te=new Int32Array(o),We=new Int32Array(o));t>1]]0&&(We[t]=Te[r-1]),Te[r]=t)}r=f+1;var l=new Int32Array(r);for(i=Te[r-1];r-- >0;)l[r]=i,i=We[i],Te[r]=0;return l}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var _n=[],En="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},On=!1;function Rn(e,n,t,a){var f=e.$PS;if(o(n)&&(n=n(f?u(e.state,f):e.state,e.props,e.context)),i(f))e.$PS=n;else for(var r in n)f[r]=n[r];if(e.$BR)o(t)&&e.$L.push(t.bind(e));else{if(!D.v&&0===_n.length)return Gn(e,a),void(o(t)&&t.call(e));if(-1===_n.indexOf(e)&&_n.push(e),a&&(e.$F=!0),On||(On=!0,En(jn)),o(t)){var c=e.$QU;c||(c=e.$QU=[]),c.push(t)}}}function Bn(e){for(var n=e.$QU,t=0;tt&&(t=r),a+=r}var i=e[this._i],c=a/e.length;return new Yn(n,t,c,i)},e}(),zn=[],Jn=-1,Zn=(qn=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(e,n){function t(){this.constructor=e}qn(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}),et=30,nt=100,tt=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,zn.push(e),-1===Jn&&requestAnimationFrame((function(e){Jn=-1;var n=zn;zn=[];for(var t=0;t0&&(f+=.01652892561983471*(1e3/(r-a)-f)),a=r,n.addSample(f),t.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=Qn.HideMin|Qn.HideMean),rt(),void 0===performance.memory)return;var n=new Kn(100),t=new at("Memory",e,"MB",n);ft.appendChild(t.element),function e(){n.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),t.invalidate(),setTimeout(e,30)}()}();var dt=function(e){function t(n,t){var f;return(f=e.call(this,n,t)||this).state={numPoints:0},f.updateCount=f.updateCount.bind(a(f)),f}n(t,e);var f=t.prototype;return f.updateCount=function(e){this.setState({numPoints:e.target.value})},f.componentDidMount=function(){this.setState({numPoints:1e3})},f.render=function(e,n){return E(1,"div","app-wrapper",[j(2,pt,{count:n.numPoints},null,null),E(1,"div","controls",[G("# Points"),E(64,"input",null,null,1,{type:"range",min:10,max:1e4,value:n.numPoints,onInput:this.updateCount},null,null),n.numPoints],0,null,null,null),E(1,"div","about",[G("InfernoJS 1k Components Demo based on the Glimmer demo by"),G(" "),E(1,"a",null,"Michael Lange",16,{href:"http://mlange.io",target:"_blank"},null,null),G(".")],0,null,null,null)],4,null,null,null)},t}(Xn),ut={PHYLLOTAXIS:0,GRID:1,WAVE:2,SPIRAL:3},st=[ut.PHYLLOTAXIS,ut.SPIRAL,ut.PHYLLOTAXIS,ut.GRID,ut.WAVE],pt=function(t){function a(e,n){var a;return(a=t.call(this,e,n)||this).layout=0,a.phyllotaxis=Ct(100),a.grid=kt(100),a.wave=Mt(100),a.spiral=Pt(100),a.points=[],a.step=0,a.numSteps=120,a}n(a,t);var f=a.prototype;return f.next=function(){var n=this;this.step=(this.step+1)%this.numSteps,0===this.step&&(this.layout=(this.layout+1)%st.length);var t=Math.min(1,this.step/(.8*this.numSteps)),a=st[this.layout],f=st[(this.layout+1)%st.length],r=xt(a),i=xt(f),c=$t(a),o=$t(f);this.points=this.points.map((function(n){var a=e({},n);return a.x=wt(a,t,r,i),a.y=wt(a,t,c,o),a})),this.setState(),requestAnimationFrame((function(){n.next()}))},f.setAnchors=function(e){var n=this;e.map((function(e,t){var a=Ft(n.grid(t)),f=a[0],r=a[1],i=Ft(n.wave(t)),c=i[0],o=i[1],l=Ft(n.spiral(t)),d=l[0],u=l[1],s=Ft(n.phyllotaxis(t)),p=s[0],h=s[1];Object.assign(e,{gx:f,gy:r,wx:c,wy:o,sx:d,sy:u,px:p,py:h})})),this.points=e},f.makePoints=function(e){for(var n=[],t=0;t0?$(t.componentWillDisappear,x(e,n)):S(e,n,!1)}function I(e,n,t,r,o,i,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,o,r):8&a&&t.onComponentWillMove(n,o,r,l)},next:i,parent:o})}function T(e,n,t,r,i){var l,u,s=n.flags;do{var c=n.flags;if(1521&c)return void(o(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?h(t,n.dom,r):I(i,e,l,n.dom,t,r,s,u));var f=n.children;if(4&c)l=n.children,u=n.props,n=f.$LI;else if(8&c)l=n.ref,u=n.props,n=f;else if(8192&c){if(2!==n.childFlags){for(var p=0,d=f.length;p0,v=u(p),h=l(p)&&p[0]===M;d||v||h?(o=o||n.slice(0,c),(d||h)&&(f=K(f)),(v||h)&&(f.key=M+c),o.push(f)):o&&o.push(f),f.flags|=65536}}a=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=K(n)),a=2;return e.children=o,e.childFlags=a,e}function Z(e){if(i(e)||r(e))return j(e,null);if(t(e))return G(e,0,null);return 16384&e.flags?K(e):e}var J="http://www.w3.org/1999/xlink",Y="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":Y,"xml:lang":Y,"xml:space":Y};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),oe=ne(!0);function ie(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=me(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(d(e),re[e]),re[e]=null),t[e]=null)}function le(e,n,t,r){if(a(t))ie(e,r)[e]=t;else if(c(t)){if(F(n,t))return;ie(e,r)[e]=t}else ae(e,r)}function ue(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function se(e,n,t,r){var o=ue(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!u(o))}function ce(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function fe(){return this.defaultPrevented}function pe(){return this.cancelBubble}function de(e){var n={dom:document};return e.isDefaultPrevented=fe,e.isPropagationStopped=pe,e.stopPropagation=ce,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ve(e){return function(n){if(0!==n.button)return void n.stopPropagation();se(n,!0,e,de(n))}}function he(e){return function(n){se(n,!1,e,de(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?ve(e):he(e);return document.addEventListener(d(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(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 be(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||f,i=r.dom;if(l(e))ye(o,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&o(l)&&(l=e.defaultValue),Ie(r,l)}}var Ee,Fe,Le=be("onInput",Ve),Ue=be("onChange");function Me(e,n){ke(e,"input",Le),n.onChange&&ke(e,"change",Ue)}function Ve(e,n,t){var r=e.value,i=n.value;if(o(r)){if(t){var a=e.defaultValue;o(a)||a===i||(n.defaultValue=a,n.value=a)}}else i!==r&&(n.defaultValue=r,n.value=r)}function We(e,n,t,r,o,i){64&e?Ae(r,t):256&e?De(r,t,o,n):128&e&&Ve(r,t,o),i&&(t.$V=n)}function Re(e,n,t){64&e?xe(n,t):256&e?Ne(n):128&e&&Me(n,t)}function _e(e){return e.type&&we(e.type)?!o(e.checked):!o(e.value)}function Oe(e){e&&!U(e,null)&&e.current&&(e.current=null)}function Be(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){U(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){Ge(e,t),A(e,n,t)}function Ge(e,n){var t,r=e.flags,i=e.children;if(481&r){t=e.ref;var l=e.props;Oe(t);var s=e.childFlags;if(!u(l))for(var c=Object.keys(l),d=0,v=c.length;d0?$(t.componentWillDisappear,Ke(n,e)):e.textContent=""}function Qe(e,n,t,r){He(t,r),8192&n.flags?A(n,e,r):qe(e,t,r)}function Xe(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function ze(e){var n=e.event;return function(t){n(e.data,t)}}function Ze(e,n,t,r){if(c(t)){if(F(n,t))return;t=ze(t)}ke(r,d(e),t)}function Je(e,n,t){if(o(n))return void t.removeAttribute("style");var r,i,a=t.style;if(l(n))return void(a.cssText=n);if(o(e)||l(e))for(r in n)i=n[r],a.setProperty(r,i);else{for(r in n)(i=n[r])!==e[r]&&a.setProperty(r,i);for(r in e)o(n[r])&&a.removeProperty(r)}}function Ye(e,n,t,r,i){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(o(l)||ge(r,l)||(u(t)||(12&t.childFlags?He(t.children,i):2===t.childFlags&&Ge(t.children,i),t.children=null,t.childFlags=1),r.innerHTML=l))}function en(e,n,t,r,i,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var s=o(t)?"":t;r[e]!==s&&(r[e]=s);break;case"style":Je(n,t,r);break;case"dangerouslySetInnerHTML":Ye(n,t,l,r,u);break;default:oe[e]?le(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ze(e,n,t,r):o(t)?r.removeAttribute(e):i&&ee[e]?r.setAttributeNS(ee[e],e,t):r.setAttribute(e,t)}}function nn(e,n,t,r,o,i){var a=!1,l=(448&n)>0;for(var u in l&&(a=_e(t))&&Re(n,r,t),t)en(u,null,t[u],r,o,a,null,i);l&&We(n,e,r,t,!0,a)}function tn(e,n,t){var r=Z(e.render(n,e.state,t)),o=t;return a(e.getChildContext)&&(o=s(t,e.getChildContext())),e.$CX=o,r}function rn(e,n,t,r,o,i){var l=new n(t,r),s=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=i,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),s)l.state=P(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var c=l.$PS;if(!u(c)){var p=l.state;if(u(p))l.state=c;else for(var d in c)p[d]=c[d];l.$PS=null}l.$BR=!1}return l.$LI=tn(l,t,r),l}function on(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function an(e,n,t,r,o,i,a){var l=e.flags|=16384;481&l?cn(e,n,t,r,o,i,a):4&l?pn(e,n,t,r,o,i,a):8&l?dn(e,n,t,r,o,i,a):16&l?sn(e,n,o):8192&l?un(e,t,n,r,o,i,a):1024&l&&ln(e,t,n,o,i,a)}function ln(e,n,t,r,o,i){an(e.children,e.ref,n,!1,null,o,i);var a=q();sn(a,t,r),e.dom=a.dom}function un(e,n,t,r,o,i,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=q()),2===u?an(l,t,n,r,o,i,a):fn(l,t,n,r,o,i,a)}function sn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||h(n,r,t)}function cn(e,n,t,r,i,a,l){var s=e.flags,c=e.props,f=e.className,p=e.childFlags,d=e.dom=m(e.type,r=r||(32&s)>0),v=e.children;if(o(f)||""===f||(r?d.setAttribute("class",f):d.className=f),16===p)E(d,v);else if(1!==p){var g=r&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=K(v)),an(v,d,t,g,null,a,l)):8!==p&&4!==p||fn(v,d,t,g,null,a,l)}u(n)||h(n,d,i),u(c)||nn(e,s,c,d,r,l),Be(e.ref,d,a)}function fn(e,n,t,r,o,i,a){for(var l=0;ld)&&(f=w(l[d-1],!1).nextSibling)}In(s,c,l,u,t,r,o,f,e,i,a)}function Sn(e,n,t,r,o){var a=e.ref,l=n.ref,u=n.children;if(In(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,o),n.dom=e.dom,a!==l&&!i(u)){var s=u.dom;y(a,s),v(l,s)}}function xn(e,n,t,r,i,a,l){var u,s=n.dom=e.dom,c=e.props,p=n.props,d=!1,v=!1;if(r=r||(32&i)>0,c!==p){var h=c||f;if((u=p||f)!==f)for(var m in(d=(448&i)>0)&&(v=_e(u)),u){var g=h[m],y=u[m];g!==y&&en(m,g,y,s,r,v,e,l)}if(h!==f)for(var b in h)o(u[b])&&!o(h[b])&&en(b,h[b],null,s,r,v,e,l)}var k=n.children,w=n.className;e.className!==w&&(o(w)?s.removeAttribute("class"):r?s.setAttribute("class",w):s.className=w),4096&i?$n(s,k):In(e.childFlags,n.childFlags,e.children,k,s,t,r&&"foreignObject"!==n.type,null,e,a,l),d&&We(i,n,s,u,!1,v);var $=n.ref,C=e.ref;C!==$&&(Oe(C),Be($,s,a))}function An(e,n,t,r,o,i,a){Ge(e,a),fn(n,t,r,o,w(e,!0),i,a),A(e,t,a)}function In(e,n,t,r,o,i,a,l,u,s,c){switch(e){case 2:switch(n){case 2:kn(t,r,o,i,a,l,s,c);break;case 1:je(t,o,c);break;case 16:Ge(t,c),E(o,r);break;default:An(t,r,o,i,a,s,c)}break;case 1:switch(n){case 2:an(r,o,i,a,l,s,c);break;case 1:break;case 16:E(o,r);break;default:fn(r,o,i,a,l,s,c)}break;case 16:switch(n){case 16:wn(t,r,o);break;case 2:qe(o,t,c),an(r,o,i,a,l,s,c);break;case 1:qe(o,t,c);break;default:qe(o,t,c),fn(r,o,i,a,l,s,c)}break;default:switch(n){case 16:He(t,c),E(o,r);break;case 2:Qe(o,u,t,c),an(r,o,i,a,l,s,c);break;case 1:Qe(o,u,t,c);break;default:var f=0|t.length,p=0|r.length;0===f?p>0&&fn(r,o,i,a,l,s,c):0===p?Qe(o,u,t,c):8===n&&8===e?Ln(t,r,o,i,a,f,p,l,u,s,c):Fn(t,r,o,i,a,f,p,l,s,c)}}}function Tn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Pn(e,n,t,r,o,i,l,u,c,f){var p=e.state,d=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=P(e,t,n!==p?s(p,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,o)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=tn(e,t,o);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),kn(e.$LI,g,r,e.$CX,i,u,c,f),e.$LI=g,a(e.componentDidUpdate)&&Tn(e,d,p,m,c)}else e.props=t,e.state=n,e.context=o}function Nn(e,n,t,r,o,i,l,c){var p=n.children=e.children;if(u(p))return;p.$L=l;var d=n.props||f,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(a(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}u(p.$PS)||(m=s(m,p.$PS),p.$PS=null)}Pn(p,m,d,t,r,o,!1,i,l,c),h!==v&&(Oe(h),Be(v,p,l))}function Dn(e,n,t,r,i,l,u,s){var c=!0,p=n.props||f,d=n.ref,v=e.props,h=!o(d),m=e.children;if(h&&a(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(v,p)),!1!==c){h&&a(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=Z(on(n,r));kn(m,g,t,r,i,l,u,s),n.children=g,h&&a(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function En(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Fn(e,n,t,r,o,i,a,l,u,s){for(var c,f,p=i>a?a:i,d=0;da)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=K(g)),kn(m,g,t,r,o,l,s,c),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(f=v+1)v)for(;h<=d;)je(e[h++],t,c);else Un(e,n,r,i,a,d,v,h,t,o,l,u,s,c)}function Un(e,n,t,r,o,i,a,l,u,s,c,f,p,d){var v,h,m=0,g=0,y=l,b=l,k=i-l+1,$=a-l+1,S=new Int32Array($+1),x=k===r,A=!1,I=0,P=0;if(o<4||(k|$)<32)for(g=y;g<=i;++g)if(v=e[g],P<$){for(l=b;l<=a;l++)if(h=n[l],v.key===h.key){if(S[l-b]=g+1,x)for(x=!1;yl?A=!0:I=l,16384&h.flags&&(n[l]=h=K(h)),kn(v,h,u,t,s,c,p,d),++P;break}!x&&l>a&&je(v,u,d)}else x||je(v,u,d);else{var N={};for(g=b;g<=a;++g)N[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],P<$)if(void 0!==(l=N[v.key])){if(x)for(x=!1;g>y;)je(e[y++],u,d);S[l-b]=g+1,I>l?A=!0:I=l,16384&(h=n[l]).flags&&(n[l]=h=K(h)),kn(v,h,u,t,s,c,p,d),++P}else x||je(v,u,d);else x||je(v,u,d)}if(x)Qe(u,f,e,d),fn(n,u,t,s,c,p,d);else if(A){var D=Vn(S);for(l=D.length-1,g=$-1;g>=0;g--)0===S[g]?(16384&(h=n[I=g+b]).flags&&(n[I]=h=K(h)),an(h,u,t,s,(m=I+1)0&&C(d.componentWillMove)}else if(P!==$)for(g=$-1;g>=0;g--)0===S[g]&&(16384&(h=n[I=g+b]).flags&&(n[I]=h=K(h)),an(h,u,t,s,(m=I+1)Mn&&(Mn=u,Ee=new Int32Array(u),Fe=new Int32Array(u));t>1]]0&&(Fe[t]=Ee[i-1]),Ee[i]=t)}i=o+1;var s=new Int32Array(i);for(a=Ee[i-1];i-- >0;)s[i]=a,a=Fe[a],Ee[i]=0;return s}function Wn(e,n,t,r){var i=[],l=new p,u=n.$V;N.v=!0,o(u)?o(e)||(16384&e.flags&&(e=K(e)),an(e,n,r,!1,null,i,l),n.$V=e,u=e):o(e)?(je(u,n,l),n.$V=null):(16384&e.flags&&(e=K(e)),kn(u,e,n,r,!1,null,i,l),u=n.$V=e),b(i),$(l.componentDidAppear),N.v=!1,a(t)&&t(),a(D.renderComplete)&&D.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Rn=[],_n="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},On=!1;function Bn(e,n,t,r){var i=e.$PS;if(a(n)&&(n=n(i?s(e.state,i):e.state,e.props,e.context)),o(i))e.$PS=n;else for(var l in n)i[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!N.v&&0===Rn.length)return Hn(e,r),void(a(t)&&t.call(e));if(-1===Rn.indexOf(e)&&Rn.push(e),r&&(e.$F=!0),On||(On=!0,_n(Gn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function jn(e){for(var n=e.$QU,t=0;t1)for(r=[];s-- >0;)r[s]=arguments[s+2];if(!Qn(e)){if(u=2,Xn(r)||(n||(n={}),n.children=r),!qn(n))for(var c in o={},n)"key"===c?a=n.key:"ref"===c?i=n.ref:1===zn[c]?(i||(i={}),i[c]=n[c]):o[c]=n[c];return B(u,e,o,a,i)}if(u=X(e),!qn(n))for(var f in o={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?i=n.ref:("contenteditable"===f&&(u|=4096),o[f]=n[f]);if(8192&u)return G(1===s?[r]:r,0,a);return W(u,e,l,r,0,o,a,i)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var p=0,d=0;dp&&(p=m)}n+=a.length,p>t&&(t=p)}return{maxDuration:t,nrofTransitions:n}}var ft,pt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function dt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=ct(e),o=r.maxDuration,i=r.nrofTransitions,a=!1,l=function r(o){if(!o||a)return;if(!o.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(pt,r,!1),"function"===typeof n&&n()};t.addEventListener(pt,l,!1),dt(l,t,o)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=0;function wt(){kt=0;var e=yt;yt=[];for(var n=0;n0?C(t.componentWillDisappear,A(e,n)):x(e,n,!1)}function T(e,n,t,r,o,i,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,o,r):8&a&&t.onComponentWillMove(n,o,r,l)},next:i,parent:o})}function P(e,n,t,r,i){var l,u,s=n.flags;do{var c=n.flags;if(1521&c)return void(o(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?m(t,n.dom,r):T(i,e,l,n.dom,t,r,s,u));var f=n.children;if(4&c)l=n.children,u=n.props,n=f.$LI;else if(8&c)l=n.ref,u=n.props,n=f;else if(8192&c){if(2!==n.childFlags){for(var p=0,d=f.length;p0,v=u(p),h=l(p)&&p[0]===V;d||v||h?(o=o||n.slice(0,c),(d||h)&&(f=q(f)),(v||h)&&(f.key=V+c),o.push(f)):o&&o.push(f),f.flags|=65536}}a=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=q(n)),a=2;return e.children=o,e.childFlags=a,e}function J(e){if(i(e)||r(e))return G(e,null);if(t(e))return H(e,0,null);return 16384&e.flags?q(e):e}var Y="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 re=te(0),oe=te(null),ie=te(!0);function ae(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++re[e]&&(oe[e]=ge(e)),t}function le(e,n){var t=n.$EV;t&&t[e]&&(0===--re[e]&&(document.removeEventListener(v(e),oe[e]),oe[e]=null),t[e]=null)}function ue(e,n,t,r){if(a(t))ae(e,r)[e]=t;else if(c(t)){if(L(n,t))return;ae(e,r)[e]=t}else le(e,r)}function se(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function ce(e,n,t,r){var o=se(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!u(o))}function fe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pe(){return this.defaultPrevented}function de(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=pe,e.isPropagationStopped=de,e.stopPropagation=fe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function he(e){return function(n){if(0!==n.button)return void n.stopPropagation();ce(n,!0,e,ve(n))}}function me(e){return function(n){ce(n,!1,e,ve(n))}}function ge(e){var n="onClick"===e||"onDblClick"===e?he(e):me(e);return document.addEventListener(v(e),n),n}function ye(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function be(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||f,i=r.dom;if(l(e))be(o,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&o(l)&&(l=e.defaultValue),Te(r,l)}}var Fe,Le,Ue=ke("onInput",We),Me=ke("onChange");function Ve(e,n){we(e,"input",Ue),n.onChange&&we(e,"change",Me)}function We(e,n,t){var r=e.value,i=n.value;if(o(r)){if(t){var a=e.defaultValue;o(a)||a===i||(n.defaultValue=a,n.value=a)}}else i!==r&&(n.defaultValue=r,n.value=r)}function Re(e,n,t,r,o,i){64&e?Ie(r,t):256&e?Ee(r,t,o,n):128&e&&We(r,t,o),i&&(t.$V=n)}function _e(e,n,t){64&e?Ae(n,t):256&e?De(n):128&e&&Ve(n,t)}function Oe(e){return e.type&&$e(e.type)?!o(e.checked):!o(e.value)}function Be(e){e&&!M(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){M(e,n)||void 0===e.current||(e.current=n)}))}function Ge(e,n,t){He(e,t),I(e,n,t)}function He(e,n){var t,r=e.flags,i=e.children;if(481&r){t=e.ref;var l=e.props;Be(t);var s=e.childFlags;if(!u(l))for(var c=Object.keys(l),p=0,v=c.length;p0?C(t.componentWillDisappear,qe(n,e)):e.textContent=""}function Xe(e,n,t,r){Ke(t,r),8192&n.flags?I(n,e,r):Qe(e,t,r)}function ze(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Ze(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(c(t)){if(L(n,t))return;t=Ze(t)}we(r,v(e),t)}function Ye(e,n,t){if(o(n))return void t.removeAttribute("style");var r,i,a=t.style;if(l(n))return void(a.cssText=n);if(o(e)||l(e))for(r in n)i=n[r],a.setProperty(r,i);else{for(r in n)(i=n[r])!==e[r]&&a.setProperty(r,i);for(r in e)o(n[r])&&a.removeProperty(r)}}function en(e,n,t,r,i){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(o(l)||ye(r,l)||(u(t)||(12&t.childFlags?Ke(t.children,i):2===t.childFlags&&He(t.children,i),t.children=null,t.childFlags=1),r.innerHTML=l))}function nn(e,n,t,r,i,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var s=o(t)?"":t;r[e]!==s&&(r[e]=s);break;case"style":Ye(n,t,r);break;case"dangerouslySetInnerHTML":en(n,t,l,r,u);break;default:ie[e]?ue(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,t,r):o(t)?r.removeAttribute(e):i&&ne[e]?r.setAttributeNS(ne[e],e,t):r.setAttribute(e,t)}}function tn(e,n,t,r,o,i){var a=!1,l=(448&n)>0;for(var u in l&&(a=Oe(t))&&_e(n,r,t),t)nn(u,null,t[u],r,o,a,null,i);l&&Re(n,e,r,t,!0,a)}function rn(e,n,t){var r=J(e.render(n,e.state,t)),o=t;return a(e.getChildContext)&&(o=s(t,e.getChildContext())),e.$CX=o,r}function on(e,n,t,r,o,i){var l=new n(t,r),s=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=i,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),s)l.state=N(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var c=l.$PS;if(!u(c)){var p=l.state;if(u(p))l.state=c;else for(var d in c)p[d]=c[d];l.$PS=null}l.$BR=!1}return l.$LI=rn(l,t,r),l}function an(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function ln(e,n,t,r,o,i,a){var l=e.flags|=16384;481&l?fn(e,n,t,r,o,i,a):4&l?dn(e,n,t,r,o,i,a):8&l?vn(e,n,t,r,o,i,a):16&l?cn(e,n,o):8192&l?sn(e,t,n,r,o,i,a):1024&l&&un(e,t,n,o,i,a)}function un(e,n,t,r,o,i){ln(e.children,e.ref,n,!1,null,o,i);var a=Q();cn(a,t,r),e.dom=a.dom}function sn(e,n,t,r,o,i,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=Q()),2===u?ln(l,t,n,r,o,i,a):pn(l,t,n,r,o,i,a)}function cn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||m(n,r,t)}function fn(e,n,t,r,i,a,l){var s=e.flags,c=e.props,f=e.className,p=e.childFlags,d=e.dom=g(e.type,r=r||(32&s)>0),v=e.children;if(o(f)||""===f||(r?d.setAttribute("class",f):d.className=f),16===p)F(d,v);else if(1!==p){var h=r&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=q(v)),ln(v,d,t,h,null,a,l)):8!==p&&4!==p||pn(v,d,t,h,null,a,l)}u(n)||m(n,d,i),u(c)||tn(e,s,c,d,r,l),je(e.ref,d,a)}function pn(e,n,t,r,o,i,a){for(var l=0;ld)&&(f=$(l[d-1],!1).nextSibling)}Tn(s,c,l,u,t,r,o,f,e,i,a)}function xn(e,n,t,r,o){var a=e.ref,l=n.ref,u=n.children;if(Tn(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,o),n.dom=e.dom,a!==l&&!i(u)){var s=u.dom;b(a,s),h(l,s)}}function An(e,n,t,r,i,a,l){var u,s=n.dom=e.dom,c=e.props,p=n.props,d=!1,v=!1;if(r=r||(32&i)>0,c!==p){var h=c||f;if((u=p||f)!==f)for(var m in(d=(448&i)>0)&&(v=Oe(u)),u){var g=h[m],y=u[m];g!==y&&nn(m,g,y,s,r,v,e,l)}if(h!==f)for(var b in h)o(u[b])&&!o(h[b])&&nn(b,h[b],null,s,r,v,e,l)}var k=n.children,w=n.className;e.className!==w&&(o(w)?s.removeAttribute("class"):r?s.setAttribute("class",w):s.className=w),4096&i?Cn(s,k):Tn(e.childFlags,n.childFlags,e.children,k,s,t,r&&"foreignObject"!==n.type,null,e,a,l),d&&Re(i,n,s,u,!1,v);var $=n.ref,C=e.ref;C!==$&&(Be(C),je($,s,a))}function In(e,n,t,r,o,i,a){He(e,a),pn(n,t,r,o,$(e,!0),i,a),I(e,t,a)}function Tn(e,n,t,r,o,i,a,l,u,s,c){switch(e){case 2:switch(n){case 2:wn(t,r,o,i,a,l,s,c);break;case 1:Ge(t,o,c);break;case 16:He(t,c),F(o,r);break;default:In(t,r,o,i,a,s,c)}break;case 1:switch(n){case 2:ln(r,o,i,a,l,s,c);break;case 1:break;case 16:F(o,r);break;default:pn(r,o,i,a,l,s,c)}break;case 16:switch(n){case 16:$n(t,r,o);break;case 2:Qe(o,t,c),ln(r,o,i,a,l,s,c);break;case 1:Qe(o,t,c);break;default:Qe(o,t,c),pn(r,o,i,a,l,s,c)}break;default:switch(n){case 16:Ke(t,c),F(o,r);break;case 2:Xe(o,u,t,c),ln(r,o,i,a,l,s,c);break;case 1:Xe(o,u,t,c);break;default:var f=0|t.length,p=0|r.length;0===f?p>0&&pn(r,o,i,a,l,s,c):0===p?Xe(o,u,t,c):8===n&&8===e?Un(t,r,o,i,a,f,p,l,u,s,c):Ln(t,r,o,i,a,f,p,l,s,c)}}}function Pn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Nn(e,n,t,r,o,i,l,u,c,f){var p=e.state,d=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=N(e,t,n!==p?s(p,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,o)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=rn(e,t,o);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),wn(e.$LI,g,r,e.$CX,i,u,c,f),e.$LI=g,a(e.componentDidUpdate)&&Pn(e,d,p,m,c)}else e.props=t,e.state=n,e.context=o}function Dn(e,n,t,r,o,i,l,c){var p=n.children=e.children;if(u(p))return;p.$L=l;var d=n.props||f,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(a(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}u(p.$PS)||(m=s(m,p.$PS),p.$PS=null)}Nn(p,m,d,t,r,o,!1,i,l,c),h!==v&&(Be(h),je(v,p,l))}function En(e,n,t,r,i,l,u,s){var c=!0,p=n.props||f,d=n.ref,v=e.props,h=!o(d),m=e.children;if(h&&a(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(v,p)),!1!==c){h&&a(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=J(an(n,r));wn(m,g,t,r,i,l,u,s),n.children=g,h&&a(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function Fn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,o,i,a,l,u,s){for(var c,f,p=i>a?a:i,d=0;da)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=q(g)),wn(m,g,t,r,o,l,s,c),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(f=v+1)v)for(;h<=d;)Ge(e[h++],t,c);else Mn(e,n,r,i,a,d,v,h,t,o,l,u,s,c)}function Mn(e,n,t,r,o,i,a,l,u,s,c,f,p,d){var v,h,m=0,g=0,y=l,b=l,k=i-l+1,w=a-l+1,C=new Int32Array(w+1),x=k===r,A=!1,I=0,T=0;if(o<4||(k|w)<32)for(g=y;g<=i;++g)if(v=e[g],Tl?A=!0:I=l,16384&h.flags&&(n[l]=h=q(h)),wn(v,h,u,t,s,c,p,d),++T;break}!x&&l>a&&Ge(v,u,d)}else x||Ge(v,u,d);else{var N={};for(g=b;g<=a;++g)N[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],Ty;)Ge(e[y++],u,d);C[l-b]=g+1,I>l?A=!0:I=l,16384&(h=n[l]).flags&&(n[l]=h=q(h)),wn(v,h,u,t,s,c,p,d),++T}else x||Ge(v,u,d);else x||Ge(v,u,d)}if(x)Xe(u,f,e,d),pn(n,u,t,s,c,p,d);else if(A){var D=Wn(C);for(l=D.length-1,g=w-1;g>=0;g--)0===C[g]?(16384&(h=n[I=g+b]).flags&&(n[I]=h=q(h)),ln(h,u,t,s,(m=I+1)0&&S(d.componentWillMove)}else if(T!==w)for(g=w-1;g>=0;g--)0===C[g]&&(16384&(h=n[I=g+b]).flags&&(n[I]=h=q(h)),ln(h,u,t,s,(m=I+1)Vn&&(Vn=u,Fe=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Fe[i-1]),Fe[i]=t)}i=o+1;var s=new Int32Array(i);for(a=Fe[i-1];i-- >0;)s[i]=a,a=Le[a],Fe[i]=0;return s}function Rn(e,n,t,r){var i=[],l=new d,u=n.$V;D.v=!0,o(u)?o(e)||(16384&e.flags&&(e=q(e)),ln(e,n,r,!1,null,i,l),n.$V=e,u=e):o(e)?(Ge(u,n,l),n.$V=null):(16384&e.flags&&(e=q(e)),wn(u,e,n,r,!1,null,i,l),u=n.$V=e),k(i),C(l.componentDidAppear),D.v=!1,a(t)&&t(),a(E.renderComplete)&&E.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var _n=[],On="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Bn=!1;function jn(e,n,t,r){var i=e.$PS;if(a(n)&&(n=n(i?s(e.state,i):e.state,e.props,e.context)),o(i))e.$PS=n;else for(var l in n)i[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!D.v&&0===_n.length)return Kn(e,r),void(a(t)&&t.call(e));if(-1===_n.indexOf(e)&&_n.push(e),r&&(e.$F=!0),Bn||(Bn=!0,On(Hn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Gn(e){for(var n=e.$QU,t=0;t1)for(r=[];s-- >0;)r[s]=arguments[s+2];if("string"!==typeof e){if(u=2,Xn(r)||(n||(n={}),n.children=r),!Qn(n))for(var c in o={},n)"key"===c?a=n.key:"ref"===c?i=n.ref:1===zn[c]?(i||(i={}),i[c]=n[c]):o[c]=n[c];return j(u,e,o,a,i)}if(u=z(e),!Qn(n))for(var f in o={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?i=n.ref:("contenteditable"===f&&(u|=4096),o[f]=n[f]);if(8192&u)return H(1===s?[r]:r,0,a);return R(u,e,l,r,0,o,a,i)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var p=0,d=0;dp&&(p=m)}n+=a.length,p>t&&(t=p)}return{maxDuration:t,nrofTransitions:n}}var ft,pt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function dt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=ct(e),o=r.maxDuration,i=r.nrofTransitions,a=!1,l=function r(o){if(!o||a)return;if(!o.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(pt,r,!1),"function"===typeof n&&n()};t.addEventListener(pt,l,!1),dt(l,t,o)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=bt,wt=bt;function $t(){wt=bt;var e=yt;yt=[];for(var n=0;n0?w(t.componentWillDisappear,S(e,n)):A(e,n,!1)}function T(e,n,t,r,i,o,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,i,r):8&a&&t.onComponentWillMove(n,i,r,l)},next:o,parent:i})}function I(e,n,t,r,o){var l,u,s=n.flags;do{var c=n.flags;if(1521&c)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?h(t,n.dom,r):T(o,e,l,n.dom,t,r,s,u));var f=n.children;if(4&c)l=n.children,u=n.props,n=f.$LI;else if(8&c)l=n.ref,u=n.props,n=f;else if(8192&c){if(2!==n.childFlags){for(var d=0,p=f.length;d0,v=u(d),h=l(d)&&d[0]===M;p||v||h?(i=i||n.slice(0,c),(p||h)&&(f=K(f)),(v||h)&&(f.key=M+c),i.push(f)):i&&i.push(f),f.flags|=65536}}a=0===(i=i||n).length?1:8}else(i=n).flags|=65536,81920&n.flags&&(i=K(n)),a=2;return e.children=i,e.childFlags=a,e}function Z(e){if(o(e)||r(e))return j(e,null);if(t(e))return G(e,0,null);return 16384&e.flags?K(e):e}var J="http://www.w3.org/1999/xlink",Y="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":Y,"xml:lang":Y,"xml:space":Y};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 oe(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=me(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(p(e),re[e]),re[e]=null),t[e]=null)}function le(e,n,t,r){if(a(t))oe(e,r)[e]=t;else if(c(t)){if(E(n,t))return;oe(e,r)[e]=t}else ae(e,r)}function ue(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function se(e,n,t,r){var i=ue(e);do{if(n&&i.disabled)return;var o=i.$EV;if(o){var a=o[t];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!u(i))}function ce(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function fe(){return this.defaultPrevented}function de(){return this.cancelBubble}function pe(e){var n={dom:document};return e.isDefaultPrevented=fe,e.isPropagationStopped=de,e.stopPropagation=ce,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ve(e){return function(n){if(0!==n.button)return void n.stopPropagation();se(n,!0,e,pe(n))}}function he(e){return function(n){se(n,!1,e,pe(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?ve(e):he(e);return document.addEventListener(p(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(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 be(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,o=r.dom;if(l(e))ye(i,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),Te(r,l)}}var Fe,Ee,Le=be("onInput",Ve),Ue=be("onChange");function Me(e,n){ke(e,"input",Le),n.onChange&&ke(e,"change",Ue)}function Ve(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function We(e,n,t,r,i,o){64&e?xe(r,t):256&e?Ne(r,t,i,n):128&e&&Ve(r,t,i),o&&(t.$V=n)}function Oe(e,n,t){64&e?Se(n,t):256&e?De(n):128&e&&Me(n,t)}function Re(e){return e.type&&$e(e.type)?!i(e.checked):!i(e.value)}function _e(e){e&&!U(e,null)&&e.current&&(e.current=null)}function Be(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){U(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){Ge(e,t),x(e,n,t)}function Ge(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var l=e.props;_e(t);var s=e.childFlags;if(!u(l))for(var c=Object.keys(l),p=0,v=c.length;p0?w(t.componentWillDisappear,Ke(n,e)):e.textContent=""}function Qe(e,n,t,r){He(t,r),8192&n.flags?x(n,e,r):qe(e,t,r)}function Xe(e,n,t,r,i){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,i,e)}))}function ze(e){var n=e.event;return function(t){n(e.data,t)}}function Ze(e,n,t,r){if(c(t)){if(E(n,t))return;t=ze(t)}ke(r,p(e),t)}function Je(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(l(n))return void(a.cssText=n);if(i(e)||l(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function Ye(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||ge(r,l)||(u(t)||(12&t.childFlags?He(t.children,o):2===t.childFlags&&Ge(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function en(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var s=i(t)?"":t;r[e]!==s&&(r[e]=s);break;case"style":Je(n,t,r);break;case"dangerouslySetInnerHTML":Ye(n,t,l,r,u);break;default:ie[e]?le(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ze(e,n,t,r):i(t)?r.removeAttribute(e):o&&ee[e]?r.setAttributeNS(ee[e],e,t):r.setAttribute(e,t)}}function nn(e,n,t,r,i,o){var a=!1,l=(448&n)>0;for(var u in l&&(a=Re(t))&&Oe(n,r,t),t)en(u,null,t[u],r,i,a,null,o);l&&We(n,e,r,t,!0,a)}function tn(e,n,t){var r=Z(e.render(n,e.state,t)),i=t;return a(e.getChildContext)&&(i=s(t,e.getChildContext())),e.$CX=i,r}function rn(e,n,t,r,i,o){var l=new n(t,r),s=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=i,l.$L=o,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),s)l.state=P(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var c=l.$PS;if(!u(c)){var d=l.state;if(u(d))l.state=c;else for(var p in c)d[p]=c[p];l.$PS=null}l.$BR=!1}return l.$LI=tn(l,t,r),l}function on(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function an(e,n,t,r,i,o,a){var l=e.flags|=16384;481&l?cn(e,n,t,r,i,o,a):4&l?dn(e,n,t,r,i,o,a):8&l?pn(e,n,t,r,i,o,a):16&l?sn(e,n,i):8192&l?un(e,t,n,r,i,o,a):1024&l&&ln(e,t,n,i,o,a)}function ln(e,n,t,r,i,o){an(e.children,e.ref,n,!1,null,i,o);var a=q();sn(a,t,r),e.dom=a.dom}function un(e,n,t,r,i,o,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=q()),2===u?an(l,t,n,r,i,o,a):fn(l,t,n,r,i,o,a)}function sn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||h(n,r,t)}function cn(e,n,t,r,o,a,l){var s=e.flags,c=e.props,f=e.className,d=e.childFlags,p=e.dom=m(e.type,r=r||(32&s)>0),v=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)F(p,v);else if(1!==d){var g=r&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=K(v)),an(v,p,t,g,null,a,l)):8!==d&&4!==d||fn(v,p,t,g,null,a,l)}u(n)||h(n,p,o),u(c)||nn(e,s,c,p,r,l),Be(e.ref,p,a)}function fn(e,n,t,r,i,o,a){for(var l=0;lp)&&(f=$(l[p-1],!1).nextSibling)}Tn(s,c,l,u,t,r,i,f,e,o,a)}function An(e,n,t,r,i){var a=e.ref,l=n.ref,u=n.children;if(Tn(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,i),n.dom=e.dom,a!==l&&!o(u)){var s=u.dom;y(a,s),v(l,s)}}function Sn(e,n,t,r,o,a,l){var u,s=n.dom=e.dom,c=e.props,d=n.props,p=!1,v=!1;if(r=r||(32&o)>0,c!==d){var h=c||f;if((u=d||f)!==f)for(var m in(p=(448&o)>0)&&(v=Re(u)),u){var g=h[m],y=u[m];g!==y&&en(m,g,y,s,r,v,e,l)}if(h!==f)for(var b in h)i(u[b])&&!i(h[b])&&en(b,h[b],null,s,r,v,e,l)}var k=n.children,$=n.className;e.className!==$&&(i($)?s.removeAttribute("class"):r?s.setAttribute("class",$):s.className=$),4096&o?wn(s,k):Tn(e.childFlags,n.childFlags,e.children,k,s,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&We(o,n,s,u,!1,v);var w=n.ref,C=e.ref;C!==w&&(_e(C),Be(w,s,a))}function xn(e,n,t,r,i,o,a){Ge(e,a),fn(n,t,r,i,$(e,!0),o,a),x(e,t,a)}function Tn(e,n,t,r,i,o,a,l,u,s,c){switch(e){case 2:switch(n){case 2:kn(t,r,i,o,a,l,s,c);break;case 1:je(t,i,c);break;case 16:Ge(t,c),F(i,r);break;default:xn(t,r,i,o,a,s,c)}break;case 1:switch(n){case 2:an(r,i,o,a,l,s,c);break;case 1:break;case 16:F(i,r);break;default:fn(r,i,o,a,l,s,c)}break;case 16:switch(n){case 16:$n(t,r,i);break;case 2:qe(i,t,c),an(r,i,o,a,l,s,c);break;case 1:qe(i,t,c);break;default:qe(i,t,c),fn(r,i,o,a,l,s,c)}break;default:switch(n){case 16:He(t,c),F(i,r);break;case 2:Qe(i,u,t,c),an(r,i,o,a,l,s,c);break;case 1:Qe(i,u,t,c);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&fn(r,i,o,a,l,s,c):0===d?Qe(i,u,t,c):8===n&&8===e?Ln(t,r,i,o,a,f,d,l,u,s,c):En(t,r,i,o,a,f,d,l,s,c)}}}function In(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}function Pn(e,n,t,r,i,o,l,u,c,f){var d=e.state,p=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=P(e,t,n!==d?s(d,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=tn(e,t,i);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),kn(e.$LI,g,r,e.$CX,o,u,c,f),e.$LI=g,a(e.componentDidUpdate)&&In(e,p,d,m,c)}else e.props=t,e.state=n,e.context=i}function Dn(e,n,t,r,i,o,l,c){var d=n.children=e.children;if(u(d))return;d.$L=l;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(a(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}u(d.$PS)||(m=s(m,d.$PS),d.$PS=null)}Pn(d,m,p,t,r,i,!1,o,l,c),h!==v&&(_e(h),Be(v,d,l))}function Nn(e,n,t,r,o,l,u,s){var c=!0,d=n.props||f,p=n.ref,v=e.props,h=!i(p),m=e.children;if(h&&a(p.onComponentShouldUpdate)&&(c=p.onComponentShouldUpdate(v,d)),!1!==c){h&&a(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=Z(on(n,r));kn(m,g,t,r,o,l,u,s),n.children=g,h&&a(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Fn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function En(e,n,t,r,i,o,a,l,u,s){for(var c,f,d=o>a?a:o,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=K(g)),kn(m,g,t,r,i,l,s,c),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)je(e[h++],t,c);else Un(e,n,r,o,a,p,v,h,t,i,l,u,s,c)}function Un(e,n,t,r,i,o,a,l,u,s,c,f,d,p){var v,h,m=0,g=0,y=l,b=l,k=o-l+1,w=a-l+1,A=new Int32Array(w+1),S=k===r,x=!1,T=0,P=0;if(i<4||(k|w)<32)for(g=y;g<=o;++g)if(v=e[g],Pl?x=!0:T=l,16384&h.flags&&(n[l]=h=K(h)),kn(v,h,u,t,s,c,d,p),++P;break}!S&&l>a&&je(v,u,p)}else S||je(v,u,p);else{var D={};for(g=b;g<=a;++g)D[n[g].key]=g;for(g=y;g<=o;++g)if(v=e[g],Py;)je(e[y++],u,p);A[l-b]=g+1,T>l?x=!0:T=l,16384&(h=n[l]).flags&&(n[l]=h=K(h)),kn(v,h,u,t,s,c,d,p),++P}else S||je(v,u,p);else S||je(v,u,p)}if(S)Qe(u,f,e,p),fn(n,u,t,s,c,d,p);else if(x){var N=Vn(A);for(l=N.length-1,g=w-1;g>=0;g--)0===A[g]?(16384&(h=n[T=g+b]).flags&&(n[T]=h=K(h)),an(h,u,t,s,(m=T+1)0&&C(p.componentWillMove)}else if(P!==w)for(g=w-1;g>=0;g--)0===A[g]&&(16384&(h=n[T=g+b]).flags&&(n[T]=h=K(h)),an(h,u,t,s,(m=T+1)Mn&&(Mn=u,Fe=new Int32Array(u),Ee=new Int32Array(u));t>1]]0&&(Ee[t]=Fe[o-1]),Fe[o]=t)}o=i+1;var s=new Int32Array(o);for(a=Fe[o-1];o-- >0;)s[o]=a,a=Ee[a],Fe[o]=0;return s}function Wn(e,n,t,r){var o=[],l=new d,u=n.$V;D.v=!0,i(u)?i(e)||(16384&e.flags&&(e=K(e)),an(e,n,r,!1,null,o,l),n.$V=e,u=e):i(e)?(je(u,n,l),n.$V=null):(16384&e.flags&&(e=K(e)),kn(u,e,n,r,!1,null,o,l),u=n.$V=e),b(o),w(l.componentDidAppear),D.v=!1,a(t)&&t(),a(N.renderComplete)&&N.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var On=[],Rn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},_n=!1;function Bn(e,n,t,r){var o=e.$PS;if(a(n)&&(n=n(o?s(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var l in n)o[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!D.v&&0===On.length)return Hn(e,r),void(a(t)&&t.call(e));if(-1===On.indexOf(e)&&On.push(e),r&&(e.$F=!0),_n||(_n=!0,Rn(Gn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function jn(e){for(var n=e.$QU,t=0;t1)for(r=[];s-- >0;)r[s]=arguments[s+2];if(!Qn(e)){if(u=2,Xn(r)||(n||(n={}),n.children=r),!qn(n))for(var c in i={},n)"key"===c?a=n.key:"ref"===c?o=n.ref:1===zn[c]?(o||(o={}),o[c]=n[c]):i[c]=n[c];return B(u,e,i,a,o)}if(u=X(e),!qn(n))for(var f in i={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?o=n.ref:("contenteditable"===f&&(u|=4096),i[f]=n[f]);if(8192&u)return G(1===s?[r]:r,0,a);return W(u,e,l,r,0,i,a,o)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var d=0,p=0;pd&&(d=m)}n+=a.length,d>t&&(t=d)}return{maxDuration:t,nrofTransitions:n}}var ft,dt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function pt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=ct(e),i=r.maxDuration,o=r.nrofTransitions,a=!1,l=function r(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(dt,r,!1),"function"===typeof n&&n()};t.addEventListener(dt,l,!1),pt(l,t,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=0;function $t(){kt=0;var e=yt;yt=[];for(var n=0;n animates height and opacity on add. The image and body of each card animates using the card animation CSS-classes but with different transitions. The card inherits AnimatedComponet which is only aware of the card animation. The child animations need to be finished when the card animations are finished."}),void 0===n&&(n=null),void 0===t&&(t=f),Wn(e,r,n,t)}))}(); +!function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function i(e){return void 0===e||null===e}function o(e){return null===e||!1===e||!0===e||void 0===e}function a(e){return"function"===typeof e}function l(e){return"string"===typeof e}function u(e){return null===e}function s(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var i in n)t[i]=n[i];return t}function c(e){return!u(e)&&"object"===typeof e}var f={},d="$F",p=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function v(e){return e.substring(2).toLowerCase()}function h(e,n){e.appendChild(n)}function m(e,n,t){u(t)?h(e,n):e.insertBefore(n,t)}function g(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function y(e,n,t){e.replaceChild(n,t)}function b(e,n){e.removeChild(n)}function k(e){for(var n=0;n0?C(t.componentWillDisappear,x(e,n)):S(e,n,!1)}function I(e,n,t,r,i,o,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,i,r):8&a&&t.onComponentWillMove(n,i,r,l)},next:o,parent:i})}function P(e,n,t,r,o){var l,u,s=n.flags;do{var c=n.flags;if(1521&c)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?m(t,n.dom,r):I(o,e,l,n.dom,t,r,s,u));var f=n.children;if(4&c)l=n.children,u=n.props,n=f.$LI;else if(8&c)l=n.ref,u=n.props,n=f;else if(8192&c){if(2!==n.childFlags){for(var d=0,p=f.length;d0,v=u(d),h=l(d)&&d[0]===V;p||v||h?(i=i||n.slice(0,c),(p||h)&&(f=q(f)),(v||h)&&(f.key=V+c),i.push(f)):i&&i.push(f),f.flags|=65536}}a=0===(i=i||n).length?1:8}else(i=n).flags|=65536,81920&n.flags&&(i=q(n)),a=2;return e.children=i,e.childFlags=a,e}function J(e){if(o(e)||r(e))return G(e,null);if(t(e))return H(e,0,null);return 16384&e.flags?q(e):e}var Y="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 re=te(0),ie=te(null),oe=te(!0);function ae(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++re[e]&&(ie[e]=ge(e)),t}function le(e,n){var t=n.$EV;t&&t[e]&&(0===--re[e]&&(document.removeEventListener(v(e),ie[e]),ie[e]=null),t[e]=null)}function ue(e,n,t,r){if(a(t))ae(e,r)[e]=t;else if(c(t)){if(L(n,t))return;ae(e,r)[e]=t}else le(e,r)}function se(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function ce(e,n,t,r){var i=se(e);do{if(n&&i.disabled)return;var o=i.$EV;if(o){var a=o[t];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!u(i))}function fe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function de(){return this.defaultPrevented}function pe(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=de,e.isPropagationStopped=pe,e.stopPropagation=fe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function he(e){return function(n){if(0!==n.button)return void n.stopPropagation();ce(n,!0,e,ve(n))}}function me(e){return function(n){ce(n,!1,e,ve(n))}}function ge(e){var n="onClick"===e||"onDblClick"===e?he(e):me(e);return document.addEventListener(v(e),n),n}function ye(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function be(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,o=r.dom;if(l(e))be(i,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),Ie(r,l)}}var Ee,Le,Ue=ke("onInput",We),Me=ke("onChange");function Ve(e,n){$e(e,"input",Ue),n.onChange&&$e(e,"change",Me)}function We(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function Oe(e,n,t,r,i,o){64&e?Te(r,t):256&e?Fe(r,t,i,n):128&e&&We(r,t,i),o&&(t.$V=n)}function Re(e,n,t){64&e?xe(n,t):256&e?Ne(n):128&e&&Ve(n,t)}function _e(e){return e.type&&we(e.type)?!i(e.checked):!i(e.value)}function Be(e){e&&!M(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){M(e,n)||void 0===e.current||(e.current=n)}))}function Ge(e,n,t){He(e,t),T(e,n,t)}function He(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var l=e.props;Be(t);var s=e.childFlags;if(!u(l))for(var c=Object.keys(l),d=0,v=c.length;d0?C(t.componentWillDisappear,qe(n,e)):e.textContent=""}function Xe(e,n,t,r){Ke(t,r),8192&n.flags?T(n,e,r):Qe(e,t,r)}function ze(e,n,t,r,i){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,i,e)}))}function Ze(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(c(t)){if(L(n,t))return;t=Ze(t)}$e(r,v(e),t)}function Ye(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(l(n))return void(a.cssText=n);if(i(e)||l(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function en(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||ye(r,l)||(u(t)||(12&t.childFlags?Ke(t.children,o):2===t.childFlags&&He(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function nn(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var s=i(t)?"":t;r[e]!==s&&(r[e]=s);break;case"style":Ye(n,t,r);break;case"dangerouslySetInnerHTML":en(n,t,l,r,u);break;default:oe[e]?ue(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,t,r):i(t)?r.removeAttribute(e):o&&ne[e]?r.setAttributeNS(ne[e],e,t):r.setAttribute(e,t)}}function tn(e,n,t,r,i,o){var a=!1,l=(448&n)>0;for(var u in l&&(a=_e(t))&&Re(n,r,t),t)nn(u,null,t[u],r,i,a,null,o);l&&Oe(n,e,r,t,!0,a)}function rn(e,n,t){var r=J(e.render(n,e.state,t)),i=t;return a(e.getChildContext)&&(i=s(t,e.getChildContext())),e.$CX=i,r}function on(e,n,t,r,i,o){var l=new n(t,r),s=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=i,l.$L=o,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),s)l.state=D(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var c=l.$PS;if(!u(c)){var d=l.state;if(u(d))l.state=c;else for(var p in c)d[p]=c[p];l.$PS=null}l.$BR=!1}return l.$LI=rn(l,t,r),l}function an(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function ln(e,n,t,r,i,o,a){var l=e.flags|=16384;481&l?fn(e,n,t,r,i,o,a):4&l?pn(e,n,t,r,i,o,a):8&l?vn(e,n,t,r,i,o,a):16&l?cn(e,n,i):8192&l?sn(e,t,n,r,i,o,a):1024&l&&un(e,t,n,i,o,a)}function un(e,n,t,r,i,o){ln(e.children,e.ref,n,!1,null,i,o);var a=Q();cn(a,t,r),e.dom=a.dom}function sn(e,n,t,r,i,o,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=Q()),2===u?ln(l,t,n,r,i,o,a):dn(l,t,n,r,i,o,a)}function cn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||m(n,r,t)}function fn(e,n,t,r,o,a,l){var s=e.flags,c=e.props,f=e.className,d=e.childFlags,p=e.dom=g(e.type,r=r||(32&s)>0),v=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)E(p,v);else if(1!==d){var h=r&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=q(v)),ln(v,p,t,h,null,a,l)):8!==d&&4!==d||dn(v,p,t,h,null,a,l)}u(n)||m(n,p,o),u(c)||tn(e,s,c,p,r,l),je(e.ref,p,a)}function dn(e,n,t,r,i,o,a){for(var l=0;lp)&&(f=w(l[p-1],!1).nextSibling)}In(s,c,l,u,t,r,i,f,e,o,a)}function Sn(e,n,t,r,i){var a=e.ref,l=n.ref,u=n.children;if(In(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,i),n.dom=e.dom,a!==l&&!o(u)){var s=u.dom;b(a,s),h(l,s)}}function xn(e,n,t,r,o,a,l){var u,s=n.dom=e.dom,c=e.props,d=n.props,p=!1,v=!1;if(r=r||(32&o)>0,c!==d){var h=c||f;if((u=d||f)!==f)for(var m in(p=(448&o)>0)&&(v=_e(u)),u){var g=h[m],y=u[m];g!==y&&nn(m,g,y,s,r,v,e,l)}if(h!==f)for(var b in h)i(u[b])&&!i(h[b])&&nn(b,h[b],null,s,r,v,e,l)}var k=n.children,$=n.className;e.className!==$&&(i($)?s.removeAttribute("class"):r?s.setAttribute("class",$):s.className=$),4096&o?Cn(s,k):In(e.childFlags,n.childFlags,e.children,k,s,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&Oe(o,n,s,u,!1,v);var w=n.ref,C=e.ref;C!==w&&(Be(C),je(w,s,a))}function Tn(e,n,t,r,i,o,a){He(e,a),dn(n,t,r,i,w(e,!0),o,a),T(e,t,a)}function In(e,n,t,r,i,o,a,l,u,s,c){switch(e){case 2:switch(n){case 2:$n(t,r,i,o,a,l,s,c);break;case 1:Ge(t,i,c);break;case 16:He(t,c),E(i,r);break;default:Tn(t,r,i,o,a,s,c)}break;case 1:switch(n){case 2:ln(r,i,o,a,l,s,c);break;case 1:break;case 16:E(i,r);break;default:dn(r,i,o,a,l,s,c)}break;case 16:switch(n){case 16:wn(t,r,i);break;case 2:Qe(i,t,c),ln(r,i,o,a,l,s,c);break;case 1:Qe(i,t,c);break;default:Qe(i,t,c),dn(r,i,o,a,l,s,c)}break;default:switch(n){case 16:Ke(t,c),E(i,r);break;case 2:Xe(i,u,t,c),ln(r,i,o,a,l,s,c);break;case 1:Xe(i,u,t,c);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&dn(r,i,o,a,l,s,c):0===d?Xe(i,u,t,c):8===n&&8===e?Un(t,r,i,o,a,f,d,l,u,s,c):Ln(t,r,i,o,a,f,d,l,s,c)}}}function Pn(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}function Dn(e,n,t,r,i,o,l,u,c,f){var d=e.state,p=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=D(e,t,n!==d?s(d,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=rn(e,t,i);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),$n(e.$LI,g,r,e.$CX,o,u,c,f),e.$LI=g,a(e.componentDidUpdate)&&Pn(e,p,d,m,c)}else e.props=t,e.state=n,e.context=i}function Nn(e,n,t,r,i,o,l,c){var d=n.children=e.children;if(u(d))return;d.$L=l;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(a(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}u(d.$PS)||(m=s(m,d.$PS),d.$PS=null)}Dn(d,m,p,t,r,i,!1,o,l,c),h!==v&&(Be(h),je(v,d,l))}function Fn(e,n,t,r,o,l,u,s){var c=!0,d=n.props||f,p=n.ref,v=e.props,h=!i(p),m=e.children;if(h&&a(p.onComponentShouldUpdate)&&(c=p.onComponentShouldUpdate(v,d)),!1!==c){h&&a(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=J(an(n,r));$n(m,g,t,r,o,l,u,s),n.children=g,h&&a(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function En(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,i,o,a,l,u,s){for(var c,f,d=o>a?a:o,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=q(g)),$n(m,g,t,r,i,l,s,c),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)Ge(e[h++],t,c);else Mn(e,n,r,o,a,p,v,h,t,i,l,u,s,c)}function Mn(e,n,t,r,i,o,a,l,u,s,c,f,d,p){var v,h,m=0,g=0,y=l,b=l,k=o-l+1,$=a-l+1,C=new Int32Array($+1),S=k===r,x=!1,T=0,I=0;if(i<4||(k|$)<32)for(g=y;g<=o;++g)if(v=e[g],I<$){for(l=b;l<=a;l++)if(h=n[l],v.key===h.key){if(C[l-b]=g+1,S)for(S=!1;yl?x=!0:T=l,16384&h.flags&&(n[l]=h=q(h)),$n(v,h,u,t,s,c,d,p),++I;break}!S&&l>a&&Ge(v,u,p)}else S||Ge(v,u,p);else{var D={};for(g=b;g<=a;++g)D[n[g].key]=g;for(g=y;g<=o;++g)if(v=e[g],I<$)if(void 0!==(l=D[v.key])){if(S)for(S=!1;g>y;)Ge(e[y++],u,p);C[l-b]=g+1,T>l?x=!0:T=l,16384&(h=n[l]).flags&&(n[l]=h=q(h)),$n(v,h,u,t,s,c,d,p),++I}else S||Ge(v,u,p);else S||Ge(v,u,p)}if(S)Xe(u,f,e,p),dn(n,u,t,s,c,d,p);else if(x){var N=Wn(C);for(l=N.length-1,g=$-1;g>=0;g--)0===C[g]?(16384&(h=n[T=g+b]).flags&&(n[T]=h=q(h)),ln(h,u,t,s,(m=T+1)0&&A(p.componentWillMove)}else if(I!==$)for(g=$-1;g>=0;g--)0===C[g]&&(16384&(h=n[T=g+b]).flags&&(n[T]=h=q(h)),ln(h,u,t,s,(m=T+1)Vn&&(Vn=u,Ee=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ee[o-1]),Ee[o]=t)}o=i+1;var s=new Int32Array(o);for(a=Ee[o-1];o-- >0;)s[o]=a,a=Le[a],Ee[o]=0;return s}function On(e,n,t,r){var o=[],l=new p,u=n.$V;N.v=!0,i(u)?i(e)||(16384&e.flags&&(e=q(e)),ln(e,n,r,!1,null,o,l),n.$V=e,u=e):i(e)?(Ge(u,n,l),n.$V=null):(16384&e.flags&&(e=q(e)),$n(u,e,n,r,!1,null,o,l),u=n.$V=e),k(o),C(l.componentDidAppear),N.v=!1,a(t)&&t(),a(F.renderComplete)&&F.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Rn=[],_n="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Bn=!1;function jn(e,n,t,r){var o=e.$PS;if(a(n)&&(n=n(o?s(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var l in n)o[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!N.v&&0===Rn.length)return Kn(e,r),void(a(t)&&t.call(e));if(-1===Rn.indexOf(e)&&Rn.push(e),r&&(e.$F=!0),Bn||(Bn=!0,_n(Hn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Gn(e){for(var n=e.$QU,t=0;t1)for(r=[];s-- >0;)r[s]=arguments[s+2];if("string"!==typeof e){if(u=2,Xn(r)||(n||(n={}),n.children=r),!Qn(n))for(var c in i={},n)"key"===c?a=n.key:"ref"===c?o=n.ref:1===zn[c]?(o||(o={}),o[c]=n[c]):i[c]=n[c];return j(u,e,i,a,o)}if(u=z(e),!Qn(n))for(var f in i={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?o=n.ref:("contenteditable"===f&&(u|=4096),i[f]=n[f]);if(8192&u)return H(1===s?[r]:r,0,a);return O(u,e,l,r,0,i,a,o)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var d=0,p=0;pd&&(d=m)}n+=a.length,d>t&&(t=d)}return{maxDuration:t,nrofTransitions:n}}var ft,dt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function pt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=ct(e),i=r.maxDuration,o=r.nrofTransitions,a=!1,l=function r(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(dt,r,!1),"function"===typeof n&&n()};t.addEventListener(dt,l,!1),pt(l,t,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=bt,$t=bt;function wt(){$t=bt;var e=yt;yt=[];for(var n=0;n animates height and opacity on add. The image and body of each card animates using the card animation CSS-classes but with different transitions. The card inherits AnimatedComponet which is only aware of the card animation. The child animations need to be finished when the card animations are finished."}),void 0===n&&(n=null),void 0===t&&(t=f),On(e,r,n,t)}))}(); diff --git a/docs/animations-global-demo/dist/bundle.js b/docs/animations-global-demo/dist/bundle.js index 415b03f95..5937b6f2b 100644 --- a/docs/animations-global-demo/dist/bundle.js +++ b/docs/animations-global-demo/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(n,t){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},e(n,t)}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function i(e){return void 0===e||null===e}function o(e){return null===e||!1===e||!0===e||void 0===e}function a(e){return"function"===typeof e}function l(e){return"string"===typeof e}function u(e){return null===e}function c(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var i in n)t[i]=n[i];return t}function s(e){return!u(e)&&"object"===typeof e}var f={},d=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function p(e){return e.substring(2).toLowerCase()}function v(e,n){e.appendChild(n)}function h(e,n,t){u(t)?v(e,n):e.insertBefore(n,t)}function m(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function g(e,n,t){e.replaceChild(n,t)}function y(e,n){e.removeChild(n)}function b(e){for(var n=0;n0?$(t.componentWillDisappear,S(e,n)):A(e,n,!1)}function N(e,n,t,r,i,o,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,i,r):8&a&&t.onComponentWillMove(n,i,r,l)},next:o,parent:i})}function T(e,n,t,r,o){var l,u,c=n.flags;do{var s=n.flags;if(1521&s)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?h(t,n.dom,r):N(o,e,l,n.dom,t,r,c,u));var f=n.children;if(4&s)l=n.children,u=n.props,n=f.$LI;else if(8&s)l=n.ref,u=n.props,n=f;else if(8192&s){if(2!==n.childFlags){for(var d=0,p=f.length;d0,v=u(d),h=l(d)&&d[0]===U;p||v||h?(i=i||n.slice(0,s),(p||h)&&(f=G(f)),(v||h)&&(f.key=U+s),i.push(f)):i&&i.push(f),f.flags|=65536}}a=0===(i=i||n).length?1:8}else(i=n).flags|=65536,81920&n.flags&&(i=G(n)),a=2;return e.children=i,e.childFlags=a,e}function Z(e){if(o(e)||r(e))return j(e,null);if(t(e))return K(e,0,null);return 16384&e.flags?G(e):e}var J="http://www.w3.org/1999/xlink",Y="http://www.w3.org/XML/1998/namespace",ee={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":Y,"xml:lang":Y,"xml:space":Y};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 oe(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=me(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(p(e),re[e]),re[e]=null),t[e]=null)}function le(e,n,t,r){if(a(t))oe(e,r)[e]=t;else if(s(t)){if(E(n,t))return;oe(e,r)[e]=t}else ae(e,r)}function ue(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function ce(e,n,t,r){var i=ue(e);do{if(n&&i.disabled)return;var o=i.$EV;if(o){var a=o[t];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!u(i))}function se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function fe(){return this.defaultPrevented}function de(){return this.cancelBubble}function pe(e){var n={dom:document};return e.isDefaultPrevented=fe,e.isPropagationStopped=de,e.stopPropagation=se,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ve(e){return function(n){if(0!==n.button)return void n.stopPropagation();ce(n,!0,e,pe(n))}}function he(e){return function(n){ce(n,!1,e,pe(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?ve(e):he(e);return document.addEventListener(p(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(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 be(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,o=r.dom;if(l(e))ye(i,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),Ne(r,l)}}var Fe,Ee,Le=be("onInput",Ve),Me=be("onChange");function Ue(e,n){ke(e,"input",Le),n.onChange&&ke(e,"change",Me)}function Ve(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function We(e,n,t,r,i,o){64&e?Pe(r,t):256&e?De(r,t,i,n):128&e&&Ve(r,t,i),o&&(t.$V=n)}function Re(e,n,t){64&e?Se(n,t):256&e?Ie(n):128&e&&Ue(n,t)}function Oe(e){return e.type&&Ce(e.type)?!i(e.checked):!i(e.value)}function Be(e){e&&!M(e,null)&&e.current&&(e.current=null)}function _e(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){M(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){Ke(e,t),P(e,n,t)}function Ke(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var l=e.props;Be(t);var c=e.childFlags;if(!u(l))for(var s=Object.keys(l),p=0,v=s.length;p0?$(t.componentWillDisappear,Ge(n,e)):e.textContent=""}function Qe(e,n,t,r){He(t,r),8192&n.flags?P(n,e,r):qe(e,t,r)}function Xe(e,n,t,r,i){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,i,e)}))}function ze(e){var n=e.event;return function(t){n(e.data,t)}}function Ze(e,n,t,r){if(s(t)){if(E(n,t))return;t=ze(t)}ke(r,p(e),t)}function Je(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(l(n))return void(a.cssText=n);if(i(e)||l(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function Ye(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||ge(r,l)||(u(t)||(12&t.childFlags?He(t.children,o):2===t.childFlags&&Ke(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function en(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var c=i(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":Je(n,t,r);break;case"dangerouslySetInnerHTML":Ye(n,t,l,r,u);break;default:ie[e]?le(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ze(e,n,t,r):i(t)?r.removeAttribute(e):o&&ee[e]?r.setAttributeNS(ee[e],e,t):r.setAttribute(e,t)}}function nn(e,n,t,r,i,o){var a=!1,l=(448&n)>0;for(var u in l&&(a=Oe(t))&&Re(n,r,t),t)en(u,null,t[u],r,i,a,null,o);l&&We(n,e,r,t,!0,a)}function tn(e,n,t){var r=Z(e.render(n,e.state,t)),i=t;return a(e.getChildContext)&&(i=c(t,e.getChildContext())),e.$CX=i,r}function rn(e,n,t,r,i,o){var l=new n(t,r),c=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=i,l.$L=o,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),c)l.state=x(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var s=l.$PS;if(!u(s)){var d=l.state;if(u(d))l.state=s;else for(var p in s)d[p]=s[p];l.$PS=null}l.$BR=!1}return l.$LI=tn(l,t,r),l}function on(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function an(e,n,t,r,i,o,a){var l=e.flags|=16384;481&l?sn(e,n,t,r,i,o,a):4&l?dn(e,n,t,r,i,o,a):8&l?pn(e,n,t,r,i,o,a):16&l?cn(e,n,i):8192&l?un(e,t,n,r,i,o,a):1024&l&&ln(e,t,n,i,o,a)}function ln(e,n,t,r,i,o){an(e.children,e.ref,n,!1,null,i,o);var a=q();cn(a,t,r),e.dom=a.dom}function un(e,n,t,r,i,o,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=q()),2===u?an(l,t,n,r,i,o,a):fn(l,t,n,r,i,o,a)}function cn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||h(n,r,t)}function sn(e,n,t,r,o,a,l){var c=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=m(e.type,r=r||(32&c)>0),v=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)F(p,v);else if(1!==d){var g=r&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=G(v)),an(v,p,t,g,null,a,l)):8!==d&&4!==d||fn(v,p,t,g,null,a,l)}u(n)||h(n,p,o),u(s)||nn(e,c,s,p,r,l),_e(e.ref,p,a)}function fn(e,n,t,r,i,o,a){for(var l=0;lp)&&(f=C(l[p-1],!1).nextSibling)}Nn(c,s,l,u,t,r,i,f,e,o,a)}function An(e,n,t,r,i){var a=e.ref,l=n.ref,u=n.children;if(Nn(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,i),n.dom=e.dom,a!==l&&!o(u)){var c=u.dom;y(a,c),v(l,c)}}function Sn(e,n,t,r,o,a,l){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(r=r||(32&o)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&o)>0)&&(v=Oe(u)),u){var g=h[m],y=u[m];g!==y&&en(m,g,y,c,r,v,e,l)}if(h!==f)for(var b in h)i(u[b])&&!i(h[b])&&en(b,h[b],null,c,r,v,e,l)}var k=n.children,C=n.className;e.className!==C&&(i(C)?c.removeAttribute("class"):r?c.setAttribute("class",C):c.className=C),4096&o?$n(c,k):Nn(e.childFlags,n.childFlags,e.children,k,c,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&We(o,n,c,u,!1,v);var $=n.ref,w=e.ref;w!==$&&(Be(w),_e($,c,a))}function Pn(e,n,t,r,i,o,a){Ke(e,a),fn(n,t,r,i,C(e,!0),o,a),P(e,t,a)}function Nn(e,n,t,r,i,o,a,l,u,c,s){switch(e){case 2:switch(n){case 2:kn(t,r,i,o,a,l,c,s);break;case 1:je(t,i,s);break;case 16:Ke(t,s),F(i,r);break;default:Pn(t,r,i,o,a,c,s)}break;case 1:switch(n){case 2:an(r,i,o,a,l,c,s);break;case 1:break;case 16:F(i,r);break;default:fn(r,i,o,a,l,c,s)}break;case 16:switch(n){case 16:Cn(t,r,i);break;case 2:qe(i,t,s),an(r,i,o,a,l,c,s);break;case 1:qe(i,t,s);break;default:qe(i,t,s),fn(r,i,o,a,l,c,s)}break;default:switch(n){case 16:He(t,s),F(i,r);break;case 2:Qe(i,u,t,s),an(r,i,o,a,l,c,s);break;case 1:Qe(i,u,t,s);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&fn(r,i,o,a,l,c,s):0===d?Qe(i,u,t,s):8===n&&8===e?Ln(t,r,i,o,a,f,d,l,u,c,s):En(t,r,i,o,a,f,d,l,c,s)}}}function Tn(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,i,o,l,u,s,f){var d=e.state,p=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=x(e,t,n!==d?c(d,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=tn(e,t,i);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),kn(e.$LI,g,r,e.$CX,o,u,s,f),e.$LI=g,a(e.componentDidUpdate)&&Tn(e,p,d,m,s)}else e.props=t,e.state=n,e.context=i}function In(e,n,t,r,i,o,l,s){var d=n.children=e.children;if(u(d))return;d.$L=l;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(a(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}u(d.$PS)||(m=c(m,d.$PS),d.$PS=null)}xn(d,m,p,t,r,i,!1,o,l,s),h!==v&&(Be(h),_e(v,d,l))}function Dn(e,n,t,r,o,l,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!i(p),m=e.children;if(h&&a(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&a(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=Z(on(n,r));kn(m,g,t,r,o,l,u,c),n.children=g,h&&a(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Fn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function En(e,n,t,r,i,o,a,l,u,c){for(var s,f,d=o>a?a:o,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=G(g)),kn(m,g,t,r,i,l,c,s),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)je(e[h++],t,s);else Mn(e,n,r,o,a,p,v,h,t,i,l,u,c,s)}function Mn(e,n,t,r,i,o,a,l,u,c,s,f,d,p){var v,h,m=0,g=0,y=l,b=l,k=o-l+1,$=a-l+1,A=new Int32Array($+1),S=k===r,P=!1,N=0,x=0;if(i<4||(k|$)<32)for(g=y;g<=o;++g)if(v=e[g],x<$){for(l=b;l<=a;l++)if(h=n[l],v.key===h.key){if(A[l-b]=g+1,S)for(S=!1;yl?P=!0:N=l,16384&h.flags&&(n[l]=h=G(h)),kn(v,h,u,t,c,s,d,p),++x;break}!S&&l>a&&je(v,u,p)}else S||je(v,u,p);else{var I={};for(g=b;g<=a;++g)I[n[g].key]=g;for(g=y;g<=o;++g)if(v=e[g],x<$)if(void 0!==(l=I[v.key])){if(S)for(S=!1;g>y;)je(e[y++],u,p);A[l-b]=g+1,N>l?P=!0:N=l,16384&(h=n[l]).flags&&(n[l]=h=G(h)),kn(v,h,u,t,c,s,d,p),++x}else S||je(v,u,p);else S||je(v,u,p)}if(S)Qe(u,f,e,p),fn(n,u,t,c,s,d,p);else if(P){var D=Vn(A);for(l=D.length-1,g=$-1;g>=0;g--)0===A[g]?(16384&(h=n[N=g+b]).flags&&(n[N]=h=G(h)),an(h,u,t,c,(m=N+1)0&&w(p.componentWillMove)}else if(x!==$)for(g=$-1;g>=0;g--)0===A[g]&&(16384&(h=n[N=g+b]).flags&&(n[N]=h=G(h)),an(h,u,t,c,(m=N+1)Un&&(Un=u,Fe=new Int32Array(u),Ee=new Int32Array(u));t>1]]0&&(Ee[t]=Fe[o-1]),Fe[o]=t)}o=i+1;var c=new Int32Array(o);for(a=Fe[o-1];o-- >0;)c[o]=a,a=Ee[a],Fe[o]=0;return c}function Wn(e,n,t,r){var o=[],l=new d,u=n.$V;I.v=!0,i(u)?i(e)||(16384&e.flags&&(e=G(e)),an(e,n,r,!1,null,o,l),n.$V=e,u=e):i(e)?(je(u,n,l),n.$V=null):(16384&e.flags&&(e=G(e)),kn(u,e,n,r,!1,null,o,l),u=n.$V=e),b(o),$(l.componentDidAppear),I.v=!1,a(t)&&t(),a(D.renderComplete)&&D.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Rn=[],On="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Bn=!1;function _n(e,n,t,r){var o=e.$PS;if(a(n)&&(n=n(o?c(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var l in n)o[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!I.v&&0===Rn.length)return Hn(e,r),void(a(t)&&t.call(e));if(-1===Rn.indexOf(e)&&Rn.push(e),r&&(e.$F=!0),Bn||(Bn=!0,On(Kn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function jn(e){for(var n=e.$QU,t=0;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if(!Qn(e)){if(u=2,Xn(r)||(n||(n={}),n.children=r),!qn(n))for(var s in i={},n)"key"===s?a=n.key:"ref"===s?o=n.ref:1===zn[s]?(o||(o={}),o[s]=n[s]):i[s]=n[s];return _(u,e,i,a,o)}if(u=X(e),!qn(n))for(var f in i={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?o=n.ref:("contenteditable"===f&&(u|=4096),i[f]=n[f]);if(8192&u)return K(1===c?[r]:r,0,a);return W(u,e,l,r,0,i,a,o)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var d=0,p=0;pd&&(d=m)}n+=a.length,d>t&&(t=d)}return{maxDuration:t,nrofTransitions:n}}var ft,dt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function pt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=st(e),i=r.maxDuration,o=r.nrofTransitions,a=!1,l=function r(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(dt,r,!1),"function"===typeof n&&n()};t.addEventListener(dt,l,!1),pt(l,t,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=0;function Ct(){kt=0;var e=yt;yt=[];for(var n=0;n animates height and opacity on add. The image and body of each card animates using the card animation CSS-classes but with different transitions. The card inherits AnimatedComponet which is only aware of the card animation. The child animations need to be finished when the card animations are finished."}),void 0===n&&(n=null),void 0===t&&(t=f),Wn(e,r,n,t)}))}(); +!function(){"use strict";function e(n,t){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},e(n,t)}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function i(e){return void 0===e||null===e}function o(e){return null===e||!1===e||!0===e||void 0===e}function a(e){return"function"===typeof e}function l(e){return"string"===typeof e}function u(e){return null===e}function c(e,n){var t={};if(e)for(var r in e)t[r]=e[r];if(n)for(var i in n)t[i]=n[i];return t}function s(e){return!u(e)&&"object"===typeof e}var f={},d="$F",p=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function v(e){return e.substring(2).toLowerCase()}function h(e,n){e.appendChild(n)}function m(e,n,t){u(t)?h(e,n):e.insertBefore(n,t)}function g(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function y(e,n,t){e.replaceChild(n,t)}function b(e,n){e.removeChild(n)}function k(e){for(var n=0;n0?w(t.componentWillDisappear,P(e,n)):S(e,n,!1)}function T(e,n,t,r,i,o,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,i,r):8&a&&t.onComponentWillMove(n,i,r,l)},next:o,parent:i})}function x(e,n,t,r,o){var l,u,c=n.flags;do{var s=n.flags;if(1521&s)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?m(t,n.dom,r):T(o,e,l,n.dom,t,r,c,u));var f=n.children;if(4&s)l=n.children,u=n.props,n=f.$LI;else if(8&s)l=n.ref,u=n.props,n=f;else if(8192&s){if(2!==n.childFlags){for(var d=0,p=f.length;d0,v=u(d),h=l(d)&&d[0]===V;p||v||h?(i=i||n.slice(0,s),(p||h)&&(f=q(f)),(v||h)&&(f.key=V+s),i.push(f)):i&&i.push(f),f.flags|=65536}}a=0===(i=i||n).length?1:8}else(i=n).flags|=65536,81920&n.flags&&(i=q(n)),a=2;return e.children=i,e.childFlags=a,e}function J(e){if(o(e)||r(e))return K(e,null);if(t(e))return H(e,0,null);return 16384&e.flags?q(e):e}var Y="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 re=te(0),ie=te(null),oe=te(!0);function ae(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++re[e]&&(ie[e]=ge(e)),t}function le(e,n){var t=n.$EV;t&&t[e]&&(0===--re[e]&&(document.removeEventListener(v(e),ie[e]),ie[e]=null),t[e]=null)}function ue(e,n,t,r){if(a(t))ae(e,r)[e]=t;else if(s(t)){if(L(n,t))return;ae(e,r)[e]=t}else le(e,r)}function ce(e){return a(e.composedPath)?e.composedPath()[0]:e.target}function se(e,n,t,r){var i=ce(e);do{if(n&&i.disabled)return;var o=i.$EV;if(o){var a=o[t];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!u(i))}function fe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function de(){return this.defaultPrevented}function pe(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=de,e.isPropagationStopped=pe,e.stopPropagation=fe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function he(e){return function(n){if(0!==n.button)return void n.stopPropagation();se(n,!0,e,ve(n))}}function me(e){return function(n){se(n,!1,e,ve(n))}}function ge(e){var n="onClick"===e||"onDblClick"===e?he(e):me(e);return document.addEventListener(v(e),n),n}function ye(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function be(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,o=r.dom;if(l(e))be(i,e,t);else for(var u=0;u-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),Te(r,l)}}var Ee,Le,Me=ke("onInput",We),Ue=ke("onChange");function Ve(e,n){Ce(e,"input",Me),n.onChange&&Ce(e,"change",Ue)}function We(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function Re(e,n,t,r,i,o){64&e?Ne(r,t):256&e?Fe(r,t,i,n):128&e&&We(r,t,i),o&&(t.$V=n)}function Oe(e,n,t){64&e?Pe(n,t):256&e?De(n):128&e&&Ve(n,t)}function Be(e){return e.type&&$e(e.type)?!i(e.checked):!i(e.value)}function _e(e){e&&!U(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(a(e)||void 0!==e.current)&&t.push((function(){U(e,n)||void 0===e.current||(e.current=n)}))}function Ke(e,n,t){He(e,t),N(e,n,t)}function He(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var l=e.props;_e(t);var c=e.childFlags;if(!u(l))for(var s=Object.keys(l),d=0,v=s.length;d0?w(t.componentWillDisappear,qe(n,e)):e.textContent=""}function Xe(e,n,t,r){Ge(t,r),8192&n.flags?N(n,e,r):Qe(e,t,r)}function ze(e,n,t,r,i){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,i,e)}))}function Ze(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(s(t)){if(L(n,t))return;t=Ze(t)}Ce(r,v(e),t)}function Ye(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(l(n))return void(a.cssText=n);if(i(e)||l(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function en(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||ye(r,l)||(u(t)||(12&t.childFlags?Ge(t.children,o):2===t.childFlags&&He(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function nn(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var c=i(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":Ye(n,t,r);break;case"dangerouslySetInnerHTML":en(n,t,l,r,u);break;default:oe[e]?ue(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,t,r):i(t)?r.removeAttribute(e):o&&ne[e]?r.setAttributeNS(ne[e],e,t):r.setAttribute(e,t)}}function tn(e,n,t,r,i,o){var a=!1,l=(448&n)>0;for(var u in l&&(a=Be(t))&&Oe(n,r,t),t)nn(u,null,t[u],r,i,a,null,o);l&&Re(n,e,r,t,!0,a)}function rn(e,n,t){var r=J(e.render(n,e.state,t)),i=t;return a(e.getChildContext)&&(i=c(t,e.getChildContext())),e.$CX=i,r}function on(e,n,t,r,i,o){var l=new n(t,r),c=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=i,l.$L=o,e.children=l,l.$BS=!1,l.context=r,l.props===f&&(l.props=t),c)l.state=I(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var s=l.$PS;if(!u(s)){var d=l.state;if(u(d))l.state=s;else for(var p in s)d[p]=s[p];l.$PS=null}l.$BR=!1}return l.$LI=rn(l,t,r),l}function an(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function ln(e,n,t,r,i,o,a){var l=e.flags|=16384;481&l?fn(e,n,t,r,i,o,a):4&l?pn(e,n,t,r,i,o,a):8&l?vn(e,n,t,r,i,o,a):16&l?sn(e,n,i):8192&l?cn(e,t,n,r,i,o,a):1024&l&&un(e,t,n,i,o,a)}function un(e,n,t,r,i,o){ln(e.children,e.ref,n,!1,null,i,o);var a=Q();sn(a,t,r),e.dom=a.dom}function cn(e,n,t,r,i,o,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=Q()),2===u?ln(l,t,n,r,i,o,a):dn(l,t,n,r,i,o,a)}function sn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||m(n,r,t)}function fn(e,n,t,r,o,a,l){var c=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=g(e.type,r=r||(32&c)>0),v=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)E(p,v);else if(1!==d){var h=r&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=q(v)),ln(v,p,t,h,null,a,l)):8!==d&&4!==d||dn(v,p,t,h,null,a,l)}u(n)||m(n,p,o),u(s)||tn(e,c,s,p,r,l),je(e.ref,p,a)}function dn(e,n,t,r,i,o,a){for(var l=0;lp)&&(f=$(l[p-1],!1).nextSibling)}Tn(c,s,l,u,t,r,i,f,e,o,a)}function Sn(e,n,t,r,i){var a=e.ref,l=n.ref,u=n.children;if(Tn(e.childFlags,n.childFlags,e.children,u,a,t,!1,null,e,r,i),n.dom=e.dom,a!==l&&!o(u)){var c=u.dom;b(a,c),h(l,c)}}function Pn(e,n,t,r,o,a,l){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(r=r||(32&o)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&o)>0)&&(v=Be(u)),u){var g=h[m],y=u[m];g!==y&&nn(m,g,y,c,r,v,e,l)}if(h!==f)for(var b in h)i(u[b])&&!i(h[b])&&nn(b,h[b],null,c,r,v,e,l)}var k=n.children,C=n.className;e.className!==C&&(i(C)?c.removeAttribute("class"):r?c.setAttribute("class",C):c.className=C),4096&o?wn(c,k):Tn(e.childFlags,n.childFlags,e.children,k,c,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&Re(o,n,c,u,!1,v);var $=n.ref,w=e.ref;w!==$&&(_e(w),je($,c,a))}function Nn(e,n,t,r,i,o,a){He(e,a),dn(n,t,r,i,$(e,!0),o,a),N(e,t,a)}function Tn(e,n,t,r,i,o,a,l,u,c,s){switch(e){case 2:switch(n){case 2:Cn(t,r,i,o,a,l,c,s);break;case 1:Ke(t,i,s);break;case 16:He(t,s),E(i,r);break;default:Nn(t,r,i,o,a,c,s)}break;case 1:switch(n){case 2:ln(r,i,o,a,l,c,s);break;case 1:break;case 16:E(i,r);break;default:dn(r,i,o,a,l,c,s)}break;case 16:switch(n){case 16:$n(t,r,i);break;case 2:Qe(i,t,s),ln(r,i,o,a,l,c,s);break;case 1:Qe(i,t,s);break;default:Qe(i,t,s),dn(r,i,o,a,l,c,s)}break;default:switch(n){case 16:Ge(t,s),E(i,r);break;case 2:Xe(i,u,t,s),ln(r,i,o,a,l,c,s);break;case 1:Xe(i,u,t,s);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&dn(r,i,o,a,l,c,s):0===d?Xe(i,u,t,s):8===n&&8===e?Mn(t,r,i,o,a,f,d,l,u,c,s):Ln(t,r,i,o,a,f,d,l,c,s)}}}function xn(e,n,t,r,i){i.push((function(){e.componentDidUpdate(n,t,r)}))}function In(e,n,t,r,i,o,l,u,s,f){var d=e.state,p=e.props,v=Boolean(e.$N),h=a(e.shouldComponentUpdate);if(v&&(n=I(e,t,n!==d?c(d,n):n)),l||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&a(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=rn(e,t,i);v&&a(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),Cn(e.$LI,g,r,e.$CX,o,u,s,f),e.$LI=g,a(e.componentDidUpdate)&&xn(e,p,d,m,s)}else e.props=t,e.state=n,e.context=i}function Dn(e,n,t,r,i,o,l,s){var d=n.children=e.children;if(u(d))return;d.$L=l;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(a(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}u(d.$PS)||(m=c(m,d.$PS),d.$PS=null)}In(d,m,p,t,r,i,!1,o,l,s),h!==v&&(_e(h),je(v,d,l))}function Fn(e,n,t,r,o,l,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!i(p),m=e.children;if(h&&a(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&a(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=J(an(n,r));Cn(m,g,t,r,o,l,u,c),n.children=g,h&&a(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function En(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,i,o,a,l,u,c){for(var s,f,d=o>a?a:o,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=q(g)),Cn(m,g,t,r,i,l,c,s),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)Ke(e[h++],t,s);else Un(e,n,r,o,a,p,v,h,t,i,l,u,c,s)}function Un(e,n,t,r,i,o,a,l,u,c,s,f,d,p){var v,h,m=0,g=0,y=l,b=l,k=o-l+1,C=a-l+1,w=new Int32Array(C+1),S=k===r,P=!1,N=0,T=0;if(i<4||(k|C)<32)for(g=y;g<=o;++g)if(v=e[g],Tl?P=!0:N=l,16384&h.flags&&(n[l]=h=q(h)),Cn(v,h,u,t,c,s,d,p),++T;break}!S&&l>a&&Ke(v,u,p)}else S||Ke(v,u,p);else{var I={};for(g=b;g<=a;++g)I[n[g].key]=g;for(g=y;g<=o;++g)if(v=e[g],Ty;)Ke(e[y++],u,p);w[l-b]=g+1,N>l?P=!0:N=l,16384&(h=n[l]).flags&&(n[l]=h=q(h)),Cn(v,h,u,t,c,s,d,p),++T}else S||Ke(v,u,p);else S||Ke(v,u,p)}if(S)Xe(u,f,e,p),dn(n,u,t,c,s,d,p);else if(P){var D=Wn(w);for(l=D.length-1,g=C-1;g>=0;g--)0===w[g]?(16384&(h=n[N=g+b]).flags&&(n[N]=h=q(h)),ln(h,u,t,c,(m=N+1)0&&A(p.componentWillMove)}else if(T!==C)for(g=C-1;g>=0;g--)0===w[g]&&(16384&(h=n[N=g+b]).flags&&(n[N]=h=q(h)),ln(h,u,t,c,(m=N+1)Vn&&(Vn=u,Ee=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ee[o-1]),Ee[o]=t)}o=i+1;var c=new Int32Array(o);for(a=Ee[o-1];o-- >0;)c[o]=a,a=Le[a],Ee[o]=0;return c}function Rn(e,n,t,r){var o=[],l=new p,u=n.$V;D.v=!0,i(u)?i(e)||(16384&e.flags&&(e=q(e)),ln(e,n,r,!1,null,o,l),n.$V=e,u=e):i(e)?(Ke(u,n,l),n.$V=null):(16384&e.flags&&(e=q(e)),Cn(u,e,n,r,!1,null,o,l),u=n.$V=e),k(o),w(l.componentDidAppear),D.v=!1,a(t)&&t(),a(F.renderComplete)&&F.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var On=[],Bn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},_n=!1;function jn(e,n,t,r){var o=e.$PS;if(a(n)&&(n=n(o?c(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var l in n)o[l]=n[l];if(e.$BR)a(t)&&e.$L.push(t.bind(e));else{if(!D.v&&0===On.length)return Gn(e,r),void(a(t)&&t.call(e));if(-1===On.indexOf(e)&&On.push(e),r&&(e.$F=!0),_n||(_n=!0,Bn(Hn)),a(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Kn(e){for(var n=e.$QU,t=0;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if("string"!==typeof e){if(u=2,Xn(r)||(n||(n={}),n.children=r),!Qn(n))for(var s in i={},n)"key"===s?a=n.key:"ref"===s?o=n.ref:1===zn[s]?(o||(o={}),o[s]=n[s]):i[s]=n[s];return j(u,e,i,a,o)}if(u=z(e),!Qn(n))for(var f in i={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Xn(r)?r=n.children:"ref"===f?o=n.ref:("contenteditable"===f&&(u|=4096),i[f]=n[f]);if(8192&u)return H(1===c?[r]:r,0,a);return R(u,e,l,r,0,i,a,o)}function Jn(e){return void 0===e||null===e}function Yn(e){return""!==e}function et(e){return e.split(" ").filter(Yn)}function nt(e,n){for(var t=et(n),r=0;r=0&&n--}}for(var d=0,p=0;pd&&(d=m)}n+=a.length,d>t&&(t=d)}return{maxDuration:t,nrofTransitions:n}}var ft,dt=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var t in n)if(void 0!==e[t])return n[t]}();function pt(e,n,t){"IMG"!==n.nodeName||n.complete?setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100):n.addEventListener("load",(function(){setTimeout((function(){return e({target:n,timeout:!0})}),0===t?0:Math.round(1e3*t)+100)}))}function vt(e,n){var t=e[0],r=st(e),i=r.maxDuration,o=r.nrofTransitions,a=!1,l=function r(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,t.removeEventListener(dt,r,!1),"function"===typeof n&&n()};t.addEventListener(dt,l,!1),pt(l,t,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(ft||(ft={}));var ht={};function mt(){var e=!1;for(var n in ht)--ht[n].ticks<0?delete ht[n]:e=!0;e&&requestAnimationFrame(mt)}var gt=[],yt=[],bt=0,kt=bt,Ct=bt;function $t(){Ct=bt;var e=yt;yt=[];for(var n=0;n animates height and opacity on add. The image and body of each card animates using the card animation CSS-classes but with different transitions. The card inherits AnimatedComponet which is only aware of the card animation. The child animations need to be finished when the card animations are finished."}),void 0===n&&(n=null),void 0===t&&(t=f),Rn(e,r,n,t)}))}(); diff --git a/docs/animations/dist/bundle.js b/docs/animations/dist/bundle.js index a933eae4e..372e4e744 100644 --- a/docs/animations/dist/bundle.js +++ b/docs/animations/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;i[n]=e[n]}return i}var i=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function a(e){return void 0===e||null===e}function l(e){return null===e||!1===e||!0===e||void 0===e}function u(e){return"function"===typeof e}function s(e){return"string"===typeof e}function c(e){return null===e}function f(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var i in t)n[i]=t[i];return n}function d(e){return!c(e)&&"object"===typeof e}var p={},v=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function h(e){return e.substring(2).toLowerCase()}function m(e,t){e.appendChild(t)}function y(e,t,n){c(n)?m(e,t):e.insertBefore(t,n)}function g(e,t){if(t)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function k(e,t,n){e.replaceChild(t,n)}function C(e,t){e.removeChild(t)}function b(e){for(var t=0;t0?x(n.componentWillDisappear,w(e,t)):$(e,t,!1)}function I(e,t,n,o,i,r,a,l){e.componentWillMove.push({dom:o,fn:function(){4&a?n.componentWillMove(t,i,o):8&a&&n.onComponentWillMove(t,i,o,l)},next:r,parent:i})}function T(e,t,n,o,i){var r,l,s=t.flags;do{var c=t.flags;if(1521&c)return void(a(r)||!u(r.componentWillMove)&&!u(r.onComponentWillMove)?y(n,t.dom,o):I(i,e,r,t.dom,n,o,s,l));var f=t.children;if(4&c)r=t.children,l=t.props,t=f.$LI;else if(8&c)r=t.ref,l=t.props,t=f;else if(8192&c){if(2!==t.childFlags){for(var d=0,p=f.length;d0,v=c(d),h=s(d)&&d[0]===V;p||v||h?(n=n||t.slice(0,u),(p||h)&&(f=Q(f)),(v||h)&&(f.key=V+u),n.push(f)):n&&n.push(f),f.flags|=65536}}o=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=Q(t)),o=2;return e.children=n,e.childFlags=o,e}function Y(e){if(l(e)||r(e))return K(e,null);if(i(e))return H(e,0,null);return 16384&e.flags?Q(e):e}var ee="http://www.w3.org/1999/xlink",te="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":ee,"xlink:arcrole":ee,"xlink:href":ee,"xlink:role":ee,"xlink:show":ee,"xlink:title":ee,"xlink:type":ee,"xml:base":te,"xml:lang":te,"xml:space":te};function oe(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 ie=oe(0),re=oe(null),ae=oe(!0);function le(e,t){var n=t.$EV;return n||(n=t.$EV=oe(null)),n[e]||1===++ie[e]&&(re[e]=ge(e)),n}function ue(e,t){var n=t.$EV;n&&n[e]&&(0===--ie[e]&&(document.removeEventListener(h(e),re[e]),re[e]=null),n[e]=null)}function se(e,t,n,o){if(u(n))le(e,o)[e]=n;else if(d(n)){if(E(t,n))return;le(e,o)[e]=n}else ue(e,o)}function ce(e){return u(e.composedPath)?e.composedPath()[0]:e.target}function fe(e,t,n,o){var i=ce(e);do{if(t&&i.disabled)return;var r=i.$EV;if(r){var a=r[n];if(a&&(o.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!c(i))}function de(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pe(){return this.defaultPrevented}function ve(){return this.cancelBubble}function he(e){var t={dom:document};return e.isDefaultPrevented=pe,e.isPropagationStopped=ve,e.stopPropagation=de,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function me(e){return function(t){if(0!==t.button)return void t.stopPropagation();fe(t,!0,e,he(t))}}function ye(e){return function(t){fe(t,!1,e,he(t))}}function ge(e){var t="onClick"===e||"onDblClick"===e?me(e):ye(e);return document.addEventListener(h(e),t),t}function ke(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}function Ce(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var i=t.toLowerCase();e[i]&&e[i](n)}}function be(e,t){var n=function(n){var o=this.$V;if(!o)return;var i=o.props||p,r=o.dom;if(s(e))Ce(i,e,n);else for(var a=0;a-1&&t.options[r]&&(l=t.options[r].value),n&&a(l)&&(l=e.defaultValue),Ie(o,l)}}var Ne,Ee,Le=be("onInput",Oe),We=be("onChange");function Ve(e,t){Ae(e,"input",Le),t.onChange&&Ae(e,"change",We)}function Oe(e,t,n){var o=e.value,i=t.value;if(a(o)){if(n){var r=e.defaultValue;a(r)||r===i||(t.defaultValue=r,t.value=r)}}else i!==o&&(t.defaultValue=o,t.value=o)}function Ue(e,t,n,o,i,r){64&e?De(o,n):256&e?Re(o,n,i,t):128&e&&Oe(o,n,i),r&&(n.$V=t)}function je(e,t,n){64&e?we(t,n):256&e?Pe(t):128&e&&Ve(t,n)}function _e(e){return e.type&&Se(e.type)?!a(e.checked):!a(e.value)}function Be(e){e&&!W(e,null)&&e.current&&(e.current=null)}function qe(e,t,n){e&&(u(e)||void 0!==e.current)&&n.push((function(){W(e,t)||void 0===e.current||(e.current=t)}))}function Ke(e,t,n){He(e,n),D(e,t,n)}function He(e,t){var n,o=e.flags,i=e.children;if(481&o){n=e.ref;var r=e.props;Be(n);var l=e.childFlags;if(!c(r))for(var s=Object.keys(r),f=0,d=s.length;f0?x(n.componentWillDisappear,Qe(t,e)):e.textContent=""}function Ze(e,t,n,o){Ge(n,o),8192&t.flags?D(t,e,o):Xe(e,n,o)}function ze(e,t,n,o,i){e.componentWillDisappear.push((function(e){4&o?t.componentWillDisappear(n,e):8&o&&t.onComponentWillDisappear(n,i,e)}))}function Je(e){var t=e.event;return function(n){t(e.data,n)}}function Ye(e,t,n,o){if(d(n)){if(E(t,n))return;n=Je(n)}Ae(o,h(e),n)}function et(e,t,n){if(a(t))return void n.removeAttribute("style");var o,i,r=n.style;if(s(t))return void(r.cssText=t);if(a(e)||s(e))for(o in t)i=t[o],r.setProperty(o,i);else{for(o in t)(i=t[o])!==e[o]&&r.setProperty(o,i);for(o in e)a(t[o])&&r.removeProperty(o)}}function tt(e,t,n,o,i){var r=e&&e.__html||"",l=t&&t.__html||"";r!==l&&(a(l)||ke(o,l)||(c(n)||(12&n.childFlags?Ge(n.children,i):2===n.childFlags&&He(n.children,i),n.children=null,n.childFlags=1),o.innerHTML=l))}function nt(e,t,n,o,i,r,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.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":o[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var s=a(n)?"":n;o[e]!==s&&(o[e]=s);break;case"style":et(t,n,o);break;case"dangerouslySetInnerHTML":tt(t,n,l,o,u);break;default:ae[e]?se(e,t,n,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ye(e,t,n,o):a(n)?o.removeAttribute(e):i&&ne[e]?o.setAttributeNS(ne[e],e,n):o.setAttribute(e,n)}}function ot(e,t,n,o,i,r){var a=!1,l=(448&t)>0;for(var u in l&&(a=_e(n))&&je(t,o,n),n)nt(u,null,n[u],o,i,a,null,r);l&&Ue(t,e,o,n,!0,a)}function it(e,t,n){var o=Y(e.render(t,e.state,n)),i=n;return u(e.getChildContext)&&(i=f(n,e.getChildContext())),e.$CX=i,o}function rt(e,t,n,o,i,r){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=r,e.children=a,a.$BS=!1,a.context=o,a.props===p&&(a.props=n),l)a.state=F(a,n,a.state);else if(u(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!c(s)){var f=a.state;if(c(f))a.state=s;else for(var d in s)f[d]=s[d];a.$PS=null}a.$BR=!1}return a.$LI=it(a,n,o),a}function at(e,t){var n=e.props||p;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function lt(e,t,n,o,i,r,a){var l=e.flags|=16384;481&l?ft(e,t,n,o,i,r,a):4&l?pt(e,t,n,o,i,r,a):8&l?vt(e,t,n,o,i,r,a):16&l?ct(e,t,i):8192&l?st(e,n,t,o,i,r,a):1024&l&&ut(e,n,t,i,r,a)}function ut(e,t,n,o,i,r){lt(e.children,e.ref,t,!1,null,i,r);var a=X();ct(a,n,o),e.dom=a.dom}function st(e,t,n,o,i,r,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=X()),2===u?lt(l,n,t,o,i,r,a):dt(l,n,t,o,i,r,a)}function ct(e,t,n){var o=e.dom=document.createTextNode(e.children);c(t)||y(t,o,n)}function ft(e,t,n,o,i,r,l){var u=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=g(e.type,o=o||(32&u)>0),v=e.children;if(a(f)||""===f||(o?p.setAttribute("class",f):p.className=f),16===d)N(p,v);else if(1!==d){var h=o&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=Q(v)),lt(v,p,n,h,null,r,l)):8!==d&&4!==d||dt(v,p,n,h,null,r,l)}c(t)||y(t,p,i),c(s)||ot(e,u,s,p,o,l),qe(e.ref,p,r)}function dt(e,t,n,o,i,r,a){for(var l=0;lp)&&(f=S(l[p-1],!1).nextSibling)}Dt(s,c,l,u,n,o,i,f,e,r,a)}function Mt(e,t,n,o,i){var r=e.ref,a=t.ref,u=t.children;if(Dt(e.childFlags,t.childFlags,e.children,u,r,n,!1,null,e,o,i),t.dom=e.dom,r!==a&&!l(u)){var s=u.dom;C(r,s),m(a,s)}}function $t(e,t,n,o,i,r,l){var u,s=t.dom=e.dom,c=e.props,f=t.props,d=!1,v=!1;if(o=o||(32&i)>0,c!==f){var h=c||p;if((u=f||p)!==p)for(var m in(d=(448&i)>0)&&(v=_e(u)),u){var y=h[m],g=u[m];y!==g&&nt(m,y,g,s,o,v,e,l)}if(h!==p)for(var k in h)a(u[k])&&!a(h[k])&&nt(k,h[k],null,s,o,v,e,l)}var C=t.children,b=t.className;e.className!==b&&(a(b)?s.removeAttribute("class"):o?s.setAttribute("class",b):s.className=b),4096&i?St(s,C):Dt(e.childFlags,t.childFlags,e.children,C,s,n,o&&"foreignObject"!==t.type,null,e,r,l),d&&Ue(i,t,s,u,!1,v);var A=t.ref,S=e.ref;S!==A&&(Be(S),qe(A,s,r))}function wt(e,t,n,o,i,r,a){He(e,a),dt(t,n,o,i,S(e,!0),r,a),D(e,n,a)}function Dt(e,t,n,o,i,r,a,l,u,s,c){switch(e){case 2:switch(t){case 2:bt(n,o,i,r,a,l,s,c);break;case 1:Ke(n,i,c);break;case 16:He(n,c),N(i,o);break;default:wt(n,o,i,r,a,s,c)}break;case 1:switch(t){case 2:lt(o,i,r,a,l,s,c);break;case 1:break;case 16:N(i,o);break;default:dt(o,i,r,a,l,s,c)}break;case 16:switch(t){case 16:At(n,o,i);break;case 2:Xe(i,n,c),lt(o,i,r,a,l,s,c);break;case 1:Xe(i,n,c);break;default:Xe(i,n,c),dt(o,i,r,a,l,s,c)}break;default:switch(t){case 16:Ge(n,c),N(i,o);break;case 2:Ze(i,u,n,c),lt(o,i,r,a,l,s,c);break;case 1:Ze(i,u,n,c);break;default:var f=0|n.length,d=0|o.length;0===f?d>0&&dt(o,i,r,a,l,s,c):0===d?Ze(i,u,n,c):8===t&&8===e?Et(n,o,i,r,a,f,d,l,u,s,c):Nt(n,o,i,r,a,f,d,l,s,c)}}}function It(e,t,n,o,i){i.push((function(){e.componentDidUpdate(t,n,o)}))}function Tt(e,t,n,o,i,r,a,l,s,c){var d=e.state,p=e.props,v=Boolean(e.$N),h=u(e.shouldComponentUpdate);if(v&&(t=F(e,n,t!==d?f(d,t):t)),a||!h||h&&e.shouldComponentUpdate(n,t,i)){!v&&u(e.componentWillUpdate)&&e.componentWillUpdate(n,t,i),e.props=n,e.state=t,e.context=i;var m=null,y=it(e,n,i);v&&u(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),bt(e.$LI,y,o,e.$CX,r,l,s,c),e.$LI=y,u(e.componentDidUpdate)&&It(e,p,d,m,s)}else e.props=n,e.state=t,e.context=i}function Ft(e,t,n,o,i,r,a,l){var s=t.children=e.children;if(c(s))return;s.$L=a;var d=t.props||p,v=t.ref,h=e.ref,m=s.state;if(!s.$N){if(u(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,o),s.$UN)return;s.$BR=!1}c(s.$PS)||(m=f(m,s.$PS),s.$PS=null)}Tt(s,m,d,n,o,i,!1,r,a,l),h!==v&&(Be(h),qe(v,s,a))}function Pt(e,t,n,o,i,r,l,s){var c=!0,f=t.props||p,d=t.ref,v=e.props,h=!a(d),m=e.children;if(h&&u(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(v,f)),!1!==c){h&&u(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,f);var y=Y(at(t,o));bt(m,y,n,o,i,r,l,s),t.children=y,h&&u(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,f)}else t.children=m}function Rt(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}function Nt(e,t,n,o,i,r,a,l,u,s){for(var c,f,d=r>a?a:r,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],y=t[h]}for(m=e[p],y=t[v];m.key===y.key;){if(16384&y.flags&&(t[v]=y=Q(y)),bt(m,y,n,o,i,l,s,c),e[p]=y,v--,h>--p||h>v)break e;m=e[p],y=t[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)Ke(e[h++],n,c);else Lt(e,t,o,r,a,p,v,h,n,i,l,u,s,c)}function Lt(e,t,n,o,i,r,a,l,u,s,c,f,d,p){var v,h,m=0,y=0,g=l,k=l,C=r-l+1,b=a-l+1,A=new Int32Array(b+1),x=C===o,$=!1,w=0,D=0;if(i<4||(C|b)<32)for(y=g;y<=r;++y)if(v=e[y],Dl?$=!0:w=l,16384&h.flags&&(t[l]=h=Q(h)),bt(v,h,u,n,s,c,d,p),++D;break}!x&&l>a&&Ke(v,u,p)}else x||Ke(v,u,p);else{var I={};for(y=k;y<=a;++y)I[t[y].key]=y;for(y=g;y<=r;++y)if(v=e[y],Dg;)Ke(e[g++],u,p);A[l-k]=y+1,w>l?$=!0:w=l,16384&(h=t[l]).flags&&(t[l]=h=Q(h)),bt(v,h,u,n,s,c,d,p),++D}else x||Ke(v,u,p);else x||Ke(v,u,p)}if(x)Ze(u,f,e,p),dt(t,u,n,s,c,d,p);else if($){var F=Vt(A);for(l=F.length-1,y=b-1;y>=0;y--)0===A[y]?(16384&(h=t[w=y+k]).flags&&(t[w]=h=Q(h)),lt(h,u,n,s,(m=w+1)0&&M(p.componentWillMove)}else if(D!==b)for(y=b-1;y>=0;y--)0===A[y]&&(16384&(h=t[w=y+k]).flags&&(t[w]=h=Q(h)),lt(h,u,n,s,(m=w+1)Wt&&(Wt=u,Ne=new Int32Array(u),Ee=new Int32Array(u));n>1]]0&&(Ee[n]=Ne[r-1]),Ne[r]=n)}r=i+1;var s=new Int32Array(r);for(a=Ne[r-1];r-- >0;)s[r]=a,a=Ee[a],Ne[r]=0;return s}function Ot(e,t,n,o){var i=[],r=new v,l=t.$V;P.v=!0,a(l)?a(e)||(16384&e.flags&&(e=Q(e)),lt(e,t,o,!1,null,i,r),t.$V=e,l=e):a(e)?(Ke(l,t,r),t.$V=null):(16384&e.flags&&(e=Q(e)),bt(l,e,t,o,!1,null,i,r),l=t.$V=e),b(i),x(r.componentDidAppear),P.v=!1,u(n)&&n(),u(R.renderComplete)&&R.renderComplete(l,t)}function Ut(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=p),Ot(e,t,n,o)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var jt=[],_t="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Bt=!1;function qt(e,t,n,o){var i=e.$PS;if(u(t)&&(t=t(i?f(e.state,i):e.state,e.props,e.context)),a(i))e.$PS=t;else for(var r in t)i[r]=t[r];if(e.$BR)u(n)&&e.$L.push(n.bind(e));else{if(!P.v&&0===jt.length)return Gt(e,o),void(u(n)&&n.call(e));if(-1===jt.indexOf(e)&&jt.push(e),o&&(e.$F=!0),Bt||(Bt=!0,_t(Ht)),u(n)){var l=e.$QU;l||(l=e.$QU=[]),l.push(n)}}}function Kt(e){for(var t=e.$QU,n=0;n1)for(o=[];s-- >0;)o[s]=arguments[s+2];if(!Zt(e)){if(u=2,zt(o)||(t||(t={}),t.children=o),!Xt(t))for(var c in i={},t)"key"===c?a=t.key:"ref"===c?r=t.ref:1===Jt[c]?(r||(r={}),r[c]=t[c]):i[c]=t[c];return q(u,e,i,a,r)}if(u=z(e),!Xt(t))for(var f in i={},t)"className"===f||"class"===f?l=t[f]:"key"===f?a=t.key:"children"===f&&zt(o)?o=t.children:"ref"===f?r=t.ref:("contenteditable"===f&&(u|=4096),i[f]=t[f]);if(8192&u)return H(1===s?[o]:o,0,a);return U(u,e,l,o,0,i,a,r)}function en(e){return void 0===e||null===e}function tn(e){return""!==e}function nn(e){return e.split(" ").filter(tn)}function on(e,t){for(var n=nn(t),o=0;o=0&&t--}}for(var d=0,p=0;pd&&(d=m)}t+=a.length,d>n&&(n=d)}return{maxDuration:n,nrofTransitions:t}}var hn,mn=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(void 0!==e[n])return t[n]}();function yn(e,t,n){"IMG"!==t.nodeName||t.complete?setTimeout((function(){return e({target:t,timeout:!0})}),0===n?0:Math.round(1e3*n)+100):t.addEventListener("load",(function(){setTimeout((function(){return e({target:t,timeout:!0})}),0===n?0:Math.round(1e3*n)+100)}))}function gn(e,t){var n=e[0],o=vn(e),i=o.maxDuration,r=o.nrofTransitions,a=!1,l=function o(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,n.removeEventListener(mn,o,!1),"function"===typeof t&&t()};n.addEventListener(mn,l,!1),yn(l,n,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(hn||(hn={}));var kn={};function Cn(){var e=!1;for(var t in kn)--kn[t].ticks<0?delete kn[t]:e=!0;e&&requestAnimationFrame(Cn)}var bn=[],An=[],Sn=0,xn=0;function Mn(){xn=0;var e=An;An=[];for(var t=0;t=20?n.length-20:0,n.length>=20?20:n.length),t.setState({items:n})},t.doAdd20=function(e){e.preventDefault();for(var n=t.state.items.concat([]),o=0===n.length?0:n[n.length-1].key+1,i=0;i<20;i++)n.push({key:o+i});t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Jn,e({key:n.key,index:o,animation:t.props.animation},Qn,{onClick:t.doRemove}),n.key+1+"bar"):Yt(Zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.key+1+"bar")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<20;)this.items[this.items.length]={key:e++};this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,this.props.animation),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doAdd20},"Add 20"),Yt("button",{onClick:this.doRemove20},"Remove 20")])},o}(Qt),oo=function(n){function o(){var t;(t=n.call(this)||this).componentDidAppear=function(e){var t="fade-enter",n="fade-enter-active",o="fade-enter-end";qn(e,t),Hn(),qn(e,n),Gn([e],(function(){Kn(e,n),Kn(e,o)})),requestAnimationFrame((function(){Kn(e,t),qn(e,o)}))},t.componentWillDisappear=function(e,t){var n="fade-leave";qn(e,n),qn(e,"fade-leave-active"),Gn([e],(function(){t()})),requestAnimationFrame((function(){qn(e,"fade-leave-end"),Kn(e,n)}))},t.doRemove=function(e,n){e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doRemoveSpecial=function(e){e.preventDefault();var n=t.state.items.filter((function(e){return e.isListItem})),o=n[parseInt(Math.round(Math.random()*(n.length-1)))].key,i=t.state.items.filter((function(e){return e.key!==o}));t.setState({items:i}),setTimeout((function(){var e=t.state.items.filter((function(e){return!e.isListItem})),n=parseInt(Math.round(Math.random()*(e.length-1))),o=0,i=t.state.items.filter((function(e){return e.isListItem||o++!==n}));t.setState({items:i})}),100)},t.doAdd=function(e){e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,isListItem:!0}),n.push({key:o+1}),t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Yn,e({key:n.key,index:o,animation:t.props.animation},Qn,{onClick:t.doRemove}),n.key+1+"bar"):Yt(zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.key+1+"bar")};for(var o=0,i=[];i.length<40;)i[i.length]={key:o++,isListItem:!0},i[i.length]={key:o++};return t.state={items:i},t}return t(o,n),o.prototype.render=function(){var e=this;return Yt("div",null,[Yt("article",null,this.state.items.map((function(t,n){return t.isListItem?e.renderItem(t,n):Yt("span",{className:"divider"})}))),Yt("h2",null,"Mixed list"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doRemoveSpecial},"Remove")])},o}(Qt),io=function(n){function o(){var t;return(t=n.call(this)||this).doRemove=function(e,n){e&&e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doAdd=function(e){e&&e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.doMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ro(n),t.setState({items:n})},t.doReassignKeys=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ro(n);var o=t.state.items.map((function(e,t){return Object.assign({},e,{key:n[t].key})}));t.setState({items:o})},t.doRemoveMix=function(e){if(e&&e.preventDefault(),0===t.state.items.length)return;var n=parseInt(Math.round(Math.random()*(t.state.items.length-1))),o=t.state.items[n].key,i=t.state.items.filter((function(e){return e.key!==o}));t.setState({items:i,deleted:o+1}),setTimeout((function(){return t.doMix(e)}),100)},t.removeAndShuffle=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)setTimeout((function(){var e=parseInt(Math.round(Math.random()*(t.state.items.length-1)));t.doRemove(void 0,e),t.doReassignKeys(),t.doMix()}))},t.doAdd20=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)t.doAdd();for(var o=0;o<5;o++)t.doReassignKeys(),t.doMix()},t.doAdd20SeqMix=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)t.doAdd();for(var o=0;o<5;o++)setTimeout((function(){t.doMix()}),500+100*o)},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Jn,e({key:n.key,index:o,animation:t.props.animation},Qn,{onClick:t.doRemove}),n.val+"bar ("+n.key+")"):Yt(Zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<20;)this.items[this.items.length]={key:e,val:e},e++;this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,"Shuffle"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doMix},"Shuffle"),Yt("button",{onClick:this.doReassignKeys},"Shuffle keys"),Yt("button",{onClick:this.doRemoveMix},"Remove"+(this.state.deleted?" ("+this.state.deleted+")":"")),Yt("button",{onClick:this.doAdd20},"Add and shuffle 20"),Yt("button",{onClick:this.doAdd20SeqMix},"Add 20 do 5 shuffle"),Yt("button",{onClick:this.removeAndShuffle},"Remove and shuffle 20")])},o}(Qt),ro=function(e){for(var t,n,o=e.length;0!==o;)n=Math.floor(Math.random()*o),t=e[o-=1],e[o]=e[n],e[n]=t;return e},ao=function(n){function o(){var t;return(t=n.call(this)||this).doRemove=function(e,n){e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doAdd=function(e){e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Jn,e({key:n.key,index:o,animation:t.props.animation},Qn,{onClick:t.doRemove}),n.val+"bar ("+n.key+")"):Yt(Zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){this.componentWillReceiveProps(this.props)},i.componentWillReceiveProps=function(e){for(var t=0;this.items.lengthe?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.doMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ro(n),console.log("Expected order: "+n.map((function(e){return"("+e.val+")"})).join(",")),t.setState({items:n}),setTimeout((function(){var e=document.querySelector("#App6 ul").textContent.match(/\(\d*\)/g);console.log("Actual order: "+e.join(","))}),100)},t.doDoubleMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ro(n),console.log("Expected order 1: "+n.map((function(e){return"("+e.val+")"})).join(",")),t.setState({items:n}),setTimeout((function(){var e=n.concat([]);ro(e),t.setState({items:e}),console.log("Expected order 2: "+e.map((function(e){return"("+e.val+")"})).join(","))}),1),setTimeout((function(){var e=document.querySelector("#App6 ul").textContent.match(/\(\d*\)/g);console.log("Actual order: "+e.join(","))}),100)},t.doMoveOne=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);n.push(n.shift()),t.setState({items:n})},t.doClearMarkers=function(e){e&&e.preventDefault(),document.querySelectorAll(".debugMarker").forEach((function(e){e.parentNode.removeChild(e)}))},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(to,e({key:n.key,index:o,animation:t.props.animation},Xn,{onClick:t.doMove}),n.val+"bar ("+n.key+")"):Yt(eo,{key:n.key,index:o,animation:t.props.animation,onClick:t.doMove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<5;)this.items[this.items.length]={key:e,val:e},e++;this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,"Shuffle w. Anim"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doMix},"Shuffle"),Yt("button",{onClick:this.doDoubleMix},"DoubleShuffle"),Yt("button",{onClick:this.doMoveOne},"Move 1"),Yt("button",{onClick:this.doRemoveMix},"Remove"+(this.state.deleted?" ("+this.state.deleted+")":"")),Yt("button",{onClick:this.doClearMarkers},"Clear debug markers")])},o}(Qt);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#App1"),t=document.querySelector("#App2"),n=document.querySelector("#App3"),o=document.querySelector("#App4"),i=document.querySelector("#App5"),r=document.querySelector("#App6"),a="?functional"===location.search;Ut(Yt(no,{useFunctionalComponent:a,animation:"HeightAndFade",description:"The children in this container animate opacity and height when added and removed. Click an item to remove it."}),e),Ut(Yt(no,{useFunctionalComponent:a,animation:"NoTranistionEvent",description:"The children in this container have a broken animation. This is detected by inferno-animation and the animation callback is called immediately. Click an item to remove it."}),t),Ut(Yt(oo,{useFunctionalComponent:a,animation:"HeightAndFade",description:"This container fades in and blocks the children from animating on first render. There is no animation on divider between elements. When you click [Remove] a random row and another random divder will be removed. Click an item to remove it (leaving the divider)."}),n),Ut(Yt(io,{useFunctionalComponent:a,animation:"HeightAndFade",description:"This container will shuffle keys or items. Click an item to remove it."}),o),document.querySelector("#Rerender > button").addEventListener("click",(function(e){e&&e.preventDefault(),Ut(Yt(ao,{useFunctionalComponent:a,animation:"HeightAndFade",items:5,description:"This container will be filled with 5 rows every time you click the button. Click an item to remove it."}),i)})),Ut(Yt(lo,{useFunctionalComponent:a,animation:"MoveAnim",description:"This container will animate items on shuffle. Click an item to randomly move it."}),r)}))}(); +!function(){"use strict";function e(){return e=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)continue;i[n]=e[n]}return i}var i=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function a(e){return void 0===e||null===e}function l(e){return null===e||!1===e||!0===e||void 0===e}function u(e){return"function"===typeof e}function s(e){return"string"===typeof e}function c(e){return null===e}function f(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var i in t)n[i]=t[i];return n}function d(e){return!c(e)&&"object"===typeof e}var p={},v="$F",h=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function m(e){return e.substring(2).toLowerCase()}function y(e,t){e.appendChild(t)}function g(e,t,n){c(n)?y(e,t):e.insertBefore(t,n)}function k(e,t){if(t)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function C(e,t,n){e.replaceChild(t,n)}function b(e,t){e.removeChild(t)}function A(e){for(var t=0;t0?M(n.componentWillDisappear,D(e,t)):w(e,t,!1)}function T(e,t,n,o,i,r,a,l){e.componentWillMove.push({dom:o,fn:function(){4&a?n.componentWillMove(t,i,o):8&a&&n.onComponentWillMove(t,i,o,l)},next:r,parent:i})}function F(e,t,n,o,i){var r,l,s=t.flags;do{var c=t.flags;if(1521&c)return void(a(r)||!u(r.componentWillMove)&&!u(r.onComponentWillMove)?g(n,t.dom,o):T(i,e,r,t.dom,n,o,s,l));var f=t.children;if(4&c)r=t.children,l=t.props,t=f.$LI;else if(8&c)r=t.ref,l=t.props,t=f;else if(8192&c){if(2!==t.childFlags){for(var d=0,p=f.length;d0,v=c(d),h=s(d)&&d[0]===O;p||v||h?(n=n||t.slice(0,u),(p||h)&&(f=X(f)),(v||h)&&(f.key=O+u),n.push(f)):n&&n.push(f),f.flags|=65536}}o=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=X(t)),o=2;return e.children=n,e.childFlags=o,e}function ee(e){if(l(e)||r(e))return H(e,null);if(i(e))return G(e,0,null);return 16384&e.flags?X(e):e}var te="http://www.w3.org/1999/xlink",ne="http://www.w3.org/XML/1998/namespace",oe={"xlink:actuate":te,"xlink:arcrole":te,"xlink:href":te,"xlink:role":te,"xlink:show":te,"xlink:title":te,"xlink:type":te,"xml:base":ne,"xml:lang":ne,"xml:space":ne};function ie(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 re=ie(0),ae=ie(null),le=ie(!0);function ue(e,t){var n=t.$EV;return n||(n=t.$EV=ie(null)),n[e]||1===++re[e]&&(ae[e]=ke(e)),n}function se(e,t){var n=t.$EV;n&&n[e]&&(0===--re[e]&&(document.removeEventListener(m(e),ae[e]),ae[e]=null),n[e]=null)}function ce(e,t,n,o){if(u(n))ue(e,o)[e]=n;else if(d(n)){if(L(t,n))return;ue(e,o)[e]=n}else se(e,o)}function fe(e){return u(e.composedPath)?e.composedPath()[0]:e.target}function de(e,t,n,o){var i=fe(e);do{if(t&&i.disabled)return;var r=i.$EV;if(r){var a=r[n];if(a&&(o.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!c(i))}function pe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ve(){return this.defaultPrevented}function he(){return this.cancelBubble}function me(e){var t={dom:document};return e.isDefaultPrevented=ve,e.isPropagationStopped=he,e.stopPropagation=pe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function ye(e){return function(t){if(0!==t.button)return void t.stopPropagation();de(t,!0,e,me(t))}}function ge(e){return function(t){de(t,!1,e,me(t))}}function ke(e){var t="onClick"===e||"onDblClick"===e?ye(e):ge(e);return document.addEventListener(m(e),t),t}function Ce(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}function be(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var i=t.toLowerCase();e[i]&&e[i](n)}}function Ae(e,t){var n=function(n){var o=this.$V;if(!o)return;var i=o.props||p,r=o.dom;if(s(e))be(i,e,n);else for(var a=0;a-1&&t.options[r]&&(l=t.options[r].value),n&&a(l)&&(l=e.defaultValue),Te(o,l)}}var Ee,Le,We=Ae("onInput",Ue),Ve=Ae("onChange");function Oe(e,t){Se(e,"input",We),t.onChange&&Se(e,"change",Ve)}function Ue(e,t,n){var o=e.value,i=t.value;if(a(o)){if(n){var r=e.defaultValue;a(r)||r===i||(t.defaultValue=r,t.value=r)}}else i!==o&&(t.defaultValue=o,t.value=o)}function je(e,t,n,o,i,r){64&e?Ie(o,n):256&e?Ne(o,n,i,t):128&e&&Ue(o,n,i),r&&(n.$V=t)}function _e(e,t,n){64&e?De(t,n):256&e?Re(t):128&e&&Oe(t,n)}function Be(e){return e.type&&xe(e.type)?!a(e.checked):!a(e.value)}function qe(e){e&&!V(e,null)&&e.current&&(e.current=null)}function Ke(e,t,n){e&&(u(e)||void 0!==e.current)&&n.push((function(){V(e,t)||void 0===e.current||(e.current=t)}))}function He(e,t,n){Ge(e,n),I(e,t,n)}function Ge(e,t){var n,o=e.flags,i=e.children;if(481&o){n=e.ref;var r=e.props;qe(n);var l=e.childFlags;if(!c(r))for(var s=Object.keys(r),f=0,d=s.length;f0?M(n.componentWillDisappear,Xe(t,e)):e.textContent=""}function ze(e,t,n,o){Qe(n,o),8192&t.flags?I(t,e,o):Ze(e,n,o)}function Je(e,t,n,o,i){e.componentWillDisappear.push((function(e){4&o?t.componentWillDisappear(n,e):8&o&&t.onComponentWillDisappear(n,i,e)}))}function Ye(e){var t=e.event;return function(n){t(e.data,n)}}function et(e,t,n,o){if(d(n)){if(L(t,n))return;n=Ye(n)}Se(o,m(e),n)}function tt(e,t,n){if(a(t))return void n.removeAttribute("style");var o,i,r=n.style;if(s(t))return void(r.cssText=t);if(a(e)||s(e))for(o in t)i=t[o],r.setProperty(o,i);else{for(o in t)(i=t[o])!==e[o]&&r.setProperty(o,i);for(o in e)a(t[o])&&r.removeProperty(o)}}function nt(e,t,n,o,i){var r=e&&e.__html||"",l=t&&t.__html||"";r!==l&&(a(l)||Ce(o,l)||(c(n)||(12&n.childFlags?Qe(n.children,i):2===n.childFlags&&Ge(n.children,i),n.children=null,n.childFlags=1),o.innerHTML=l))}function ot(e,t,n,o,i,r,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.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":o[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var s=a(n)?"":n;o[e]!==s&&(o[e]=s);break;case"style":tt(t,n,o);break;case"dangerouslySetInnerHTML":nt(t,n,l,o,u);break;default:le[e]?ce(e,t,n,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?et(e,t,n,o):a(n)?o.removeAttribute(e):i&&oe[e]?o.setAttributeNS(oe[e],e,n):o.setAttribute(e,n)}}function it(e,t,n,o,i,r){var a=!1,l=(448&t)>0;for(var u in l&&(a=Be(n))&&_e(t,o,n),n)ot(u,null,n[u],o,i,a,null,r);l&&je(t,e,o,n,!0,a)}function rt(e,t,n){var o=ee(e.render(t,e.state,n)),i=n;return u(e.getChildContext)&&(i=f(n,e.getChildContext())),e.$CX=i,o}function at(e,t,n,o,i,r){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=r,e.children=a,a.$BS=!1,a.context=o,a.props===p&&(a.props=n),l)a.state=P(a,n,a.state);else if(u(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!c(s)){var f=a.state;if(c(f))a.state=s;else for(var d in s)f[d]=s[d];a.$PS=null}a.$BR=!1}return a.$LI=rt(a,n,o),a}function lt(e,t){var n=e.props||p;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function ut(e,t,n,o,i,r,a){var l=e.flags|=16384;481&l?dt(e,t,n,o,i,r,a):4&l?vt(e,t,n,o,i,r,a):8&l?ht(e,t,n,o,i,r,a):16&l?ft(e,t,i):8192&l?ct(e,n,t,o,i,r,a):1024&l&&st(e,n,t,i,r,a)}function st(e,t,n,o,i,r){ut(e.children,e.ref,t,!1,null,i,r);var a=Z();ft(a,n,o),e.dom=a.dom}function ct(e,t,n,o,i,r,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=Z()),2===u?ut(l,n,t,o,i,r,a):pt(l,n,t,o,i,r,a)}function ft(e,t,n){var o=e.dom=document.createTextNode(e.children);c(t)||g(t,o,n)}function dt(e,t,n,o,i,r,l){var u=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=k(e.type,o=o||(32&u)>0),v=e.children;if(a(f)||""===f||(o?p.setAttribute("class",f):p.className=f),16===d)E(p,v);else if(1!==d){var h=o&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=X(v)),ut(v,p,n,h,null,r,l)):8!==d&&4!==d||pt(v,p,n,h,null,r,l)}c(t)||g(t,p,i),c(s)||it(e,u,s,p,o,l),Ke(e.ref,p,r)}function pt(e,t,n,o,i,r,a){for(var l=0;lp)&&(f=x(l[p-1],!1).nextSibling)}It(s,c,l,u,n,o,i,f,e,r,a)}function $t(e,t,n,o,i){var r=e.ref,a=t.ref,u=t.children;if(It(e.childFlags,t.childFlags,e.children,u,r,n,!1,null,e,o,i),t.dom=e.dom,r!==a&&!l(u)){var s=u.dom;b(r,s),y(a,s)}}function wt(e,t,n,o,i,r,l){var u,s=t.dom=e.dom,c=e.props,f=t.props,d=!1,v=!1;if(o=o||(32&i)>0,c!==f){var h=c||p;if((u=f||p)!==p)for(var m in(d=(448&i)>0)&&(v=Be(u)),u){var y=h[m],g=u[m];y!==g&&ot(m,y,g,s,o,v,e,l)}if(h!==p)for(var k in h)a(u[k])&&!a(h[k])&&ot(k,h[k],null,s,o,v,e,l)}var C=t.children,b=t.className;e.className!==b&&(a(b)?s.removeAttribute("class"):o?s.setAttribute("class",b):s.className=b),4096&i?xt(s,C):It(e.childFlags,t.childFlags,e.children,C,s,n,o&&"foreignObject"!==t.type,null,e,r,l),d&&je(i,t,s,u,!1,v);var A=t.ref,S=e.ref;S!==A&&(qe(S),Ke(A,s,r))}function Dt(e,t,n,o,i,r,a){Ge(e,a),pt(t,n,o,i,x(e,!0),r,a),I(e,n,a)}function It(e,t,n,o,i,r,a,l,u,s,c){switch(e){case 2:switch(t){case 2:At(n,o,i,r,a,l,s,c);break;case 1:He(n,i,c);break;case 16:Ge(n,c),E(i,o);break;default:Dt(n,o,i,r,a,s,c)}break;case 1:switch(t){case 2:ut(o,i,r,a,l,s,c);break;case 1:break;case 16:E(i,o);break;default:pt(o,i,r,a,l,s,c)}break;case 16:switch(t){case 16:St(n,o,i);break;case 2:Ze(i,n,c),ut(o,i,r,a,l,s,c);break;case 1:Ze(i,n,c);break;default:Ze(i,n,c),pt(o,i,r,a,l,s,c)}break;default:switch(t){case 16:Qe(n,c),E(i,o);break;case 2:ze(i,u,n,c),ut(o,i,r,a,l,s,c);break;case 1:ze(i,u,n,c);break;default:var f=0|n.length,d=0|o.length;0===f?d>0&&pt(o,i,r,a,l,s,c):0===d?ze(i,u,n,c):8===t&&8===e?Lt(n,o,i,r,a,f,d,l,u,s,c):Et(n,o,i,r,a,f,d,l,s,c)}}}function Tt(e,t,n,o,i){i.push((function(){e.componentDidUpdate(t,n,o)}))}function Ft(e,t,n,o,i,r,a,l,s,c){var d=e.state,p=e.props,v=Boolean(e.$N),h=u(e.shouldComponentUpdate);if(v&&(t=P(e,n,t!==d?f(d,t):t)),a||!h||h&&e.shouldComponentUpdate(n,t,i)){!v&&u(e.componentWillUpdate)&&e.componentWillUpdate(n,t,i),e.props=n,e.state=t,e.context=i;var m=null,y=rt(e,n,i);v&&u(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),At(e.$LI,y,o,e.$CX,r,l,s,c),e.$LI=y,u(e.componentDidUpdate)&&Tt(e,p,d,m,s)}else e.props=n,e.state=t,e.context=i}function Pt(e,t,n,o,i,r,a,l){var s=t.children=e.children;if(c(s))return;s.$L=a;var d=t.props||p,v=t.ref,h=e.ref,m=s.state;if(!s.$N){if(u(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(d,o),s.$UN)return;s.$BR=!1}c(s.$PS)||(m=f(m,s.$PS),s.$PS=null)}Ft(s,m,d,n,o,i,!1,r,a,l),h!==v&&(qe(h),Ke(v,s,a))}function Rt(e,t,n,o,i,r,l,s){var c=!0,f=t.props||p,d=t.ref,v=e.props,h=!a(d),m=e.children;if(h&&u(d.onComponentShouldUpdate)&&(c=d.onComponentShouldUpdate(v,f)),!1!==c){h&&u(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,f);var y=ee(lt(t,o));At(m,y,n,o,i,r,l,s),t.children=y,h&&u(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,f)}else t.children=m}function Nt(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}function Et(e,t,n,o,i,r,a,l,u,s){for(var c,f,d=r>a?a:r,p=0;pa)for(p=d;pp||h>v)break e;m=e[h],y=t[h]}for(m=e[p],y=t[v];m.key===y.key;){if(16384&y.flags&&(t[v]=y=X(y)),At(m,y,n,o,i,l,s,c),e[p]=y,v--,h>--p||h>v)break e;m=e[p],y=t[v]}}if(h>p){if(h<=v)for(d=(f=v+1)v)for(;h<=p;)He(e[h++],n,c);else Wt(e,t,o,r,a,p,v,h,n,i,l,u,s,c)}function Wt(e,t,n,o,i,r,a,l,u,s,c,f,d,p){var v,h,m=0,y=0,g=l,k=l,C=r-l+1,b=a-l+1,A=new Int32Array(b+1),S=C===o,M=!1,w=0,D=0;if(i<4||(C|b)<32)for(y=g;y<=r;++y)if(v=e[y],Dl?M=!0:w=l,16384&h.flags&&(t[l]=h=X(h)),At(v,h,u,n,s,c,d,p),++D;break}!S&&l>a&&He(v,u,p)}else S||He(v,u,p);else{var I={};for(y=k;y<=a;++y)I[t[y].key]=y;for(y=g;y<=r;++y)if(v=e[y],Dg;)He(e[g++],u,p);A[l-k]=y+1,w>l?M=!0:w=l,16384&(h=t[l]).flags&&(t[l]=h=X(h)),At(v,h,u,n,s,c,d,p),++D}else S||He(v,u,p);else S||He(v,u,p)}if(S)ze(u,f,e,p),pt(t,u,n,s,c,d,p);else if(M){var T=Ot(A);for(l=T.length-1,y=b-1;y>=0;y--)0===A[y]?(16384&(h=t[w=y+k]).flags&&(t[w]=h=X(h)),ut(h,u,n,s,(m=w+1)0&&$(p.componentWillMove)}else if(D!==b)for(y=b-1;y>=0;y--)0===A[y]&&(16384&(h=t[w=y+k]).flags&&(t[w]=h=X(h)),ut(h,u,n,s,(m=w+1)Vt&&(Vt=u,Ee=new Int32Array(u),Le=new Int32Array(u));n>1]]0&&(Le[n]=Ee[r-1]),Ee[r]=n)}r=i+1;var s=new Int32Array(r);for(a=Ee[r-1];r-- >0;)s[r]=a,a=Le[a],Ee[r]=0;return s}function Ut(e,t,n,o){var i=[],r=new h,l=t.$V;R.v=!0,a(l)?a(e)||(16384&e.flags&&(e=X(e)),ut(e,t,o,!1,null,i,r),t.$V=e,l=e):a(e)?(He(l,t,r),t.$V=null):(16384&e.flags&&(e=X(e)),At(l,e,t,o,!1,null,i,r),l=t.$V=e),A(i),M(r.componentDidAppear),R.v=!1,u(n)&&n(),u(N.renderComplete)&&N.renderComplete(l,t)}function jt(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=p),Ut(e,t,n,o)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var _t=[],Bt="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},qt=!1;function Kt(e,t,n,o){var i=e.$PS;if(u(t)&&(t=t(i?f(e.state,i):e.state,e.props,e.context)),a(i))e.$PS=t;else for(var r in t)i[r]=t[r];if(e.$BR)u(n)&&e.$L.push(n.bind(e));else{if(!R.v&&0===_t.length)return Qt(e,o),void(u(n)&&n.call(e));if(-1===_t.indexOf(e)&&_t.push(e),o&&(e.$F=!0),qt||(qt=!0,Bt(Gt)),u(n)){var l=e.$QU;l||(l=e.$QU=[]),l.push(n)}}}function Ht(e){for(var t=e.$QU,n=0;n1)for(o=[];s-- >0;)o[s]=arguments[s+2];if("string"!==typeof e){if(u=2,zt(o)||(t||(t={}),t.children=o),!Zt(t))for(var c in i={},t)"key"===c?a=t.key:"ref"===c?r=t.ref:1===Jt[c]?(r||(r={}),r[c]=t[c]):i[c]=t[c];return K(u,e,i,a,r)}if(u=J(e),!Zt(t))for(var f in i={},t)"className"===f||"class"===f?l=t[f]:"key"===f?a=t.key:"children"===f&&zt(o)?o=t.children:"ref"===f?r=t.ref:("contenteditable"===f&&(u|=4096),i[f]=t[f]);if(8192&u)return G(1===s?[o]:o,0,a);return j(u,e,l,o,0,i,a,r)}function en(e){return void 0===e||null===e}function tn(e){return""!==e}function nn(e){return e.split(" ").filter(tn)}function on(e,t){for(var n=nn(t),o=0;o=0&&t--}}for(var d=0,p=0;pd&&(d=m)}t+=a.length,d>n&&(n=d)}return{maxDuration:n,nrofTransitions:t}}var hn,mn=function(){if("undefined"===typeof document)return"";var e=document.createElement("div").style,t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(void 0!==e[n])return t[n]}();function yn(e,t,n){"IMG"!==t.nodeName||t.complete?setTimeout((function(){return e({target:t,timeout:!0})}),0===n?0:Math.round(1e3*n)+100):t.addEventListener("load",(function(){setTimeout((function(){return e({target:t,timeout:!0})}),0===n?0:Math.round(1e3*n)+100)}))}function gn(e,t){var n=e[0],o=vn(e),i=o.maxDuration,r=o.nrofTransitions,a=!1,l=function o(i){if(!i||a)return;if(!i.timeout){for(var l=!1,u=0;u0)return}a=!0,n.removeEventListener(mn,o,!1),"function"===typeof t&&t()};n.addEventListener(mn,l,!1),yn(l,n,i)}!function(e){e[e.INITIALIZE=0]="INITIALIZE",e[e.MEASURE=1]="MEASURE",e[e.SET_START_STATE=2]="SET_START_STATE",e[e.ACTIVATE_TRANSITIONS=3]="ACTIVATE_TRANSITIONS",e[e.REGISTER_LISTENERS=4]="REGISTER_LISTENERS",e[e.ACTIVATE_ANIMATION=5]="ACTIVATE_ANIMATION",e[e.length=6]="length"}(hn||(hn={}));var kn={};function Cn(){var e=!1;for(var t in kn)--kn[t].ticks<0?delete kn[t]:e=!0;e&&requestAnimationFrame(Cn)}var bn=[],An=[],Sn=0,xn=Sn,Mn=Sn;function $n(){Mn=Sn;var e=An;An=[];for(var t=0;t=20?n.length-20:0,n.length>=20?20:n.length),t.setState({items:n})},t.doAdd20=function(e){e.preventDefault();for(var n=t.state.items.concat([]),o=0===n.length?0:n[n.length-1].key+1,i=0;i<20;i++)n.push({key:o+i});t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Yn,e({key:n.key,index:o,animation:t.props.animation},Xn,{onClick:t.doRemove}),n.key+1+"bar"):Yt(zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.key+1+"bar")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<20;)this.items[this.items.length]={key:e++};this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,this.props.animation),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doAdd20},"Add 20"),Yt("button",{onClick:this.doRemove20},"Remove 20")])},o}(Xt),io=function(n){function o(){var t;(t=n.call(this)||this).componentDidAppear=function(e){var t="fade-enter",n="fade-enter-active",o="fade-enter-end";Kn(e,t),Gn(),Kn(e,n),Qn([e],(function(){Hn(e,n),Hn(e,o)})),requestAnimationFrame((function(){Hn(e,t),Kn(e,o)}))},t.componentWillDisappear=function(e,t){var n="fade-leave";Kn(e,n),Kn(e,"fade-leave-active"),Qn([e],(function(){t()})),requestAnimationFrame((function(){Kn(e,"fade-leave-end"),Hn(e,n)}))},t.doRemove=function(e,n){e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doRemoveSpecial=function(e){e.preventDefault();var n=t.state.items.filter((function(e){return e.isListItem})),o=n[parseInt(Math.round(Math.random()*(n.length-1)))].key,i=t.state.items.filter((function(e){return e.key!==o}));t.setState({items:i}),setTimeout((function(){var e=t.state.items.filter((function(e){return!e.isListItem})),n=parseInt(Math.round(Math.random()*(e.length-1))),o=0,i=t.state.items.filter((function(e){return e.isListItem||o++!==n}));t.setState({items:i})}),100)},t.doAdd=function(e){e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,isListItem:!0}),n.push({key:o+1}),t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(eo,e({key:n.key,index:o,animation:t.props.animation},Xn,{onClick:t.doRemove}),n.key+1+"bar"):Yt(Jn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.key+1+"bar")};for(var o=0,i=[];i.length<40;)i[i.length]={key:o++,isListItem:!0},i[i.length]={key:o++};return t.state={items:i},t}return t(o,n),o.prototype.render=function(){var e=this;return Yt("div",null,[Yt("article",null,this.state.items.map((function(t,n){return t.isListItem?e.renderItem(t,n):Yt("span",{className:"divider"})}))),Yt("h2",null,"Mixed list"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doRemoveSpecial},"Remove")])},o}(Xt),ro=function(n){function o(){var t;return(t=n.call(this)||this).doRemove=function(e,n){e&&e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doAdd=function(e){e&&e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.doMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ao(n),t.setState({items:n})},t.doReassignKeys=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ao(n);var o=t.state.items.map((function(e,t){return Object.assign({},e,{key:n[t].key})}));t.setState({items:o})},t.doRemoveMix=function(e){if(e&&e.preventDefault(),0===t.state.items.length)return;var n=parseInt(Math.round(Math.random()*(t.state.items.length-1))),o=t.state.items[n].key,i=t.state.items.filter((function(e){return e.key!==o}));t.setState({items:i,deleted:o+1}),setTimeout((function(){return t.doMix(e)}),100)},t.removeAndShuffle=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)setTimeout((function(){var e=parseInt(Math.round(Math.random()*(t.state.items.length-1)));t.doRemove(void 0,e),t.doReassignKeys(),t.doMix()}))},t.doAdd20=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)t.doAdd();for(var o=0;o<5;o++)t.doReassignKeys(),t.doMix()},t.doAdd20SeqMix=function(e){e&&e.preventDefault();for(var n=0;n<20;n++)t.doAdd();for(var o=0;o<5;o++)setTimeout((function(){t.doMix()}),500+100*o)},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Yn,e({key:n.key,index:o,animation:t.props.animation},Xn,{onClick:t.doRemove}),n.val+"bar ("+n.key+")"):Yt(zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<20;)this.items[this.items.length]={key:e,val:e},e++;this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,"Shuffle"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doMix},"Shuffle"),Yt("button",{onClick:this.doReassignKeys},"Shuffle keys"),Yt("button",{onClick:this.doRemoveMix},"Remove"+(this.state.deleted?" ("+this.state.deleted+")":"")),Yt("button",{onClick:this.doAdd20},"Add and shuffle 20"),Yt("button",{onClick:this.doAdd20SeqMix},"Add 20 do 5 shuffle"),Yt("button",{onClick:this.removeAndShuffle},"Remove and shuffle 20")])},o}(Xt),ao=function(e){for(var t,n,o=e.length;0!==o;)n=Math.floor(Math.random()*o),t=e[o-=1],e[o]=e[n],e[n]=t;return e},lo=function(n){function o(){var t;return(t=n.call(this)||this).doRemove=function(e,n){e.preventDefault();var o=t.state.items.concat([]);o.splice(n,1),t.setState({items:o})},t.doAdd=function(e){e.preventDefault();var n=t.state.items.concat([]),o=n.reduce((function(e,t){return t.key>e?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(Yn,e({key:n.key,index:o,animation:t.props.animation},Xn,{onClick:t.doRemove}),n.val+"bar ("+n.key+")"):Yt(zn,{key:n.key,index:o,animation:t.props.animation,onClick:t.doRemove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){this.componentWillReceiveProps(this.props)},i.componentWillReceiveProps=function(e){for(var t=0;this.items.lengthe?t.key:e}),0)+1;n.push({key:o,val:o}),t.setState({items:n})},t.doMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ao(n),console.log("Expected order: "+n.map((function(e){return"("+e.val+")"})).join(",")),t.setState({items:n}),setTimeout((function(){var e=document.querySelector("#App6 ul").textContent.match(/\(\d*\)/g);console.log("Actual order: "+e.join(","))}),100)},t.doDoubleMix=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);ao(n),console.log("Expected order 1: "+n.map((function(e){return"("+e.val+")"})).join(",")),t.setState({items:n}),setTimeout((function(){var e=n.concat([]);ao(e),t.setState({items:e}),console.log("Expected order 2: "+e.map((function(e){return"("+e.val+")"})).join(","))}),1),setTimeout((function(){var e=document.querySelector("#App6 ul").textContent.match(/\(\d*\)/g);console.log("Actual order: "+e.join(","))}),100)},t.doMoveOne=function(e){e&&e.preventDefault();var n=t.state.items.concat([]);n.push(n.shift()),t.setState({items:n})},t.doClearMarkers=function(e){e&&e.preventDefault(),document.querySelectorAll(".debugMarker").forEach((function(e){e.parentNode.removeChild(e)}))},t.renderItem=function(n,o){return t.props.useFunctionalComponent?Yt(no,e({key:n.key,index:o,animation:t.props.animation},Zn,{onClick:t.doMove}),n.val+"bar ("+n.key+")"):Yt(to,{key:n.key,index:o,animation:t.props.animation,onClick:t.doMove},n.val+"bar ("+n.key+")")},t.state={items:[]},t.items=[],t}t(o,n);var i=o.prototype;return i.componentDidMount=function(){for(var e=0;this.items.length<5;)this.items[this.items.length]={key:e,val:e},e++;this.setState({items:this.items})},i.render=function(){return Yt("div",null,[Yt("ul",null,this.state.items.map(this.renderItem)),Yt("h2",null,"Shuffle w. Anim"),Yt("p",null,this.props.description),Yt("button",{onClick:this.doAdd},"Add"),Yt("button",{onClick:this.doMix},"Shuffle"),Yt("button",{onClick:this.doDoubleMix},"DoubleShuffle"),Yt("button",{onClick:this.doMoveOne},"Move 1"),Yt("button",{onClick:this.doRemoveMix},"Remove"+(this.state.deleted?" ("+this.state.deleted+")":"")),Yt("button",{onClick:this.doClearMarkers},"Clear debug markers")])},o}(Xt);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#App1"),t=document.querySelector("#App2"),n=document.querySelector("#App3"),o=document.querySelector("#App4"),i=document.querySelector("#App5"),r=document.querySelector("#App6"),a="?functional"===location.search;jt(Yt(oo,{useFunctionalComponent:a,animation:"HeightAndFade",description:"The children in this container animate opacity and height when added and removed. Click an item to remove it."}),e),jt(Yt(oo,{useFunctionalComponent:a,animation:"NoTranistionEvent",description:"The children in this container have a broken animation. This is detected by inferno-animation and the animation callback is called immediately. Click an item to remove it."}),t),jt(Yt(io,{useFunctionalComponent:a,animation:"HeightAndFade",description:"This container fades in and blocks the children from animating on first render. There is no animation on divider between elements. When you click [Remove] a random row and another random divder will be removed. Click an item to remove it (leaving the divider)."}),n),jt(Yt(ro,{useFunctionalComponent:a,animation:"HeightAndFade",description:"This container will shuffle keys or items. Click an item to remove it."}),o),document.querySelector("#Rerender > button").addEventListener("click",(function(e){e&&e.preventDefault(),jt(Yt(lo,{useFunctionalComponent:a,animation:"HeightAndFade",items:5,description:"This container will be filled with 5 rows every time you click the button. Click an item to remove it."}),i)})),jt(Yt(uo,{useFunctionalComponent:a,animation:"MoveAnim",description:"This container will animate items on shuffle. Click an item to randomly move it."}),r)}))}(); diff --git a/docs/async-render/dist/bundle.js b/docs/async-render/dist/bundle.js index d7f6413d2..0054f8181 100644 --- a/docs/async-render/dist/bundle.js +++ b/docs/async-render/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function o(e){return void 0===e||null===e}function i(e){return null===e||!1===e||!0===e||void 0===e}function l(e){return"function"===typeof e}function a(e){return"string"===typeof e}function u(e){return null===e}function c(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 f(e){return!u(e)&&"object"===typeof e}var s={},p=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function d(e){return e.substring(2).toLowerCase()}function v(e,n){e.appendChild(n)}function h(e,n,t){u(t)?v(e,n):e.insertBefore(n,t)}function m(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function g(e,n,t){e.replaceChild(n,t)}function y(e,n){e.removeChild(n)}function $(e){for(var n=0;n0?C(t.componentWillDisappear,P(e,n)):D(e,n,!1)}function S(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function U(e,n,t,r,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(o(a)||!l(a.componentWillMove)&&!l(a.onComponentWillMove)?h(t,n.dom,r):S(i,e,a,n.dom,t,r,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var p=0,d=s.length;p0,v=u(p),h=a(p)&&p[0]===I;d||v||h?(o=o||n.slice(0,f),(d||h)&&(s=X(s)),(v||h)&&(s.key=I+f),o.push(s)):o&&o.push(s),s.flags|=65536}}l=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=X(n)),l=2;return e.children=o,e.childFlags=l,e}function J(e){if(i(e)||r(e))return _(e,null);if(t(e))return H(e,0,null);return 16384&e.flags?X(e):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),oe=ne(!0);function ie(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=me(e)),t}function le(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(d(e),re[e]),re[e]=null),t[e]=null)}function ae(e,n,t,r){if(l(t))ie(e,r)[e]=t;else if(f(t)){if(N(n,t))return;ie(e,r)[e]=t}else le(e,r)}function ue(e){return l(e.composedPath)?e.composedPath()[0]:e.target}function ce(e,n,t,r){var o=ue(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var l=i[t];if(l&&(r.dom=o,l.event?l.event(l.data,e):l(e),e.cancelBubble))return}o=o.parentNode}while(!u(o))}function fe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function pe(){return this.cancelBubble}function de(e){var n={dom:document};return e.isDefaultPrevented=se,e.isPropagationStopped=pe,e.stopPropagation=fe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ve(e){return function(n){if(0!==n.button)return void n.stopPropagation();ce(n,!0,e,de(n))}}function he(e){return function(n){ce(n,!1,e,de(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?ve(e):he(e);return document.addEventListener(d(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(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 $e(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||s,i=r.dom;if(a(e))ye(o,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),t&&o(a)&&(a=e.defaultValue),Se(r,a)}}var Me,Ne,Ae=$e("onInput",Be),Ve=$e("onChange");function Ie(e,n){ke(e,"input",Ae),n.onChange&&ke(e,"change",Ve)}function Be(e,n,t){var r=e.value,i=n.value;if(o(r)){if(t){var l=e.defaultValue;o(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==r&&(n.defaultValue=r,n.value=r)}function Oe(e,n,t,r,o,i){64&e?Fe(r,t):256&e?Le(r,t,o,n):128&e&&Be(r,t,o),i&&(t.$V=n)}function Te(e,n,t){64&e?Pe(n,t):256&e?We(n):128&e&&Ie(n,t)}function Ee(e){return e.type&&be(e.type)?!o(e.checked):!o(e.value)}function Re(e){e&&!V(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push((function(){V(e,n)||void 0===e.current||(e.current=n)}))}function _e(e,n,t){He(e,t),F(e,n,t)}function He(e,n){var t,r=e.flags,i=e.children;if(481&r){t=e.ref;var a=e.props;Re(t);var c=e.childFlags;if(!u(a))for(var f=Object.keys(a),d=0,v=f.length;d0?C(t.componentWillDisappear,Xe(n,e)):e.textContent=""}function Ke(e,n,t,r){Qe(t,r),8192&n.flags?F(n,e,r):Ge(e,t,r)}function qe(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function ze(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(f(t)){if(N(n,t))return;t=ze(t)}ke(r,d(e),t)}function Ye(e,n,t){if(o(n))return void t.removeAttribute("style");var r,i,l=t.style;if(a(n))return void(l.cssText=n);if(o(e)||a(e))for(r in n)i=n[r],l.setProperty(r,i);else{for(r in n)(i=n[r])!==e[r]&&l.setProperty(r,i);for(r in e)o(n[r])&&l.removeProperty(r)}}function Ze(e,n,t,r,i){var l=e&&e.__html||"",a=n&&n.__html||"";l!==a&&(o(a)||ge(r,a)||(u(t)||(12&t.childFlags?Qe(t.children,i):2===t.childFlags&&He(t.children,i),t.children=null,t.childFlags=1),r.innerHTML=a))}function en(e,n,t,r,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=o(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":Ye(n,t,r);break;case"dangerouslySetInnerHTML":Ze(n,t,a,r,u);break;default:oe[e]?ae(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,t,r):o(t)?r.removeAttribute(e):i&&ee[e]?r.setAttributeNS(ee[e],e,t):r.setAttribute(e,t)}}function nn(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=Ee(t))&&Te(n,r,t),t)en(u,null,t[u],r,o,l,null,i);a&&Oe(n,e,r,t,!0,l)}function tn(e,n,t){var r=J(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=c(t,e.getChildContext())),e.$CX=o,r}function rn(e,n,t,r,o,i){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=i,e.children=a,a.$BS=!1,a.context=r,a.props===s&&(a.props=t),c)a.state=x(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var f=a.$PS;if(!u(f)){var p=a.state;if(u(p))a.state=f;else for(var d in f)p[d]=f[d];a.$PS=null}a.$BR=!1}return a.$LI=tn(a,t,r),a}function on(e,n){var t=e.props||s;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function ln(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?fn(e,n,t,r,o,i,l):4&a?pn(e,n,t,r,o,i,l):8&a?dn(e,n,t,r,o,i,l):16&a?cn(e,n,o):8192&a?un(e,t,n,r,o,i,l):1024&a&&an(e,t,n,o,i,l)}function an(e,n,t,r,o,i){ln(e.children,e.ref,n,!1,null,o,i);var l=G();cn(l,t,r),e.dom=l.dom}function un(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=G()),2===u?ln(a,t,n,r,o,i,l):sn(a,t,n,r,o,i,l)}function cn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||h(n,r,t)}function fn(e,n,t,r,i,l,a){var c=e.flags,f=e.props,s=e.className,p=e.childFlags,d=e.dom=m(e.type,r=r||(32&c)>0),v=e.children;if(o(s)||""===s||(r?d.setAttribute("class",s):d.className=s),16===p)M(d,v);else if(1!==p){var g=r&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=X(v)),ln(v,d,t,g,null,l,a)):8!==p&&4!==p||sn(v,d,t,g,null,l,a)}u(n)||h(n,d,i),u(f)||nn(e,c,f,d,r,a),je(e.ref,d,l)}function sn(e,n,t,r,o,i,l){for(var a=0;ad)&&(s=b(a[d-1],!1).nextSibling)}Sn(c,f,a,u,t,r,o,s,e,i,l)}function Dn(e,n,t,r,o){var l=e.ref,a=n.ref,u=n.children;if(Sn(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,r,o),n.dom=e.dom,l!==a&&!i(u)){var c=u.dom;y(l,c),v(a,c)}}function Pn(e,n,t,r,i,l,a){var u,c=n.dom=e.dom,f=e.props,p=n.props,d=!1,v=!1;if(r=r||(32&i)>0,f!==p){var h=f||s;if((u=p||s)!==s)for(var m in(d=(448&i)>0)&&(v=Ee(u)),u){var g=h[m],y=u[m];g!==y&&en(m,g,y,c,r,v,e,a)}if(h!==s)for(var $ in h)o(u[$])&&!o(h[$])&&en($,h[$],null,c,r,v,e,a)}var k=n.children,b=n.className;e.className!==b&&(o(b)?c.removeAttribute("class"):r?c.setAttribute("class",b):c.className=b),4096&i?Cn(c,k):Sn(e.childFlags,n.childFlags,e.children,k,c,t,r&&"foreignObject"!==n.type,null,e,l,a),d&&Oe(i,n,c,u,!1,v);var C=n.ref,w=e.ref;w!==C&&(Re(w),je(C,c,l))}function Fn(e,n,t,r,o,i,l){He(e,l),sn(n,t,r,o,b(e,!0),i,l),F(e,t,l)}function Sn(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:kn(t,r,o,i,l,a,c,f);break;case 1:_e(t,o,f);break;case 16:He(t,f),M(o,r);break;default:Fn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:ln(r,o,i,l,a,c,f);break;case 1:break;case 16:M(o,r);break;default:sn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:bn(t,r,o);break;case 2:Ge(o,t,f),ln(r,o,i,l,a,c,f);break;case 1:Ge(o,t,f);break;default:Ge(o,t,f),sn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:Qe(t,f),M(o,r);break;case 2:Ke(o,u,t,f),ln(r,o,i,l,a,c,f);break;case 1:Ke(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&sn(r,o,i,l,a,c,f):0===p?Ke(o,u,t,f):8===n&&8===e?An(t,r,o,i,l,s,p,a,u,c,f):Nn(t,r,o,i,l,s,p,a,c,f)}}}function Un(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,o,i,a,u,f,s){var p=e.state,d=e.props,v=Boolean(e.$N),h=l(e.shouldComponentUpdate);if(v&&(n=x(e,t,n!==p?c(p,n):n)),a||!h||h&&e.shouldComponentUpdate(t,n,o)){!v&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=tn(e,t,o);v&&l(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),kn(e.$LI,g,r,e.$CX,i,u,f,s),e.$LI=g,l(e.componentDidUpdate)&&Un(e,d,p,m,f)}else e.props=t,e.state=n,e.context=o}function Wn(e,n,t,r,o,i,a,f){var p=n.children=e.children;if(u(p))return;p.$L=a;var d=n.props||s,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(l(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}u(p.$PS)||(m=c(m,p.$PS),p.$PS=null)}xn(p,m,d,t,r,o,!1,i,a,f),h!==v&&(Re(h),je(v,p,a))}function Ln(e,n,t,r,i,a,u,c){var f=!0,p=n.props||s,d=n.ref,v=e.props,h=!o(d),m=e.children;if(h&&l(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(v,p)),!1!==f){h&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=J(on(n,r));kn(m,g,t,r,i,a,u,c),n.children=g,h&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function Mn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Nn(e,n,t,r,o,i,l,a,u,c){for(var f,s,p=i>l?l:i,d=0;dl)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),kn(m,g,t,r,o,a,c,f),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)_e(e[h++],t,f);else Vn(e,n,r,i,l,d,v,h,t,o,a,u,c,f)}function Vn(e,n,t,r,o,i,l,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,$=a,k=i-a+1,C=l-a+1,D=new Int32Array(C+1),P=k===r,F=!1,S=0,x=0;if(o<4||(k|C)<32)for(g=y;g<=i;++g)if(v=e[g],xa?F=!0:S=a,16384&h.flags&&(n[a]=h=X(h)),kn(v,h,u,t,c,f,p,d),++x;break}!P&&a>l&&_e(v,u,d)}else P||_e(v,u,d);else{var W={};for(g=$;g<=l;++g)W[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],xy;)_e(e[y++],u,d);D[a-$]=g+1,S>a?F=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),kn(v,h,u,t,c,f,p,d),++x}else P||_e(v,u,d);else P||_e(v,u,d)}if(P)Ke(u,s,e,d),sn(n,u,t,c,f,p,d);else if(F){var L=Bn(D);for(a=L.length-1,g=C-1;g>=0;g--)0===D[g]?(16384&(h=n[S=g+$]).flags&&(n[S]=h=X(h)),ln(h,u,t,c,(m=S+1)0&&w(d.componentWillMove)}else if(x!==C)for(g=C-1;g>=0;g--)0===D[g]&&(16384&(h=n[S=g+$]).flags&&(n[S]=h=X(h)),ln(h,u,t,c,(m=S+1)In&&(In=u,Me=new Int32Array(u),Ne=new Int32Array(u));t>1]]0&&(Ne[t]=Me[i-1]),Me[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Me[i-1];i-- >0;)c[i]=l,l=Ne[l],Me[i]=0;return c}function On(e,n,t,r){var i=[],a=new p,u=n.$V;W.v=!0,o(u)?o(e)||(16384&e.flags&&(e=X(e)),ln(e,n,r,!1,null,i,a),n.$V=e,u=e):o(e)?(_e(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),kn(u,e,n,r,!1,null,i,a),u=n.$V=e),$(i),C(a.componentDidAppear),W.v=!1,l(t)&&t(),l(L.renderComplete)&&L.renderComplete(u,n)}function Tn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=s),On(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var En=[],Rn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},jn=!1;function _n(e,n,t,r){var i=e.$PS;if(l(n)&&(n=n(i?c(e.state,i):e.state,e.props,e.context)),o(i))e.$PS=n;else for(var a in n)i[a]=n[a];if(e.$BR)l(t)&&e.$L.push(t.bind(e));else{if(!W.v&&0===En.length)return Xn(e,r),void(l(t)&&t.call(e));if(-1===En.indexOf(e)&&En.push(e),r&&(e.$F=!0),jn||(jn=!0,Rn(Qn)),l(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Hn(e){for(var n=e.$QU,t=0;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if(!qn(e)){if(u=2,zn(r)||(n||(n={}),n.children=r),!Kn(n))for(var f in o={},n)"key"===f?l=n.key:"ref"===f?i=n.ref:1===Jn[f]?(i||(i={}),i[f]=n[f]):o[f]=n[f];return j(u,e,o,l,i)}if(u=q(e),!Kn(n))for(var s in o={},n)"className"===s||"class"===s?a=n[s]:"key"===s?l=n.key:"children"===s&&zn(r)?r=n.children:"ref"===s?i=n.ref:("contenteditable"===s&&(u|=4096),o[s]=n[s]);if(8192&u)return H(1===c?[r]:r,0,l);return O(u,e,a,r,0,o,l,i)}var Zn=0,et=function(n){function t(){return n.apply(this,arguments)||this}return e(t,n),t.prototype.render=function(){return Zn++,Yn("li",null,this.props.children)},t}(Gn),nt=function(n){function t(){var e;return(e=n.call(this)||this).state={items:[]},e.items=[],e}e(t,n);var r=t.prototype;return r.componentDidMount=function(){for(var e=0;this.items.length<2e3;)this.items[this.items.length]=Yn(et,{key:++e},this.items.length+"bar"),this.setState({items:this.items})},r.render=function(){return Yn("ul",null,this.state.items)},t}(Gn);document.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelector("#App"),n=0;n<2;n++)Tn(Yn(nt),e);setTimeout((function(){Tn(Yn("div",null,"\n Rounds: 2,\n Average: 0,\n Total: 0,\n counter: "+Zn+"\n "),e)}),5e3)}))}(); +!function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}var t=Array.isArray;function r(e){var n=typeof e;return"string"===n||"number"===n}function o(e){return void 0===e||null===e}function i(e){return null===e||!1===e||!0===e||void 0===e}function l(e){return"function"===typeof e}function a(e){return"string"===typeof e}function u(e){return null===e}function c(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 f(e){return!u(e)&&"object"===typeof e}var s={},p="$F",d=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function v(e){return e.substring(2).toLowerCase()}function h(e,n){e.appendChild(n)}function m(e,n,t){u(t)?h(e,n):e.insertBefore(n,t)}function g(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function y(e,n,t){e.replaceChild(n,t)}function $(e,n){e.removeChild(n)}function k(e){for(var n=0;n0?w(t.componentWillDisappear,F(e,n)):P(e,n,!1)}function U(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function x(e,n,t,r,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(o(a)||!l(a.componentWillMove)&&!l(a.onComponentWillMove)?m(t,n.dom,r):U(i,e,a,n.dom,t,r,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var p=0,d=s.length;p0,v=u(p),h=a(p)&&p[0]===B;d||v||h?(o=o||n.slice(0,f),(d||h)&&(s=G(s)),(v||h)&&(s.key=B+f),o.push(s)):o&&o.push(s),s.flags|=65536}}l=0===(o=o||n).length?1:8}else(o=n).flags|=65536,81920&n.flags&&(o=G(n)),l=2;return e.children=o,e.childFlags=l,e}function Y(e){if(i(e)||r(e))return H(e,null);if(t(e))return Q(e,0,null);return 16384&e.flags?G(e):e}var Z="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Z,"xlink:arcrole":Z,"xlink:href":Z,"xlink:role":Z,"xlink:show":Z,"xlink:title":Z,"xlink:type":Z,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 re=te(0),oe=te(null),ie=te(!0);function le(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++re[e]&&(oe[e]=ge(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--re[e]&&(document.removeEventListener(v(e),oe[e]),oe[e]=null),t[e]=null)}function ue(e,n,t,r){if(l(t))le(e,r)[e]=t;else if(f(t)){if(A(n,t))return;le(e,r)[e]=t}else ae(e,r)}function ce(e){return l(e.composedPath)?e.composedPath()[0]:e.target}function fe(e,n,t,r){var o=ce(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var l=i[t];if(l&&(r.dom=o,l.event?l.event(l.data,e):l(e),e.cancelBubble))return}o=o.parentNode}while(!u(o))}function se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pe(){return this.defaultPrevented}function de(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=pe,e.isPropagationStopped=de,e.stopPropagation=se,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function he(e){return function(n){if(0!==n.button)return void n.stopPropagation();fe(n,!0,e,ve(n))}}function me(e){return function(n){fe(n,!1,e,ve(n))}}function ge(e){var n="onClick"===e||"onDblClick"===e?he(e):me(e);return document.addEventListener(v(e),n),n}function ye(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function $e(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||s,i=r.dom;if(a(e))$e(o,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),t&&o(a)&&(a=e.defaultValue),Ue(r,a)}}var Ne,Ae,Ve=ke("onInput",Oe),Ie=ke("onChange");function Be(e,n){be(e,"input",Ve),n.onChange&&be(e,"change",Ie)}function Oe(e,n,t){var r=e.value,i=n.value;if(o(r)){if(t){var l=e.defaultValue;o(l)||l===i||(n.defaultValue=l,n.value=l)}}else i!==r&&(n.defaultValue=r,n.value=r)}function Te(e,n,t,r,o,i){64&e?Se(r,t):256&e?Me(r,t,o,n):128&e&&Oe(r,t,o),i&&(t.$V=n)}function Ee(e,n,t){64&e?Fe(n,t):256&e?Le(n):128&e&&Be(n,t)}function Re(e){return e.type&&Ce(e.type)?!o(e.checked):!o(e.value)}function je(e){e&&!I(e,null)&&e.current&&(e.current=null)}function _e(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push((function(){I(e,n)||void 0===e.current||(e.current=n)}))}function He(e,n,t){Qe(e,t),S(e,n,t)}function Qe(e,n){var t,r=e.flags,i=e.children;if(481&r){t=e.ref;var a=e.props;je(t);var c=e.childFlags;if(!u(a))for(var f=Object.keys(a),p=0,v=f.length;p0?w(t.componentWillDisappear,Ge(n,e)):e.textContent=""}function qe(e,n,t,r){Xe(t,r),8192&n.flags?S(n,e,r):Ke(e,t,r)}function ze(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Je(e){var n=e.event;return function(t){n(e.data,t)}}function Ye(e,n,t,r){if(f(t)){if(A(n,t))return;t=Je(t)}be(r,v(e),t)}function Ze(e,n,t){if(o(n))return void t.removeAttribute("style");var r,i,l=t.style;if(a(n))return void(l.cssText=n);if(o(e)||a(e))for(r in n)i=n[r],l.setProperty(r,i);else{for(r in n)(i=n[r])!==e[r]&&l.setProperty(r,i);for(r in e)o(n[r])&&l.removeProperty(r)}}function en(e,n,t,r,i){var l=e&&e.__html||"",a=n&&n.__html||"";l!==a&&(o(a)||ye(r,a)||(u(t)||(12&t.childFlags?Xe(t.children,i):2===t.childFlags&&Qe(t.children,i),t.children=null,t.childFlags=1),r.innerHTML=a))}function nn(e,n,t,r,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=o(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":Ze(n,t,r);break;case"dangerouslySetInnerHTML":en(n,t,a,r,u);break;default:ie[e]?ue(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ye(e,n,t,r):o(t)?r.removeAttribute(e):i&&ne[e]?r.setAttributeNS(ne[e],e,t):r.setAttribute(e,t)}}function tn(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=Re(t))&&Ee(n,r,t),t)nn(u,null,t[u],r,o,l,null,i);a&&Te(n,e,r,t,!0,l)}function rn(e,n,t){var r=Y(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=c(t,e.getChildContext())),e.$CX=o,r}function on(e,n,t,r,o,i){var a=new n(t,r),c=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=i,e.children=a,a.$BS=!1,a.context=r,a.props===s&&(a.props=t),c)a.state=W(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var f=a.$PS;if(!u(f)){var p=a.state;if(u(p))a.state=f;else for(var d in f)p[d]=f[d];a.$PS=null}a.$BR=!1}return a.$LI=rn(a,t,r),a}function ln(e,n){var t=e.props||s;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function an(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?sn(e,n,t,r,o,i,l):4&a?dn(e,n,t,r,o,i,l):8&a?vn(e,n,t,r,o,i,l):16&a?fn(e,n,o):8192&a?cn(e,t,n,r,o,i,l):1024&a&&un(e,t,n,o,i,l)}function un(e,n,t,r,o,i){an(e.children,e.ref,n,!1,null,o,i);var l=K();fn(l,t,r),e.dom=l.dom}function cn(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=K()),2===u?an(a,t,n,r,o,i,l):pn(a,t,n,r,o,i,l)}function fn(e,n,t){var r=e.dom=document.createTextNode(e.children);u(n)||m(n,r,t)}function sn(e,n,t,r,i,l,a){var c=e.flags,f=e.props,s=e.className,p=e.childFlags,d=e.dom=g(e.type,r=r||(32&c)>0),v=e.children;if(o(s)||""===s||(r?d.setAttribute("class",s):d.className=s),16===p)N(d,v);else if(1!==p){var h=r&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=G(v)),an(v,d,t,h,null,l,a)):8!==p&&4!==p||pn(v,d,t,h,null,l,a)}u(n)||m(n,d,i),u(f)||tn(e,c,f,d,r,a),_e(e.ref,d,l)}function pn(e,n,t,r,o,i,l){for(var a=0;ad)&&(s=C(a[d-1],!1).nextSibling)}Un(c,f,a,u,t,r,o,s,e,i,l)}function Pn(e,n,t,r,o){var l=e.ref,a=n.ref,u=n.children;if(Un(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,r,o),n.dom=e.dom,l!==a&&!i(u)){var c=u.dom;$(l,c),h(a,c)}}function Fn(e,n,t,r,i,l,a){var u,c=n.dom=e.dom,f=e.props,p=n.props,d=!1,v=!1;if(r=r||(32&i)>0,f!==p){var h=f||s;if((u=p||s)!==s)for(var m in(d=(448&i)>0)&&(v=Re(u)),u){var g=h[m],y=u[m];g!==y&&nn(m,g,y,c,r,v,e,a)}if(h!==s)for(var $ in h)o(u[$])&&!o(h[$])&&nn($,h[$],null,c,r,v,e,a)}var k=n.children,b=n.className;e.className!==b&&(o(b)?c.removeAttribute("class"):r?c.setAttribute("class",b):c.className=b),4096&i?wn(c,k):Un(e.childFlags,n.childFlags,e.children,k,c,t,r&&"foreignObject"!==n.type,null,e,l,a),d&&Te(i,n,c,u,!1,v);var C=n.ref,w=e.ref;w!==C&&(je(w),_e(C,c,l))}function Sn(e,n,t,r,o,i,l){Qe(e,l),pn(n,t,r,o,C(e,!0),i,l),S(e,t,l)}function Un(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:bn(t,r,o,i,l,a,c,f);break;case 1:He(t,o,f);break;case 16:Qe(t,f),N(o,r);break;default:Sn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:an(r,o,i,l,a,c,f);break;case 1:break;case 16:N(o,r);break;default:pn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:Cn(t,r,o);break;case 2:Ke(o,t,f),an(r,o,i,l,a,c,f);break;case 1:Ke(o,t,f);break;default:Ke(o,t,f),pn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:Xe(t,f),N(o,r);break;case 2:qe(o,u,t,f),an(r,o,i,l,a,c,f);break;case 1:qe(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&pn(r,o,i,l,a,c,f):0===p?qe(o,u,t,f):8===n&&8===e?Vn(t,r,o,i,l,s,p,a,u,c,f):An(t,r,o,i,l,s,p,a,c,f)}}}function xn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Wn(e,n,t,r,o,i,a,u,f,s){var p=e.state,d=e.props,v=Boolean(e.$N),h=l(e.shouldComponentUpdate);if(v&&(n=W(e,t,n!==p?c(p,n):n)),a||!h||h&&e.shouldComponentUpdate(t,n,o)){!v&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=rn(e,t,o);v&&l(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),bn(e.$LI,g,r,e.$CX,i,u,f,s),e.$LI=g,l(e.componentDidUpdate)&&xn(e,d,p,m,f)}else e.props=t,e.state=n,e.context=o}function Ln(e,n,t,r,o,i,a,f){var p=n.children=e.children;if(u(p))return;p.$L=a;var d=n.props||s,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(l(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}u(p.$PS)||(m=c(m,p.$PS),p.$PS=null)}Wn(p,m,d,t,r,o,!1,i,a,f),h!==v&&(je(h),_e(v,p,a))}function Mn(e,n,t,r,i,a,u,c){var f=!0,p=n.props||s,d=n.ref,v=e.props,h=!o(d),m=e.children;if(h&&l(d.onComponentShouldUpdate)&&(f=d.onComponentShouldUpdate(v,p)),!1!==f){h&&l(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=Y(ln(n,r));bn(m,g,t,r,i,a,u,c),n.children=g,h&&l(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function Nn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function An(e,n,t,r,o,i,l,a,u,c){for(var f,s,p=i>l?l:i,d=0;dl)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=G(g)),bn(m,g,t,r,o,a,c,f),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)He(e[h++],t,f);else In(e,n,r,i,l,d,v,h,t,o,a,u,c,f)}function In(e,n,t,r,o,i,l,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,$=a,k=i-a+1,b=l-a+1,w=new Int32Array(b+1),P=k===r,F=!1,S=0,U=0;if(o<4||(k|b)<32)for(g=y;g<=i;++g)if(v=e[g],Ua?F=!0:S=a,16384&h.flags&&(n[a]=h=G(h)),bn(v,h,u,t,c,f,p,d),++U;break}!P&&a>l&&He(v,u,d)}else P||He(v,u,d);else{var W={};for(g=$;g<=l;++g)W[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],Uy;)He(e[y++],u,d);w[a-$]=g+1,S>a?F=!0:S=a,16384&(h=n[a]).flags&&(n[a]=h=G(h)),bn(v,h,u,t,c,f,p,d),++U}else P||He(v,u,d);else P||He(v,u,d)}if(P)qe(u,s,e,d),pn(n,u,t,c,f,p,d);else if(F){var L=On(w);for(a=L.length-1,g=b-1;g>=0;g--)0===w[g]?(16384&(h=n[S=g+$]).flags&&(n[S]=h=G(h)),an(h,u,t,c,(m=S+1)0&&D(d.componentWillMove)}else if(U!==b)for(g=b-1;g>=0;g--)0===w[g]&&(16384&(h=n[S=g+$]).flags&&(n[S]=h=G(h)),an(h,u,t,c,(m=S+1)Bn&&(Bn=u,Ne=new Int32Array(u),Ae=new Int32Array(u));t>1]]0&&(Ae[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=Ae[l],Ne[i]=0;return c}function Tn(e,n,t,r){var i=[],a=new d,u=n.$V;L.v=!0,o(u)?o(e)||(16384&e.flags&&(e=G(e)),an(e,n,r,!1,null,i,a),n.$V=e,u=e):o(e)?(He(u,n,a),n.$V=null):(16384&e.flags&&(e=G(e)),bn(u,e,n,r,!1,null,i,a),u=n.$V=e),k(i),w(a.componentDidAppear),L.v=!1,l(t)&&t(),l(M.renderComplete)&&M.renderComplete(u,n)}function En(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=s),Tn(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Rn=[],jn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},_n=!1;function Hn(e,n,t,r){var i=e.$PS;if(l(n)&&(n=n(i?c(e.state,i):e.state,e.props,e.context)),o(i))e.$PS=n;else for(var a in n)i[a]=n[a];if(e.$BR)l(t)&&e.$L.push(t.bind(e));else{if(!L.v&&0===Rn.length)return Gn(e,r),void(l(t)&&t.call(e));if(-1===Rn.indexOf(e)&&Rn.push(e),r&&(e.$F=!0),_n||(_n=!0,jn(Xn)),l(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Qn(e){for(var n=e.$QU,t=0;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if("string"!==typeof e){if(u=2,zn(r)||(n||(n={}),n.children=r),!qn(n))for(var f in o={},n)"key"===f?l=n.key:"ref"===f?i=n.ref:1===Jn[f]?(i||(i={}),i[f]=n[f]):o[f]=n[f];return _(u,e,o,l,i)}if(u=z(e),!qn(n))for(var s in o={},n)"className"===s||"class"===s?a=n[s]:"key"===s?l=n.key:"children"===s&&zn(r)?r=n.children:"ref"===s?i=n.ref:("contenteditable"===s&&(u|=4096),o[s]=n[s]);if(8192&u)return Q(1===c?[r]:r,0,l);return T(u,e,a,r,0,o,l,i)}var Zn=0,et=function(n){function t(){return n.apply(this,arguments)||this}return e(t,n),t.prototype.render=function(){return Zn++,Yn("li",null,this.props.children)},t}(Kn),nt=function(n){function t(){var e;return(e=n.call(this)||this).state={items:[]},e.items=[],e}e(t,n);var r=t.prototype;return r.componentDidMount=function(){for(var e=0;this.items.length<2e3;)this.items[this.items.length]=Yn(et,{key:++e},this.items.length+"bar"),this.setState({items:this.items})},r.render=function(){return Yn("ul",null,this.state.items)},t}(Kn);document.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelector("#App"),n=0;n<2;n++)En(Yn(nt),e);setTimeout((function(){En(Yn("div",null,"\n Rounds: 2,\n Average: 0,\n Total: 0,\n counter: "+Zn+"\n "),e)}),5e3)}))}(); diff --git a/docs/compat/dist/bundle.js b/docs/compat/dist/bundle.js index 2e55460ed..911e51bc4 100644 --- a/docs/compat/dist/bundle.js +++ b/docs/compat/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var r=Array.isArray;function o(e){var n=typeof e;return"string"===n||"number"===n}function i(e){return void 0===e||null===e}function a(e){return null===e||!1===e||!0===e||void 0===e}function l(e){return"function"===typeof e}function u(e){return"string"===typeof e}function c(e){return null===e}function s(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 f(e){return!c(e)&&"object"===typeof e}var d={},p=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function h(e){return e.substring(2).toLowerCase()}function v(e,n){e.appendChild(n)}function m(e,n,t){c(t)?v(e,n):e.insertBefore(n,t)}function g(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function y(e,n,t){e.replaceChild(n,t)}function b(e,n){e.removeChild(n)}function C(e){for(var n=0;n0?w(t.componentWillDisappear,S(e,n)):N(e,n,!1)}function F(e,n,t,r,o,i,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,o,r):8&a&&t.onComponentWillMove(n,o,r,l)},next:i,parent:o})}function D(e,n,t,r,o){var a,u,c=n.flags;do{var s=n.flags;if(1521&s)return void(i(a)||!l(a.componentWillMove)&&!l(a.onComponentWillMove)?m(t,n.dom,r):F(o,e,a,n.dom,t,r,c,u));var f=n.children;if(4&s)a=n.children,u=n.props,n=f.$LI;else if(8&s)a=n.ref,u=n.props,n=f;else if(8192&s){if(2!==n.childFlags){for(var d=0,p=f.length;d0,h=c(d),v=u(d)&&d[0]===W;p||h||v?(t=t||n.slice(0,s),(p||v)&&(f=G(f)),(h||v)&&(f.key=W+s),t.push(f)):t&&t.push(f),f.flags|=65536}}i=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=G(n)),i=2;return e.children=t,e.childFlags=i,e}function Z(e){if(a(e)||o(e))return H(e,null);if(r(e))return z(e,0,null);return 16384&e.flags?G(e):e}var ee="http://www.w3.org/1999/xlink",ne="http://www.w3.org/XML/1998/namespace",te={"xlink:actuate":ee,"xlink:arcrole":ee,"xlink:href":ee,"xlink:role":ee,"xlink:show":ee,"xlink:title":ee,"xlink:type":ee,"xml:base":ne,"xml:lang":ne,"xml:space":ne};function re(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 oe=re(0),ie=re(null),ae=re(!0);function le(e,n){var t=n.$EV;return t||(t=n.$EV=re(null)),t[e]||1===++oe[e]&&(ie[e]=ye(e)),t}function ue(e,n){var t=n.$EV;t&&t[e]&&(0===--oe[e]&&(document.removeEventListener(h(e),ie[e]),ie[e]=null),t[e]=null)}function ce(e,n,t,r){if(l(t))le(e,r)[e]=t;else if(f(t)){if(U(n,t))return;le(e,r)[e]=t}else ue(e,r)}function se(e){return l(e.composedPath)?e.composedPath()[0]:e.target}function fe(e,n,t,r){var o=se(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!c(o))}function de(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pe(){return this.defaultPrevented}function he(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=pe,e.isPropagationStopped=he,e.stopPropagation=de,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function me(e){return function(n){if(0!==n.button)return void n.stopPropagation();fe(n,!0,e,ve(n))}}function ge(e){return function(n){fe(n,!1,e,ve(n))}}function ye(e){var n="onClick"===e||"onDblClick"===e?me(e):ge(e);return document.addEventListener(h(e),n),n}function be(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 xe(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||d,i=r.dom;if(u(e))Ce(o,e,t);else for(var a=0;a-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),De(r,l)}}var Ue,Le,Ae=xe("onInput",Oe),We=xe("onChange");function Ee(e,n){ke(e,"input",Ae),n.onChange&&ke(e,"change",We)}function Oe(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function Te(e,n,t,r,o,i){64&e?Fe(r,t):256&e?Ie(r,t,o,n):128&e&&Oe(r,t,o),i&&(t.$V=n)}function Be(e,n,t){64&e?Pe(n,t):256&e?_e(n):128&e&&Ee(n,t)}function je(e){return e.type&&we(e.type)?!i(e.checked):!i(e.value)}function Re(e){e&&!A(e,null)&&e.current&&(e.current=null)}function He(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push((function(){A(e,n)||void 0===e.current||(e.current=n)}))}function ze(e,n,t){Qe(e,t),P(e,n,t)}function Qe(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var a=e.props;Re(t);var u=e.childFlags;if(!c(a))for(var s=Object.keys(a),f=0,h=s.length;f0?w(t.componentWillDisappear,Ge(n,e)):e.textContent=""}function Ye(e,n,t,r){Xe(t,r),8192&n.flags?P(n,e,r):Ke(e,t,r)}function qe(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Je(e){var n=e.event;return function(t){n(e.data,t)}}function Ze(e,n,t,r){if(f(t)){if(U(n,t))return;t=Je(t)}ke(r,h(e),t)}function en(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(u(n))return void(a.cssText=n);if(i(e)||u(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function nn(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||be(r,l)||(c(t)||(12&t.childFlags?Xe(t.children,o):2===t.childFlags&&Qe(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function tn(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var c=i(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":en(n,t,r);break;case"dangerouslySetInnerHTML":nn(n,t,l,r,u);break;default:ae[e]?ce(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ze(e,n,t,r):i(t)?r.removeAttribute(e):o&&te[e]?r.setAttributeNS(te[e],e,t):r.setAttribute(e,t)}}function rn(e,n,t,r,o,i){var a=!1,l=(448&n)>0;for(var u in l&&(a=je(t))&&Be(n,r,t),t)tn(u,null,t[u],r,o,a,null,i);l&&Te(n,e,r,t,!0,a)}function on(e,n,t){var r=Z(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=s(t,e.getChildContext())),e.$CX=o,r}function an(e,n,t,r,o,i){var a=new n(t,r),u=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=i,e.children=a,a.$BS=!1,a.context=r,a.props===d&&(a.props=t),u)a.state=V(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!c(s)){var f=a.state;if(c(f))a.state=s;else for(var p in s)f[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=on(a,t,r),a}function ln(e,n){var t=e.props||d;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function un(e,n,t,r,o,i,a){var l=e.flags|=16384;481&l?dn(e,n,t,r,o,i,a):4&l?hn(e,n,t,r,o,i,a):8&l?vn(e,n,t,r,o,i,a):16&l?fn(e,n,o):8192&l?sn(e,t,n,r,o,i,a):1024&l&&cn(e,t,n,o,i,a)}function cn(e,n,t,r,o,i){un(e.children,e.ref,n,!1,null,o,i);var a=K();fn(a,t,r),e.dom=a.dom}function sn(e,n,t,r,o,i,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=K()),2===u?un(l,t,n,r,o,i,a):pn(l,t,n,r,o,i,a)}function fn(e,n,t){var r=e.dom=document.createTextNode(e.children);c(n)||m(n,r,t)}function dn(e,n,t,r,o,a,l){var u=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=g(e.type,r=r||(32&u)>0),h=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)I(p,h);else if(1!==d){var v=r&&"foreignObject"!==e.type;2===d?(16384&h.flags&&(e.children=h=G(h)),un(h,p,t,v,null,a,l)):8!==d&&4!==d||pn(h,p,t,v,null,a,l)}c(n)||m(n,p,o),c(s)||rn(e,u,s,p,r,l),He(e.ref,p,a)}function pn(e,n,t,r,o,i,a){for(var l=0;lp)&&(f=k(l[p-1],!1).nextSibling)}Dn(c,s,l,u,t,r,o,f,e,i,a)}function Sn(e,n,t,r,o){var i=e.ref,l=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,r,o),n.dom=e.dom,i!==l&&!a(u)){var c=u.dom;b(i,c),v(l,c)}}function Pn(e,n,t,r,o,a,l){var u,c=n.dom=e.dom,s=e.props,f=n.props,p=!1,h=!1;if(r=r||(32&o)>0,s!==f){var v=s||d;if((u=f||d)!==d)for(var m in(p=(448&o)>0)&&(h=je(u)),u){var g=v[m],y=u[m];g!==y&&tn(m,g,y,c,r,h,e,l)}if(v!==d)for(var b in v)i(u[b])&&!i(v[b])&&tn(b,v[b],null,c,r,h,e,l)}var C=n.children,x=n.className;e.className!==x&&(i(x)?c.removeAttribute("class"):r?c.setAttribute("class",x):c.className=x),4096&o?$n(c,C):Dn(e.childFlags,n.childFlags,e.children,C,c,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&Te(o,n,c,u,!1,h);var k=n.ref,w=e.ref;w!==k&&(Re(w),He(k,c,a))}function Fn(e,n,t,r,o,i,a){Qe(e,a),pn(n,t,r,o,k(e,!0),i,a),P(e,t,a)}function Dn(e,n,t,r,o,i,a,l,u,c,s){switch(e){case 2:switch(n){case 2:kn(t,r,o,i,a,l,c,s);break;case 1:ze(t,o,s);break;case 16:Qe(t,s),I(o,r);break;default:Fn(t,r,o,i,a,c,s)}break;case 1:switch(n){case 2:un(r,o,i,a,l,c,s);break;case 1:break;case 16:I(o,r);break;default:pn(r,o,i,a,l,c,s)}break;case 16:switch(n){case 16:wn(t,r,o);break;case 2:Ke(o,t,s),un(r,o,i,a,l,c,s);break;case 1:Ke(o,t,s);break;default:Ke(o,t,s),pn(r,o,i,a,l,c,s)}break;default:switch(n){case 16:Xe(t,s),I(o,r);break;case 2:Ye(o,u,t,s),un(r,o,i,a,l,c,s);break;case 1:Ye(o,u,t,s);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&pn(r,o,i,a,l,c,s):0===d?Ye(o,u,t,s):8===n&&8===e?An(t,r,o,i,a,f,d,l,u,c,s):Ln(t,r,o,i,a,f,d,l,c,s)}}}function Vn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Mn(e,n,t,r,o,i,a,u,c,f){var d=e.state,p=e.props,h=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(h&&(n=V(e,t,n!==d?s(d,n):n)),a||!v||v&&e.shouldComponentUpdate(t,n,o)){!h&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=on(e,t,o);h&&l(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),kn(e.$LI,g,r,e.$CX,i,u,c,f),e.$LI=g,l(e.componentDidUpdate)&&Vn(e,p,d,m,c)}else e.props=t,e.state=n,e.context=o}function _n(e,n,t,r,o,i,a,u){var f=n.children=e.children;if(c(f))return;f.$L=a;var p=n.props||d,h=n.ref,v=e.ref,m=f.state;if(!f.$N){if(l(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(p,r),f.$UN)return;f.$BR=!1}c(f.$PS)||(m=s(m,f.$PS),f.$PS=null)}Mn(f,m,p,t,r,o,!1,i,a,u),v!==h&&(Re(v),He(h,f,a))}function In(e,n,t,r,o,a,u,c){var s=!0,f=n.props||d,p=n.ref,h=e.props,v=!i(p),m=e.children;if(v&&l(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(h,f)),!1!==s){v&&l(p.onComponentWillUpdate)&&p.onComponentWillUpdate(h,f);var g=Z(ln(n,r));kn(m,g,t,r,o,a,u,c),n.children=g,v&&l(p.onComponentDidUpdate)&&p.onComponentDidUpdate(h,f)}else n.children=m}function Un(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,o,i,a,l,u,c){for(var s,f,d=i>a?a:i,p=0;pa)for(p=d;pp||v>h)break e;m=e[v],g=n[v]}for(m=e[p],g=n[h];m.key===g.key;){if(16384&g.flags&&(n[h]=g=G(g)),kn(m,g,t,r,o,l,c,s),e[p]=g,h--,v>--p||v>h)break e;m=e[p],g=n[h]}}if(v>p){if(v<=h)for(d=(f=h+1)h)for(;v<=p;)ze(e[v++],t,s);else Wn(e,n,r,i,a,p,h,v,t,o,l,u,c,s)}function Wn(e,n,t,r,o,i,a,l,u,c,s,f,d,p){var h,v,m=0,g=0,y=l,b=l,C=i-l+1,x=a-l+1,w=new Int32Array(x+1),N=C===r,S=!1,P=0,F=0;if(o<4||(C|x)<32)for(g=y;g<=i;++g)if(h=e[g],Fl?S=!0:P=l,16384&v.flags&&(n[l]=v=G(v)),kn(h,v,u,t,c,s,d,p),++F;break}!N&&l>a&&ze(h,u,p)}else N||ze(h,u,p);else{var V={};for(g=b;g<=a;++g)V[n[g].key]=g;for(g=y;g<=i;++g)if(h=e[g],Fy;)ze(e[y++],u,p);w[l-b]=g+1,P>l?S=!0:P=l,16384&(v=n[l]).flags&&(n[l]=v=G(v)),kn(h,v,u,t,c,s,d,p),++F}else N||ze(h,u,p);else N||ze(h,u,p)}if(N)Ye(u,f,e,p),pn(n,u,t,c,s,d,p);else if(S){var M=On(w);for(l=M.length-1,g=x-1;g>=0;g--)0===w[g]?(16384&(v=n[P=g+b]).flags&&(n[P]=v=G(v)),un(v,u,t,c,(m=P+1)0&&$(p.componentWillMove)}else if(F!==x)for(g=x-1;g>=0;g--)0===w[g]&&(16384&(v=n[P=g+b]).flags&&(n[P]=v=G(v)),un(v,u,t,c,(m=P+1)En&&(En=u,Ue=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ue[i-1]),Ue[i]=t)}i=o+1;var c=new Int32Array(i);for(a=Ue[i-1];i-- >0;)c[i]=a,a=Le[a],Ue[i]=0;return c}function Tn(e,n,t,r){var o=[],a=new p,u=n.$V;M.v=!0,i(u)?i(e)||(16384&e.flags&&(e=G(e)),un(e,n,r,!1,null,o,a),n.$V=e,u=e):i(e)?(ze(u,n,a),n.$V=null):(16384&e.flags&&(e=G(e)),kn(u,e,n,r,!1,null,o,a),u=n.$V=e),C(o),w(a.componentDidAppear),M.v=!1,l(t)&&t(),l(_.renderComplete)&&_.renderComplete(u,n)}function Bn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=d),Tn(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var jn=[],Rn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Hn=!1;function zn(e,n,t,r){var o=e.$PS;if(l(n)&&(n=n(o?s(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var a in n)o[a]=n[a];if(e.$BR)l(t)&&e.$L.push(t.bind(e));else{if(!M.v&&0===jn.length)return Gn(e,r),void(l(t)&&t.call(e));if(-1===jn.indexOf(e)&&jn.push(e),r&&(e.$F=!0),Hn||(Hn=!0,Rn(Xn)),l(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Qn(e){for(var n=e.$QU,t=0;t0?un(h,n,r,o,t,i,a):t=(t=lt(h,n,t,r,o,i,a))?t.nextSibling:null,f=(16&h.flags)>0}if(0===(8192&s))for(var v=null;t;)v=t.nextSibling,n.removeChild(t),t=v}else qn(n.firstChild)||nt(n,c)||(n.textContent="",448&s&&(n.defaultValue=""))}function ot(e,n,t,r,o,i,a){var l,u=e.props,c=e.className,s=e.flags,f=e.ref;return o=o||(32&s)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(dn(e,null,r,o,null,i,a),n.replaceChild(e.dom,t)):(e.dom=t,rt(e,t,t.firstChild,r,o,i,a),qn(u)||rn(e,s,u,t,o,a),void 0===(l=c)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",c):t.className=c,He(f,t,i)),e.dom}function it(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 at(e,n,t,r,o,i,a){var l=e.children;if(2===e.childFlags)return it(l,n,t),l.dom;return rt(e,n,t,r,o,i,a),et(l[l.length-1])}function lt(e,n,t,r,o,i,a){var l=e.flags|=16384;if(14&l)return tt(e,n,t,r,o,(4&l)>0,i,a);if(481&l)return ot(e,n,t,r,o,i,a);if(16&l)return it(e,n,t);if(8192&l)return at(e,n,t,r,o,i,a);return Jn(),null}function ut(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 ct(e,n,t){var r=e.flags,o=14&r?e.props&&e.props.children:e.children,i=arguments.length-2,a=e.className,l=e.key,u=e.ref;if(n?(void 0!==n.className&&(a=n.className),void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(l=n.key),void 0!==n.children&&(o=n.children)):n={},1===i)o=t;else if(i>1)for(o=[];i-- >0;)o[i]=arguments[i+2];if(n.children=o,14&r)return R(r,e.type,e.props||n?ut(e.props,n):d,l,u);if(16&r)return H(o);if(8192&r)return z(1===i?[o]:o,0,l);return Q(O(r,e.type,a,null,1,ut(e.props,n),l,u))}function st(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}function ft(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dt(e,n){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},dt(e,n)}Kn.defaultProps=null;var pt={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function ht(e,n){for(var t in n)e[t]=n[t];return e}function vt(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||pt[n]||((e[n]=t.bind(e)).__bound=!0)}}function mt(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if(!kt(e)){if(u=2,wt(r)||(n||(n={}),n.children=r),!xt(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?i=n.ref:1===$t[s]?(i||(i={}),i[s]=n[s]):o[s]=n[s];return R(u,e,o,a,i)}if(u=q(e),!xt(n))for(var f in o={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&wt(r)?r=n.children:"ref"===f?i=n.ref:("contenteditable"===f&&(u|=4096),o[f]=n[f]);if(8192&u)return z(1===c?[r]:r,0,a);return O(u,e,l,r,0,o,a,i)}var St=Array.isArray;function Pt(e){return void 0===e||null===e}function Ft(e){return"string"===typeof e}function Dt(e){return null===e}function Vt(){}Vt.isRequired=Vt;var Mt=function(){return Vt},_t={any:Mt,array:Vt,arrayOf:Mt,bool:Vt,checkPropTypes:function(){return null},element:Mt,func:Vt,instanceOf:Mt,node:Mt,number:Vt,object:Vt,objectOf:Mt,oneOf:Mt,oneOfType:Mt,shape:Mt,string:Vt,symbol:Vt},It={htmlFor:"for",onDoubleClick:"onDblClick"},Ut=/[\-:]([a-z])/g,Lt=function(e){return e[1].toUpperCase()};function At(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(Ut,Lt);It[n]=e}));var Wt=/[A-Z]/g;function Et(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Ot(e,n)}function Ot(e,n){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Ot(e,n)}function Tt(e,n){for(var t=0,r=e.length;t0)for(var l;void 0!==(l=i.shift());)l()}n.$V=e,Yn(t)&&t()},isValidElement:function(e){if("object"!==typeof e||Dt(e))return!1;return(495&e.flags)>0},linkEvent:function(e,n){if(l(n))return{data:e,event:n};return null},normalizeProps:Q,options:_,render:nr,rerender:Xn,unmountComponentAtNode:function(e){return Tn(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){nr(R(4,er,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=tr,window.ReactDOM=tr}var rr=Nt;function or(e,n,t){console.log(e,n,t)}var ir=function(n){function t(e){var t;return(t=n.call(this,e)||this).state={btnstate:"btnstate"},t}e(t,n);var r=t.prototype;return r.click=function(){this.setState(or)},r.render=function(){return rr("button",{onClick:this.click.bind(this),style:{background:this.context.color}},this.props.children)},t}(Kn),ar=function(n){function t(){return n.apply(this,arguments)||this}return e(t,n),t.prototype.render=function(){return rr("div",null,[this.props.text,rr(ir,{buttonProp:"magic"},"btn")])},t}(Kn),lr=function(n){function t(){return n.apply(this,arguments)||this}e(t,n);var r=t.prototype;return r.getChildContext=function(){return{color:"purple"}},r.render=function(){var e=this.props.messages.map((function(e){return rr(ar,{text:e.text})}));return rr("div",null,e)},t}(Kn);nr(rr(lr,{messages:[{text:"first"},{text:"second"}]}),document.getElementById("app1"));var ur=11;function cr(e){ur=e.target.value,console.log(e.type,ur),sr()}function sr(){nr(rr("div",null,[rr("label",{for:"test"},["label for input",rr("input",{id:"test",name:"testing_radio",value:"first",onChange:cr,type:"radio",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})]),rr("label",{for:"test2"},["label for input2",rr("input",{id:"test2",name:"testing_radio",value:"second",onChange:cr,type:"radio",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})]),rr("label",{htmlFor:"test3"},["label for input3",rr("input",{id:"test3",name:"test3",value:ur,onChange:cr,type:"number",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})])]),document.getElementById("app2"))}sr();var fr=function(n){function r(e){var r;return(r=n.call(this,e)||this).state={value:"ASYNC",radio:"first",text:"f",selectValue:"second"},r.handleChange=r.handleChange.bind(t(r)),r.radioChange=r.radioChange.bind(t(r)),r.textChange=r.textChange.bind(t(r)),r.selectChange=r.selectChange.bind(t(r)),r}e(r,n);var o=r.prototype;return o.handleChange=function(e){this.setState({value:e.target.value})},o.radioChange=function(e){this.setState({radio:e.target.value})},o.textChange=function(e){this.setState({text:e.target.value})},o.selectChange=function(e){this.setState({selectValue:e.target.value})},o.render=function(){return rr("div",null,[rr("label",{for:"testasync"},["async label for input",rr("input",{id:"testasync",name:"testing_radio_async",value:"first",onClick:this.radioChange,checked:"first"===this.state.radio,type:"radio"})]),rr("label",{for:"test2async"},["async label for input2",rr("input",{id:"test2async",name:"testing_radio_async",value:"second",onClick:this.radioChange,checked:"second"===this.state.radio,type:"radio"})]),rr("label",{htmlFor:"test3as"},["Async Name",rr("input",{id:"test3as",name:"test3as",value:this.state.value,onInput:this.handleChange,type:"text"})]),rr("label",{htmlFor:"textarea_async"},["async texxt",rr("textarea",{id:"textarea_async",name:"textarea_async",value:this.state.text,onInput:this.textChange})]),rr("select",{onChange:this.selectChange,value:this.state.selectValue},[rr("option",{value:"first",children:"first"}),rr("option",{value:"second",children:"second"}),rr("option",{value:"third",children:"third"})])])},r}(Kn),dr=rr("input",{id:"test3sync",name:"test3sync",value:"100",type:"text"}),pr=function(n){function r(e){var r;return(r=n.call(this,e)||this).state={value:"SYNC",radio:"first",text:"f",selectValue:"second"},r.handleChange=r.handleChange.bind(t(r)),r.radioChange=r.radioChange.bind(t(r)),r.textChange=r.textChange.bind(t(r)),r.selectChange=r.selectChange.bind(t(r)),r}e(r,n);var o=r.prototype;return o.handleChange=function(e){dr.props.value=200,this.setState({value:e.target.value})},o.radioChange=function(e){this.setState({radio:e.target.value})},o.textChange=function(e){this.setState({text:e.target.value})},o.selectChange=function(e){this.setState({selectValue:e.target.value})},o.render=function(){return rr("div",null,[rr("label",{for:"testsync"},["sync label for input",rr("input",{id:"testsync",name:"testing_radio_sync",value:"first",onClick:this.radioChange,checked:"first"===this.state.radio,type:"radio"})]),rr("label",{for:"test2sync"},["sync label for input2",rr("input",{id:"test2sync",name:"testing_radio_sync",value:"second",onClick:this.radioChange,checked:"second"===this.state.radio,type:"radio"})]),rr("label",{htmlFor:"test3sync"},["sync Name",rr("input",{id:"test3sync",name:"test3sync",value:this.state.value,onInput:this.handleChange,type:"text"})]),rr("label",{htmlFor:"textarea_sync"},["sync text",rr("textarea",{id:"textarea_sync",name:"textarea_sync",value:this.state.text,onInput:this.textChange})]),rr("select",{onChange:this.selectChange,value:this.state.selectValue},[rr("option",{value:"first",children:"first"}),rr("option",{value:"second",children:"second"}),rr("option",{value:"third",children:"third"})])])},r}(Kn);sr(rr(fr,{}),document.getElementById("app3")),sr(rr(pr,{}),document.getElementById("app4"))}(); +!function(){"use strict";function e(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var r=Array.isArray;function o(e){var n=typeof e;return"string"===n||"number"===n}function i(e){return void 0===e||null===e}function a(e){return null===e||!1===e||!0===e||void 0===e}function l(e){return"function"===typeof e}function u(e){return"string"===typeof e}function c(e){return null===e}function s(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 f(e){return!c(e)&&"object"===typeof e}var d={},p="$F",h=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function v(e){return e.substring(2).toLowerCase()}function m(e,n){e.appendChild(n)}function g(e,n,t){c(t)?m(e,n):e.insertBefore(n,t)}function y(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function b(e,n,t){e.replaceChild(n,t)}function C(e,n){e.removeChild(n)}function x(e){for(var n=0;n0?$(t.componentWillDisappear,P(e,n)):S(e,n,!1)}function D(e,n,t,r,o,i,a,l){e.componentWillMove.push({dom:r,fn:function(){4&a?t.componentWillMove(n,o,r):8&a&&t.onComponentWillMove(n,o,r,l)},next:i,parent:o})}function V(e,n,t,r,o){var a,u,c=n.flags;do{var s=n.flags;if(1521&s)return void(i(a)||!l(a.componentWillMove)&&!l(a.onComponentWillMove)?g(t,n.dom,r):D(o,e,a,n.dom,t,r,c,u));var f=n.children;if(4&s)a=n.children,u=n.props,n=f.$LI;else if(8&s)a=n.ref,u=n.props,n=f;else if(8192&s){if(2!==n.childFlags){for(var d=0,p=f.length;d0,h=c(d),v=u(d)&&d[0]===E;p||h||v?(t=t||n.slice(0,s),(p||v)&&(f=K(f)),(h||v)&&(f.key=E+s),t.push(f)):t&&t.push(f),f.flags|=65536}}i=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=K(n)),i=2;return e.children=t,e.childFlags=i,e}function ee(e){if(a(e)||o(e))return z(e,null);if(r(e))return Q(e,0,null);return 16384&e.flags?K(e):e}var ne="http://www.w3.org/1999/xlink",te="http://www.w3.org/XML/1998/namespace",re={"xlink:actuate":ne,"xlink:arcrole":ne,"xlink:href":ne,"xlink:role":ne,"xlink:show":ne,"xlink:title":ne,"xlink:type":ne,"xml:base":te,"xml:lang":te,"xml:space":te};function oe(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 ie=oe(0),ae=oe(null),le=oe(!0);function ue(e,n){var t=n.$EV;return t||(t=n.$EV=oe(null)),t[e]||1===++ie[e]&&(ae[e]=be(e)),t}function ce(e,n){var t=n.$EV;t&&t[e]&&(0===--ie[e]&&(document.removeEventListener(v(e),ae[e]),ae[e]=null),t[e]=null)}function se(e,n,t,r){if(l(t))ue(e,r)[e]=t;else if(f(t)){if(L(n,t))return;ue(e,r)[e]=t}else ce(e,r)}function fe(e){return l(e.composedPath)?e.composedPath()[0]:e.target}function de(e,n,t,r){var o=fe(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!c(o))}function pe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function he(){return this.defaultPrevented}function ve(){return this.cancelBubble}function me(e){var n={dom:document};return e.isDefaultPrevented=he,e.isPropagationStopped=ve,e.stopPropagation=pe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ge(e){return function(n){if(0!==n.button)return void n.stopPropagation();de(n,!0,e,me(n))}}function ye(e){return function(n){de(n,!1,e,me(n))}}function be(e){var n="onClick"===e||"onDblClick"===e?ge(e):ye(e);return document.addEventListener(v(e),n),n}function Ce(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function xe(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||d,i=r.dom;if(u(e))xe(o,e,t);else for(var a=0;a-1&&n.options[a]&&(l=n.options[a].value),t&&i(l)&&(l=e.defaultValue),Ve(r,l)}}var Le,Ae,We=ke("onInput",Te),Ee=ke("onChange");function Oe(e,n){we(e,"input",We),n.onChange&&we(e,"change",Ee)}function Te(e,n,t){var r=e.value,o=n.value;if(i(r)){if(t){var a=e.defaultValue;i(a)||a===o||(n.defaultValue=a,n.value=a)}}else o!==r&&(n.defaultValue=r,n.value=r)}function Be(e,n,t,r,o,i){64&e?De(r,t):256&e?Ue(r,t,o,n):128&e&&Te(r,t,o),i&&(t.$V=n)}function je(e,n,t){64&e?Fe(n,t):256&e?Ie(n):128&e&&Oe(n,t)}function Re(e){return e.type&&$e(e.type)?!i(e.checked):!i(e.value)}function He(e){e&&!W(e,null)&&e.current&&(e.current=null)}function ze(e,n,t){e&&(l(e)||void 0!==e.current)&&t.push((function(){W(e,n)||void 0===e.current||(e.current=n)}))}function Qe(e,n,t){Xe(e,t),F(e,n,t)}function Xe(e,n){var t,r=e.flags,o=e.children;if(481&r){t=e.ref;var a=e.props;He(t);var u=e.childFlags;if(!c(a))for(var s=Object.keys(a),f=0,p=s.length;f0?$(t.componentWillDisappear,Ke(n,e)):e.textContent=""}function qe(e,n,t,r){Ge(t,r),8192&n.flags?F(n,e,r):Ye(e,t,r)}function Je(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Ze(e){var n=e.event;return function(t){n(e.data,t)}}function en(e,n,t,r){if(f(t)){if(L(n,t))return;t=Ze(t)}we(r,v(e),t)}function nn(e,n,t){if(i(n))return void t.removeAttribute("style");var r,o,a=t.style;if(u(n))return void(a.cssText=n);if(i(e)||u(e))for(r in n)o=n[r],a.setProperty(r,o);else{for(r in n)(o=n[r])!==e[r]&&a.setProperty(r,o);for(r in e)i(n[r])&&a.removeProperty(r)}}function tn(e,n,t,r,o){var a=e&&e.__html||"",l=n&&n.__html||"";a!==l&&(i(l)||Ce(r,l)||(c(t)||(12&t.childFlags?Ge(t.children,o):2===t.childFlags&&Xe(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=l))}function rn(e,n,t,r,o,a,l,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(a&&"value"===e)break;var c=i(t)?"":t;r[e]!==c&&(r[e]=c);break;case"style":nn(n,t,r);break;case"dangerouslySetInnerHTML":tn(n,t,l,r,u);break;default:le[e]?se(e,n,t,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?en(e,n,t,r):i(t)?r.removeAttribute(e):o&&re[e]?r.setAttributeNS(re[e],e,t):r.setAttribute(e,t)}}function on(e,n,t,r,o,i){var a=!1,l=(448&n)>0;for(var u in l&&(a=Re(t))&&je(n,r,t),t)rn(u,null,t[u],r,o,a,null,i);l&&Be(n,e,r,t,!0,a)}function an(e,n,t){var r=ee(e.render(n,e.state,t)),o=t;return l(e.getChildContext)&&(o=s(t,e.getChildContext())),e.$CX=o,r}function ln(e,n,t,r,o,i){var a=new n(t,r),u=a.$N=Boolean(n.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=o,a.$L=i,e.children=a,a.$BS=!1,a.context=r,a.props===d&&(a.props=t),u)a.state=M(a,t,a.state);else if(l(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var s=a.$PS;if(!c(s)){var f=a.state;if(c(f))a.state=s;else for(var p in s)f[p]=s[p];a.$PS=null}a.$BR=!1}return a.$LI=an(a,t,r),a}function un(e,n){var t=e.props||d;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function cn(e,n,t,r,o,i,a){var l=e.flags|=16384;481&l?pn(e,n,t,r,o,i,a):4&l?vn(e,n,t,r,o,i,a):8&l?mn(e,n,t,r,o,i,a):16&l?dn(e,n,o):8192&l?fn(e,t,n,r,o,i,a):1024&l&&sn(e,t,n,o,i,a)}function sn(e,n,t,r,o,i){cn(e.children,e.ref,n,!1,null,o,i);var a=Y();dn(a,t,r),e.dom=a.dom}function fn(e,n,t,r,o,i,a){var l=e.children,u=e.childFlags;12&u&&0===l.length&&(u=e.childFlags=2,l=e.children=Y()),2===u?cn(l,t,n,r,o,i,a):hn(l,t,n,r,o,i,a)}function dn(e,n,t){var r=e.dom=document.createTextNode(e.children);c(n)||g(n,r,t)}function pn(e,n,t,r,o,a,l){var u=e.flags,s=e.props,f=e.className,d=e.childFlags,p=e.dom=y(e.type,r=r||(32&u)>0),h=e.children;if(i(f)||""===f||(r?p.setAttribute("class",f):p.className=f),16===d)U(p,h);else if(1!==d){var v=r&&"foreignObject"!==e.type;2===d?(16384&h.flags&&(e.children=h=K(h)),cn(h,p,t,v,null,a,l)):8!==d&&4!==d||hn(h,p,t,v,null,a,l)}c(n)||g(n,p,o),c(s)||on(e,u,s,p,r,l),ze(e.ref,p,a)}function hn(e,n,t,r,o,i,a){for(var l=0;lp)&&(f=w(l[p-1],!1).nextSibling)}Vn(c,s,l,u,t,r,o,f,e,i,a)}function Pn(e,n,t,r,o){var i=e.ref,l=n.ref,u=n.children;if(Vn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,r,o),n.dom=e.dom,i!==l&&!a(u)){var c=u.dom;C(i,c),m(l,c)}}function Fn(e,n,t,r,o,a,l){var u,c=n.dom=e.dom,s=e.props,f=n.props,p=!1,h=!1;if(r=r||(32&o)>0,s!==f){var v=s||d;if((u=f||d)!==d)for(var m in(p=(448&o)>0)&&(h=Re(u)),u){var g=v[m],y=u[m];g!==y&&rn(m,g,y,c,r,h,e,l)}if(v!==d)for(var b in v)i(u[b])&&!i(v[b])&&rn(b,v[b],null,c,r,h,e,l)}var C=n.children,x=n.className;e.className!==x&&(i(x)?c.removeAttribute("class"):r?c.setAttribute("class",x):c.className=x),4096&o?Nn(c,C):Vn(e.childFlags,n.childFlags,e.children,C,c,t,r&&"foreignObject"!==n.type,null,e,a,l),p&&Be(o,n,c,u,!1,h);var k=n.ref,w=e.ref;w!==k&&(He(w),ze(k,c,a))}function Dn(e,n,t,r,o,i,a){Xe(e,a),hn(n,t,r,o,w(e,!0),i,a),F(e,t,a)}function Vn(e,n,t,r,o,i,a,l,u,c,s){switch(e){case 2:switch(n){case 2:wn(t,r,o,i,a,l,c,s);break;case 1:Qe(t,o,s);break;case 16:Xe(t,s),U(o,r);break;default:Dn(t,r,o,i,a,c,s)}break;case 1:switch(n){case 2:cn(r,o,i,a,l,c,s);break;case 1:break;case 16:U(o,r);break;default:hn(r,o,i,a,l,c,s)}break;case 16:switch(n){case 16:$n(t,r,o);break;case 2:Ye(o,t,s),cn(r,o,i,a,l,c,s);break;case 1:Ye(o,t,s);break;default:Ye(o,t,s),hn(r,o,i,a,l,c,s)}break;default:switch(n){case 16:Ge(t,s),U(o,r);break;case 2:qe(o,u,t,s),cn(r,o,i,a,l,c,s);break;case 1:qe(o,u,t,s);break;default:var f=0|t.length,d=0|r.length;0===f?d>0&&hn(r,o,i,a,l,c,s):0===d?qe(o,u,t,s):8===n&&8===e?Wn(t,r,o,i,a,f,d,l,u,c,s):An(t,r,o,i,a,f,d,l,c,s)}}}function Mn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function _n(e,n,t,r,o,i,a,u,c,f){var d=e.state,p=e.props,h=Boolean(e.$N),v=l(e.shouldComponentUpdate);if(h&&(n=M(e,t,n!==d?s(d,n):n)),a||!v||v&&e.shouldComponentUpdate(t,n,o)){!h&&l(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var m=null,g=an(e,t,o);h&&l(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),wn(e.$LI,g,r,e.$CX,i,u,c,f),e.$LI=g,l(e.componentDidUpdate)&&Mn(e,p,d,m,c)}else e.props=t,e.state=n,e.context=o}function In(e,n,t,r,o,i,a,u){var f=n.children=e.children;if(c(f))return;f.$L=a;var p=n.props||d,h=n.ref,v=e.ref,m=f.state;if(!f.$N){if(l(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(p,r),f.$UN)return;f.$BR=!1}c(f.$PS)||(m=s(m,f.$PS),f.$PS=null)}_n(f,m,p,t,r,o,!1,i,a,u),v!==h&&(He(v),ze(h,f,a))}function Un(e,n,t,r,o,a,u,c){var s=!0,f=n.props||d,p=n.ref,h=e.props,v=!i(p),m=e.children;if(v&&l(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(h,f)),!1!==s){v&&l(p.onComponentWillUpdate)&&p.onComponentWillUpdate(h,f);var g=ee(un(n,r));wn(m,g,t,r,o,a,u,c),n.children=g,v&&l(p.onComponentDidUpdate)&&p.onComponentDidUpdate(h,f)}else n.children=m}function Ln(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function An(e,n,t,r,o,i,a,l,u,c){for(var s,f,d=i>a?a:i,p=0;pa)for(p=d;pp||v>h)break e;m=e[v],g=n[v]}for(m=e[p],g=n[h];m.key===g.key;){if(16384&g.flags&&(n[h]=g=K(g)),wn(m,g,t,r,o,l,c,s),e[p]=g,h--,v>--p||v>h)break e;m=e[p],g=n[h]}}if(v>p){if(v<=h)for(d=(f=h+1)h)for(;v<=p;)Qe(e[v++],t,s);else En(e,n,r,i,a,p,h,v,t,o,l,u,c,s)}function En(e,n,t,r,o,i,a,l,u,c,s,f,d,p){var h,v,m=0,g=0,y=l,b=l,C=i-l+1,x=a-l+1,k=new Int32Array(x+1),$=C===r,S=!1,P=0,F=0;if(o<4||(C|x)<32)for(g=y;g<=i;++g)if(h=e[g],Fl?S=!0:P=l,16384&v.flags&&(n[l]=v=K(v)),wn(h,v,u,t,c,s,d,p),++F;break}!$&&l>a&&Qe(h,u,p)}else $||Qe(h,u,p);else{var D={};for(g=b;g<=a;++g)D[n[g].key]=g;for(g=y;g<=i;++g)if(h=e[g],Fy;)Qe(e[y++],u,p);k[l-b]=g+1,P>l?S=!0:P=l,16384&(v=n[l]).flags&&(n[l]=v=K(v)),wn(h,v,u,t,c,s,d,p),++F}else $||Qe(h,u,p);else $||Qe(h,u,p)}if($)qe(u,f,e,p),hn(n,u,t,c,s,d,p);else if(S){var M=Tn(k);for(l=M.length-1,g=x-1;g>=0;g--)0===k[g]?(16384&(v=n[P=g+b]).flags&&(n[P]=v=K(v)),cn(v,u,t,c,(m=P+1)0&&N(p.componentWillMove)}else if(F!==x)for(g=x-1;g>=0;g--)0===k[g]&&(16384&(v=n[P=g+b]).flags&&(n[P]=v=K(v)),cn(v,u,t,c,(m=P+1)On&&(On=u,Le=new Int32Array(u),Ae=new Int32Array(u));t>1]]0&&(Ae[t]=Le[i-1]),Le[i]=t)}i=o+1;var c=new Int32Array(i);for(a=Le[i-1];i-- >0;)c[i]=a,a=Ae[a],Le[i]=0;return c}function Bn(e,n,t,r){var o=[],a=new h,u=n.$V;_.v=!0,i(u)?i(e)||(16384&e.flags&&(e=K(e)),cn(e,n,r,!1,null,o,a),n.$V=e,u=e):i(e)?(Qe(u,n,a),n.$V=null):(16384&e.flags&&(e=K(e)),wn(u,e,n,r,!1,null,o,a),u=n.$V=e),x(o),$(a.componentDidAppear),_.v=!1,l(t)&&t(),l(I.renderComplete)&&I.renderComplete(u,n)}function jn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=d),Bn(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Rn=[],Hn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},zn=!1;function Qn(e,n,t,r){var o=e.$PS;if(l(n)&&(n=n(o?s(e.state,o):e.state,e.props,e.context)),i(o))e.$PS=n;else for(var a in n)o[a]=n[a];if(e.$BR)l(t)&&e.$L.push(t.bind(e));else{if(!_.v&&0===Rn.length)return Kn(e,r),void(l(t)&&t.call(e));if(-1===Rn.indexOf(e)&&Rn.push(e),r&&(e.$F=!0),zn||(zn=!0,Hn(Gn)),l(t)){var u=e.$QU;u||(u=e.$QU=[]),u.push(t)}}}function Xn(e){for(var n=e.$QU,t=0;t0?cn(h,n,r,o,t,i,a):t=(t=ct(h,n,t,r,o,i,a))?t.nextSibling:null,f=(16&h.flags)>0}if(0===(8192&s))for(var v=null;t;)v=t.nextSibling,n.removeChild(t),t=v}else Zn(n.firstChild)||rt(n,c)||(n.textContent="",448&s&&(n.defaultValue=""))}function at(e,n,t,r,o,i,a){var l,u=e.props,c=e.className,s=e.flags,f=e.ref;return o=o||(32&s)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(pn(e,null,r,o,null,i,a),n.replaceChild(e.dom,t)):(e.dom=t,it(e,t,t.firstChild,r,o,i,a),Zn(u)||on(e,s,u,t,o,a),void 0===(l=c)||null===l?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",c):t.className=c,ze(f,t,i)),e.dom}function lt(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 ut(e,n,t,r,o,i,a){var l=e.children;if(2===e.childFlags)return lt(l,n,t),l.dom;return it(e,n,t,r,o,i,a),tt(l[l.length-1])}function ct(e,n,t,r,o,i,a){var l=e.flags|=16384;if(14&l)return ot(e,n,t,r,o,(4&l)>0,i,a);if(481&l)return at(e,n,t,r,o,i,a);if(16&l)return lt(e,n,t);if(8192&l)return ut(e,n,t,r,o,i,a);return et(),null}function st(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 ft(e,n,t){var r=e.flags,o=14&r?e.props&&e.props.children:e.children,i=arguments.length-2,a=e.className,l=e.key,u=e.ref;if(n?(void 0!==n.className&&(a=n.className),void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(l=n.key),void 0!==n.children&&(o=n.children)):n={},1===i)o=t;else if(i>1)for(o=[];i-- >0;)o[i]=arguments[i+2];if(n.children=o,14&r)return H(r,e.type,e.props||n?st(e.props,n):d,l,u);if(16&r)return z(o);if(8192&r)return Q(1===i?[o]:o,0,l);return X(T(r,e.type,a,null,1,st(e.props,n),l,u))}var dt="a runtime error occured! Use Inferno in development environment to find the error.";function pt(e){throw e||(e=dt),new Error("Inferno Error: "+e)}function ht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vt(e,n){return vt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},vt(e,n)}var mt={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function gt(e,n){for(var t in n)e[t]=n[t];return e}function yt(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||mt[n]||((e[n]=t.bind(e)).__bound=!0)}}function bt(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if("string"!==typeof e){if(u=2,Nt(r)||(n||(n={}),n.children=r),!$t(n))for(var s in o={},n)"key"===s?a=n.key:"ref"===s?i=n.ref:1===St[s]?(i||(i={}),i[s]=n[s]):o[s]=n[s];return H(u,e,o,a,i)}if(u=J(e),!$t(n))for(var f in o={},n)"className"===f||"class"===f?l=n[f]:"key"===f?a=n.key:"children"===f&&Nt(r)?r=n.children:"ref"===f?i=n.ref:("contenteditable"===f&&(u|=4096),o[f]=n[f]);if(8192&u)return Q(1===c?[r]:r,0,a);return T(u,e,l,r,0,o,a,i)}var Ft=Array.isArray;function Dt(e){return void 0===e||null===e}function Vt(e){return"string"===typeof e}function Mt(e){return null===e}function _t(){}_t.isRequired=_t;var It=function(){return _t},Ut={any:It,array:_t,arrayOf:It,bool:_t,checkPropTypes:function(){return null},element:It,func:_t,instanceOf:It,node:It,number:_t,object:_t,objectOf:It,oneOf:It,oneOfType:It,shape:It,string:_t,symbol:_t},Lt={htmlFor:"for",onDoubleClick:"onDblClick"},At=/[\-:]([a-z])/g,Wt=function(e){return e[1].toUpperCase()};function Et(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(At,Wt);Lt[n]=e}));var Ot=/[A-Z]/g;function Tt(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Bt(e,n)}function Bt(e,n){return Bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Bt(e,n)}function jt(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||Mt(e))return!1;return(495&e.flags)>0},linkEvent:function(e,n){if(l(n))return{data:e,event:n};return null},normalizeProps:X,options:I,render:rr,rerender:Gn,unmountComponentAtNode:function(e){return Bn(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){rr(H(4,tr,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:"15.4.2"};window.React=or,window.ReactDOM=or}var ir=Pt;function ar(e,n,t){console.log(e,n,t)}var lr=function(n){function t(e){var t;return(t=n.call(this,e)||this).state={btnstate:"btnstate"},t}e(t,n);var r=t.prototype;return r.click=function(){this.setState(ar)},r.render=function(){return ir("button",{onClick:this.click.bind(this),style:{background:this.context.color}},this.props.children)},t}(Yn),ur=function(n){function t(){return n.apply(this,arguments)||this}return e(t,n),t.prototype.render=function(){return ir("div",null,[this.props.text,ir(lr,{buttonProp:"magic"},"btn")])},t}(Yn),cr=function(n){function t(){return n.apply(this,arguments)||this}e(t,n);var r=t.prototype;return r.getChildContext=function(){return{color:"purple"}},r.render=function(){var e=this.props.messages.map((function(e){return ir(ur,{text:e.text})}));return ir("div",null,e)},t}(Yn);rr(ir(cr,{messages:[{text:"first"},{text:"second"}]}),document.getElementById("app1"));var sr=11;function fr(e){sr=e.target.value,console.log(e.type,sr),dr()}function dr(){rr(ir("div",null,[ir("label",{for:"test"},["label for input",ir("input",{id:"test",name:"testing_radio",value:"first",onChange:fr,type:"radio",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})]),ir("label",{for:"test2"},["label for input2",ir("input",{id:"test2",name:"testing_radio",value:"second",onChange:fr,type:"radio",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})]),ir("label",{htmlFor:"test3"},["label for input3",ir("input",{id:"test3",name:"test3",value:sr,onChange:fr,type:"number",pattern:"[0-9]+([,.][0-9]+)?",inputMode:"numeric"})])]),document.getElementById("app2"))}dr();var pr=function(n){function r(e){var r;return(r=n.call(this,e)||this).state={value:"ASYNC",radio:"first",text:"f",selectValue:"second"},r.handleChange=r.handleChange.bind(t(r)),r.radioChange=r.radioChange.bind(t(r)),r.textChange=r.textChange.bind(t(r)),r.selectChange=r.selectChange.bind(t(r)),r}e(r,n);var o=r.prototype;return o.handleChange=function(e){this.setState({value:e.target.value})},o.radioChange=function(e){this.setState({radio:e.target.value})},o.textChange=function(e){this.setState({text:e.target.value})},o.selectChange=function(e){this.setState({selectValue:e.target.value})},o.render=function(){return ir("div",null,[ir("label",{for:"testasync"},["async label for input",ir("input",{id:"testasync",name:"testing_radio_async",value:"first",onClick:this.radioChange,checked:"first"===this.state.radio,type:"radio"})]),ir("label",{for:"test2async"},["async label for input2",ir("input",{id:"test2async",name:"testing_radio_async",value:"second",onClick:this.radioChange,checked:"second"===this.state.radio,type:"radio"})]),ir("label",{htmlFor:"test3as"},["Async Name",ir("input",{id:"test3as",name:"test3as",value:this.state.value,onInput:this.handleChange,type:"text"})]),ir("label",{htmlFor:"textarea_async"},["async texxt",ir("textarea",{id:"textarea_async",name:"textarea_async",value:this.state.text,onInput:this.textChange})]),ir("select",{onChange:this.selectChange,value:this.state.selectValue},[ir("option",{value:"first",children:"first"}),ir("option",{value:"second",children:"second"}),ir("option",{value:"third",children:"third"})])])},r}(Yn),hr=ir("input",{id:"test3sync",name:"test3sync",value:"100",type:"text"}),vr=function(n){function r(e){var r;return(r=n.call(this,e)||this).state={value:"SYNC",radio:"first",text:"f",selectValue:"second"},r.handleChange=r.handleChange.bind(t(r)),r.radioChange=r.radioChange.bind(t(r)),r.textChange=r.textChange.bind(t(r)),r.selectChange=r.selectChange.bind(t(r)),r}e(r,n);var o=r.prototype;return o.handleChange=function(e){hr.props.value=200,this.setState({value:e.target.value})},o.radioChange=function(e){this.setState({radio:e.target.value})},o.textChange=function(e){this.setState({text:e.target.value})},o.selectChange=function(e){this.setState({selectValue:e.target.value})},o.render=function(){return ir("div",null,[ir("label",{for:"testsync"},["sync label for input",ir("input",{id:"testsync",name:"testing_radio_sync",value:"first",onClick:this.radioChange,checked:"first"===this.state.radio,type:"radio"})]),ir("label",{for:"test2sync"},["sync label for input2",ir("input",{id:"test2sync",name:"testing_radio_sync",value:"second",onClick:this.radioChange,checked:"second"===this.state.radio,type:"radio"})]),ir("label",{htmlFor:"test3sync"},["sync Name",ir("input",{id:"test3sync",name:"test3sync",value:this.state.value,onInput:this.handleChange,type:"text"})]),ir("label",{htmlFor:"textarea_sync"},["sync text",ir("textarea",{id:"textarea_sync",name:"textarea_sync",value:this.state.text,onInput:this.textChange})]),ir("select",{onChange:this.selectChange,value:this.state.selectValue},[ir("option",{value:"first",children:"first"}),ir("option",{value:"second",children:"second"}),ir("option",{value:"third",children:"third"})])])},r}(Yn);dr(ir(pr,{}),document.getElementById("app3")),dr(ir(vr,{}),document.getElementById("app4"))}(); diff --git a/docs/dbmonster-mobx/dist/bundle.js b/docs/dbmonster-mobx/dist/bundle.js index 93474f1c5..cd505d760 100644 --- a/docs/dbmonster-mobx/dist/bundle.js +++ b/docs/dbmonster-mobx/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";function e(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=function(e,t,n,r){this.min=e,this.max=t,this.mean=n,this.last=r},u=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 t=this.samples,n=0;nn&&(n=o),r+=o}var a=e[this._i],u=r/e.length;return new s(t,n,u,a)},e}(),l=[],c=-1,f=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),h=function(){function e(e){var t=this;this._sync=function(){t.sync(),t._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,l.push(e),-1===c&&requestAnimationFrame((function(e){c=-1;var t=l;l=[];for(var n=0;n0?U(n.componentWillDisappear,$(e,t)):I(e,t,!1)}function F(e,t,n,r,i,o,a,s){e.componentWillMove.push({dom:r,fn:function(){4&a?n.componentWillMove(t,i,r):8&a&&n.onComponentWillMove(t,i,r,s)},next:o,parent:i})}function H(e,t,n,r,i){var o,a,s=t.flags;do{var u=t.flags;if(1521&u)return void(g(o)||!w(o.componentWillMove)&&!w(o.onComponentWillMove)?T(n,t.dom,r):F(i,e,o,t.dom,n,r,s,a));var l=t.children;if(4&u)o=t.children,a=t.props,t=l.$LI;else if(8&u)o=t.ref,a=t.props,t=l;else if(8192&u){if(2!==t.childFlags){for(var c=0,f=l.length;c0,l=x(s),c=A(s)&&s[0]===J;u||l||c?(n=n||t.slice(0,o),(u||c)&&(a=ue(a)),(l||c)&&(a.key=J+o),n.push(a)):n&&n.push(a),a.flags|=65536}}r=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=ue(t)),r=2;return e.children=n,e.childFlags=r,e}function he(e){if(O(e)||m(e))return oe(e,null);if(y(e))return ae(e,0,null);return 16384&e.flags?ue(e):e}var de="http://www.w3.org/1999/xlink",ve="http://www.w3.org/XML/1998/namespace",pe={"xlink:actuate":de,"xlink:arcrole":de,"xlink:href":de,"xlink:role":de,"xlink:show":de,"xlink:title":de,"xlink:type":de,"xml:base":ve,"xml:lang":ve,"xml:space":ve};function _e(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 be=_e(0),ye=_e(null),me=_e(!0);function ge(e,t){var n=t.$EV;return n||(n=t.$EV=_e(null)),n[e]||1===++be[e]&&(ye[e]=Te(e)),n}function Oe(e,t){var n=t.$EV;n&&n[e]&&(0===--be[e]&&(document.removeEventListener(P(e),ye[e]),ye[e]=null),n[e]=null)}function we(e,t,n,r){if(w(n))ge(e,r)[e]=n;else if(C(n)){if(X(t,n))return;ge(e,r)[e]=n}else Oe(e,r)}function Ae(e){return w(e.composedPath)?e.composedPath()[0]:e.target}function xe(e,t,n,r){var i=Ae(e);do{if(t&&i.disabled)return;var o=i.$EV;if(o){var a=o[n];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!x(i))}function Se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Ce(){return this.defaultPrevented}function ke(){return this.cancelBubble}function je(e){var t={dom:document};return e.isDefaultPrevented=Ce,e.isPropagationStopped=ke,e.stopPropagation=Se,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Pe(e){return function(t){if(0!==t.button)return void t.stopPropagation();xe(t,!0,e,je(t))}}function Ee(e){return function(t){xe(t,!1,e,je(t))}}function Te(e){var t="onClick"===e||"onDblClick"===e?Pe(e):Ee(e);return document.addEventListener(P(e),t),t}function Ne(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}function Ve(e,t,n){if(e[t]){var r=e[t];r.event?r.event(r.data,n):r(n)}else{var i=t.toLowerCase();e[i]&&e[i](n)}}function De(e,t){var n=function(n){var r=this.$V;if(!r)return;var i=r.props||k,o=r.dom;if(A(e))Ve(i,e,n);else for(var a=0;a-1&&t.options[o]&&(a=t.options[o].value),n&&g(a)&&(a=e.defaultValue),Ke(r,a)}}var Ge,ze,Xe=De("onInput",Je),Ye=De("onChange");function Qe(e,t){Me(e,"input",Xe),t.onChange&&Me(e,"change",Ye)}function Je(e,t,n){var r=e.value,i=t.value;if(g(r)){if(n){var o=e.defaultValue;g(o)||o===i||(t.defaultValue=o,t.value=o)}}else i!==r&&(t.defaultValue=r,t.value=r)}function Ze(e,t,n,r,i,o){64&e?$e(r,n):256&e?qe(r,n,i,t):128&e&&Je(r,n,i),o&&(n.$V=t)}function et(e,t,n){64&e?Ie(t,n):256&e?We(t):128&e&&Qe(t,n)}function tt(e){return e.type&&Le(e.type)?!g(e.checked):!g(e.value)}function nt(e){e&&!Q(e,null)&&e.current&&(e.current=null)}function rt(e,t,n){e&&(w(e)||void 0!==e.current)&&n.push((function(){Q(e,t)||void 0===e.current||(e.current=t)}))}function it(e,t,n){ot(e,n),K(e,t,n)}function ot(e,t){var n,r=e.flags,i=e.children;if(481&r){n=e.ref;var o=e.props;nt(n);var a=e.childFlags;if(!x(o))for(var s=Object.keys(o),u=0,l=s.length;u0?U(n.componentWillDisappear,st(t,e)):e.textContent=""}function lt(e,t,n,r){at(n,r),8192&t.flags?K(t,e,r):ut(e,n,r)}function ct(e,t,n,r,i){e.componentWillDisappear.push((function(e){4&r?t.componentWillDisappear(n,e):8&r&&t.onComponentWillDisappear(n,i,e)}))}function ft(e){var t=e.event;return function(n){t(e.data,n)}}function ht(e,t,n,r){if(C(n)){if(X(t,n))return;n=ft(n)}Me(r,P(e),n)}function dt(e,t,n){if(g(t))return void n.removeAttribute("style");var r,i,o=n.style;if(A(t))return void(o.cssText=t);if(g(e)||A(e))for(r in t)i=t[r],o.setProperty(r,i);else{for(r in t)(i=t[r])!==e[r]&&o.setProperty(r,i);for(r in e)g(t[r])&&o.removeProperty(r)}}function vt(e,t,n,r,i){var o=e&&e.__html||"",a=t&&t.__html||"";o!==a&&(g(a)||Ne(r,a)||(x(n)||(12&n.childFlags?at(n.children,i):2===n.childFlags&&ot(n.children,i),n.children=null,n.childFlags=1),r.innerHTML=a))}function pt(e,t,n,r,i,o,a,s){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.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":r[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(o&&"value"===e)break;var u=g(n)?"":n;r[e]!==u&&(r[e]=u);break;case"style":dt(t,n,r);break;case"dangerouslySetInnerHTML":vt(t,n,a,r,s);break;default:me[e]?we(e,t,n,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?ht(e,t,n,r):g(n)?r.removeAttribute(e):i&&pe[e]?r.setAttributeNS(pe[e],e,n):r.setAttribute(e,n)}}function _t(e,t,n,r,i,o){var a=!1,s=(448&t)>0;for(var u in s&&(a=tt(n))&&et(t,r,n),n)pt(u,null,n[u],r,i,a,null,o);s&&Ze(t,e,r,n,!0,a)}function bt(e,t,n){var r=he(e.render(t,e.state,n)),i=n;return w(e.getChildContext)&&(i=S(n,e.getChildContext())),e.$CX=i,r}function yt(e,t,n,r,i,o){var a=new t(n,r),s=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=o,e.children=a,a.$BS=!1,a.context=r,a.props===k&&(a.props=n),s)a.state=W(a,n,a.state);else if(w(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!x(u)){var l=a.state;if(x(l))a.state=u;else for(var c in u)l[c]=u[c];a.$PS=null}a.$BR=!1}return a.$LI=bt(a,n,r),a}function mt(e,t){var n=e.props||k;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function gt(e,t,n,r,i,o,a){var s=e.flags|=16384;481&s?xt(e,t,n,r,i,o,a):4&s?Ct(e,t,n,r,i,o,a):8&s?kt(e,t,n,r,i,o,a):16&s?At(e,t,i):8192&s?wt(e,n,t,r,i,o,a):1024&s&&Ot(e,n,t,i,o,a)}function Ot(e,t,n,r,i,o){gt(e.children,e.ref,t,!1,null,i,o);var a=le();At(a,n,r),e.dom=a.dom}function wt(e,t,n,r,i,o,a){var s=e.children,u=e.childFlags;12&u&&0===s.length&&(u=e.childFlags=2,s=e.children=le()),2===u?gt(s,n,t,r,i,o,a):St(s,n,t,r,i,o,a)}function At(e,t,n){var r=e.dom=document.createTextNode(e.children);x(t)||T(t,r,n)}function xt(e,t,n,r,i,o,a){var s=e.flags,u=e.props,l=e.className,c=e.childFlags,f=e.dom=N(e.type,r=r||(32&s)>0),h=e.children;if(g(l)||""===l||(r?f.setAttribute("class",l):f.className=l),16===c)z(f,h);else if(1!==c){var d=r&&"foreignObject"!==e.type;2===c?(16384&h.flags&&(e.children=h=ue(h)),gt(h,f,n,d,null,o,a)):8!==c&&4!==c||St(h,f,n,d,null,o,a)}x(t)||T(t,f,i),x(u)||_t(e,s,u,f,r,a),rt(e.ref,f,o)}function St(e,t,n,r,i,o,a){for(var s=0;sd)&&(f=R(s[d-1],!1).nextSibling)}$t(l,c,s,u,n,r,i,f,e,o,a)}function Ut(e,t,n,r,i){var o=e.ref,a=t.ref,s=t.children;if($t(e.childFlags,t.childFlags,e.children,s,o,n,!1,null,e,r,i),t.dom=e.dom,o!==a&&!O(s)){var u=s.dom;D(o,u),E(a,u)}}function Bt(e,t,n,r,i,o,a){var s,u=t.dom=e.dom,l=e.props,c=t.props,f=!1,h=!1;if(r=r||(32&i)>0,l!==c){var d=l||k;if((s=c||k)!==k)for(var v in(f=(448&i)>0)&&(h=tt(s)),s){var p=d[v],_=s[v];p!==_&&pt(v,p,_,u,r,h,e,a)}if(d!==k)for(var b in d)g(s[b])&&!g(d[b])&&pt(b,d[b],null,u,r,h,e,a)}var y=t.children,m=t.className;e.className!==m&&(g(m)?u.removeAttribute("class"):r?u.setAttribute("class",m):u.className=m),4096&i?Lt(u,y):$t(e.childFlags,t.childFlags,e.children,y,u,n,r&&"foreignObject"!==t.type,null,e,o,a),f&&Ze(i,t,u,s,!1,h);var O=t.ref,w=e.ref;w!==O&&(nt(w),rt(O,u,o))}function It(e,t,n,r,i,o,a){ot(e,a),St(t,n,r,i,R(e,!0),o,a),K(e,n,a)}function $t(e,t,n,r,i,o,a,s,u,l,c){switch(e){case 2:switch(t){case 2:Dt(n,r,i,o,a,s,l,c);break;case 1:it(n,i,c);break;case 16:ot(n,c),z(i,r);break;default:It(n,r,i,o,a,l,c)}break;case 1:switch(t){case 2:gt(r,i,o,a,s,l,c);break;case 1:break;case 16:z(i,r);break;default:St(r,i,o,a,s,l,c)}break;case 16:switch(t){case 16:Mt(n,r,i);break;case 2:ut(i,n,c),gt(r,i,o,a,s,l,c);break;case 1:ut(i,n,c);break;default:ut(i,n,c),St(r,i,o,a,s,l,c)}break;default:switch(t){case 16:at(n,c),z(i,r);break;case 2:lt(i,u,n,c),gt(r,i,o,a,s,l,c);break;case 1:lt(i,u,n,c);break;default:var f=0|n.length,h=0|r.length;0===f?h>0&&St(r,i,o,a,s,l,c):0===h?lt(i,u,n,c):8===t&&8===e?zt(n,r,i,o,a,f,h,s,u,l,c):Gt(n,r,i,o,a,f,h,s,l,c)}}}function Kt(e,t,n,r,i){i.push((function(){e.componentDidUpdate(t,n,r)}))}function Ft(e,t,n,r,i,o,a,s,u,l){var c=e.state,f=e.props,h=Boolean(e.$N),d=w(e.shouldComponentUpdate);if(h&&(t=W(e,n,t!==c?S(c,t):t)),a||!d||d&&e.shouldComponentUpdate(n,t,i)){!h&&w(e.componentWillUpdate)&&e.componentWillUpdate(n,t,i),e.props=n,e.state=t,e.context=i;var v=null,p=bt(e,n,i);h&&w(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(f,c)),Dt(e.$LI,p,r,e.$CX,o,s,u,l),e.$LI=p,w(e.componentDidUpdate)&&Kt(e,f,c,v,u)}else e.props=n,e.state=t,e.context=i}function Ht(e,t,n,r,i,o,a,s){var u=t.children=e.children;if(x(u))return;u.$L=a;var l=t.props||k,c=t.ref,f=e.ref,h=u.state;if(!u.$N){if(w(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(l,r),u.$UN)return;u.$BR=!1}x(u.$PS)||(h=S(h,u.$PS),u.$PS=null)}Ft(u,h,l,n,r,i,!1,o,a,s),f!==c&&(nt(f),rt(c,u,a))}function Wt(e,t,n,r,i,o,a,s){var u=!0,l=t.props||k,c=t.ref,f=e.props,h=!g(c),d=e.children;if(h&&w(c.onComponentShouldUpdate)&&(u=c.onComponentShouldUpdate(f,l)),!1!==u){h&&w(c.onComponentWillUpdate)&&c.onComponentWillUpdate(f,l);var v=he(mt(t,r));Dt(d,v,n,r,i,o,a,s),t.children=v,h&&w(c.onComponentDidUpdate)&&c.onComponentDidUpdate(f,l)}else t.children=d}function qt(e,t){var n=t.children,r=t.dom=e.dom;n!==e.children&&(r.nodeValue=n)}function Gt(e,t,n,r,i,o,a,s,u,l){for(var c,f,h=o>a?a:o,d=0;da)for(d=h;dd||p>v)break e;_=e[p],b=t[p]}for(_=e[d],b=t[v];_.key===b.key;){if(16384&b.flags&&(t[v]=b=ue(b)),Dt(_,b,n,r,i,s,l,c),e[d]=b,v--,p>--d||p>v)break e;_=e[d],b=t[v]}}if(p>d){if(p<=v)for(h=(f=v+1)v)for(;p<=d;)it(e[p++],n,c);else Xt(e,t,r,o,a,d,v,p,n,i,s,u,l,c)}function Xt(e,t,n,r,i,o,a,s,u,l,c,f,h,d){var v,p,_=0,b=0,y=s,m=s,g=o-s+1,O=a-s+1,w=new Int32Array(O+1),A=g===r,x=!1,S=0,C=0;if(i<4||(g|O)<32)for(b=y;b<=o;++b)if(v=e[b],Cs?x=!0:S=s,16384&p.flags&&(t[s]=p=ue(p)),Dt(v,p,u,n,l,c,h,d),++C;break}!A&&s>a&&it(v,u,d)}else A||it(v,u,d);else{var k={};for(b=m;b<=a;++b)k[t[b].key]=b;for(b=y;b<=o;++b)if(v=e[b],Cy;)it(e[y++],u,d);w[s-m]=b+1,S>s?x=!0:S=s,16384&(p=t[s]).flags&&(t[s]=p=ue(p)),Dt(v,p,u,n,l,c,h,d),++C}else A||it(v,u,d);else A||it(v,u,d)}if(A)lt(u,f,e,d),St(t,u,n,l,c,h,d);else if(x){var j=Qt(w);for(s=j.length-1,b=O-1;b>=0;b--)0===w[b]?(16384&(p=t[S=b+m]).flags&&(t[S]=p=ue(p)),gt(p,u,n,l,(_=S+1)0&&B(d.componentWillMove)}else if(C!==O)for(b=O-1;b>=0;b--)0===w[b]&&(16384&(p=t[S=b+m]).flags&&(t[S]=p=ue(p)),gt(p,u,n,l,(_=S+1)Yt&&(Yt=u,Ge=new Int32Array(u),ze=new Int32Array(u));n>1]]0&&(ze[n]=Ge[o-1]),Ge[o]=n)}o=i+1;var l=new Int32Array(o);for(a=Ge[o-1];o-- >0;)l[o]=a,a=ze[a],Ge[o]=0;return l}function Jt(e,t,n,r){var i=[],o=new j,a=t.$V;q.v=!0,g(a)?g(e)||(16384&e.flags&&(e=ue(e)),gt(e,t,r,!1,null,i,o),t.$V=e,a=e):g(e)?(it(a,t,o),t.$V=null):(16384&e.flags&&(e=ue(e)),Dt(a,e,t,r,!1,null,i,o),a=t.$V=e),M(i),U(o.componentDidAppear),q.v=!1,w(n)&&n(),w(G.renderComplete)&&G.renderComplete(a,t)}function Zt(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=k),Jt(e,t,n,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var en=[],tn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},nn=!1;function rn(e,t,n,r){var i=e.$PS;if(w(t)&&(t=t(i?S(e.state,i):e.state,e.props,e.context)),g(i))e.$PS=t;else for(var o in t)i[o]=t[o];if(e.$BR)w(n)&&e.$L.push(n.bind(e));else{if(!q.v&&0===en.length)return sn(e,r),void(w(n)&&n.call(e));if(-1===en.indexOf(e)&&en.push(e),r&&(e.$F=!0),nn||(nn=!0,tn(an)),w(n)){var a=e.$QU;a||(a=e.$QU=[]),a.push(n)}}}function on(e){for(var t=e.$QU,n=0;n1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var zn=Symbol("mobx-stored-annotations");function Xn(e){return Object.assign((function(t,n){Yn(t,n,e)}),e)}function Yn(e,t,n){Rn(e,zn)||jn(e,zn,$n({},e[zn])),ir(n)||(e[zn][t]=n)}var Qn=Symbol("mobx administration"),Jn=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ti.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Si(this)},t.reportChanged=function(){Ai(),Ci(this),xi()},t.toString=function(){return this.name_},e}(),Zn=En("Atom",Jn);function er(e,t,n){void 0===t&&(t=wn),void 0===n&&(n=wn);var r=new Jn(e);return t!==wn&&Gi("onBO",r,t,void 0),n!==wn&&qi(r,n),r}var tr={identity:function(e,t){return e===t},structural:function(e,t){return ca(e,t)},default:function(e,t){if(Object.is)return Object.is(e,t);return e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return ca(e,t,1)}};function nr(e,t,n){if(ro(e))return e;if(Array.isArray(e))return Lr.array(e,{name:n});if(Cn(e))return Lr.object(e,void 0,{name:n});if(Tn(e))return Lr.map(e,{name:n});if(Nn(e))return Lr.set(e,{name:n});if("function"===typeof e&&!Ki(e)&&!to(e))return kn(e)?Zi(e):$i(n,e);return e}function rr(e){return e}function ir(e){return"override"===e.annotationType_}function or(e,t){return{annotationType_:e,options_:t,make_:ar,extend_:sr}}function ar(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Ki(n.value))return 1;var o=ur(e,this,t,n,!1);return vn(r,t,o),2}function sr(e,t,n,r){var i=ur(e,this,t,n);return e.defineProperty_(t,i,r)}function ur(e,t,n,r,i){var o,a,s,u,l,c,f,h;void 0===i&&(i=mi.safeDescriptors),h=r,t.annotationType_,h.value;var d,v=r.value;return null!=(o=t.options_)&&o.bound&&(v=v.bind(null!=(d=e.proxy_)?d:e.target_)),{value:qr(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),v,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function lr(e,t){return{annotationType_:e,options_:t,make_:cr,extend_:fr}}function cr(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!Rn(e.target_,t)||!to(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(to(n.value))return 1;var o=hr(e,this,0,n,!1,!1);return vn(r,t,o),2}function fr(e,t,n,r){var i,o=hr(e,this,0,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function hr(e,t,n,r,i,o){var a;void 0===o&&(o=mi.safeDescriptors),a=r,t.annotationType_,a.value;var s,u=r.value;return to(u)||(u=Zi(u)),i&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function dr(e,t){return{annotationType_:e,options_:t,make_:vr,extend_:pr}}function vr(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function pr(e,t,n,r){return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,$n({},this.options_,{get:n.get,set:n.set}),r);var i}function _r(e,t){return{annotationType_:e,options_:t,make_:br,extend_:yr}}function br(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function yr(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:nr,r)}var mr=gr();function gr(e){return{annotationType_:"true",options_:e,make_:Or,extend_:wr}}function Or(e,t,n,r){var i,o;if(n.get)return Ir.make_(e,t,n,r);if(n.set){var a=qr(t.toString(),n.set);if(r===e.target_)return null===e.defineProperty_(t,{configurable:!mi.safeDescriptors||e.isPlainObject_,set:a})?0:2;return vn(r,t,{configurable:!0,set:a}),2}if(r!==e.target_&&"function"===typeof n.value){var s,u;if(kn(n.value))return(null!=(u=this.options_)&&u.autoBind?Zi.bound:Zi).make_(e,t,n,r);return(null!=(s=this.options_)&&s.autoBind?$i.bound:$i).make_(e,t,n,r)}var l,c=!1===(null==(i=this.options_)?void 0:i.deep)?Lr.ref:Lr;return"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function wr(e,t,n,r){var i,o,a;if(n.get)return Ir.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!mi.safeDescriptors||e.isPlainObject_,set:qr(t.toString(),n.set)},r);return"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?Lr.ref:Lr).extend_(e,t,n,r)}var Ar={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function xr(e){return e||Ar}Object.freeze(Ar);var Sr=_r("observable"),Cr=_r("observable.ref",{enhancer:rr}),kr=_r("observable.shallow",{enhancer:function(e,t,n){if(void 0===e||null===e)return e;if(zo(e)||Eo(e)||Ro(e)||$o(e))return e;if(Array.isArray(e))return Lr.array(e,{name:n,deep:!1});if(Cn(e))return Lr.object(e,void 0,{name:n,deep:!1});if(Tn(e))return Lr.map(e,{name:n,deep:!1});if(Nn(e))return Lr.set(e,{name:n,deep:!1})}}),jr=_r("observable.struct",{enhancer:function(e,t){if(ca(e,t))return t;return e}}),Pr=Xn(Sr);function Er(e){return!0===e.deep?nr:!1===e.deep?rr:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:nr;var t,n,r}function Tr(e){var t;return e?null!=(t=e.defaultDecorator)?t:gr(e):void 0}function Nr(e,t,n){if(xn(t))return void Yn(e,t,Sr);if(ro(e))return e;if(Cn(e))return Lr.object(e,t,n);if(Array.isArray(e))return Lr.array(e,t);if(Tn(e))return Lr.map(e,t);if(Nn(e))return Lr.set(e,t);if("object"===typeof e&&null!==e)return e;return Lr.box(e,t)}Object.assign(Nr,Pr);var Vr,Dr,Mr={box:function(e,t){var n=xr(t);return new ei(e,Er(n),n.name,!0,n.equals)},array:function(e,t){var n=xr(t);return(!1===mi.useProxies||!1===n.proxy?oa:Oo)(e,Er(n),n.name)},map:function(e,t){var n=xr(t);return new Lo(e,Er(n),n.name)},set:function(e,t){var n=xr(t);return new Io(e,Er(n),n.name)},object:function(e,t,n){return zi(!1===mi.useProxies||!1===(null==n?void 0:n.proxy)?Wo({},n):lo({},n),e,t)},ref:Xn(Cr),shallow:Xn(kr),deep:Pr,struct:Xn(jr)},Lr=hn(Nr,Mr),Rr="computed",Ur=dr(Rr),Br=dr("computed.struct",{equals:tr.structural}),Ir=function(e,t){if(xn(t))return Yn(e,t,Ur);if(Cn(e))return Xn(dr(Rr,e));var n=Cn(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new ri(n)};Object.assign(Ir,Ur),Ir.struct=Xn(Br);var $r,Kr=0,Fr=1,Hr=null!=(Vr=null==(Dr=dn((function(){}),"name"))?void 0:Dr.configurable)&&Vr,Wr={value:"action",configurable:!0,writable:!1,enumerable:!1};function qr(e,t,n,r){function i(){return Gr(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,Hr&&(Wr.value=e,Object.defineProperty(i,"name",Wr)),i}function Gr(e,t,n,r,i){var o=zr(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{Xr(o)}}function zr(e,t,n,r){var i=mi.trackingDerivation,o=!t||!i;Ai();var a=mi.allowStateChanges;o&&(hi(),a=Qr(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:vi(!0),notifySpy_:!1,startTime_:0,actionId_:Fr++,parentActionId_:Kr};return Kr=s.actionId_,s}function Xr(e){Kr!==e.actionId_&&ln(30),Kr=e.parentActionId_,void 0!==e.error_&&(mi.suppressReactionErrors=!0),Jr(e.prevAllowStateChanges_),pi(e.prevAllowStateReads_),xi(),e.runAsAction_&&di(e.prevDerivation_),mi.suppressReactionErrors=!1}function Yr(e,t){var n=Qr(e);try{return t()}finally{Jr(n)}}function Qr(e){var t=mi.allowStateChanges;return mi.allowStateChanges=e,t}function Jr(e){mi.allowStateChanges=e}$r=Symbol.toPrimitive;var Zr,ei=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=tr.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}Kn(t,e);var n=t.prototype;return n.dehanceValue=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==mi.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(co(this)){var t=ho(this,{object:this,type:yo,newValue:e});if(!t)return mi.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?mi.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),vo(this)&&_o(this,{type:yo,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return fo(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:yo,newValue:this.value_,oldValue:void 0}),po(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Ln(this.get())},n[$r]=function(){return this.valueOf()},t}(Jn);Zr=Symbol.toPrimitive;var ti,ni,ri=function(){function e(e){this.dependenciesState_=ti.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ti.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new oi(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=ni.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||ln(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=qr("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?tr.structural:tr.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){ji(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&ln(32,this.name_,this.derivation),0!==mi.inBatch||0!==this.observers_.size||this.keepAlive_){if(Si(this),si(this)){var e=mi.trackingContext;this.keepAlive_&&!e&&(mi.trackingContext=this),this.trackAndCompute()&&ki(this),mi.trackingContext=e}}else si(this)&&(this.warnAboutUntrackedRead_(),Ai(),this.value_=this.computeValue_(!1),xi());var t=this.value_;if(ai(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&ln(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else ln(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ti.NOT_TRACKING_,n=this.computeValue_(!0),r=t||ai(e)||ai(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=Qr(!1);if(e)t=ui(this,this.derivation,this.scope_);else if(!0===mi.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new oi(e)}return Jr(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(ci(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Fi((function(){var o=n.get();if(!r||t){var a=hi();e({observableKind:"computed",debugObjectName:n.name_,type:yo,object:n,newValue:o,oldValue:i}),di(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){return},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Ln(this.get())},t[Zr]=function(){return this.valueOf()},e}(),ii=En("ComputedValue",ri);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ti||(ti={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(ni||(ni={}));var oi=function(e){this.cause=void 0,this.cause=e};function ai(e){return e instanceof oi}function si(e){switch(e.dependenciesState_){case ti.UP_TO_DATE_:return!1;case ti.NOT_TRACKING_:case ti.STALE_:return!0;case ti.POSSIBLY_STALE_:for(var t=vi(!0),n=hi(),r=e.observing_,i=r.length,o=0;or&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue_&&Oi(u,e),u.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,gi(l,e))}r!==ti.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function ci(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Oi(t[n],e);e.dependenciesState_=ti.NOT_TRACKING_}function fi(e){var t=hi();try{return e()}finally{di(t)}}function hi(){var e=mi.trackingDerivation;return mi.trackingDerivation=null,e}function di(e){mi.trackingDerivation=e}function vi(e){var t=mi.allowStateReads;return mi.allowStateReads=e,t}function pi(e){mi.allowStateReads=e}function _i(e){if(e.dependenciesState_===ti.UP_TO_DATE_)return;e.dependenciesState_=ti.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ti.UP_TO_DATE_}var bi=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},yi=!0,mi=function(){var e=fn();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(yi=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new bi).version&&(yi=!1),yi?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new bi):(setTimeout((function(){ln(35)}),1),new bi)}();function gi(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Oi(e,t){e.observers_.delete(t),0===e.observers_.size&&wi(e)}function wi(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,mi.pendingUnobservations.push(e))}function Ai(){mi.inBatch++}function xi(){if(0===--mi.inBatch){Ei();for(var e=mi.pendingUnobservations,t=0;t0&&wi(e),!1}function Ci(e){if(e.lowestObserverState_===ti.STALE_)return;e.lowestObserverState_=ti.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ti.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=ti.STALE_}))}function ki(e){if(e.lowestObserverState_===ti.STALE_)return;e.lowestObserverState_=ti.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ti.POSSIBLY_STALE_?t.dependenciesState_=ti.STALE_:t.dependenciesState_===ti.UP_TO_DATE_&&(e.lowestObserverState_=ti.UP_TO_DATE_)}))}function ji(e){if(e.lowestObserverState_!==ti.UP_TO_DATE_)return;e.lowestObserverState_=ti.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ti.UP_TO_DATE_&&(e.dependenciesState_=ti.POSSIBLY_STALE_,e.onBecomeStale_())}))}var Pi=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ti.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=ni.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,mi.pendingReactions.push(this),Ei())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Ai(),this.isScheduled_=!1;var e=mi.trackingContext;if(mi.trackingContext=this,si(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}mi.trackingContext=e,xi()}},t.track=function(e){if(this.isDisposed_)return;Ai(),this.isRunning_=!0;var t=mi.trackingContext;mi.trackingContext=this;var n=ui(this,e,void 0);mi.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&ci(this),ai(n)&&this.reportExceptionInDerivation_(n.cause),xi()},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(mi.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";mi.suppressReactionErrors||console.error(n,e),mi.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Ai(),ci(this),xi()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[Qn]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),io(this,e)},e}();function Ei(){if(mi.inBatch>0||mi.isRunningReactions)return;Ti()}function Ti(){mi.isRunningReactions=!0;for(var e=mi.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",t,e);if(An(n))return qr(t,n,e);if(xn(n))return Yn(t,n,e?Ri:Mi);if(xn(t))return Xn(or(e?Di:Vi,{name:t,autoAction:e}))}}var Ii=Bi(!1);Object.assign(Ii,Mi);var $i=Bi(!0);function Ki(e){return An(e)&&!0===e.isMobxAction}function Fi(e,t){var n,r;void 0===t&&(t=bn);var i,o=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a=Wi(t),s=!1;i=new Pi(o,(function(){s||(s=!0,a((function(){s=!1,i.isDisposed_||i.track(u)})))}),t.onError,t.requiresObservable)}else i=new Pi(o,(function(){this.track(u)}),t.onError,t.requiresObservable);function u(){e(i)}return i.schedule_(),i.getDisposer_()}Object.assign($i,Ri),Ii.bound=Xn(Li),$i.bound=Xn(Ui);var Hi=function(e){return e()};function Wi(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Hi}function qi(e,t,n){return Gi("onBUO",e,t,n)}function Gi(e,t,n,r){var i="function"===typeof r?aa(t,n):aa(t),o=An(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function zi(e,t,n,r){var i=Un(t),o=Wo(e,r)[Qn];Ai();try{Mn(i).forEach((function(e){o.extend_(e,i[e],!n||!(e in n)||n[e])}))}finally{xi()}return e}var Xi=0;function Yi(){this.message="FLOW_CANCELLED"}Yi.prototype=Object.create(Error.prototype);var Qi=lr("flow"),Ji=lr("flow.bound",{bound:!0}),Zi=Object.assign((function(e,t){if(xn(t))return Yn(e,t,Qi);var n=e,r=n.name||"",i=function(){var e,t=this,i=arguments,o=++Xi,a=Ii(r+" - runid: "+o+" - init",n).apply(t,i),s=void 0,u=new Promise((function(t,n){var i=0;function u(e){var t;s=void 0;try{t=Ii(r+" - runid: "+o+" - yield "+i++,a.next).call(a,e)}catch(e){return n(e)}c(t)}function l(e){var t;s=void 0;try{t=Ii(r+" - runid: "+o+" - yield "+i++,a.throw).call(a,e)}catch(e){return n(e)}c(t)}function c(e){if(An(null==e?void 0:e.then))return void e.then(c,n);if(e.done)return t(e.value);return(s=Promise.resolve(e.value)).then(u,l)}e=n,u(void 0)}));return u.cancel=Ii(r+" - runid: "+o+" - cancel",(function(){try{s&&eo(s);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(wn,wn),eo(n),e(new Yi)}catch(t){e(t)}})),u};return i.isMobXFlow=!0,i}),Qi);function eo(e){An(e.cancel)&&e.cancel()}function to(e){return!0===(null==e?void 0:e.isMobXFlow)}function no(e,t){if(!e)return!1;if(void 0!==t){if(zo(e))return e[Qn].values_.has(t);return!1}return zo(e)||!!e[Qn]||Zn(e)||Ni(e)||ii(e)}function ro(e){return no(e)}function io(){ln("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r0}function fo(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),On((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function ho(e,t){var n=hi();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i0}function po(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),On((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function _o(e,t){var n=hi(),r=e.changeListeners_;if(!r)return;for(var i=0,o=(r=r.slice()).length;i0)return e.map(this.dehancer);return e},t.intercept_=function(e){return fo(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),po(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&ln("Out of range: "+e);var t=this.values_.length;if(e===t)return;if(e>t){for(var n=new Array(e-t),r=0;r0&&ia(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=_n),co(this)){var o=ho(this,{object:this.proxy_,type:bo,index:e,removedCount:t,added:n});if(!o)return _n;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length)return void console.warn("[mobx] Out of bounds read: "+e);return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&ln(17,e,n.length),e2?n-2:0),i=2;i-1)return this.splice(n,1),!0;return!1}};function Ao(e,t){"function"===typeof Array.prototype[e]&&(wo[e]=t(e))}function xo(e){return function(){var t=this[Qn];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function So(e){return function(t,n){var r=this,i=this[Qn];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function Co(e){return function(){var t=this,n=this[Qn];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}Ao("concat",xo),Ao("flat",xo),Ao("includes",xo),Ao("indexOf",xo),Ao("join",xo),Ao("lastIndexOf",xo),Ao("slice",xo),Ao("toString",xo),Ao("toLocaleString",xo),Ao("every",So),Ao("filter",So),Ao("find",So),Ao("findIndex",So),Ao("flatMap",So),Ao("forEach",So),Ao("map",So),Ao("some",So),Ao("reduce",Co),Ao("reduceRight",Co);var ko,jo,Po=En("ObservableArrayAdministration",go);function Eo(e){return Sn(e)&&Po(e[Qn])}var To={},No="add",Vo="delete";ko=Symbol.iterator,jo=Symbol.toStringTag;var Do,Mo,Lo=function(){function e(e,t,n){var r=this;void 0===t&&(t=nr),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Qn]=To,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,An(Map)||ln(18),this.keysAtom_=er("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Yr(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!mi.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new ei(this.has_(e),rr,"ObservableMap.key?",!1);this.hasMap_.set(e,r),qi(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(co(this)){var r=ho(this,{type:n?yo:No,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,co(this)&&!ho(this,{type:Vo,object:this,name:e}))return!1;if(this.has_(e)){var n=vo(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Vo,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return ao((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&_o(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==mi.UNCHANGED){var r=vo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:yo,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&_o(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,ao((function(){var r,i=new ei(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=vo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:No,object:this,name:e,newValue:t}:null;r&&_o(this,i)},t.get=function(e){if(this.has(e))return this.dehanceValue_(this.data_.get(e).get());return this.dehanceValue_(void 0)},t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return da({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return da({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[ko]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=Gn(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Ro(e)&&(e=new Map(e)),ao((function(){Cn(e)?Dn(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):Tn(e)?(e.constructor!==Map&&ln(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&ln(20,e)})),this},t.clear=function(){var e=this;ao((function(){fi((function(){for(var t,n=Gn(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return ao((function(){for(var n,r=Uo(e),i=new Map,o=!1,a=Gn(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);i.set(s,u)}}for(var l,c=Gn(r.entries());!(l=c()).done;){var f=l.value,h=f[0],d=f[1],v=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var p=t.data_.get(h);i.set(h,p),v||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var _=t.data_.keys(),b=i.keys(),y=_.next(),m=b.next();!y.done;){if(y.value!==m.value){t.keysAtom_.reportChanged();break}y=_.next(),m=b.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return po(this,e)},t.intercept_=function(e){return fo(this,e)},In(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:jo,get:function(){return"Map"}}]),e}(),Ro=En("ObservableMap",Lo);function Uo(e){if(Tn(e)||Ro(e))return e;if(Array.isArray(e))return new Map(e);if(Cn(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return ln(21,e)}var Bo={};Do=Symbol.iterator,Mo=Symbol.toStringTag;var Io=function(){function e(e,t,n){void 0===t&&(t=nr),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[Qn]=Bo,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,An(Set)||ln(22),this.atom_=er(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.clear=function(){var e=this;ao((function(){fi((function(){for(var t,n=Gn(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=Gn(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,co(this)&&!ho(this,{type:No,object:this,newValue:e}))return this;if(!this.has(e)){ao((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=vo(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:No,object:this,newValue:e}:null;n&&_o(this,r)}return this},t.delete=function(e){var t=this;if(co(this)&&!ho(this,{type:Vo,object:this,oldValue:e}))return!1;if(this.has(e)){var n=vo(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Vo,object:this,oldValue:e}:null;return ao((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&_o(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return da({next:function(){var r=e;return e+=1,rZo){for(var t=Zo;t=0&&n++}e=ha(e),t=ha(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(An(u)&&u instanceof u&&An(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!fa(e[c],t[c],n-1,r,i))return!1}else{var f,h=Object.keys(e);if(c=h.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!Rn(t,f=h[c])||!fa(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function ha(e){if(Eo(e))return e.slice();if(Tn(e)||Ro(e))return Array.from(e.entries());if(Nn(e)||$o(e))return Array.from(e.entries());return e}function da(e){return e[Symbol.iterator]=va,e}function va(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof fn()[e]&&ln("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:ua},$mobx:Qn});var pa,_a,ba=(pa=function(e){var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},r="function"===typeof Object.getOwnPropertySymbols;e.exports=function(e,i,o){if("string"!==typeof i){var a=Object.getOwnPropertyNames(i);r&&(a=a.concat(Object.getOwnPropertySymbols(i)));for(var s=0;s=0;i--)if(t[n=r[i]]!==e[n])return!0;return!1}var ja={componentWillMount:function(){var e=this,t=this.displayName||this.name||this.constructor&&(this.constructor.displayName||this.constructor.name)||"",n=!1;function r(e){var t=this[e],r=er("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return r.reportObserved(),t},set:function(e){ka(t,e)?(t=e,n=!0,r.reportChanged(),n=!1):t=e}})}r.call(this,"props"),r.call(this,"state");var i=this,o=this.render.bind(this),a=function(){return o(i.props,i.state,i.context)},s=null,u=!1,l=function(){var e;u=!1;var t=null;if(s.track((function(){try{t=Yr(!1,a)}catch(t){e=t}})),e)throw Sa.emit(e),e;return t};this.render=function(){return(s=new Pi(t+".render()",(function(){u||(u=!0,"function"===typeof e.componentWillReact&&e.componentWillReact(),n||e.forceUpdate())}))).reactComponent=e,l.$mobx=s,l.$base=e.render,e.render=l,l()}},componentWillUnmount:function(){this.render.$mobx&&(this.render.$mobx.dispose(),this.render=this.render.$base)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){if(this.state!==t)return!0;return ka(this.props,e)}};function Pa(e,t){if("string"===typeof e)throw new Error("Store names should be provided as array");if(Array.isArray(e))return xa||(xa=!0,ma('Mobx observer: Using observer to inject stores is deprecated since 4.0. Use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))` instead of `@observer(["store1", "store2"]) ComponentClass`')),t?Va.apply(null,e)(Pa(t)):function(t){return Pa(e,t)};var n,r,i=e;if(!0===i.isMobxInjector&&ma("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),"function"===typeof i&&(!i.prototype||!i.prototype.render))return Pa((n=function(e){function t(){return e.apply(this,arguments)||this}return wa(t,e),t.prototype.render=function(e,t,n){return i(e,n)},t}(un),n.displayName=i.displayName||i.name,n.defaultProps=i.defaultProps,n));if(!i)throw new Error("Please pass a valid component to 'observer'");return Ca(r=i.prototype||i,"componentWillMount",!0),Ca(r,"componentDidMount",!1),Ca(r,"componentWillUnmount",!1),Ca(r,"componentDidUpdate",!1),r.shouldComponentUpdate||(r.shouldComponentUpdate=ja.shouldComponentUpdate),i.isMobXReactObserver=!0,i}Pa((function(e){return(0,e.children)()})).displayName="Observer";var Ea={isMobxInjector:{configurable:!0,enumerable:!0,value:!0,writable:!0}};function Ta(e,t,n){var r="inject-"+(t.displayName||t.name||t.constructor&&t.constructor.name||"Unknown");n&&(r+="-with-"+n);var i=function(n){function r(e,t){var r;return(r=n.call(this,e,t)||this).wrappedInstance=void 0,r.storeRef=r.storeRef.bind(Oa(r)),r}wa(r,n);var i=r.prototype;return i.storeRef=function(e){this.wrappedInstance=e},i.render=function(n,r,i){var o,a={};for(o in n)a[o]=n[o];var s=e(i.mobxStores||{},a,i)||{};for(o in s)a[o]=s[o];return ie(2,t,a,null,ga(t)?null:this.storeRef)},r}(un);return i.displayName=r,i.wrappedComponent=void 0,i.isMobxInjector=!1,ba(i,t),i.wrappedComponent=t,Object.defineProperties(i,Ea),i}function Na(e){return function(t,n){for(var r=0,i=e.length;r1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var xs=Symbol("mobx-stored-annotations");function Ss(e){return Object.assign((function(t,n){Cs(t,n,e)}),e)}function Cs(e,t,n){ds(e,xs)||is(e,xs,bs({},e[xs])),Ds(n)||(e[xs][t]=n)}var ks=Symbol("mobx administration"),js=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Tu.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return tl(this)},t.reportChanged=function(){Zu(),nl(this),el()},t.toString=function(){return this.name_},e}(),Ps=as("Atom",js);function Es(e,t,n){void 0===t&&(t=Ja),void 0===n&&(n=Ja);var r=new js(e);return t!==Ja&&Al("onBO",r,t,void 0),n!==Ja&&wl(r,n),r}var Ts={identity:function(e,t){return e===t},structural:function(e,t){return Bc(e,t)},default:function(e,t){if(Object.is)return Object.is(e,t);return e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return Bc(e,t,1)}};function Ns(e,t,n){if(Vl(e))return e;if(Array.isArray(e))return hu.array(e,{name:n});if(ns(e))return hu.object(e,void 0,{name:n});if(ss(e))return hu.map(e,{name:n});if(us(e))return hu.set(e,{name:n});if("function"===typeof e&&!yl(e)&&!Tl(e))return rs(e)?Pl(e):bl(n,e);return e}function Vs(e){return e}function Ds(e){return"override"===e.annotationType_}function Ms(e,t){return{annotationType_:e,options_:t,make_:Ls,extend_:Rs}}function Ls(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(yl(n.value))return 1;var o=Us(e,this,t,n,!1);return Ha(r,t,o),2}function Rs(e,t,n,r){var i=Us(e,this,t,n);return e.defineProperty_(t,i,r)}function Us(e,t,n,r,i){var o,a,s,u,l,c,f,h;void 0===i&&(i=Xu.safeDescriptors),h=r,t.annotationType_,h.value;var d,v=r.value;return null!=(o=t.options_)&&o.bound&&(v=v.bind(null!=(d=e.proxy_)?d:e.target_)),{value:wu(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),v,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function Bs(e,t){return{annotationType_:e,options_:t,make_:Is,extend_:$s}}function Is(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!ds(e.target_,t)||!Tl(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(Tl(n.value))return 1;var o=Ks(e,this,0,n,!1,!1);return Ha(r,t,o),2}function $s(e,t,n,r){var i,o=Ks(e,this,0,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function Ks(e,t,n,r,i,o){var a;void 0===o&&(o=Xu.safeDescriptors),a=r,t.annotationType_,a.value;var s,u=r.value;return Tl(u)||(u=Pl(u)),i&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function Fs(e,t){return{annotationType_:e,options_:t,make_:Hs,extend_:Ws}}function Hs(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function Ws(e,t,n,r){return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,bs({},this.options_,{get:n.get,set:n.set}),r);var i}function qs(e,t){return{annotationType_:e,options_:t,make_:Gs,extend_:zs}}function Gs(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function zs(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:Ns,r)}var Xs=Ys();function Ys(e){return{annotationType_:"true",options_:e,make_:Qs,extend_:Js}}function Qs(e,t,n,r){var i,o;if(n.get)return _u.make_(e,t,n,r);if(n.set){var a=wu(t.toString(),n.set);if(r===e.target_)return null===e.defineProperty_(t,{configurable:!Xu.safeDescriptors||e.isPlainObject_,set:a})?0:2;return Ha(r,t,{configurable:!0,set:a}),2}if(r!==e.target_&&"function"===typeof n.value){var s,u;if(rs(n.value))return(null!=(u=this.options_)&&u.autoBind?Pl.bound:Pl).make_(e,t,n,r);return(null!=(s=this.options_)&&s.autoBind?bl.bound:bl).make_(e,t,n,r)}var l,c=!1===(null==(i=this.options_)?void 0:i.deep)?hu.ref:hu;return"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function Js(e,t,n,r){var i,o,a;if(n.get)return _u.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!Xu.safeDescriptors||e.isPlainObject_,set:wu(t.toString(),n.set)},r);return"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?hu.ref:hu).extend_(e,t,n,r)}var Zs={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function eu(e){return e||Zs}Object.freeze(Zs);var tu=qs("observable"),nu=qs("observable.ref",{enhancer:Vs}),ru=qs("observable.shallow",{enhancer:function(e,t,n){if(void 0===e||null===e)return e;if(Ac(e)||oc(e)||hc(e)||_c(e))return e;if(Array.isArray(e))return hu.array(e,{name:n,deep:!1});if(ns(e))return hu.object(e,void 0,{name:n,deep:!1});if(ss(e))return hu.map(e,{name:n,deep:!1});if(us(e))return hu.set(e,{name:n,deep:!1})}}),iu=qs("observable.struct",{enhancer:function(e,t){if(Bc(e,t))return t;return e}}),ou=Ss(tu);function au(e){return!0===e.deep?Ns:!1===e.deep?Vs:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:Ns;var t,n,r}function su(e){var t;return e?null!=(t=e.defaultDecorator)?t:Ys(e):void 0}function uu(e,t,n){if(es(t))return void Cs(e,t,tu);if(Vl(e))return e;if(ns(e))return hu.object(e,t,n);if(Array.isArray(e))return hu.array(e,t);if(ss(e))return hu.map(e,t);if(us(e))return hu.set(e,t);if("object"===typeof e&&null!==e)return e;return hu.box(e,t)}Object.assign(uu,ou);var lu,cu,fu={box:function(e,t){var n=eu(t);return new Eu(e,au(n),n.name,!0,n.equals)},array:function(e,t){var n=eu(t);return(!1===Xu.useProxies||!1===n.proxy?Nc:Yl)(e,au(n),n.name)},map:function(e,t){var n=eu(t);return new fc(e,au(n),n.name)},set:function(e,t){var n=eu(t);return new pc(e,au(n),n.name)},object:function(e,t,n){return xl(!1===Xu.useProxies||!1===(null==n?void 0:n.proxy)?gc({},n):Bl({},n),e,t)},ref:Ss(nu),shallow:Ss(ru),deep:ou,struct:Ss(iu)},hu=Ka(uu,fu),du="computed",vu=Fs(du),pu=Fs("computed.struct",{equals:Ts.structural}),_u=function(e,t){if(es(t))return Cs(e,t,vu);if(ns(e))return Ss(Fs(du,e));var n=ns(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Vu(n)};Object.assign(_u,vu),_u.struct=Ss(pu);var bu,yu=0,mu=1,gu=null!=(lu=null==(cu=Fa((function(){}),"name"))?void 0:cu.configurable)&&lu,Ou={value:"action",configurable:!0,writable:!1,enumerable:!1};function wu(e,t,n,r){function i(){return Au(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,gu&&(Ou.value=e,Object.defineProperty(i,"name",Ou)),i}function Au(e,t,n,r,i){var o=xu(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{Su(o)}}function xu(e,t,n,r){var i=Xu.trackingDerivation,o=!t||!i;Zu();var a=Xu.allowStateChanges;o&&(Ku(),a=ku(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:Hu(!0),notifySpy_:!1,startTime_:0,actionId_:mu++,parentActionId_:yu};return yu=s.actionId_,s}function Su(e){yu!==e.actionId_&&Ba(30),yu=e.parentActionId_,void 0!==e.error_&&(Xu.suppressReactionErrors=!0),ju(e.prevAllowStateChanges_),Wu(e.prevAllowStateReads_),el(),e.runAsAction_&&Fu(e.prevDerivation_),Xu.suppressReactionErrors=!1}function Cu(e,t){var n=ku(e);try{return t()}finally{ju(n)}}function ku(e){var t=Xu.allowStateChanges;return Xu.allowStateChanges=e,t}function ju(e){Xu.allowStateChanges=e}bu=Symbol.toPrimitive;var Pu,Eu=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=Ts.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}ys(t,e);var n=t.prototype;return n.dehanceValue=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==Xu.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(Il(this)){var t=Kl(this,{object:this,type:Gl,newValue:e});if(!t)return Xu.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?Xu.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),Fl(this)&&Wl(this,{type:Gl,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return $l(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:Gl,newValue:this.value_,oldValue:void 0}),Hl(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return hs(this.get())},n[bu]=function(){return this.valueOf()},t}(js);Pu=Symbol.toPrimitive;var Tu,Nu,Vu=function(){function e(e){this.dependenciesState_=Tu.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Tu.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Mu(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Nu.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||Ba(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=wu("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?Ts.structural:Ts.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){il(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&Ba(32,this.name_,this.derivation),0!==Xu.inBatch||0!==this.observers_.size||this.keepAlive_){if(tl(this),Ru(this)){var e=Xu.trackingContext;this.keepAlive_&&!e&&(Xu.trackingContext=this),this.trackAndCompute()&&rl(this),Xu.trackingContext=e}}else Ru(this)&&(this.warnAboutUntrackedRead_(),Zu(),this.value_=this.computeValue_(!1),el());var t=this.value_;if(Lu(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&Ba(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else Ba(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Tu.NOT_TRACKING_,n=this.computeValue_(!0),r=t||Lu(e)||Lu(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=ku(!1);if(e)t=Uu(this,this.derivation,this.scope_);else if(!0===Xu.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Mu(e)}return ju(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Iu(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return ml((function(){var o=n.get();if(!r||t){var a=Ku();e({observableKind:"computed",debugObjectName:n.name_,type:Gl,object:n,newValue:o,oldValue:i}),Fu(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){return},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return hs(this.get())},t[Pu]=function(){return this.valueOf()},e}(),Du=as("ComputedValue",Vu);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Tu||(Tu={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Nu||(Nu={}));var Mu=function(e){this.cause=void 0,this.cause=e};function Lu(e){return e instanceof Mu}function Ru(e){switch(e.dependenciesState_){case Tu.UP_TO_DATE_:return!1;case Tu.NOT_TRACKING_:case Tu.STALE_:return!0;case Tu.POSSIBLY_STALE_:for(var t=Hu(!0),n=Ku(),r=e.observing_,i=r.length,o=0;or&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue_&&Qu(u,e),u.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,Yu(l,e))}r!==Tu.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function Iu(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Qu(t[n],e);e.dependenciesState_=Tu.NOT_TRACKING_}function $u(e){var t=Ku();try{return e()}finally{Fu(t)}}function Ku(){var e=Xu.trackingDerivation;return Xu.trackingDerivation=null,e}function Fu(e){Xu.trackingDerivation=e}function Hu(e){var t=Xu.allowStateReads;return Xu.allowStateReads=e,t}function Wu(e){Xu.allowStateReads=e}function qu(e){if(e.dependenciesState_===Tu.UP_TO_DATE_)return;e.dependenciesState_=Tu.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Tu.UP_TO_DATE_}var Gu=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},zu=!0,Xu=function(){var e=$a();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(zu=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Gu).version&&(zu=!1),zu?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Gu):(setTimeout((function(){Ba(35)}),1),new Gu)}();function Yu(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Qu(e,t){e.observers_.delete(t),0===e.observers_.size&&Ju(e)}function Ju(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,Xu.pendingUnobservations.push(e))}function Zu(){Xu.inBatch++}function el(){if(0===--Xu.inBatch){al();for(var e=Xu.pendingUnobservations,t=0;t0&&Ju(e),!1}function nl(e){if(e.lowestObserverState_===Tu.STALE_)return;e.lowestObserverState_=Tu.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Tu.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Tu.STALE_}))}function rl(e){if(e.lowestObserverState_===Tu.STALE_)return;e.lowestObserverState_=Tu.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Tu.POSSIBLY_STALE_?t.dependenciesState_=Tu.STALE_:t.dependenciesState_===Tu.UP_TO_DATE_&&(e.lowestObserverState_=Tu.UP_TO_DATE_)}))}function il(e){if(e.lowestObserverState_!==Tu.UP_TO_DATE_)return;e.lowestObserverState_=Tu.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Tu.UP_TO_DATE_&&(e.dependenciesState_=Tu.POSSIBLY_STALE_,e.onBecomeStale_())}))}var ol=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Tu.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Nu.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Xu.pendingReactions.push(this),al())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){Zu(),this.isScheduled_=!1;var e=Xu.trackingContext;if(Xu.trackingContext=this,Ru(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}Xu.trackingContext=e,el()}},t.track=function(e){if(this.isDisposed_)return;Zu(),this.isRunning_=!0;var t=Xu.trackingContext;Xu.trackingContext=this;var n=Uu(this,e,void 0);Xu.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Iu(this),Lu(n)&&this.reportExceptionInDerivation_(n.cause),el()},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(Xu.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";Xu.suppressReactionErrors||console.error(n,e),Xu.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(Zu(),Iu(this),el()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[ks]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),Dl(this,e)},e}();function al(){if(Xu.inBatch>0||Xu.isRunningReactions)return;sl()}function sl(){Xu.isRunningReactions=!0;for(var e=Xu.pendingReactions,t=0;e.length>0;){100===++t&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",t,e);if(Za(n))return wu(t,n,e);if(es(n))return Cs(t,n,e?dl:fl);if(es(t))return Ss(Ms(e?cl:ll,{name:t,autoAction:e}))}}var _l=pl(!1);Object.assign(_l,fl);var bl=pl(!0);function yl(e){return Za(e)&&!0===e.isMobxAction}function ml(e,t){var n,r;void 0===t&&(t=Ga);var i,o=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a=Ol(t),s=!1;i=new ol(o,(function(){s||(s=!0,a((function(){s=!1,i.isDisposed_||i.track(u)})))}),t.onError,t.requiresObservable)}else i=new ol(o,(function(){this.track(u)}),t.onError,t.requiresObservable);function u(){e(i)}return i.schedule_(),i.getDisposer_()}Object.assign(bl,dl),_l.bound=Ss(hl),bl.bound=Ss(vl);var gl=function(e){return e()};function Ol(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:gl}function wl(e,t,n){return Al("onBUO",e,t,n)}function Al(e,t,n,r){var i="function"===typeof r?Vc(t,n):Vc(t),o=Za(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function xl(e,t,n,r){var i=vs(t),o=gc(e,r)[ks];Zu();try{fs(i).forEach((function(e){o.extend_(e,i[e],!n||!(e in n)||n[e])}))}finally{el()}return e}var Sl=0;function Cl(){this.message="FLOW_CANCELLED"}Cl.prototype=Object.create(Error.prototype);var kl=Bs("flow"),jl=Bs("flow.bound",{bound:!0}),Pl=Object.assign((function(e,t){if(es(t))return Cs(e,t,kl);var n=e,r=n.name||"",i=function(){var e,t=this,i=arguments,o=++Sl,a=_l(r+" - runid: "+o+" - init",n).apply(t,i),s=void 0,u=new Promise((function(t,n){var i=0;function u(e){var t;s=void 0;try{t=_l(r+" - runid: "+o+" - yield "+i++,a.next).call(a,e)}catch(e){return n(e)}c(t)}function l(e){var t;s=void 0;try{t=_l(r+" - runid: "+o+" - yield "+i++,a.throw).call(a,e)}catch(e){return n(e)}c(t)}function c(e){if(Za(null==e?void 0:e.then))return void e.then(c,n);if(e.done)return t(e.value);return(s=Promise.resolve(e.value)).then(u,l)}e=n,u(void 0)}));return u.cancel=_l(r+" - runid: "+o+" - cancel",(function(){try{s&&El(s);var t=a.return(void 0),n=Promise.resolve(t.value);n.then(Ja,Ja),El(n),e(new Cl)}catch(t){e(t)}})),u};return i.isMobXFlow=!0,i}),kl);function El(e){Za(e.cancel)&&e.cancel()}function Tl(e){return!0===(null==e?void 0:e.isMobXFlow)}function Nl(e,t){if(!e)return!1;if(void 0!==t){if(Ac(e))return e[ks].values_.has(t);return!1}return Ac(e)||!!e[ks]||Ps(e)||ul(e)||Du(e)}function Vl(e){return Nl(e)}function Dl(){Ba("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r0}function $l(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),Qa((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Kl(e,t){var n=Ku();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i0}function Hl(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),Qa((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Wl(e,t){var n=Ku(),r=e.changeListeners_;if(!r)return;for(var i=0,o=(r=r.slice()).length;i0)return e.map(this.dehancer);return e},t.intercept_=function(e){return $l(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Hl(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&Ba("Out of range: "+e);var t=this.values_.length;if(e===t)return;if(e>t){for(var n=new Array(e-t),r=0;r0&&Tc(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=qa),Il(this)){var o=Kl(this,{object:this.proxy_,type:ql,index:e,removedCount:t,added:n});if(!o)return qa;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length)return void console.warn("[mobx] Out of bounds read: "+e);return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&Ba(17,e,n.length),e2?n-2:0),i=2;i-1)return this.splice(n,1),!0;return!1}};function Jl(e,t){"function"===typeof Array.prototype[e]&&(Ql[e]=t(e))}function Zl(e){return function(){var t=this[ks];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function ec(e){return function(t,n){var r=this,i=this[ks];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function tc(e){return function(){var t=this,n=this[ks];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}Jl("concat",Zl),Jl("flat",Zl),Jl("includes",Zl),Jl("indexOf",Zl),Jl("join",Zl),Jl("lastIndexOf",Zl),Jl("slice",Zl),Jl("toString",Zl),Jl("toLocaleString",Zl),Jl("every",ec),Jl("filter",ec),Jl("find",ec),Jl("findIndex",ec),Jl("flatMap",ec),Jl("forEach",ec),Jl("map",ec),Jl("some",ec),Jl("reduce",tc),Jl("reduceRight",tc);var nc,rc,ic=as("ObservableArrayAdministration",Xl);function oc(e){return ts(e)&&ic(e[ks])}var ac={},sc="add",uc="delete";nc=Symbol.iterator,rc=Symbol.toStringTag;var lc,cc,fc=function(){function e(e,t,n){var r=this;void 0===t&&(t=Ns),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[ks]=ac,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,Za(Map)||Ba(18),this.keysAtom_=Es("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Cu(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Xu.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Eu(this.has_(e),Vs,"ObservableMap.key?",!1);this.hasMap_.set(e,r),wl(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Il(this)){var r=Kl(this,{type:n?Gl:sc,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,Il(this)&&!Kl(this,{type:uc,object:this,name:e}))return!1;if(this.has_(e)){var n=Fl(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:uc,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Ll((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Wl(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Xu.UNCHANGED){var r=Fl(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Gl,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&Wl(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Ll((function(){var r,i=new Eu(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=Fl(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:sc,object:this,name:e,newValue:t}:null;r&&Wl(this,i)},t.get=function(e){if(this.has(e))return this.dehanceValue_(this.data_.get(e).get());return this.dehanceValue_(void 0)},t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Kc({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Kc({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[nc]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=As(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return hc(e)&&(e=new Map(e)),Ll((function(){ns(e)?cs(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):ss(e)?(e.constructor!==Map&&Ba(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&Ba(20,e)})),this},t.clear=function(){var e=this;Ll((function(){$u((function(){for(var t,n=As(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Ll((function(){for(var n,r=dc(e),i=new Map,o=!1,a=As(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);i.set(s,u)}}for(var l,c=As(r.entries());!(l=c()).done;){var f=l.value,h=f[0],d=f[1],v=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var p=t.data_.get(h);i.set(h,p),v||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var _=t.data_.keys(),b=i.keys(),y=_.next(),m=b.next();!y.done;){if(y.value!==m.value){t.keysAtom_.reportChanged();break}y=_.next(),m=b.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Hl(this,e)},t.intercept_=function(e){return $l(this,e)},_s(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:rc,get:function(){return"Map"}}]),e}(),hc=as("ObservableMap",fc);function dc(e){if(ss(e)||hc(e))return e;if(Array.isArray(e))return new Map(e);if(ns(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return Ba(21,e)}var vc={};lc=Symbol.iterator,cc=Symbol.toStringTag;var pc=function(){function e(e,t,n){void 0===t&&(t=Ns),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[ks]=vc,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,Za(Set)||Ba(22),this.atom_=Es(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.clear=function(){var e=this;Ll((function(){$u((function(){for(var t,n=As(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=As(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,Il(this)&&!Kl(this,{type:sc,object:this,newValue:e}))return this;if(!this.has(e)){Ll((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=Fl(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:sc,object:this,newValue:e}:null;n&&Wl(this,r)}return this},t.delete=function(e){var t=this;if(Il(this)&&!Kl(this,{type:uc,object:this,oldValue:e}))return!1;if(this.has(e)){var n=Fl(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:uc,object:this,oldValue:e}:null;return Ll((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Wl(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Kc({next:function(){var r=e;return e+=1,rCc){for(var t=Cc;t=0&&n++}e=$c(e),t=$c(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(Za(u)&&u instanceof u&&Za(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!Ic(e[c],t[c],n-1,r,i))return!1}else{var f,h=Object.keys(e);if(c=h.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!ds(t,f=h[c])||!Ic(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function $c(e){if(oc(e))return e.slice();if(ss(e)||hc(e))return Array.from(e.entries());if(us(e)||_c(e))return Array.from(e.entries());return e}function Kc(e){return e[Symbol.iterator]=Fc,e}function Fc(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof $a()[e]&&Ba("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Mc},$mobx:ks}),function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=1521]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(Lc||(Lc={})),function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(Rc||(Rc={}));var Hc=0,Wc=function(){for(var e=function(){for(var e=Math.floor(10*Math.random()+1),t=[],n=0;n<12;n++)t.push(Xc({query:"***",formatElapsed:"",elapsedClassName:"",elapsed:null,waiting:null}));return{nbQueries:e,countClassName:zc(e),queries:t}},t=[],n=1;n<=50;n++)t.push({dbname:"cluster"+n,lastSample:e()}),t.push({dbname:"cluster"+n+" replica",lastSample:e()});for(var r=0,i=t;r60)return t=(e%60).toFixed(2).split("."),Math.floor(e/60)+":"+t[0].lpad("0",2)+"."+t[1];return parseFloat(e).toFixed(2)}function Gc(e){return"Query elapsed"+(e>=10?" warn_long":e>=1?" warn":" short")}function zc(e){return"label"+(e>=20?" label-important":e>=10?" label-warning":" label-success")}function Xc(e){var t=15*Math.random();return e.elapsed=t,e.formatElapsed=qc(t),e.elapsedClassName=Gc(t),e.query="SELECT blah FROM something",e.waiting=Math.random()<.5,Math.random()<.2&&(e.query=" in transaction"),Math.random()<.1&&(e.query="vacuum"),e}function Yc(e){e.formatElapsed="",e.elapsedClassName="",e.query="",e.elapsed=null,e.waiting=null}function Qc(e,t,n){e.lastMutationId=t;for(var r=0;r<12;r++){var i=e.lastSample.queries[r];r<=n?Xc(i):Yc(i)}return e.lastSample.nbQueries=n,e.lastSample.countClassName=zc(n),e}function Jc(){for(var e,t=i(Wc);!(e=t()).done;){var n=e.value;Math.random()0&&(i+=.01652892561983471*(1e3/(o-r)-i)),r=o,t.addSample(i),n.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=a.HideMin|a.HideMean),p(),void 0===performance.memory)return;var t=new u(100),n=new d("Memory",e,"MB",t);v.appendChild(n.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),n.invalidate(),setTimeout(e,30)}()}(),function(e,t){void 0===t&&(t=0),p();var n=b[e];void 0===n&&(b[e]=n=new _(e,"ms",t),v.appendChild(n.widget.element))}("view update"),Zt(ie(Lc.ComponentFunction,Af,{list:Wc}),tf),setInterval((function(){var e,t;xf(),e=performance.now(),void 0!==(t=b["view update"])&&-1!==t.startTime&&(t.data.addSample(e-t.startTime),t.widget.invalidate())}),0)}(); +!function(){"use strict";function e(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,t(e,n)}function t(e,n){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},t(e,n)}function n(e,t){if(!e)return;if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,s=100,u=function(e,t,n,r){this.min=e,this.max=t,this.mean=n,this.last=r},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 t=this.samples,n=0;nn&&(n=o),r+=o}var a=e[this._i],s=r/e.length;return new u(t,n,s,a)},e}(),c=[],f=-1,h=(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=30,v=s,p=function(){function e(e){var t=this;this._sync=function(){t.sync(),t._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,c.push(e),-1===f&&requestAnimationFrame((function(e){f=-1;var t=c;c=[];for(var n=0;n0?$(n.componentWillDisappear,H(e,t)):F(e,t,!1)}function q(e,t,n,r,i,o,a,s){e.componentWillMove.push({dom:r,fn:function(){4&a?n.componentWillMove(t,i,r):8&a&&n.onComponentWillMove(t,i,r,s)},next:o,parent:i})}function G(e,t,n,r,i){var o,a,s=t.flags;do{var u=t.flags;if(1521&u)return void(A(o)||!S(o.componentWillMove)&&!S(o.onComponentWillMove)?D(n,t.dom,r):q(i,e,o,t.dom,n,r,s,a));var l=t.children;if(4&u)o=t.children,a=t.props,t=l.$LI;else if(8&u)o=t.ref,a=t.props,t=l;else if(8192&u){if(2!==t.childFlags){for(var c=0,f=l.length;c0,l=k(s),c=C(s)&&s[0]===te;u||l||c?(n=n||t.slice(0,o),(u||c)&&(a=fe(a)),(l||c)&&(a.key=te+o),n.push(a)):n&&n.push(a),a.flags|=65536}}r=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=fe(t)),r=2;return e.children=n,e.childFlags=r,e}function pe(e){if(x(e)||w(e))return ue(e,null);if(O(e))return le(e,0,null);return 16384&e.flags?fe(e):e}var _e="http://www.w3.org/1999/xlink",be="http://www.w3.org/XML/1998/namespace",ye={"xlink:actuate":_e,"xlink:arcrole":_e,"xlink:href":_e,"xlink:role":_e,"xlink:show":_e,"xlink:title":_e,"xlink:type":_e,"xml:base":be,"xml:lang":be,"xml:space":be};function me(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 ge=me(0),Oe=me(null),we=me(!0);function Ae(e,t){var n=t.$EV;return n||(n=t.$EV=me(null)),n[e]||1===++ge[e]&&(Oe[e]=De(e)),n}function xe(e,t){var n=t.$EV;n&&n[e]&&(0===--ge[e]&&(document.removeEventListener(N(e),Oe[e]),Oe[e]=null),n[e]=null)}function Se(e,t,n,r){if(S(n))Ae(e,r)[e]=n;else if(P(n)){if(J(t,n))return;Ae(e,r)[e]=n}else xe(e,r)}function Ce(e){return S(e.composedPath)?e.composedPath()[0]:e.target}function ke(e,t,n,r){var i=Ce(e);do{if(t&&i.disabled)return;var o=i.$EV;if(o){var a=o[n];if(a&&(r.dom=i,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}i=i.parentNode}while(!k(i))}function je(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Pe(){return this.defaultPrevented}function Ee(){return this.cancelBubble}function Te(e){var t={dom:document};return e.isDefaultPrevented=Pe,e.isPropagationStopped=Ee,e.stopPropagation=je,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Ne(e){return function(t){if(0!==t.button)return void t.stopPropagation();ke(t,!0,e,Te(t))}}function Ve(e){return function(t){ke(t,!1,e,Te(t))}}function De(e){var t="onClick"===e||"onDblClick"===e?Ne(e):Ve(e);return document.addEventListener(N(e),t),t}function Me(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}function Le(e,t,n){if(e[t]){var r=e[t];r.event?r.event(r.data,n):r(n)}else{var i=t.toLowerCase();e[i]&&e[i](n)}}function Re(e,t){var n=function(n){var r=this.$V;if(!r)return;var i=r.props||E,o=r.dom;if(C(e))Le(i,e,n);else for(var a=0;a-1&&t.options[o]&&(a=t.options[o].value),n&&A(a)&&(a=e.defaultValue),We(r,a)}}var Ye,Qe,Je=Re("onInput",tt),Ze=Re("onChange");function et(e,t){Ue(e,"input",Je),t.onChange&&Ue(e,"change",Ze)}function tt(e,t,n){var r=e.value,i=t.value;if(A(r)){if(n){var o=e.defaultValue;A(o)||o===i||(t.defaultValue=o,t.value=o)}}else i!==r&&(t.defaultValue=r,t.value=r)}function nt(e,t,n,r,i,o){64&e?He(r,n):256&e?Xe(r,n,i,t):128&e&&tt(r,n,i),o&&(n.$V=t)}function rt(e,t,n){64&e?Fe(t,n):256&e?ze(t):128&e&&et(t,n)}function it(e){return e.type&&Be(e.type)?!A(e.checked):!A(e.value)}function ot(e){e&&!ee(e,null)&&e.current&&(e.current=null)}function at(e,t,n){e&&(S(e)||void 0!==e.current)&&n.push((function(){ee(e,t)||void 0===e.current||(e.current=t)}))}function st(e,t,n){ut(e,n),W(e,t,n)}function ut(e,t){var n,r=e.flags,i=e.children;if(481&r){n=e.ref;var o=e.props;ot(n);var a=e.childFlags;if(!k(o))for(var s=Object.keys(o),u=0,l=s.length;u0?$(n.componentWillDisappear,ct(t,e)):e.textContent=""}function ht(e,t,n,r){lt(n,r),8192&t.flags?W(t,e,r):ft(e,n,r)}function dt(e,t,n,r,i){e.componentWillDisappear.push((function(e){4&r?t.componentWillDisappear(n,e):8&r&&t.onComponentWillDisappear(n,i,e)}))}function vt(e){var t=e.event;return function(n){t(e.data,n)}}function pt(e,t,n,r){if(P(n)){if(J(t,n))return;n=vt(n)}Ue(r,N(e),n)}function _t(e,t,n){if(A(t))return void n.removeAttribute("style");var r,i,o=n.style;if(C(t))return void(o.cssText=t);if(A(e)||C(e))for(r in t)i=t[r],o.setProperty(r,i);else{for(r in t)(i=t[r])!==e[r]&&o.setProperty(r,i);for(r in e)A(t[r])&&o.removeProperty(r)}}function bt(e,t,n,r,i){var o=e&&e.__html||"",a=t&&t.__html||"";o!==a&&(A(a)||Me(r,a)||(k(n)||(12&n.childFlags?lt(n.children,i):2===n.childFlags&&ut(n.children,i),n.children=null,n.childFlags=1),r.innerHTML=a))}function yt(e,t,n,r,i,o,a,s){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.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":r[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(o&&"value"===e)break;var u=A(n)?"":n;r[e]!==u&&(r[e]=u);break;case"style":_t(t,n,r);break;case"dangerouslySetInnerHTML":bt(t,n,a,r,s);break;default:we[e]?Se(e,t,n,r):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?pt(e,t,n,r):A(n)?r.removeAttribute(e):i&&ye[e]?r.setAttributeNS(ye[e],e,n):r.setAttribute(e,n)}}function mt(e,t,n,r,i,o){var a=!1,s=(448&t)>0;for(var u in s&&(a=it(n))&&rt(t,r,n),n)yt(u,null,n[u],r,i,a,null,o);s&&nt(t,e,r,n,!0,a)}function gt(e,t,n){var r=pe(e.render(t,e.state,n)),i=n;return S(e.getChildContext)&&(i=j(n,e.getChildContext())),e.$CX=i,r}function Ot(e,t,n,r,i,o){var a=new t(n,r),s=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=i,a.$L=o,e.children=a,a.$BS=!1,a.context=r,a.props===E&&(a.props=n),s)a.state=z(a,n,a.state);else if(S(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!k(u)){var l=a.state;if(k(l))a.state=u;else for(var c in u)l[c]=u[c];a.$PS=null}a.$BR=!1}return a.$LI=gt(a,n,r),a}function wt(e,t){var n=e.props||E;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function At(e,t,n,r,i,o,a){var s=e.flags|=16384;481&s?kt(e,t,n,r,i,o,a):4&s?Pt(e,t,n,r,i,o,a):8&s?Et(e,t,n,r,i,o,a):16&s?Ct(e,t,i):8192&s?St(e,n,t,r,i,o,a):1024&s&&xt(e,n,t,i,o,a)}function xt(e,t,n,r,i,o){At(e.children,e.ref,t,!1,null,i,o);var a=he();Ct(a,n,r),e.dom=a.dom}function St(e,t,n,r,i,o,a){var s=e.children,u=e.childFlags;12&u&&0===s.length&&(u=e.childFlags=2,s=e.children=he()),2===u?At(s,n,t,r,i,o,a):jt(s,n,t,r,i,o,a)}function Ct(e,t,n){var r=e.dom=document.createTextNode(e.children);k(t)||D(t,r,n)}function kt(e,t,n,r,i,o,a){var s=e.flags,u=e.props,l=e.className,c=e.childFlags,f=e.dom=M(e.type,r=r||(32&s)>0),h=e.children;if(A(l)||""===l||(r?f.setAttribute("class",l):f.className=l),16===c)Q(f,h);else if(1!==c){var d=r&&"foreignObject"!==e.type;2===c?(16384&h.flags&&(e.children=h=fe(h)),At(h,f,n,d,null,o,a)):8!==c&&4!==c||jt(h,f,n,d,null,o,a)}k(t)||D(t,f,i),k(u)||mt(e,s,u,f,r,a),at(e.ref,f,o)}function jt(e,t,n,r,i,o,a){for(var s=0;sd)&&(f=I(s[d-1],!1).nextSibling)}Ht(l,c,s,u,n,r,i,f,e,o,a)}function $t(e,t,n,r,i){var o=e.ref,a=t.ref,s=t.children;if(Ht(e.childFlags,t.childFlags,e.children,s,o,n,!1,null,e,r,i),t.dom=e.dom,o!==a&&!x(s)){var u=s.dom;R(o,u),V(a,u)}}function Kt(e,t,n,r,i,o,a){var s,u=t.dom=e.dom,l=e.props,c=t.props,f=!1,h=!1;if(r=r||(32&i)>0,l!==c){var d=l||E;if((s=c||E)!==E)for(var v in(f=(448&i)>0)&&(h=it(s)),s){var p=d[v],_=s[v];p!==_&&yt(v,p,_,u,r,h,e,a)}if(d!==E)for(var b in d)A(s[b])&&!A(d[b])&&yt(b,d[b],null,u,r,h,e,a)}var y=t.children,m=t.className;e.className!==m&&(A(m)?u.removeAttribute("class"):r?u.setAttribute("class",m):u.className=m),4096&i?Bt(u,y):Ht(e.childFlags,t.childFlags,e.children,y,u,n,r&&"foreignObject"!==t.type,null,e,o,a),f&&nt(i,t,u,s,!1,h);var g=t.ref,O=e.ref;O!==g&&(ot(O),at(g,u,o))}function Ft(e,t,n,r,i,o,a){ut(e,a),jt(t,n,r,i,I(e,!0),o,a),W(e,n,a)}function Ht(e,t,n,r,i,o,a,s,u,l,c){switch(e){case 2:switch(t){case 2:Rt(n,r,i,o,a,s,l,c);break;case 1:st(n,i,c);break;case 16:ut(n,c),Q(i,r);break;default:Ft(n,r,i,o,a,l,c)}break;case 1:switch(t){case 2:At(r,i,o,a,s,l,c);break;case 1:break;case 16:Q(i,r);break;default:jt(r,i,o,a,s,l,c)}break;case 16:switch(t){case 16:Ut(n,r,i);break;case 2:ft(i,n,c),At(r,i,o,a,s,l,c);break;case 1:ft(i,n,c);break;default:ft(i,n,c),jt(r,i,o,a,s,l,c)}break;default:switch(t){case 16:lt(n,c),Q(i,r);break;case 2:ht(i,u,n,c),At(r,i,o,a,s,l,c);break;case 1:ht(i,u,n,c);break;default:var f=0|n.length,h=0|r.length;0===f?h>0&&jt(r,i,o,a,s,l,c):0===h?ht(i,u,n,c):8===t&&8===e?Qt(n,r,i,o,a,f,h,s,u,l,c):Yt(n,r,i,o,a,f,h,s,l,c)}}}function Wt(e,t,n,r,i){i.push((function(){e.componentDidUpdate(t,n,r)}))}function qt(e,t,n,r,i,o,a,s,u,l){var c=e.state,f=e.props,h=Boolean(e.$N),d=S(e.shouldComponentUpdate);if(h&&(t=z(e,n,t!==c?j(c,t):t)),a||!d||d&&e.shouldComponentUpdate(n,t,i)){!h&&S(e.componentWillUpdate)&&e.componentWillUpdate(n,t,i),e.props=n,e.state=t,e.context=i;var v=null,p=gt(e,n,i);h&&S(e.getSnapshotBeforeUpdate)&&(v=e.getSnapshotBeforeUpdate(f,c)),Rt(e.$LI,p,r,e.$CX,o,s,u,l),e.$LI=p,S(e.componentDidUpdate)&&Wt(e,f,c,v,u)}else e.props=n,e.state=t,e.context=i}function Gt(e,t,n,r,i,o,a,s){var u=t.children=e.children;if(k(u))return;u.$L=a;var l=t.props||E,c=t.ref,f=e.ref,h=u.state;if(!u.$N){if(S(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(l,r),u.$UN)return;u.$BR=!1}k(u.$PS)||(h=j(h,u.$PS),u.$PS=null)}qt(u,h,l,n,r,i,!1,o,a,s),f!==c&&(ot(f),at(c,u,a))}function zt(e,t,n,r,i,o,a,s){var u=!0,l=t.props||E,c=t.ref,f=e.props,h=!A(c),d=e.children;if(h&&S(c.onComponentShouldUpdate)&&(u=c.onComponentShouldUpdate(f,l)),!1!==u){h&&S(c.onComponentWillUpdate)&&c.onComponentWillUpdate(f,l);var v=pe(wt(t,r));Rt(d,v,n,r,i,o,a,s),t.children=v,h&&S(c.onComponentDidUpdate)&&c.onComponentDidUpdate(f,l)}else t.children=d}function Xt(e,t){var n=t.children,r=t.dom=e.dom;n!==e.children&&(r.nodeValue=n)}function Yt(e,t,n,r,i,o,a,s,u,l){for(var c,f,h=o>a?a:o,d=0;da)for(d=h;dd||p>v)break e;_=e[p],b=t[p]}for(_=e[d],b=t[v];_.key===b.key;){if(16384&b.flags&&(t[v]=b=fe(b)),Rt(_,b,n,r,i,s,l,c),e[d]=b,v--,p>--d||p>v)break e;_=e[d],b=t[v]}}if(p>d){if(p<=v)for(h=(f=v+1)v)for(;p<=d;)st(e[p++],n,c);else Jt(e,t,r,o,a,d,v,p,n,i,s,u,l,c)}function Jt(e,t,n,r,i,o,a,s,u,l,c,f,h,d){var v,p,_=0,b=0,y=s,m=s,g=o-s+1,O=a-s+1,w=new Int32Array(O+1),A=g===r,x=!1,S=0,C=0;if(i<4||(g|O)<32)for(b=y;b<=o;++b)if(v=e[b],Cs?x=!0:S=s,16384&p.flags&&(t[s]=p=fe(p)),Rt(v,p,u,n,l,c,h,d),++C;break}!A&&s>a&&st(v,u,d)}else A||st(v,u,d);else{var k={};for(b=m;b<=a;++b)k[t[b].key]=b;for(b=y;b<=o;++b)if(v=e[b],Cy;)st(e[y++],u,d);w[s-m]=b+1,S>s?x=!0:S=s,16384&(p=t[s]).flags&&(t[s]=p=fe(p)),Rt(v,p,u,n,l,c,h,d),++C}else A||st(v,u,d);else A||st(v,u,d)}if(A)ht(u,f,e,d),jt(t,u,n,l,c,h,d);else if(x){var j=en(w);for(s=j.length-1,b=O-1;b>=0;b--)0===w[b]?(16384&(p=t[S=b+m]).flags&&(t[S]=p=fe(p)),At(p,u,n,l,(_=S+1)0&&K(d.componentWillMove)}else if(C!==O)for(b=O-1;b>=0;b--)0===w[b]&&(16384&(p=t[S=b+m]).flags&&(t[S]=p=fe(p)),At(p,u,n,l,(_=S+1)Zt&&(Zt=u,Ye=new Int32Array(u),Qe=new Int32Array(u));n>1]]0&&(Qe[n]=Ye[o-1]),Ye[o]=n)}o=i+1;var l=new Int32Array(o);for(a=Ye[o-1];o-- >0;)l[o]=a,a=Qe[a],Ye[o]=0;return l}function tn(e,t,n,r){var i=[],o=new T,a=t.$V;X.v=!0,A(a)?A(e)||(16384&e.flags&&(e=fe(e)),At(e,t,r,!1,null,i,o),t.$V=e,a=e):A(e)?(st(a,t,o),t.$V=null):(16384&e.flags&&(e=fe(e)),Rt(a,e,t,r,!1,null,i,o),a=t.$V=e),U(i),$(o.componentDidAppear),X.v=!1,S(n)&&n(),S(Y.renderComplete)&&Y.renderComplete(a,t)}function nn(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=E),tn(e,t,n,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var rn=[],on="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},an=!1;function sn(e,t,n,r){var i=e.$PS;if(S(t)&&(t=t(i?j(e.state,i):e.state,e.props,e.context)),A(i))e.$PS=t;else for(var o in t)i[o]=t[o];if(e.$BR)S(n)&&e.$L.push(n.bind(e));else{if(!X.v&&0===rn.length)return cn(e,r),void(S(n)&&n.call(e));if(-1===rn.indexOf(e)&&rn.push(e),r&&(e.$F=!0),an||(an=!0,on(ln)),S(n)){var a=e.$QU;a||(a=e.$QU=[]),a.push(n)}}}function un(e){for(var t=e.$QU,n=0;n1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Qn=Symbol("mobx-stored-annotations");function Jn(e){return Object.assign((function(t,n){Zn(t,n,e)}),e)}function Zn(e,t,n){In(e,Qn)||Tn(e,Qn,Hn({},e[Qn])),ur(n)||(e[Qn][t]=n)}var er=Symbol("mobx administration"),tr=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ai.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Ei(this)},t.reportChanged=function(){ji(),Ti(this),Pi()},t.toString=function(){return this.name_},e}(),nr=Vn("Atom",tr);function rr(e,t,n){void 0===t&&(t=Sn),void 0===n&&(n=Sn);var r=new tr(e);return t!==Sn&&ro(eo,r,t,void 0),n!==Sn&&no(r,n),r}var ir={identity:function(e,t){return e===t},structural:function(e,t){return ga(e,t)},default:function(e,t){if(Object.is)return Object.is(e,t);return e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return ga(e,t,1)}};function or(e,t,n){if(vo(e))return e;if(Array.isArray(e))return $r.array(e,{name:n});if(Pn(e))return $r.object(e,void 0,{name:n});if(Dn(e))return $r.map(e,{name:n});if(Mn(e))return $r.set(e,{name:n});if("function"===typeof e&&!Yi(e)&&!fo(e))return En(e)?lo(e):Xi(n,e);return e}function ar(e){return e}var sr="override";function ur(e){return e.annotationType_===sr}function lr(e,t){return{annotationType_:e,options_:t,make_:cr,extend_:fr}}function cr(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Yi(n.value))return 1;var o=hr(e,this,t,n,!1);return bn(r,t,o),2}function fr(e,t,n,r){var i=hr(e,this,t,n);return e.defineProperty_(t,i,r)}function hr(e,t,n,r,i){var o,a,s,u,l,c,f,h;void 0===i&&(i=xi.safeDescriptors),h=r,t.annotationType_,h.value;var d,v=r.value;return null!=(o=t.options_)&&o.bound&&(v=v.bind(null!=(d=e.proxy_)?d:e.target_)),{value:Qr(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),v,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function dr(e,t){return{annotationType_:e,options_:t,make_:vr,extend_:pr}}function vr(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!In(e.target_,t)||!fo(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(fo(n.value))return 1;var o=_r(e,this,0,n,!1,!1);return bn(r,t,o),2}function pr(e,t,n,r){var i,o=_r(e,this,0,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function _r(e,t,n,r,i,o){var a;void 0===o&&(o=xi.safeDescriptors),a=r,t.annotationType_,a.value;var s,u=r.value;return fo(u)||(u=lo(u)),i&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function br(e,t){return{annotationType_:e,options_:t,make_:yr,extend_:mr}}function yr(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function mr(e,t,n,r){return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,Hn({},this.options_,{get:n.get,set:n.set}),r);var i}function gr(e,t){return{annotationType_:e,options_:t,make_:Or,extend_:wr}}function Or(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function wr(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:or,r)}var Ar="true",xr=Sr();function Sr(e){return{annotationType_:Ar,options_:e,make_:Cr,extend_:kr}}function Cr(e,t,n,r){var i,o;if(n.get)return Wr.make_(e,t,n,r);if(n.set){var a=Qr(t.toString(),n.set);if(r===e.target_)return null===e.defineProperty_(t,{configurable:!xi.safeDescriptors||e.isPlainObject_,set:a})?0:2;return bn(r,t,{configurable:!0,set:a}),2}if(r!==e.target_&&"function"===typeof n.value){var s,u;if(En(n.value))return(null!=(u=this.options_)&&u.autoBind?lo.bound:lo).make_(e,t,n,r);return(null!=(s=this.options_)&&s.autoBind?Xi.bound:Xi).make_(e,t,n,r)}var l,c=!1===(null==(i=this.options_)?void 0:i.deep)?$r.ref:$r;return"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function kr(e,t,n,r){var i,o,a;if(n.get)return Wr.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!xi.safeDescriptors||e.isPlainObject_,set:Qr(t.toString(),n.set)},r);return"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?$r.ref:$r).extend_(e,t,n,r)}var jr={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function Pr(e){return e||jr}Object.freeze(jr);var Er=gr("observable"),Tr=gr("observable.ref",{enhancer:ar}),Nr=gr("observable.shallow",{enhancer:function(e,t,n){if(void 0===e||null===e)return e;if(ia(e)||Io(e)||Go(e)||Qo(e))return e;if(Array.isArray(e))return $r.array(e,{name:n,deep:!1});if(Pn(e))return $r.object(e,void 0,{name:n,deep:!1});if(Dn(e))return $r.map(e,{name:n,deep:!1});if(Mn(e))return $r.set(e,{name:n,deep:!1})}}),Vr=gr("observable.struct",{enhancer:function(e,t){if(ga(e,t))return t;return e}}),Dr=Jn(Er);function Mr(e){return!0===e.deep?or:!1===e.deep?ar:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:or;var t,n,r}function Lr(e){var t;return e?null!=(t=e.defaultDecorator)?t:Sr(e):void 0}function Rr(e,t,n){if(kn(t))return void Zn(e,t,Er);if(vo(e))return e;if(Pn(e))return $r.object(e,t,n);if(Array.isArray(e))return $r.array(e,t);if(Dn(e))return $r.map(e,t);if(Mn(e))return $r.set(e,t);if("object"===typeof e&&null!==e)return e;return $r.box(e,t)}Object.assign(Rr,Dr);var Ur,Br,Ir={box:function(e,t){var n=Pr(t);return new oi(e,Mr(n),n.name,!0,n.equals)},array:function(e,t){var n=Pr(t);return(!1===xi.useProxies||!1===n.proxy?pa:To)(e,Mr(n),n.name)},map:function(e,t){var n=Pr(t);return new qo(e,Mr(n),n.name)},set:function(e,t){var n=Pr(t);return new Yo(e,Mr(n),n.name)},object:function(e,t,n){return io(!1===xi.useProxies||!1===(null==n?void 0:n.proxy)?ta({},n):go({},n),e,t)},ref:Jn(Tr),shallow:Jn(Nr),deep:Dr,struct:Jn(Vr)},$r=pn(Rr,Ir),Kr="computed",Fr=br(Kr),Hr=br("computed.struct",{equals:ir.structural}),Wr=function(e,t){if(kn(t))return Zn(e,t,Fr);if(Pn(e))return Jn(br(Kr,e));var n=Pn(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new ui(n)};Object.assign(Wr,Fr),Wr.struct=Jn(Hr);var qr,Gr=0,zr=1,Xr=null!=(Ur=null==(Br=_n((function(){}),"name"))?void 0:Br.configurable)&&Ur,Yr={value:"action",configurable:!0,writable:!1,enumerable:!1};function Qr(e,t,n,r){function i(){return Jr(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,Xr&&(Yr.value=e,Object.defineProperty(i,"name",Yr)),i}function Jr(e,t,n,r,i){var o=Zr(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{ei(o)}}function Zr(e,t,n,r){var i=xi.trackingDerivation,o=!t||!i;ji();var a=xi.allowStateChanges;o&&(bi(),a=ni(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:mi(!0),notifySpy_:!1,startTime_:0,actionId_:zr++,parentActionId_:Gr};return Gr=s.actionId_,s}function ei(e){Gr!==e.actionId_&&hn(30),Gr=e.parentActionId_,void 0!==e.error_&&(xi.suppressReactionErrors=!0),ri(e.prevAllowStateChanges_),gi(e.prevAllowStateReads_),Pi(),e.runAsAction_&&yi(e.prevDerivation_),xi.suppressReactionErrors=!1}function ti(e,t){var n=ni(e);try{return t()}finally{ri(n)}}function ni(e){var t=xi.allowStateChanges;return xi.allowStateChanges=e,t}function ri(e){xi.allowStateChanges=e}qr=Symbol.toPrimitive;var ii,oi=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=ir.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}Wn(t,e);var n=t.prototype;return n.dehanceValue=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==xi.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(Oo(this)){var t=Ao(this,{object:this,type:jo,newValue:e});if(!t)return xi.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?xi.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),xo(this)&&Co(this,{type:jo,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return wo(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:jo,newValue:this.value_,oldValue:void 0}),So(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Bn(this.get())},n[qr]=function(){return this.valueOf()},t}(tr);ii=Symbol.toPrimitive;var ai,si,ui=function(){function e(e){this.dependenciesState_=ai.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=ai.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new ci(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=si.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||hn(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Qr("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?ir.structural:ir.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){Vi(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&hn(32,this.name_,this.derivation),0!==xi.inBatch||0!==this.observers_.size||this.keepAlive_){if(Ei(this),hi(this)){var e=xi.trackingContext;this.keepAlive_&&!e&&(xi.trackingContext=this),this.trackAndCompute()&&Ni(this),xi.trackingContext=e}}else hi(this)&&(this.warnAboutUntrackedRead_(),ji(),this.value_=this.computeValue_(!1),Pi());var t=this.value_;if(fi(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&hn(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else hn(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===ai.NOT_TRACKING_,n=this.computeValue_(!0),r=t||fi(e)||fi(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=ni(!1);if(e)t=di(this,this.derivation,this.scope_);else if(!0===xi.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new ci(e)}return ri(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(pi(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Qi((function(){var o=n.get();if(!r||t){var a=bi();e({observableKind:"computed",debugObjectName:n.name_,type:jo,object:n,newValue:o,oldValue:i}),yi(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){return},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Bn(this.get())},t[ii]=function(){return this.valueOf()},e}(),li=Vn("ComputedValue",ui);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(ai||(ai={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(si||(si={}));var ci=function(e){this.cause=void 0,this.cause=e};function fi(e){return e instanceof ci}function hi(e){switch(e.dependenciesState_){case ai.UP_TO_DATE_:return!1;case ai.NOT_TRACKING_:case ai.STALE_:return!0;case ai.POSSIBLY_STALE_:for(var t=mi(!0),n=bi(),r=e.observing_,i=r.length,o=0;or&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue_&&Ci(u,e),u.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,Si(l,e))}r!==ai.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function pi(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Ci(t[n],e);e.dependenciesState_=ai.NOT_TRACKING_}function _i(e){var t=bi();try{return e()}finally{yi(t)}}function bi(){var e=xi.trackingDerivation;return xi.trackingDerivation=null,e}function yi(e){xi.trackingDerivation=e}function mi(e){var t=xi.allowStateReads;return xi.allowStateReads=e,t}function gi(e){xi.allowStateReads=e}function Oi(e){if(e.dependenciesState_===ai.UP_TO_DATE_)return;e.dependenciesState_=ai.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=ai.UP_TO_DATE_}var wi=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Ai=!0,xi=function(){var e=vn();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Ai=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new wi).version&&(Ai=!1),Ai?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new wi):(setTimeout((function(){hn(35)}),1),new wi)}();function Si(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Ci(e,t){e.observers_.delete(t),0===e.observers_.size&&ki(e)}function ki(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,xi.pendingUnobservations.push(e))}function ji(){xi.inBatch++}function Pi(){if(0===--xi.inBatch){Ri();for(var e=xi.pendingUnobservations,t=0;t0&&ki(e),!1}function Ti(e){if(e.lowestObserverState_===ai.STALE_)return;e.lowestObserverState_=ai.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ai.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=ai.STALE_}))}function Ni(e){if(e.lowestObserverState_===ai.STALE_)return;e.lowestObserverState_=ai.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===ai.POSSIBLY_STALE_?t.dependenciesState_=ai.STALE_:t.dependenciesState_===ai.UP_TO_DATE_&&(e.lowestObserverState_=ai.UP_TO_DATE_)}))}function Vi(e){if(e.lowestObserverState_!==ai.UP_TO_DATE_)return;e.lowestObserverState_=ai.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===ai.UP_TO_DATE_&&(e.dependenciesState_=ai.POSSIBLY_STALE_,e.onBecomeStale_())}))}var Di=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=ai.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=si.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,xi.pendingReactions.push(this),Ri())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){ji(),this.isScheduled_=!1;var e=xi.trackingContext;if(xi.trackingContext=this,hi(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}xi.trackingContext=e,Pi()}},t.track=function(e){if(this.isDisposed_)return;ji(),this.isRunning_=!0;var t=xi.trackingContext;xi.trackingContext=this;var n=di(this,e,void 0);xi.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&pi(this),fi(n)&&this.reportExceptionInDerivation_(n.cause),Pi()},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(xi.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";xi.suppressReactionErrors||console.error(n,e),xi.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ji(),pi(this),Pi()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[er]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),po(this,e)},e}(),Mi=100,Li=function(e){return e()};function Ri(){if(xi.inBatch>0||xi.isRunningReactions)return;Li(Ui)}function Ui(){xi.isRunningReactions=!0;for(var e=xi.pendingReactions,t=0;e.length>0;){++t===Mi&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",Fi=lr(Ii),Hi=lr("action.bound",{bound:!0}),Wi=lr($i,{autoAction:!0}),qi=lr("autoAction.bound",{autoAction:!0,bound:!0});function Gi(e){return function(t,n){if(Cn(t))return Qr(t.name||Ki,t,e);if(Cn(n))return Qr(t,n,e);if(kn(n))return Zn(t,n,e?Wi:Fi);if(kn(t))return Jn(lr(e?$i:Ii,{name:t,autoAction:e}))}}var zi=Gi(!1);Object.assign(zi,Fi);var Xi=Gi(!0);function Yi(e){return Cn(e)&&!0===e.isMobxAction}function Qi(e,t){var n,r;void 0===t&&(t=gn);var i,o=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a=Zi(t),s=!1;i=new Di(o,(function(){s||(s=!0,a((function(){s=!1,i.isDisposed_||i.track(u)})))}),t.onError,t.requiresObservable)}else i=new Di(o,(function(){this.track(u)}),t.onError,t.requiresObservable);function u(){e(i)}return i.schedule_(),i.getDisposer_()}Object.assign(Xi,Wi),zi.bound=Jn(Hi),Xi.bound=Jn(qi);var Ji=function(e){return e()};function Zi(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ji}var eo="onBO",to="onBUO";function no(e,t,n){return ro(to,e,t,n)}function ro(e,t,n,r){var i="function"===typeof r?_a(t,n):_a(t),o=Cn(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function io(e,t,n,r){var i=$n(t),o=ta(e,r)[er];ji();try{Un(i).forEach((function(e){o.extend_(e,i[e],!n||!(e in n)||n[e])}))}finally{Pi()}return e}var oo=0;function ao(){this.message="FLOW_CANCELLED"}ao.prototype=Object.create(Error.prototype);var so=dr("flow"),uo=dr("flow.bound",{bound:!0}),lo=Object.assign((function(e,t){if(kn(t))return Zn(e,t,so);var n=e,r=n.name||"",i=function(){var e,t=arguments,i=++oo,o=zi(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function u(e){var t;a=void 0;try{t=zi(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function l(e){var t;a=void 0;try{t=zi(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(Cn(null==e?void 0:e.then))return void e.then(c,n);if(e.done)return t(e.value);return(a=Promise.resolve(e.value)).then(u,l)}e=n,u(void 0)}));return s.cancel=zi(r+" - runid: "+i+" - cancel",(function(){try{a&&co(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(Sn,Sn),co(n),e(new ao)}catch(t){e(t)}})),s};return i.isMobXFlow=!0,i}),so);function co(e){Cn(e.cancel)&&e.cancel()}function fo(e){return!0===(null==e?void 0:e.isMobXFlow)}function ho(e,t){if(!e)return!1;if(void 0!==t){if(ia(e))return e[er].values_.has(t);return!1}return ia(e)||!!e[er]||nr(e)||Bi(e)||li(e)}function vo(e){return ho(e)}function po(){hn("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r0}function wo(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),xn((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Ao(e,t){var n=bi();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i0}function So(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),xn((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Co(e,t){var n=bi(),r=e.changeListeners_;if(!r)return;for(var i=0,o=(r=r.slice()).length;i0)return e.map(this.dehancer);return e},t.intercept_=function(e){return wo(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),So(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&hn("Out of range: "+e);var t=this.values_.length;if(e===t)return;if(e>t){for(var n=new Array(e-t),r=0;r0&&va(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=mn),Oo(this)){var o=Ao(this,{object:this.proxy_,type:ko,index:e,removedCount:t,added:n});if(!o)return mn;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length)return void console.warn("[mobx] Out of bounds read: "+e);return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&hn(17,e,n.length),e2?n-2:0),i=2;i-1)return this.splice(n,1),!0;return!1}};function Vo(e,t){"function"===typeof Array.prototype[e]&&(No[e]=t(e))}function Do(e){return function(){var t=this[er];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function Mo(e){return function(t,n){var r=this,i=this[er];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function Lo(e){return function(){var t=this,n=this[er];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}Vo("concat",Do),Vo("flat",Do),Vo("includes",Do),Vo("indexOf",Do),Vo("join",Do),Vo("lastIndexOf",Do),Vo("slice",Do),Vo("toString",Do),Vo("toLocaleString",Do),Vo("every",Mo),Vo("filter",Mo),Vo("find",Mo),Vo("findIndex",Mo),Vo("flatMap",Mo),Vo("forEach",Mo),Vo("map",Mo),Vo("some",Mo),Vo("reduce",Lo),Vo("reduceRight",Lo);var Ro,Uo,Bo=Vn("ObservableArrayAdministration",Eo);function Io(e){return jn(e)&&Bo(e[er])}var $o={},Ko="add",Fo="delete";Ro=Symbol.iterator,Uo=Symbol.toStringTag;var Ho,Wo,qo=function(){function e(e,t,n){var r=this;void 0===t&&(t=or),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[er]=$o,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,Cn(Map)||hn(18),this.keysAtom_=rr("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,ti(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!xi.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new oi(this.has_(e),ar,"ObservableMap.key?",!1);this.hasMap_.set(e,r),no(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Oo(this)){var r=Ao(this,{type:n?jo:Ko,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,Oo(this)&&!Ao(this,{type:Fo,object:this,name:e}))return!1;if(this.has_(e)){var n=xo(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Fo,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return bo((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Co(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==xi.UNCHANGED){var r=xo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:jo,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&Co(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,bo((function(){var r,i=new oi(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=xo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Ko,object:this,name:e,newValue:t}:null;r&&Co(this,i)},t.get=function(e){if(this.has(e))return this.dehanceValue_(this.data_.get(e).get());return this.dehanceValue_(void 0)},t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Aa({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Aa({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[Ro]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=Yn(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Go(e)&&(e=new Map(e)),bo((function(){Pn(e)?Rn(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):Dn(e)?(e.constructor!==Map&&hn(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&hn(20,e)})),this},t.clear=function(){var e=this;bo((function(){_i((function(){for(var t,n=Yn(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return bo((function(){for(var n,r=zo(e),i=new Map,o=!1,a=Yn(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);i.set(s,u)}}for(var l,c=Yn(r.entries());!(l=c()).done;){var f=l.value,h=f[0],d=f[1],v=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var p=t.data_.get(h);i.set(h,p),v||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var _=t.data_.keys(),b=i.keys(),y=_.next(),m=b.next();!y.done;){if(y.value!==m.value){t.keysAtom_.reportChanged();break}y=_.next(),m=b.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return So(this,e)},t.intercept_=function(e){return wo(this,e)},Fn(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Uo,get:function(){return"Map"}}]),e}(),Go=Vn("ObservableMap",qo);function zo(e){if(Dn(e)||Go(e))return e;if(Array.isArray(e))return new Map(e);if(Pn(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return hn(21,e)}var Xo={};Ho=Symbol.iterator,Wo=Symbol.toStringTag;var Yo=function(){function e(e,t,n){void 0===t&&(t=or),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[er]=Xo,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,Cn(Set)||hn(22),this.atom_=rr(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.clear=function(){var e=this;bo((function(){_i((function(){for(var t,n=Yn(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=Yn(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,Oo(this)&&!Ao(this,{type:Ko,object:this,newValue:e}))return this;if(!this.has(e)){bo((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=xo(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Ko,object:this,newValue:e}:null;n&&Co(this,r)}return this},t.delete=function(e){var t=this;if(Oo(this)&&!Ao(this,{type:Fo,object:this,oldValue:e}))return!1;if(this.has(e)){var n=xo(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Fo,object:this,oldValue:e}:null;return bo((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Co(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Aa({next:function(){var r=e;return e+=1,rla){for(var t=la;t=0&&n++}e=wa(e),t=wa(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(Cn(u)&&u instanceof u&&Cn(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!Oa(e[c],t[c],n-1,r,i))return!1}else{var f,h=Object.keys(e);if(c=h.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!In(t,f=h[c])||!Oa(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function wa(e){if(Io(e))return e.slice();if(Dn(e)||Go(e))return Array.from(e.entries());if(Mn(e)||Qo(e))return Array.from(e.entries());return e}function Aa(e){return e[Symbol.iterator]=xa,e}function xa(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof vn()[e]&&hn("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:ya},$mobx:er});var Sa,Ca,ka=(Sa=function(e){var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},r="function"===typeof Object.getOwnPropertySymbols;e.exports=function(e,i,o){if("string"!==typeof i){var a=Object.getOwnPropertyNames(i);r&&(a=a.concat(Object.getOwnPropertySymbols(i)));for(var s=0;s=0;i--)if(t[n=r[i]]!==e[n])return!0;return!1}var Ua={componentWillMount:function(){var e=this,t=this.displayName||this.name||this.constructor&&(this.constructor.displayName||this.constructor.name)||"",n=!1;function r(e){var t=this[e],r=rr("reactive "+e);Object.defineProperty(this,e,{configurable:!0,enumerable:!0,get:function(){return r.reportObserved(),t},set:function(e){Ra(t,e)?(t=e,n=!0,r.reportChanged(),n=!1):t=e}})}r.call(this,"props"),r.call(this,"state");var i=this,o=this.render.bind(this),a=function(){return o(i.props,i.state,i.context)},s=null,u=!1,l=function(){var e;u=!1;var t=null;if(s.track((function(){try{t=ti(!1,a)}catch(t){e=t}})),e)throw Ma.emit(e),e;return t};this.render=function(){return(s=new Di(t+".render()",(function(){u||(u=!0,"function"===typeof e.componentWillReact&&e.componentWillReact(),n||e.forceUpdate())}))).reactComponent=e,l.$mobx=s,l.$base=e.render,e.render=l,l()}},componentWillUnmount:function(){this.render.$mobx&&(this.render.$mobx.dispose(),this.render=this.render.$base)},componentDidMount:function(){},componentDidUpdate:function(){},shouldComponentUpdate:function(e,t){if(this.state!==t)return!0;return Ra(this.props,e)}};function Ba(e,t){if("string"===typeof e)throw new Error("Store names should be provided as array");if(Array.isArray(e))return Da||(Da=!0,Pa('Mobx observer: Using observer to inject stores is deprecated since 4.0. Use `@inject("store1", "store2") @observer ComponentClass` or `inject("store1", "store2")(observer(componentClass))` instead of `@observer(["store1", "store2"]) ComponentClass`')),t?Fa.apply(null,e)(Ba(t)):function(t){return Ba(e,t)};var n,r,i=e;if(!0===i.isMobxInjector&&Pa("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),"function"===typeof i&&(!i.prototype||!i.prototype.render))return Ba((n=function(e){function t(){return e.apply(this,arguments)||this}return Na(t,e),t.prototype.render=function(e,t,n){return i(e,n)},t}(fn),n.displayName=i.displayName||i.name,n.defaultProps=i.defaultProps,n));if(!i)throw new Error("Please pass a valid component to 'observer'");return La(r=i.prototype||i,"componentWillMount",!0),La(r,"componentDidMount",!1),La(r,"componentWillUnmount",!1),La(r,"componentDidUpdate",!1),r.shouldComponentUpdate||(r.shouldComponentUpdate=Ua.shouldComponentUpdate),i.isMobXReactObserver=!0,i}Ba((function(e){return(0,e.children)()})).displayName="Observer";var Ia={isMobxInjector:{configurable:!0,enumerable:!0,value:!0,writable:!0}};function $a(e,t,n){var r="inject-"+(t.displayName||t.name||t.constructor&&t.constructor.name||"Unknown");n&&(r+="-with-"+n);var i=function(n){function r(e,t){var r;return(r=n.call(this,e,t)||this).wrappedInstance=void 0,r.storeRef=r.storeRef.bind(Ta(r)),r}Na(r,n);var i=r.prototype;return i.storeRef=function(e){this.wrappedInstance=e},i.render=function(n,r,i){var o,a={};for(o in n)a[o]=n[o];var s=e(i.mobxStores||{},a,i)||{};for(o in s)a[o]=s[o];return se(2,t,a,null,Ea(t)?null:this.storeRef)},r}(fn);return i.displayName=r,i.wrappedComponent=void 0,i.isMobxInjector=!1,ka(i,t),i.wrappedComponent=t,Object.defineProperties(i,Ia),i}function Ka(e){return function(t,n){for(var r=0,i=e.length;r1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length)return{done:!0};return{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Ds=Symbol("mobx-stored-annotations");function Ms(e){return Object.assign((function(t,n){Ls(t,n,e)}),e)}function Ls(e,t,n){As(e,Ds)||vs(e,Ds,ks({},e[Ds])),Ws(n)||(e[Ds][t]=n)}var Rs=Symbol("mobx administration"),Us=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Fu.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return dl(this)},t.reportChanged=function(){fl(),vl(this),hl()},t.toString=function(){return this.name_},e}(),Bs=_s("Atom",Us);function Is(e,t,n){void 0===t&&(t=us),void 0===n&&(n=us);var r=new Us(e);return t!==us&&Il(Rl,r,t,void 0),n!==us&&Bl(r,n),r}var $s={identity:function(e,t){return e===t},structural:function(e,t){return nf(e,t)},default:function(e,t){if(Object.is)return Object.is(e,t);return e===t?0!==e||1/e===1/t:e!==e&&t!==t},shallow:function(e,t){return nf(e,t,1)}};function Ks(e,t,n){if(Yl(e))return e;if(Array.isArray(e))return xu.array(e,{name:n});if(hs(e))return xu.object(e,void 0,{name:n});if(bs(e))return xu.map(e,{name:n});if(ys(e))return xu.set(e,{name:n});if("function"===typeof e&&!Vl(e)&&!zl(e))return ds(e)?ql(e):Nl(n,e);return e}function Fs(e){return e}var Hs="override";function Ws(e){return e.annotationType_===Hs}function qs(e,t){return{annotationType_:e,options_:t,make_:Gs,extend_:zs}}function Gs(e,t,n,r){var i;if(null!=(i=this.options_)&&i.bound)return null===this.extend_(e,t,n,!1)?0:1;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(Vl(n.value))return 1;var o=Xs(e,this,t,n,!1);return es(r,t,o),2}function zs(e,t,n,r){var i=Xs(e,this,t,n);return e.defineProperty_(t,i,r)}function Xs(e,t,n,r,i){var o,a,s,u,l,c,f,h;void 0===i&&(i=sl.safeDescriptors),h=r,t.annotationType_,h.value;var d,v=r.value;return null!=(o=t.options_)&&o.bound&&(v=v.bind(null!=(d=e.proxy_)?d:e.target_)),{value:Du(null!=(a=null==(s=t.options_)?void 0:s.name)?a:n.toString(),v,null!=(u=null==(l=t.options_)?void 0:l.autoAction)&&u,null!=(c=t.options_)&&c.bound?null!=(f=e.proxy_)?f:e.target_:void 0),configurable:!i||e.isPlainObject_,enumerable:!1,writable:!i}}function Ys(e,t){return{annotationType_:e,options_:t,make_:Qs,extend_:Js}}function Qs(e,t,n,r){var i;if(r===e.target_)return null===this.extend_(e,t,n,!1)?0:2;if(null!=(i=this.options_)&&i.bound&&(!As(e.target_,t)||!zl(e.target_[t]))&&null===this.extend_(e,t,n,!1))return 0;if(zl(n.value))return 1;var o=Zs(e,this,0,n,!1,!1);return es(r,t,o),2}function Js(e,t,n,r){var i,o=Zs(e,this,0,n,null==(i=this.options_)?void 0:i.bound);return e.defineProperty_(t,o,r)}function Zs(e,t,n,r,i,o){var a;void 0===o&&(o=sl.safeDescriptors),a=r,t.annotationType_,a.value;var s,u=r.value;return zl(u)||(u=ql(u)),i&&((u=u.bind(null!=(s=e.proxy_)?s:e.target_)).isMobXFlow=!0),{value:u,configurable:!o||e.isPlainObject_,enumerable:!1,writable:!o}}function eu(e,t){return{annotationType_:e,options_:t,make_:tu,extend_:nu}}function tu(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function nu(e,t,n,r){return i=n,this.annotationType_,i.get,e.defineComputedProperty_(t,ks({},this.options_,{get:n.get,set:n.set}),r);var i}function ru(e,t){return{annotationType_:e,options_:t,make_:iu,extend_:ou}}function iu(e,t,n){return null===this.extend_(e,t,n,!1)?0:1}function ou(e,t,n,r){var i,o;return this.annotationType_,e.defineObservableProperty_(t,n.value,null!=(i=null==(o=this.options_)?void 0:o.enhancer)?i:Ks,r)}var au="true",su=uu();function uu(e){return{annotationType_:au,options_:e,make_:lu,extend_:cu}}function lu(e,t,n,r){var i,o;if(n.get)return ju.make_(e,t,n,r);if(n.set){var a=Du(t.toString(),n.set);if(r===e.target_)return null===e.defineProperty_(t,{configurable:!sl.safeDescriptors||e.isPlainObject_,set:a})?0:2;return es(r,t,{configurable:!0,set:a}),2}if(r!==e.target_&&"function"===typeof n.value){var s,u;if(ds(n.value))return(null!=(u=this.options_)&&u.autoBind?ql.bound:ql).make_(e,t,n,r);return(null!=(s=this.options_)&&s.autoBind?Nl.bound:Nl).make_(e,t,n,r)}var l,c=!1===(null==(i=this.options_)?void 0:i.deep)?xu.ref:xu;return"function"===typeof n.value&&null!=(o=this.options_)&&o.autoBind&&(n.value=n.value.bind(null!=(l=e.proxy_)?l:e.target_)),c.make_(e,t,n,r)}function cu(e,t,n,r){var i,o,a;if(n.get)return ju.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:!sl.safeDescriptors||e.isPlainObject_,set:Du(t.toString(),n.set)},r);return"function"===typeof n.value&&null!=(i=this.options_)&&i.autoBind&&(n.value=n.value.bind(null!=(a=e.proxy_)?a:e.target_)),(!1===(null==(o=this.options_)?void 0:o.deep)?xu.ref:xu).extend_(e,t,n,r)}var fu={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};function hu(e){return e||fu}Object.freeze(fu);var du=ru("observable"),vu=ru("observable.ref",{enhancer:Fs}),pu=ru("observable.shallow",{enhancer:function(e,t,n){if(void 0===e||null===e)return e;if(Ic(e)||wc(e)||Pc(e)||Vc(e))return e;if(Array.isArray(e))return xu.array(e,{name:n,deep:!1});if(hs(e))return xu.object(e,void 0,{name:n,deep:!1});if(bs(e))return xu.map(e,{name:n,deep:!1});if(ys(e))return xu.set(e,{name:n,deep:!1})}}),_u=ru("observable.struct",{enhancer:function(e,t){if(nf(e,t))return t;return e}}),bu=Ms(du);function yu(e){return!0===e.deep?Ks:!1===e.deep?Fs:(t=e.defaultDecorator)&&null!=(n=null==(r=t.options_)?void 0:r.enhancer)?n:Ks;var t,n,r}function mu(e){var t;return e?null!=(t=e.defaultDecorator)?t:uu(e):void 0}function gu(e,t,n){if(cs(t))return void Ls(e,t,du);if(Yl(e))return e;if(hs(e))return xu.object(e,t,n);if(Array.isArray(e))return xu.array(e,t);if(bs(e))return xu.map(e,t);if(ys(e))return xu.set(e,t);if("object"===typeof e&&null!==e)return e;return xu.box(e,t)}Object.assign(gu,bu);var Ou,wu,Au={box:function(e,t){var n=hu(t);return new Ku(e,yu(n),n.name,!0,n.equals)},array:function(e,t){var n=hu(t);return(!1===sl.useProxies||!1===n.proxy?Xc:dc)(e,yu(n),n.name)},map:function(e,t){var n=hu(t);return new jc(e,yu(n),n.name)},set:function(e,t){var n=hu(t);return new Nc(e,yu(n),n.name)},object:function(e,t,n){return $l(!1===sl.useProxies||!1===(null==n?void 0:n.proxy)?Rc({},n):nc({},n),e,t)},ref:Ms(vu),shallow:Ms(pu),deep:bu,struct:Ms(_u)},xu=Ja(gu,Au),Su="computed",Cu=eu(Su),ku=eu("computed.struct",{equals:$s.structural}),ju=function(e,t){if(cs(t))return Ls(e,t,Cu);if(hs(e))return Ms(eu(Su,e));var n=hs(t)?t:{};return n.get=e,n.name||(n.name=e.name||""),new Wu(n)};Object.assign(ju,Cu),ju.struct=Ms(ku);var Pu,Eu=0,Tu=1,Nu=null!=(Ou=null==(wu=Za((function(){}),"name"))?void 0:wu.configurable)&&Ou,Vu={value:"action",configurable:!0,writable:!1,enumerable:!1};function Du(e,t,n,r){function i(){return Mu(0,n,t,r||this,arguments)}return void 0===n&&(n=!1),i.isMobxAction=!0,Nu&&(Vu.value=e,Object.defineProperty(i,"name",Vu)),i}function Mu(e,t,n,r,i){var o=Lu(0,t);try{return n.apply(r,i)}catch(e){throw o.error_=e,e}finally{Ru(o)}}function Lu(e,t,n,r){var i=sl.trackingDerivation,o=!t||!i;fl();var a=sl.allowStateChanges;o&&(el(),a=Bu(!0));var s={runAsAction_:o,prevDerivation_:i,prevAllowStateChanges_:a,prevAllowStateReads_:nl(!0),notifySpy_:!1,startTime_:0,actionId_:Tu++,parentActionId_:Eu};return Eu=s.actionId_,s}function Ru(e){Eu!==e.actionId_&&Xa(30),Eu=e.parentActionId_,void 0!==e.error_&&(sl.suppressReactionErrors=!0),Iu(e.prevAllowStateChanges_),rl(e.prevAllowStateReads_),hl(),e.runAsAction_&&tl(e.prevDerivation_),sl.suppressReactionErrors=!1}function Uu(e,t){var n=Bu(e);try{return t()}finally{Iu(n)}}function Bu(e){var t=sl.allowStateChanges;return sl.allowStateChanges=e,t}function Iu(e){sl.allowStateChanges=e}Pu=Symbol.toPrimitive;var $u,Ku=function(e){function t(t,n,r,i,o){var a;return void 0===r&&(r="ObservableValue"),void 0===o&&(o=$s.default),(a=e.call(this,r)||this).enhancer=void 0,a.name_=void 0,a.equals=void 0,a.hasUnreportedChange_=!1,a.interceptors_=void 0,a.changeListeners_=void 0,a.value_=void 0,a.dehancer=void 0,a.enhancer=n,a.name_=r,a.equals=o,a.value_=n(t,void 0,r),a}js(t,e);var n=t.prototype;return n.dehanceValue=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},n.set=function(e){this.value_,(e=this.prepareNewValue_(e))!==sl.UNCHANGED&&this.setNewValue_(e)},n.prepareNewValue_=function(e){if(rc(this)){var t=oc(this,{object:this,type:cc,newValue:e});if(!t)return sl.UNCHANGED;e=t.newValue}return e=this.enhancer(e,this.value_,this.name_),this.equals(this.value_,e)?sl.UNCHANGED:e},n.setNewValue_=function(e){var t=this.value_;this.value_=e,this.reportChanged(),ac(this)&&uc(this,{type:cc,object:this,newValue:e,oldValue:t})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(e){return ic(this,e)},n.observe_=function(e,t){return t&&e({observableKind:"value",debugObjectName:this.name_,object:this,type:cc,newValue:this.value_,oldValue:void 0}),sc(this,e)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return ws(this.get())},n[Pu]=function(){return this.valueOf()},t}(Us);$u=Symbol.toPrimitive;var Fu,Hu,Wu=function(){function e(e){this.dependenciesState_=Fu.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=Fu.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Gu(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Hu.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,e.get||Xa(31),this.derivation=e.get,this.name_=e.name||"ComputedValue",e.set&&(this.setter_=Du("ComputedValue-setter",e.set)),this.equals_=e.equals||(e.compareStructural||e.struct?$s.structural:$s.default),this.scope_=e.context,this.requiresReaction_=e.requiresReaction,this.keepAlive_=!!e.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){_l(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.get=function(){if(this.isComputing_&&Xa(32,this.name_,this.derivation),0!==sl.inBatch||0!==this.observers_.size||this.keepAlive_){if(dl(this),Xu(this)){var e=sl.trackingContext;this.keepAlive_&&!e&&(sl.trackingContext=this),this.trackAndCompute()&&pl(this),sl.trackingContext=e}}else Xu(this)&&(this.warnAboutUntrackedRead_(),fl(),this.value_=this.computeValue_(!1),hl());var t=this.value_;if(zu(t))throw t.cause;return t},t.set=function(e){if(this.setter_){this.isRunningSetter_&&Xa(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,e)}finally{this.isRunningSetter_=!1}}else Xa(34,this.name_)},t.trackAndCompute=function(){var e=this.value_,t=this.dependenciesState_===Fu.NOT_TRACKING_,n=this.computeValue_(!0),r=t||zu(e)||zu(n)||!this.equals_(e,n);return r&&(this.value_=n),r},t.computeValue_=function(e){this.isComputing_=!0;var t,n=Bu(!1);if(e)t=Yu(this,this.derivation,this.scope_);else if(!0===sl.disableErrorBoundaries)t=this.derivation.call(this.scope_);else try{t=this.derivation.call(this.scope_)}catch(e){t=new Gu(e)}return Iu(n),this.isComputing_=!1,t},t.suspend_=function(){this.keepAlive_||(Ju(this),this.value_=void 0)},t.observe_=function(e,t){var n=this,r=!0,i=void 0;return Dl((function(){var o=n.get();if(!r||t){var a=el();e({observableKind:"computed",debugObjectName:n.name_,type:cc,object:n,newValue:o,oldValue:i}),tl(a)}r=!1,i=o}))},t.warnAboutUntrackedRead_=function(){return},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return ws(this.get())},t[$u]=function(){return this.valueOf()},e}(),qu=_s("ComputedValue",Wu);!function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"}(Fu||(Fu={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Hu||(Hu={}));var Gu=function(e){this.cause=void 0,this.cause=e};function zu(e){return e instanceof Gu}function Xu(e){switch(e.dependenciesState_){case Fu.UP_TO_DATE_:return!1;case Fu.NOT_TRACKING_:case Fu.STALE_:return!0;case Fu.POSSIBLY_STALE_:for(var t=nl(!0),n=el(),r=e.observing_,i=r.length,o=0;or&&(r=s.dependenciesState_)}for(n.length=i,e.newObserving_=null,o=t.length;o--;){var u=t[o];0===u.diffValue_&&ll(u,e),u.diffValue_=0}for(;i--;){var l=n[i];1===l.diffValue_&&(l.diffValue_=0,ul(l,e))}r!==Fu.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function Ju(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)ll(t[n],e);e.dependenciesState_=Fu.NOT_TRACKING_}function Zu(e){var t=el();try{return e()}finally{tl(t)}}function el(){var e=sl.trackingDerivation;return sl.trackingDerivation=null,e}function tl(e){sl.trackingDerivation=e}function nl(e){var t=sl.allowStateReads;return sl.allowStateReads=e,t}function rl(e){sl.allowStateReads=e}function il(e){if(e.dependenciesState_===Fu.UP_TO_DATE_)return;e.dependenciesState_=Fu.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=Fu.UP_TO_DATE_}var ol=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},al=!0,sl=function(){var e=Qa();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(al=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new ol).version&&(al=!1),al?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new ol):(setTimeout((function(){Xa(35)}),1),new ol)}();function ul(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function ll(e,t){e.observers_.delete(t),0===e.observers_.size&&cl(e)}function cl(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,sl.pendingUnobservations.push(e))}function fl(){sl.inBatch++}function hl(){if(0===--sl.inBatch){gl();for(var e=sl.pendingUnobservations,t=0;t0&&cl(e),!1}function vl(e){if(e.lowestObserverState_===Fu.STALE_)return;e.lowestObserverState_=Fu.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Fu.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=Fu.STALE_}))}function pl(e){if(e.lowestObserverState_===Fu.STALE_)return;e.lowestObserverState_=Fu.STALE_,e.observers_.forEach((function(t){t.dependenciesState_===Fu.POSSIBLY_STALE_?t.dependenciesState_=Fu.STALE_:t.dependenciesState_===Fu.UP_TO_DATE_&&(e.lowestObserverState_=Fu.UP_TO_DATE_)}))}function _l(e){if(e.lowestObserverState_!==Fu.UP_TO_DATE_)return;e.lowestObserverState_=Fu.POSSIBLY_STALE_,e.observers_.forEach((function(e){e.dependenciesState_===Fu.UP_TO_DATE_&&(e.dependenciesState_=Fu.POSSIBLY_STALE_,e.onBecomeStale_())}))}var bl=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=Fu.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=Hu.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,sl.pendingReactions.push(this),gl())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){fl(),this.isScheduled_=!1;var e=sl.trackingContext;if(sl.trackingContext=this,Xu(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(e){this.reportExceptionInDerivation_(e)}}sl.trackingContext=e,hl()}},t.track=function(e){if(this.isDisposed_)return;fl(),this.isRunning_=!0;var t=sl.trackingContext;sl.trackingContext=this;var n=Yu(this,e,void 0);sl.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&Ju(this),zu(n)&&this.reportExceptionInDerivation_(n.cause),hl()},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)return void this.errorHandler_(e,this);if(sl.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";sl.suppressReactionErrors||console.error(n,e),sl.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(fl(),Ju(this),hl()))},t.getDisposer_=function(){var e=this.dispose.bind(this);return e[Rs]=this,e},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1),Ql(this,e)},e}(),yl=100,ml=function(e){return e()};function gl(){if(sl.inBatch>0||sl.isRunningReactions)return;ml(Ol)}function Ol(){sl.isRunningReactions=!0;for(var e=sl.pendingReactions,t=0;e.length>0;){++t===yl&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",Cl=qs(Al),kl=qs("action.bound",{bound:!0}),jl=qs(xl,{autoAction:!0}),Pl=qs("autoAction.bound",{autoAction:!0,bound:!0});function El(e){return function(t,n){if(ls(t))return Du(t.name||Sl,t,e);if(ls(n))return Du(t,n,e);if(cs(n))return Ls(t,n,e?jl:Cl);if(cs(t))return Ms(qs(e?xl:Al,{name:t,autoAction:e}))}}var Tl=El(!1);Object.assign(Tl,Cl);var Nl=El(!0);function Vl(e){return ls(e)&&!0===e.isMobxAction}function Dl(e,t){var n,r;void 0===t&&(t=rs);var i,o=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(t.scheduler||t.delay){var a=Ll(t),s=!1;i=new bl(o,(function(){s||(s=!0,a((function(){s=!1,i.isDisposed_||i.track(u)})))}),t.onError,t.requiresObservable)}else i=new bl(o,(function(){this.track(u)}),t.onError,t.requiresObservable);function u(){e(i)}return i.schedule_(),i.getDisposer_()}Object.assign(Nl,jl),Tl.bound=Ms(kl),Nl.bound=Ms(Pl);var Ml=function(e){return e()};function Ll(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:Ml}var Rl="onBO",Ul="onBUO";function Bl(e,t,n){return Il(Ul,e,t,n)}function Il(e,t,n,r){var i="function"===typeof r?Yc(t,n):Yc(t),o=ls(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}function $l(e,t,n,r){var i=xs(t),o=Rc(e,r)[Rs];fl();try{Os(i).forEach((function(e){o.extend_(e,i[e],!n||!(e in n)||n[e])}))}finally{hl()}return e}var Kl=0;function Fl(){this.message="FLOW_CANCELLED"}Fl.prototype=Object.create(Error.prototype);var Hl=Ys("flow"),Wl=Ys("flow.bound",{bound:!0}),ql=Object.assign((function(e,t){if(cs(t))return Ls(e,t,Hl);var n=e,r=n.name||"",i=function(){var e,t=arguments,i=++Kl,o=Tl(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function u(e){var t;a=void 0;try{t=Tl(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(e){return n(e)}c(t)}function l(e){var t;a=void 0;try{t=Tl(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(e){return n(e)}c(t)}function c(e){if(ls(null==e?void 0:e.then))return void e.then(c,n);if(e.done)return t(e.value);return(a=Promise.resolve(e.value)).then(u,l)}e=n,u(void 0)}));return s.cancel=Tl(r+" - runid: "+i+" - cancel",(function(){try{a&&Gl(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(us,us),Gl(n),e(new Fl)}catch(t){e(t)}})),s};return i.isMobXFlow=!0,i}),Hl);function Gl(e){ls(e.cancel)&&e.cancel()}function zl(e){return!0===(null==e?void 0:e.isMobXFlow)}function Xl(e,t){if(!e)return!1;if(void 0!==t){if(Ic(e))return e[Rs].values_.has(t);return!1}return Ic(e)||!!e[Rs]||Bs(e)||wl(e)||qu(e)}function Yl(e){return Xl(e)}function Ql(){Xa("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r0}function ic(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),ss((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function oc(e,t){var n=el();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i0}function sc(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),ss((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function uc(e,t){var n=el(),r=e.changeListeners_;if(!r)return;for(var i=0,o=(r=r.slice()).length;i0)return e.map(this.dehancer);return e},t.intercept_=function(e){return ic(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),sc(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&Xa("Out of range: "+e);var t=this.values_.length;if(e===t)return;if(e>t){for(var n=new Array(e-t),r=0;r0&&zc(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=ns),rc(this)){var o=oc(this,{object:this.proxy_,type:lc,index:e,removedCount:t,added:n});if(!o)return ns;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length)return void console.warn("[mobx] Out of bounds read: "+e);return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e])},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&Xa(17,e,n.length),e2?n-2:0),i=2;i-1)return this.splice(n,1),!0;return!1}};function pc(e,t){"function"===typeof Array.prototype[e]&&(vc[e]=t(e))}function _c(e){return function(){var t=this[Rs];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function bc(e){return function(t,n){var r=this,i=this[Rs];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function yc(e){return function(){var t=this,n=this[Rs];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}pc("concat",_c),pc("flat",_c),pc("includes",_c),pc("indexOf",_c),pc("join",_c),pc("lastIndexOf",_c),pc("slice",_c),pc("toString",_c),pc("toLocaleString",_c),pc("every",bc),pc("filter",bc),pc("find",bc),pc("findIndex",bc),pc("flatMap",bc),pc("forEach",bc),pc("map",bc),pc("some",bc),pc("reduce",yc),pc("reduceRight",yc);var mc,gc,Oc=_s("ObservableArrayAdministration",hc);function wc(e){return fs(e)&&Oc(e[Rs])}var Ac={},xc="add",Sc="delete";mc=Symbol.iterator,gc=Symbol.toStringTag;var Cc,kc,jc=function(){function e(e,t,n){var r=this;void 0===t&&(t=Ks),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Rs]=Ac,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,ls(Map)||Xa(18),this.keysAtom_=Is("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,Uu(!0,(function(){r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!sl.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new Ku(this.has_(e),Fs,"ObservableMap.key?",!1);this.hasMap_.set(e,r),Bl(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(rc(this)){var r=oc(this,{type:n?cc:xc,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if(this.keysAtom_,rc(this)&&!oc(this,{type:Sc,object:this,name:e}))return!1;if(this.has_(e)){var n=ac(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:Sc,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Zl((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&uc(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==sl.UNCHANGED){var r=ac(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:cc,object:this,oldValue:n.value_,name:e,newValue:t}:null;n.setNewValue_(t),r&&uc(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Zl((function(){var r,i=new Ku(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=ac(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:xc,object:this,name:e,newValue:t}:null;r&&uc(this,i)},t.get=function(e){if(this.has(e))return this.dehanceValue_(this.data_.get(e).get());return this.dehanceValue_(void 0)},t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return af({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return af({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[mc]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=Vs(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return Pc(e)&&(e=new Map(e)),Zl((function(){hs(e)?gs(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):bs(e)?(e.constructor!==Map&&Xa(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&Xa(20,e)})),this},t.clear=function(){var e=this;Zl((function(){Zu((function(){for(var t,n=Vs(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Zl((function(){for(var n,r=Ec(e),i=new Map,o=!1,a=Vs(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);i.set(s,u)}}for(var l,c=Vs(r.entries());!(l=c()).done;){var f=l.value,h=f[0],d=f[1],v=t.data_.has(h);if(t.set(h,d),t.data_.has(h)){var p=t.data_.get(h);i.set(h,p),v||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var _=t.data_.keys(),b=i.keys(),y=_.next(),m=b.next();!y.done;){if(y.value!==m.value){t.keysAtom_.reportChanged();break}y=_.next(),m=b.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return sc(this,e)},t.intercept_=function(e){return ic(this,e)},Cs(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:gc,get:function(){return"Map"}}]),e}(),Pc=_s("ObservableMap",jc);function Ec(e){if(bs(e)||Pc(e))return e;if(Array.isArray(e))return new Map(e);if(hs(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return Xa(21,e)}var Tc={};Cc=Symbol.iterator,kc=Symbol.toStringTag;var Nc=function(){function e(e,t,n){void 0===t&&(t=Ks),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[Rs]=Tc,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,ls(Set)||Xa(22),this.atom_=Is(this.name_),this.enhancer_=function(e,r){return t(e,r,n)},e&&this.replace(e)}var t=e.prototype;return t.dehanceValue_=function(e){if(void 0!==this.dehancer)return this.dehancer(e);return e},t.clear=function(){var e=this;Zl((function(){Zu((function(){for(var t,n=Vs(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=Vs(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if(this.atom_,rc(this)&&!oc(this,{type:xc,object:this,newValue:e}))return this;if(!this.has(e)){Zl((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=ac(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:xc,object:this,newValue:e}:null;n&&uc(this,r)}return this},t.delete=function(e){var t=this;if(rc(this)&&!oc(this,{type:Sc,object:this,oldValue:e}))return!1;if(this.has(e)){var n=ac(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:Sc,object:this,oldValue:e}:null;return Zl((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&uc(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return af({next:function(){var r=e;return e+=1,rFc){for(var t=Fc;t=0&&n++}e=of(e),t=of(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,l=t.constructor;if(u!==l&&!(ls(u)&&u instanceof u&&ls(l)&&l instanceof l)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var c=(r=r||[]).length;c--;)if(r[c]===e)return i[c]===t;if(r.push(e),i.push(t),s){if((c=e.length)!==t.length)return!1;for(;c--;)if(!rf(e[c],t[c],n-1,r,i))return!1}else{var f,h=Object.keys(e);if(c=h.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!As(t,f=h[c])||!rf(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function of(e){if(wc(e))return e.slice();if(bs(e)||Pc(e))return Array.from(e.entries());if(ys(e)||Vc(e))return Array.from(e.entries());return e}function af(e){return e[Symbol.iterator]=sf,e}function sf(){return this}["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof Qa()[e]&&Xa("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:Jc},$mobx:Rs}),function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=1521]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(Zc||(Zc={})),function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(ef||(ef={}));var uf=0,lf=function(){for(var e=function(){for(var e=Math.floor(10*Math.random()+1),t=[],n=0;n<12;n++)t.push(df({query:"***",formatElapsed:"",elapsedClassName:"",elapsed:null,waiting:null}));return{nbQueries:e,countClassName:hf(e),queries:t}},t=[],n=1;n<=50;n++)t.push({dbname:"cluster"+n,lastSample:e()}),t.push({dbname:"cluster"+n+" replica",lastSample:e()});for(var r=0,i=t;r60)return t=(e%60).toFixed(2).split("."),Math.floor(e/60)+":"+t[0].lpad("0",2)+"."+t[1];return parseFloat(e).toFixed(2)}function ff(e){return"Query elapsed"+(e>=10?" warn_long":e>=1?" warn":" short")}function hf(e){return"label"+(e>=20?" label-important":e>=10?" label-warning":" label-success")}function df(e){var t=15*Math.random();return e.elapsed=t,e.formatElapsed=cf(t),e.elapsedClassName=ff(t),e.query="SELECT blah FROM something",e.waiting=Math.random()<.5,Math.random()<.2&&(e.query=" in transaction"),Math.random()<.1&&(e.query="vacuum"),e}function vf(e){e.formatElapsed="",e.elapsedClassName="",e.query="",e.elapsed=null,e.waiting=null}function pf(e,t,n){e.lastMutationId=t;for(var r=0;r<12;r++){var i=e.lastSample.queries[r];r<=n?df(i):vf(i)}return e.lastSample.nbQueries=n,e.lastSample.countClassName=hf(n),e}function _f(){for(var e,t=i(lf);!(e=t()).done;){var n=e.value;Math.random()0&&(i+=.01652892561983471*(1e3/(o-r)-i)),r=o,t.addSample(i),n.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=a.HideMin|a.HideMean),y(),void 0===performance.memory)return;var t=new l(s),n=new _("Memory",e,"MB",t);b.appendChild(n.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),n.invalidate(),setTimeout(e,30)}()}(),function(e,t){void 0===t&&(t=0),y();var n=g[e];void 0===n&&(g[e]=n=new m(e,"ms",t),b.appendChild(n.widget.element))}("view update"),nn(se(Zc.ComponentFunction,If,{list:lf}),mf),setInterval((function(){var e,t;$f(),e=performance.now(),void 0!==(t=g["view update"])&&-1!==t.startTime&&(t.data.addSample(e-t.startTime),t.widget.invalidate())}),0)}(); diff --git a/docs/dbmonster/dist/bundle.js b/docs/dbmonster/dist/bundle.js index 9fb254bb3..c4be221c8 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,i){this.min=e,this.max=n,this.mean=t,this.last=i},i=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;ti&&(i=l),o+=l}var a=e[this._i],u=o/e.length;return new t(n,i,u,a)},e}(),o=[],r=-1,l=(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 i(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),a=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,o.push(e),-1===r&&requestAnimationFrame((function(e){r=-1;var n=o;o=[];for(var t=0;t0?V(t.componentWillDisappear,H(e,n)):E(e,n,!1)}function I(e,n,t,i,o,r,l,a){e.componentWillMove.push({dom:i,fn:function(){4&l?t.componentWillMove(n,o,i):8&l&&t.onComponentWillMove(n,o,i,a)},next:r,parent:o})}function U(e,n,t,i,o){var r,l,a=n.flags;do{var u=n.flags;if(1521&u)return void(m(r)||!y(r.componentWillMove)&&!y(r.onComponentWillMove)?T(t,n.dom,i):I(o,e,r,n.dom,t,i,a,l));var c=n.children;if(4&u)r=n.children,l=n.props,n=c.$LI;else if(8&u)r=n.ref,l=n.props,n=c;else if(8192&u){if(2!==n.childFlags){for(var s=0,f=c.length;s0,c=b(a),s=x(a)&&a[0]===G;u||c||s?(t=t||n.slice(0,r),(u||s)&&(l=Y(l)),(c||s)&&(l.key=G+r),t.push(l)):t&&t.push(l),l.flags|=65536}}i=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=Y(n)),i=2;return e.children=t,e.childFlags=i,e}function te(e){if(g(e)||v(e))return z(e,null);if(h(e))return Q(e,0,null);return 16384&e.flags?Y(e):e}var ie="http://www.w3.org/1999/xlink",oe="http://www.w3.org/XML/1998/namespace",re={"xlink:actuate":ie,"xlink:arcrole":ie,"xlink:href":ie,"xlink:role":ie,"xlink:show":ie,"xlink:title":ie,"xlink:type":ie,"xml:base":oe,"xml:lang":oe,"xml:space":oe};function le(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 ae=le(0),ue=le(null),ce=le(!0);function se(e,n){var t=n.$EV;return t||(t=n.$EV=le(null)),t[e]||1===++ae[e]&&(ue[e]=Ce(e)),t}function fe(e,n){var t=n.$EV;t&&t[e]&&(0===--ae[e]&&(document.removeEventListener($(e),ue[e]),ue[e]=null),t[e]=null)}function de(e,n,t,i){if(y(t))se(e,i)[e]=t;else if(k(t)){if(j(n,t))return;se(e,i)[e]=t}else fe(e,i)}function pe(e){return y(e.composedPath)?e.composedPath()[0]:e.target}function he(e,n,t,i){var o=pe(e);do{if(n&&o.disabled)return;var r=o.$EV;if(r){var l=r[t];if(l&&(i.dom=o,l.event?l.event(l.data,e):l(e),e.cancelBubble))return}o=o.parentNode}while(!b(o))}function ve(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function me(){return this.defaultPrevented}function ge(){return this.cancelBubble}function ye(e){var n={dom:document};return e.isDefaultPrevented=me,e.isPropagationStopped=ge,e.stopPropagation=ve,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function xe(e){return function(n){if(0!==n.button)return void n.stopPropagation();he(n,!0,e,ye(n))}}function be(e){return function(n){he(n,!1,e,ye(n))}}function Ce(e){var n="onClick"===e||"onDblClick"===e?xe(e):be(e);return document.addEventListener($(e),n),n}function ke(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function we(e,n,t){if(e[n]){var i=e[n];i.event?i.event(i.data,t):i(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function Me(e,n){var t=function(t){var i=this.$V;if(!i)return;var o=i.props||w,r=i.dom;if(x(e))we(o,e,t);else for(var l=0;l-1&&n.options[r]&&(l=n.options[r].value),t&&m(l)&&(l=e.defaultValue),Ae(i,l)}}var He,_e,Ie=Me("onInput",Oe),Ue=Me("onChange");function Be(e,n){$e(e,"input",Ie),n.onChange&&$e(e,"change",Ue)}function Oe(e,n,t){var i=e.value,o=n.value;if(m(i)){if(t){var r=e.defaultValue;m(r)||r===o||(n.defaultValue=r,n.value=r)}}else o!==i&&(n.defaultValue=i,n.value=i)}function Re(e,n,t,i,o,r){64&e?We(i,t):256&e?Ee(i,t,o,n):128&e&&Oe(i,t,o),r&&(t.$V=n)}function je(e,n,t){64&e?Pe(n,t):256&e?Le(n):128&e&&Be(n,t)}function qe(e){return e.type&&Fe(e.type)?!m(e.checked):!m(e.value)}function Ge(e){e&&!q(e,null)&&e.current&&(e.current=null)}function Xe(e,n,t){e&&(y(e)||void 0!==e.current)&&t.push((function(){q(e,n)||void 0===e.current||(e.current=n)}))}function Ke(e,n,t){ze(e,t),_(e,n,t)}function ze(e,n){var t,i=e.flags,o=e.children;if(481&i){t=e.ref;var r=e.props;Ge(t);var l=e.childFlags;if(!b(r))for(var a=Object.keys(r),u=0,c=a.length;u0?V(t.componentWillDisappear,Je(n,e)):e.textContent=""}function Ze(e,n,t,i){Qe(t,i),8192&n.flags?_(n,e,i):Ye(e,t,i)}function en(e,n,t,i,o){e.componentWillDisappear.push((function(e){4&i?n.componentWillDisappear(t,e):8&i&&n.onComponentWillDisappear(t,o,e)}))}function nn(e){var n=e.event;return function(t){n(e.data,t)}}function tn(e,n,t,i){if(k(t)){if(j(n,t))return;t=nn(t)}$e(i,$(e),t)}function on(e,n,t){if(m(n))return void t.removeAttribute("style");var i,o,r=t.style;if(x(n))return void(r.cssText=n);if(m(e)||x(e))for(i in n)o=n[i],r.setProperty(i,o);else{for(i in n)(o=n[i])!==e[i]&&r.setProperty(i,o);for(i in e)m(n[i])&&r.removeProperty(i)}}function rn(e,n,t,i,o){var r=e&&e.__html||"",l=n&&n.__html||"";r!==l&&(m(l)||ke(i,l)||(b(t)||(12&t.childFlags?Qe(t.children,o):2===t.childFlags&&ze(t.children,o),t.children=null,t.childFlags=1),i.innerHTML=l))}function ln(e,n,t,i,o,r,l,a){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":i.autofocus=!!t;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":i[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var u=m(t)?"":t;i[e]!==u&&(i[e]=u);break;case"style":on(n,t,i);break;case"dangerouslySetInnerHTML":rn(n,t,l,i,a);break;default:ce[e]?de(e,n,t,i):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?tn(e,n,t,i):m(t)?i.removeAttribute(e):o&&re[e]?i.setAttributeNS(re[e],e,t):i.setAttribute(e,t)}}function an(e,n,t,i,o,r){var l=!1,a=(448&n)>0;for(var u in a&&(l=qe(t))&&je(n,i,t),t)ln(u,null,t[u],i,o,l,null,r);a&&Re(n,e,i,t,!0,l)}function un(e,n,t){var i=te(e.render(n,e.state,t)),o=t;return y(e.getChildContext)&&(o=C(t,e.getChildContext())),e.$CX=o,i}function cn(e,n,t,i,o,r){var l=new n(t,i),a=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=r,e.children=l,l.$BS=!1,l.context=i,l.props===w&&(l.props=t),a)l.state=B(l,t,l.state);else if(y(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var u=l.$PS;if(!b(u)){var c=l.state;if(b(c))l.state=u;else for(var s in u)c[s]=u[s];l.$PS=null}l.$BR=!1}return l.$LI=un(l,t,i),l}function sn(e,n){var t=e.props||w;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function fn(e,n,t,i,o,r,l){var a=e.flags|=16384;481&a?vn(e,n,t,i,o,r,l):4&a?gn(e,n,t,i,o,r,l):8&a?yn(e,n,t,i,o,r,l):16&a?hn(e,n,o):8192&a?pn(e,t,n,i,o,r,l):1024&a&&dn(e,t,n,o,r,l)}function dn(e,n,t,i,o,r){fn(e.children,e.ref,n,!1,null,o,r);var l=Z();hn(l,t,i),e.dom=l.dom}function pn(e,n,t,i,o,r,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=Z()),2===u?fn(a,t,n,i,o,r,l):mn(a,t,n,i,o,r,l)}function hn(e,n,t){var i=e.dom=document.createTextNode(e.children);b(n)||T(n,i,t)}function vn(e,n,t,i,o,r,l){var a=e.flags,u=e.props,c=e.className,s=e.childFlags,f=e.dom=S(e.type,i=i||(32&a)>0),d=e.children;if(m(c)||""===c||(i?f.setAttribute("class",c):f.className=c),16===s)R(f,d);else if(1!==s){var p=i&&"foreignObject"!==e.type;2===s?(16384&d.flags&&(e.children=d=Y(d)),fn(d,f,t,p,null,r,l)):8!==s&&4!==s||mn(d,f,t,p,null,r,l)}b(n)||T(n,f,o),b(u)||an(e,a,u,f,i,l),Xe(e.ref,f,r)}function mn(e,n,t,i,o,r,l){for(var a=0;ap)&&(f=N(a[p-1],!1).nextSibling)}An(c,s,a,u,t,i,o,f,e,r,l)}function Dn(e,n,t,i,o){var r=e.ref,l=n.ref,a=n.children;if(An(e.childFlags,n.childFlags,e.children,a,r,t,!1,null,e,i,o),n.dom=e.dom,r!==l&&!g(a)){var u=a.dom;P(r,u),F(l,u)}}function Pn(e,n,t,i,o,r,l){var a,u=n.dom=e.dom,c=e.props,s=n.props,f=!1,d=!1;if(i=i||(32&o)>0,c!==s){var p=c||w;if((a=s||w)!==w)for(var h in(f=(448&o)>0)&&(d=qe(a)),a){var v=p[h],g=a[h];v!==g&&ln(h,v,g,u,i,d,e,l)}if(p!==w)for(var y in p)m(a[y])&&!m(p[y])&&ln(y,p[y],null,u,i,d,e,l)}var x=n.children,b=n.className;e.className!==b&&(m(b)?u.removeAttribute("class"):i?u.setAttribute("class",b):u.className=b),4096&o?Tn(u,x):An(e.childFlags,n.childFlags,e.children,x,u,t,i&&"foreignObject"!==n.type,null,e,r,l),f&&Re(o,n,u,a,!1,d);var C=n.ref,k=e.ref;k!==C&&(Ge(k),Xe(C,u,r))}function Wn(e,n,t,i,o,r,l){ze(e,l),mn(n,t,i,o,N(e,!0),r,l),_(e,t,l)}function An(e,n,t,i,o,r,l,a,u,c,s){switch(e){case 2:switch(n){case 2:$n(t,i,o,r,l,a,c,s);break;case 1:Ke(t,o,s);break;case 16:ze(t,s),R(o,i);break;default:Wn(t,i,o,r,l,c,s)}break;case 1:switch(n){case 2:fn(i,o,r,l,a,c,s);break;case 1:break;case 16:R(o,i);break;default:mn(i,o,r,l,a,c,s)}break;case 16:switch(n){case 16:Fn(t,i,o);break;case 2:Ye(o,t,s),fn(i,o,r,l,a,c,s);break;case 1:Ye(o,t,s);break;default:Ye(o,t,s),mn(i,o,r,l,a,c,s)}break;default:switch(n){case 16:Qe(t,s),R(o,i);break;case 2:Ze(o,u,t,s),fn(i,o,r,l,a,c,s);break;case 1:Ze(o,u,t,s);break;default:var f=0|t.length,d=0|i.length;0===f?d>0&&mn(i,o,r,l,a,c,s):0===d?Ze(o,u,t,s):8===n&&8===e?In(t,i,o,r,l,f,d,a,u,c,s):_n(t,i,o,r,l,f,d,a,c,s)}}}function Nn(e,n,t,i,o){o.push((function(){e.componentDidUpdate(n,t,i)}))}function Vn(e,n,t,i,o,r,l,a,u,c){var s=e.state,f=e.props,d=Boolean(e.$N),p=y(e.shouldComponentUpdate);if(d&&(n=B(e,t,n!==s?C(s,n):n)),l||!p||p&&e.shouldComponentUpdate(t,n,o)){!d&&y(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,v=un(e,t,o);d&&y(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(f,s)),$n(e.$LI,v,i,e.$CX,r,a,u,c),e.$LI=v,y(e.componentDidUpdate)&&Nn(e,f,s,h,u)}else e.props=t,e.state=n,e.context=o}function Ln(e,n,t,i,o,r,l,a){var u=n.children=e.children;if(b(u))return;u.$L=l;var c=n.props||w,s=n.ref,f=e.ref,d=u.state;if(!u.$N){if(y(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(c,i),u.$UN)return;u.$BR=!1}b(u.$PS)||(d=C(d,u.$PS),u.$PS=null)}Vn(u,d,c,t,i,o,!1,r,l,a),f!==s&&(Ge(f),Xe(s,u,l))}function En(e,n,t,i,o,r,l,a){var u=!0,c=n.props||w,s=n.ref,f=e.props,d=!m(s),p=e.children;if(d&&y(s.onComponentShouldUpdate)&&(u=s.onComponentShouldUpdate(f,c)),!1!==u){d&&y(s.onComponentWillUpdate)&&s.onComponentWillUpdate(f,c);var h=te(sn(n,i));$n(p,h,t,i,o,r,l,a),n.children=h,d&&y(s.onComponentDidUpdate)&&s.onComponentDidUpdate(f,c)}else n.children=p}function Hn(e,n){var t=n.children,i=n.dom=e.dom;t!==e.children&&(i.nodeValue=t)}function _n(e,n,t,i,o,r,l,a,u,c){for(var s,f,d=r>l?l:r,p=0;pl)for(p=d;pp||v>h)break e;m=e[v],g=n[v]}for(m=e[p],g=n[h];m.key===g.key;){if(16384&g.flags&&(n[h]=g=Y(g)),$n(m,g,t,i,o,a,c,s),e[p]=g,h--,v>--p||v>h)break e;m=e[p],g=n[h]}}if(v>p){if(v<=h)for(d=(f=h+1)h)for(;v<=p;)Ke(e[v++],t,s);else Un(e,n,i,r,l,p,h,v,t,o,a,u,c,s)}function Un(e,n,t,i,o,r,l,a,u,c,s,f,d,p){var h,v,m=0,g=0,y=a,x=a,b=r-a+1,C=l-a+1,k=new Int32Array(C+1),w=b===i,M=!1,$=0,F=0;if(o<4||(b|C)<32)for(g=y;g<=r;++g)if(h=e[g],Fa?M=!0:$=a,16384&v.flags&&(n[a]=v=Y(v)),$n(h,v,u,t,c,s,d,p),++F;break}!w&&a>l&&Ke(h,u,p)}else w||Ke(h,u,p);else{var T={};for(g=x;g<=l;++g)T[n[g].key]=g;for(g=y;g<=r;++g)if(h=e[g],Fy;)Ke(e[y++],u,p);k[a-x]=g+1,$>a?M=!0:$=a,16384&(v=n[a]).flags&&(n[a]=v=Y(v)),$n(h,v,u,t,c,s,d,p),++F}else w||Ke(h,u,p);else w||Ke(h,u,p)}if(w)Ze(u,f,e,p),mn(n,u,t,c,s,d,p);else if(M){var S=On(k);for(a=S.length-1,g=C-1;g>=0;g--)0===k[g]?(16384&(v=n[$=g+x]).flags&&(n[$]=v=Y(v)),fn(v,u,t,c,(m=$+1)0&&L(p.componentWillMove)}else if(F!==C)for(g=C-1;g>=0;g--)0===k[g]&&(16384&(v=n[$=g+x]).flags&&(n[$]=v=Y(v)),fn(v,u,t,c,(m=$+1)Bn&&(Bn=u,He=new Int32Array(u),_e=new Int32Array(u));t>1]]0&&(_e[t]=He[r-1]),He[r]=t)}r=o+1;var c=new Int32Array(r);for(l=He[r-1];r-- >0;)c[r]=l,l=_e[l],He[r]=0;return c}function Rn(e,n,t,i){var o=[],r=new M,l=n.$V;m(l)?m(e)||(16384&e.flags&&(e=Y(e)),fn(e,n,i,!1,null,o,r),n.$V=e,l=e):m(e)?(Ke(l,n,r),n.$V=null):(16384&e.flags&&(e=Y(e)),$n(l,e,n,i,!1,null,o,r),l=n.$V=e),W(o),V(r.componentDidAppear),y(t)&&t(),y(O.renderComplete)&&O.renderComplete(l,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var jn=document.getElementById("app");function qn(e){for(var n,t,i,o=e.length,r=[],l=0;l0&&(l+=.01652892561983471*(1e3/(n-r)-l)),r=n,t.addSample(l),o.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),s(),void 0===performance.memory)return;var t=new i(100),o=new u("Memory",e,"MB",t);c.appendChild(o.element),function e(){t.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),o.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),s();var t=d[e];void 0===t&&(d[e]=t=new f(e,"ms",n),c.appendChild(t.widget.element))}("view update"),setInterval((function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=d["view update"])&&(e.startTime=performance.now()),qn(n),p("view update")}),0)}(); +!function(){"use strict";var e,n,t=100,i=function(e,n,t,i){this.min=e,this.max=n,this.mean=t,this.last=i},o=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;tt&&(t=l),o+=l}var a=e[this._i],u=o/e.length;return new i(n,t,u,a)},e}(),r=[],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 i(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),u=30,c=t,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,r.push(e),-1===l&&requestAnimationFrame((function(e){l=-1;var n=r;r=[];for(var t=0;t0?H(t.componentWillDisappear,U(e,n)):I(e,n,!1)}function O(e,n,t,i,o,r,l,a){e.componentWillMove.push({dom:i,fn:function(){4&l?t.componentWillMove(n,o,i):8&l&&t.onComponentWillMove(n,o,i,a)},next:r,parent:o})}function R(e,n,t,i,o){var r,l,a=n.flags;do{var u=n.flags;if(1521&u)return void(x(r)||!C(r.componentWillMove)&&!C(r.onComponentWillMove)?P(t,n.dom,i):O(o,e,r,n.dom,t,i,a,l));var c=n.children;if(4&u)r=n.children,l=n.props,n=c.$LI;else if(8&u)r=n.ref,l=n.props,n=c;else if(8192&u){if(2!==n.childFlags){for(var s=0,f=c.length;s0,c=w(a),s=k(a)&&a[0]===z;u||c||s?(t=t||n.slice(0,r),(u||s)&&(l=ne(l)),(c||s)&&(l.key=z+r),t.push(l)):t&&t.push(l),l.flags|=65536}}i=0===(t=t||n).length?1:8}else(t=n).flags|=65536,81920&n.flags&&(t=ne(n)),i=2;return e.children=t,e.childFlags=i,e}function re(e){if(b(e)||y(e))return Y(e,null);if(g(e))return Z(e,0,null);return 16384&e.flags?ne(e):e}var le="http://www.w3.org/1999/xlink",ae="http://www.w3.org/XML/1998/namespace",ue={"xlink:actuate":le,"xlink:arcrole":le,"xlink:href":le,"xlink:role":le,"xlink:show":le,"xlink:title":le,"xlink:type":le,"xml:base":ae,"xml:lang":ae,"xml:space":ae};function ce(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 se=ce(0),fe=ce(null),de=ce(!0);function pe(e,n){var t=n.$EV;return t||(t=n.$EV=ce(null)),t[e]||1===++se[e]&&(fe[e]=Me(e)),t}function he(e,n){var t=n.$EV;t&&t[e]&&(0===--se[e]&&(document.removeEventListener(S(e),fe[e]),fe[e]=null),t[e]=null)}function ve(e,n,t,i){if(C(t))pe(e,i)[e]=t;else if($(t)){if(X(n,t))return;pe(e,i)[e]=t}else he(e,i)}function me(e){return C(e.composedPath)?e.composedPath()[0]:e.target}function ge(e,n,t,i){var o=me(e);do{if(n&&o.disabled)return;var r=o.$EV;if(r){var l=r[t];if(l&&(i.dom=o,l.event?l.event(l.data,e):l(e),e.cancelBubble))return}o=o.parentNode}while(!w(o))}function ye(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function xe(){return this.defaultPrevented}function be(){return this.cancelBubble}function Ce(e){var n={dom:document};return e.isDefaultPrevented=xe,e.isPropagationStopped=be,e.stopPropagation=ye,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ke(e){return function(n){if(0!==n.button)return void n.stopPropagation();ge(n,!0,e,Ce(n))}}function we(e){return function(n){ge(n,!1,e,Ce(n))}}function Me(e){var n="onClick"===e||"onDblClick"===e?ke(e):we(e);return document.addEventListener(S(e),n),n}function $e(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function Fe(e,n,t){if(e[n]){var i=e[n];i.event?i.event(i.data,t):i(t)}else{var o=n.toLowerCase();e[o]&&e[o](t)}}function Te(e,n){var t=function(t){var i=this.$V;if(!i)return;var o=i.props||F,r=i.dom;if(k(e))Fe(o,e,t);else for(var l=0;l-1&&n.options[r]&&(l=n.options[r].value),t&&x(l)&&(l=e.defaultValue),Le(i,l)}}var Ue,Be,Oe=Te("onInput",qe),Re=Te("onChange");function je(e,n){Se(e,"input",Oe),n.onChange&&Se(e,"change",Re)}function qe(e,n,t){var i=e.value,o=n.value;if(x(i)){if(t){var r=e.defaultValue;x(r)||r===o||(n.defaultValue=r,n.value=r)}}else o!==i&&(n.defaultValue=i,n.value=i)}function Ge(e,n,t,i,o,r){64&e?Ve(i,t):256&e?Ie(i,t,o,n):128&e&&qe(i,t,o),r&&(t.$V=n)}function Xe(e,n,t){64&e?Ne(n,t):256&e?_e(n):128&e&&je(n,t)}function Ke(e){return e.type&&De(e.type)?!x(e.checked):!x(e.value)}function ze(e){e&&!K(e,null)&&e.current&&(e.current=null)}function Qe(e,n,t){e&&(C(e)||void 0!==e.current)&&t.push((function(){K(e,n)||void 0===e.current||(e.current=n)}))}function Je(e,n,t){Ye(e,t),B(e,n,t)}function Ye(e,n){var t,i=e.flags,o=e.children;if(481&i){t=e.ref;var r=e.props;ze(t);var l=e.childFlags;if(!w(r))for(var a=Object.keys(r),u=0,c=a.length;u0?H(t.componentWillDisappear,en(n,e)):e.textContent=""}function tn(e,n,t,i){Ze(t,i),8192&n.flags?B(n,e,i):nn(e,t,i)}function on(e,n,t,i,o){e.componentWillDisappear.push((function(e){4&i?n.componentWillDisappear(t,e):8&i&&n.onComponentWillDisappear(t,o,e)}))}function rn(e){var n=e.event;return function(t){n(e.data,t)}}function ln(e,n,t,i){if($(t)){if(X(n,t))return;t=rn(t)}Se(i,S(e),t)}function an(e,n,t){if(x(n))return void t.removeAttribute("style");var i,o,r=t.style;if(k(n))return void(r.cssText=n);if(x(e)||k(e))for(i in n)o=n[i],r.setProperty(i,o);else{for(i in n)(o=n[i])!==e[i]&&r.setProperty(i,o);for(i in e)x(n[i])&&r.removeProperty(i)}}function un(e,n,t,i,o){var r=e&&e.__html||"",l=n&&n.__html||"";r!==l&&(x(l)||$e(i,l)||(w(t)||(12&t.childFlags?Ze(t.children,o):2===t.childFlags&&Ye(t.children,o),t.children=null,t.childFlags=1),i.innerHTML=l))}function cn(e,n,t,i,o,r,l,a){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":i.autofocus=!!t;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":i[e]=!!t;break;case"defaultChecked":case"value":case"volume":if(r&&"value"===e)break;var u=x(t)?"":t;i[e]!==u&&(i[e]=u);break;case"style":an(n,t,i);break;case"dangerouslySetInnerHTML":un(n,t,l,i,a);break;default:de[e]?ve(e,n,t,i):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?ln(e,n,t,i):x(t)?i.removeAttribute(e):o&&ue[e]?i.setAttributeNS(ue[e],e,t):i.setAttribute(e,t)}}function sn(e,n,t,i,o,r){var l=!1,a=(448&n)>0;for(var u in a&&(l=Ke(t))&&Xe(n,i,t),t)cn(u,null,t[u],i,o,l,null,r);a&&Ge(n,e,i,t,!0,l)}function fn(e,n,t){var i=re(e.render(n,e.state,t)),o=t;return C(e.getChildContext)&&(o=M(t,e.getChildContext())),e.$CX=o,i}function dn(e,n,t,i,o,r){var l=new n(t,i),a=l.$N=Boolean(n.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=r,e.children=l,l.$BS=!1,l.context=i,l.props===F&&(l.props=t),a)l.state=j(l,t,l.state);else if(C(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var u=l.$PS;if(!w(u)){var c=l.state;if(w(c))l.state=u;else for(var s in u)c[s]=u[s];l.$PS=null}l.$BR=!1}return l.$LI=fn(l,t,i),l}function pn(e,n){var t=e.props||F;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function hn(e,n,t,i,o,r,l){var a=e.flags|=16384;481&a?yn(e,n,t,i,o,r,l):4&a?bn(e,n,t,i,o,r,l):8&a?Cn(e,n,t,i,o,r,l):16&a?gn(e,n,o):8192&a?mn(e,t,n,i,o,r,l):1024&a&&vn(e,t,n,o,r,l)}function vn(e,n,t,i,o,r){hn(e.children,e.ref,n,!1,null,o,r);var l=te();gn(l,t,i),e.dom=l.dom}function mn(e,n,t,i,o,r,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=te()),2===u?hn(a,t,n,i,o,r,l):xn(a,t,n,i,o,r,l)}function gn(e,n,t){var i=e.dom=document.createTextNode(e.children);w(n)||P(n,i,t)}function yn(e,n,t,i,o,r,l){var a=e.flags,u=e.props,c=e.className,s=e.childFlags,f=e.dom=W(e.type,i=i||(32&a)>0),d=e.children;if(x(c)||""===c||(i?f.setAttribute("class",c):f.className=c),16===s)G(f,d);else if(1!==s){var p=i&&"foreignObject"!==e.type;2===s?(16384&d.flags&&(e.children=d=ne(d)),hn(d,f,t,p,null,r,l)):8!==s&&4!==s||xn(d,f,t,p,null,r,l)}w(n)||P(n,f,o),w(u)||sn(e,a,u,f,i,l),Qe(e.ref,f,r)}function xn(e,n,t,i,o,r,l){for(var a=0;ap)&&(f=E(a[p-1],!1).nextSibling)}Ln(c,s,a,u,t,i,o,f,e,r,l)}function An(e,n,t,i,o){var r=e.ref,l=n.ref,a=n.children;if(Ln(e.childFlags,n.childFlags,e.children,a,r,t,!1,null,e,i,o),n.dom=e.dom,r!==l&&!b(a)){var u=a.dom;N(r,u),D(l,u)}}function Nn(e,n,t,i,o,r,l){var a,u=n.dom=e.dom,c=e.props,s=n.props,f=!1,d=!1;if(i=i||(32&o)>0,c!==s){var p=c||F;if((a=s||F)!==F)for(var h in(f=(448&o)>0)&&(d=Ke(a)),a){var v=p[h],m=a[h];v!==m&&cn(h,v,m,u,i,d,e,l)}if(p!==F)for(var g in p)x(a[g])&&!x(p[g])&&cn(g,p[g],null,u,i,d,e,l)}var y=n.children,b=n.className;e.className!==b&&(x(b)?u.removeAttribute("class"):i?u.setAttribute("class",b):u.className=b),4096&o?Pn(u,y):Ln(e.childFlags,n.childFlags,e.children,y,u,t,i&&"foreignObject"!==n.type,null,e,r,l),f&&Ge(o,n,u,a,!1,d);var C=n.ref,k=e.ref;k!==C&&(ze(k),Qe(C,u,r))}function Vn(e,n,t,i,o,r,l){Ye(e,l),xn(n,t,i,o,E(e,!0),r,l),B(e,t,l)}function Ln(e,n,t,i,o,r,l,a,u,c,s){switch(e){case 2:switch(n){case 2:Sn(t,i,o,r,l,a,c,s);break;case 1:Je(t,o,s);break;case 16:Ye(t,s),G(o,i);break;default:Vn(t,i,o,r,l,c,s)}break;case 1:switch(n){case 2:hn(i,o,r,l,a,c,s);break;case 1:break;case 16:G(o,i);break;default:xn(i,o,r,l,a,c,s)}break;case 16:switch(n){case 16:Dn(t,i,o);break;case 2:nn(o,t,s),hn(i,o,r,l,a,c,s);break;case 1:nn(o,t,s);break;default:nn(o,t,s),xn(i,o,r,l,a,c,s)}break;default:switch(n){case 16:Ze(t,s),G(o,i);break;case 2:tn(o,u,t,s),hn(i,o,r,l,a,c,s);break;case 1:tn(o,u,t,s);break;default:var f=0|t.length,d=0|i.length;0===f?d>0&&xn(i,o,r,l,a,c,s):0===d?tn(o,u,t,s):8===n&&8===e?On(t,i,o,r,l,f,d,a,u,c,s):Bn(t,i,o,r,l,f,d,a,c,s)}}}function En(e,n,t,i,o){o.push((function(){e.componentDidUpdate(n,t,i)}))}function Hn(e,n,t,i,o,r,l,a,u,c){var s=e.state,f=e.props,d=Boolean(e.$N),p=C(e.shouldComponentUpdate);if(d&&(n=j(e,t,n!==s?M(s,n):n)),l||!p||p&&e.shouldComponentUpdate(t,n,o)){!d&&C(e.componentWillUpdate)&&e.componentWillUpdate(t,n,o),e.props=t,e.state=n,e.context=o;var h=null,v=fn(e,t,o);d&&C(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(f,s)),Sn(e.$LI,v,i,e.$CX,r,a,u,c),e.$LI=v,C(e.componentDidUpdate)&&En(e,f,s,h,u)}else e.props=t,e.state=n,e.context=o}function _n(e,n,t,i,o,r,l,a){var u=n.children=e.children;if(w(u))return;u.$L=l;var c=n.props||F,s=n.ref,f=e.ref,d=u.state;if(!u.$N){if(C(u.componentWillReceiveProps)){if(u.$BR=!0,u.componentWillReceiveProps(c,i),u.$UN)return;u.$BR=!1}w(u.$PS)||(d=M(d,u.$PS),u.$PS=null)}Hn(u,d,c,t,i,o,!1,r,l,a),f!==s&&(ze(f),Qe(s,u,l))}function In(e,n,t,i,o,r,l,a){var u=!0,c=n.props||F,s=n.ref,f=e.props,d=!x(s),p=e.children;if(d&&C(s.onComponentShouldUpdate)&&(u=s.onComponentShouldUpdate(f,c)),!1!==u){d&&C(s.onComponentWillUpdate)&&s.onComponentWillUpdate(f,c);var h=re(pn(n,i));Sn(p,h,t,i,o,r,l,a),n.children=h,d&&C(s.onComponentDidUpdate)&&s.onComponentDidUpdate(f,c)}else n.children=p}function Un(e,n){var t=n.children,i=n.dom=e.dom;t!==e.children&&(i.nodeValue=t)}function Bn(e,n,t,i,o,r,l,a,u,c){for(var s,f,d=r>l?l:r,p=0;pl)for(p=d;pp||v>h)break e;m=e[v],g=n[v]}for(m=e[p],g=n[h];m.key===g.key;){if(16384&g.flags&&(n[h]=g=ne(g)),Sn(m,g,t,i,o,a,c,s),e[p]=g,h--,v>--p||v>h)break e;m=e[p],g=n[h]}}if(v>p){if(v<=h)for(d=(f=h+1)h)for(;v<=p;)Je(e[v++],t,s);else Rn(e,n,i,r,l,p,h,v,t,o,a,u,c,s)}function Rn(e,n,t,i,o,r,l,a,u,c,s,f,d,p){var h,v,m=0,g=0,y=a,x=a,b=r-a+1,C=l-a+1,k=new Int32Array(C+1),w=b===i,M=!1,$=0,F=0;if(o<4||(b|C)<32)for(g=y;g<=r;++g)if(h=e[g],Fa?M=!0:$=a,16384&v.flags&&(n[a]=v=ne(v)),Sn(h,v,u,t,c,s,d,p),++F;break}!w&&a>l&&Je(h,u,p)}else w||Je(h,u,p);else{var T={};for(g=x;g<=l;++g)T[n[g].key]=g;for(g=y;g<=r;++g)if(h=e[g],Fy;)Je(e[y++],u,p);k[a-x]=g+1,$>a?M=!0:$=a,16384&(v=n[a]).flags&&(n[a]=v=ne(v)),Sn(h,v,u,t,c,s,d,p),++F}else w||Je(h,u,p);else w||Je(h,u,p)}if(w)tn(u,f,e,p),xn(n,u,t,c,s,d,p);else if(M){var S=qn(k);for(a=S.length-1,g=C-1;g>=0;g--)0===k[g]?(16384&(v=n[$=g+x]).flags&&(n[$]=v=ne(v)),hn(v,u,t,c,(m=$+1)0&&_(p.componentWillMove)}else if(F!==C)for(g=C-1;g>=0;g--)0===k[g]&&(16384&(v=n[$=g+x]).flags&&(n[$]=v=ne(v)),hn(v,u,t,c,(m=$+1)jn&&(jn=u,Ue=new Int32Array(u),Be=new Int32Array(u));t>1]]0&&(Be[t]=Ue[r-1]),Ue[r]=t)}r=o+1;var c=new Int32Array(r);for(l=Ue[r-1];r-- >0;)c[r]=l,l=Be[l],Ue[r]=0;return c}function Gn(e,n,t,i){var o=[],r=new T,l=n.$V;x(l)?x(e)||(16384&e.flags&&(e=ne(e)),hn(e,n,i,!1,null,o,r),n.$V=e,l=e):x(e)?(Je(l,n,r),n.$V=null):(16384&e.flags&&(e=ne(e)),Sn(l,e,n,i,!1,null,o,r),l=n.$V=e),V(o),H(r.componentDidAppear),C(t)&&t(),C(q.renderComplete)&&q.renderComplete(l,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Xn=document.getElementById("app");function Kn(e){for(var n,t,i,o=e.length,r=[],l=0;l0&&(a+=.01652892561983471*(1e3/(n-l)-a)),l=n,i.addSample(a),r.invalidate(),requestAnimationFrame(e)}))}(),function(e){if(void 0===e&&(e=n.HideMin|n.HideMean),p(),void 0===performance.memory)return;var i=new o(t),r=new f("Memory",e,"MB",i);d.appendChild(r.element),function e(){i.addSample(Math.round(performance.memory.usedJSHeapSize/1048576)),r.invalidate(),setTimeout(e,30)}()}(),function(e,n){void 0===n&&(n=0),p();var t=v[e];void 0===t&&(v[e]=t=new h(e,"ms",n),d.appendChild(t.widget.element))}("view update"),setInterval((function(){var e,n=ENV.generateData(!1).toArray();void 0!==(e=v["view update"])&&(e.startTime=performance.now()),Kn(n),m("view update")}),0)}(); diff --git a/docs/event-test/dist/bundle.js b/docs/event-test/dist/bundle.js index afc5b65b3..299ad199b 100644 --- a/docs/event-test/dist/bundle.js +++ b/docs/event-test/dist/bundle.js @@ -1 +1 @@ -!function(){"use strict";var n=Array.isArray;function e(n){var e=typeof n;return"string"===e||"number"===e}function t(n){return void 0===n||null===n}function r(n){return null===n||!1===n||!0===n||void 0===n}function o(n){return"function"===typeof n}function l(n){return"string"===typeof n}function i(n){return null===n}function a(n,e){var t={};if(n)for(var r in n)t[r]=n[r];if(e)for(var o in e)t[o]=e[o];return t}function u(n,e){if(o(e))return{data:n,event:e};return null}function c(n){return!i(n)&&"object"===typeof n}var f={},s=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function p(n){return n.substring(2).toLowerCase()}function d(n,e){n.appendChild(e)}function v(n,e,t){i(t)?d(n,e):n.insertBefore(e,t)}function h(n,e){if(e)return document.createElementNS("http://www.w3.org/2000/svg",n);return document.createElement(n)}function m(n,e,t){n.replaceChild(e,t)}function g(n,e){n.removeChild(e)}function y(n){for(var e=0;e0?w(t.componentWillDisappear,x(n,e)):$(n,e,!1)}function F(n,e,t,r,o,l,i,a){n.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(e,o,r):8&i&&t.onComponentWillMove(e,o,r,a)},next:l,parent:o})}function M(n,e,r,l,i){var a,u,c=e.flags;do{var f=e.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,e.dom,l):F(i,n,a,e.dom,r,l,c,u));var s=e.children;if(4&f)a=e.children,u=e.props,e=s.$LI;else if(8&f)a=e.ref,u=e.props,e=s;else if(8192&f){if(2!==e.childFlags){for(var p=0,d=s.length;p0,v=i(p),h=l(p)&&p[0]===V;d||v||h?(a=a||o.slice(0,f),(d||h)&&(s=X(s)),(v||h)&&(s.key=V+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function G(t){if(r(t)||e(t))return j(t,null);if(n(t))return H(t,0,null);return 16384&t.flags?X(t):t}var z="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":z,"xlink:arcrole":z,"xlink:href":z,"xlink:role":z,"xlink:show":z,"xlink:title":z,"xlink:type":z,"xml:base":J,"xml:lang":J,"xml:space":J};function Y(n){return{onClick:n,onDblClick:n,onFocusIn:n,onFocusOut:n,onKeyDown:n,onKeyPress:n,onKeyUp:n,onMouseDown:n,onMouseMove:n,onMouseUp:n,onTouchEnd:n,onTouchMove:n,onTouchStart:n}}var Z=Y(0),nn=Y(null),en=Y(!0);function tn(n,e){var t=e.$EV;return t||(t=e.$EV=Y(null)),t[n]||1===++Z[n]&&(nn[n]=vn(n)),t}function rn(n,e){var t=e.$EV;t&&t[n]&&(0===--Z[n]&&(document.removeEventListener(p(n),nn[n]),nn[n]=null),t[n]=null)}function on(n,e,t,r){if(o(t))tn(n,r)[n]=t;else if(c(t)){if(A(e,t))return;tn(n,r)[n]=t}else rn(n,r)}function ln(n){return o(n.composedPath)?n.composedPath()[0]:n.target}function an(n,e,t,r){var o=ln(n);do{if(e&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,n):a(n),n.cancelBubble))return}o=o.parentNode}while(!i(o))}function un(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function cn(){return this.defaultPrevented}function fn(){return this.cancelBubble}function sn(n){var e={dom:document};return n.isDefaultPrevented=cn,n.isPropagationStopped=fn,n.stopPropagation=un,Object.defineProperty(n,"currentTarget",{configurable:!0,get:function(){return e.dom}}),e}function pn(n){return function(e){if(0!==e.button)return void e.stopPropagation();an(e,!0,n,sn(e))}}function dn(n){return function(e){an(e,!1,n,sn(e))}}function vn(n){var e="onClick"===n||"onDblClick"===n?pn(n):dn(n);return document.addEventListener(p(n),e),e}function hn(n,e){var t=document.createElement("i");return t.innerHTML=e,t.innerHTML===n.innerHTML}function mn(n,e,t){if(n[e]){var r=n[e];r.event?r.event(r.data,t):r(t)}else{var o=e.toLowerCase();n[o]&&n[o](t)}}function gn(n,e){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(n))mn(i,n,t);else for(var u=0;u-1&&e.options[i]&&(a=e.options[i].value),r&&t(a)&&(a=n.defaultValue),Dn(o,a)}}var Ln,An,Sn=gn("onInput",In),Nn=gn("onChange");function Vn(n,e){yn(n,"input",Sn),e.onChange&&yn(n,"change",Nn)}function In(n,e,r){var o=n.value,l=e.value;if(t(o)){if(r){var i=n.defaultValue;t(i)||i===l||(e.defaultValue=i,e.value=i)}}else l!==o&&(e.defaultValue=o,e.value=o)}function Un(n,e,t,r,o,l){64&n?xn(r,t):256&n?Pn(r,t,o,e):128&n&&In(r,t,o),l&&(t.$V=e)}function En(n,e,t){64&n?$n(e,t):256&n?Wn(e):128&n&&Vn(e,t)}function Tn(n){return n.type&&kn(n.type)?!t(n.checked):!t(n.value)}function Bn(n){n&&!N(n,null)&&n.current&&(n.current=null)}function On(n,e,t){n&&(o(n)||void 0!==n.current)&&t.push((function(){N(n,e)||void 0===n.current||(n.current=e)}))}function jn(n,e,t){Hn(n,t),D(n,e,t)}function Hn(n,e){var r,l=n.flags,a=n.children;if(481&l){r=n.ref;var u=n.props;Bn(r);var c=n.childFlags;if(!i(u))for(var p=Object.keys(u),d=0,v=p.length;d0?w(t.componentWillDisappear,Xn(e,n)):n.textContent=""}function Kn(n,e,t,r){Rn(t,r),8192&e.flags?D(e,n,r):_n(n,t,r)}function qn(n,e,t,r,o){n.componentWillDisappear.push((function(n){4&r?e.componentWillDisappear(t,n):8&r&&e.onComponentWillDisappear(t,o,n)}))}function Gn(n){var e=n.event;return function(t){e(n.data,t)}}function zn(n,e,t,r){if(c(t)){if(A(e,t))return;t=Gn(t)}yn(r,p(n),t)}function Jn(n,e,r){if(t(e))return void r.removeAttribute("style");var o,i,a=r.style;if(l(e))return void(a.cssText=e);if(t(n)||l(n))for(o in e)i=e[o],a.setProperty(o,i);else{for(o in e)(i=e[o])!==n[o]&&a.setProperty(o,i);for(o in n)t(e[o])&&a.removeProperty(o)}}function Qn(n,e,r,o,l){var a=n&&n.__html||"",u=e&&e.__html||"";a!==u&&(t(u)||hn(o,u)||(i(r)||(12&r.childFlags?Rn(r.children,l):2===r.childFlags&&Hn(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Yn(n,e,r,o,l,i,a,u){switch(n){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[n]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===n)break;var c=t(r)?"":r;o[n]!==c&&(o[n]=c);break;case"style":Jn(e,r,o);break;case"dangerouslySetInnerHTML":Qn(e,r,a,o,u);break;default:en[n]?on(n,e,r,o):111===n.charCodeAt(0)&&110===n.charCodeAt(1)?zn(n,e,r,o):t(r)?o.removeAttribute(n):l&&Q[n]?o.setAttributeNS(Q[n],n,r):o.setAttribute(n,r)}}function Zn(n,e,t,r,o,l){var i=!1,a=(448&e)>0;for(var u in a&&(i=Tn(t))&&En(e,r,t),t)Yn(u,null,t[u],r,o,i,null,l);a&&Un(e,n,r,t,!0,i)}function ne(n,e,t){var r=G(n.render(e,n.state,t)),l=t;return o(n.getChildContext)&&(l=a(t,n.getChildContext())),n.$CX=l,r}function ee(n,e,t,r,l,a){var u=new e(t,r),c=u.$N=Boolean(e.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,u.$L=a,n.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(!i(s)){var p=u.state;if(i(p))u.state=s;else for(var d in s)p[d]=s[d];u.$PS=null}u.$BR=!1}return u.$LI=ne(u,t,r),u}function te(n,e){var t=n.props||f;return 32768&n.flags?n.type.render(t,n.ref,e):n.type(t,e)}function re(n,e,t,r,o,l,i){var a=n.flags|=16384;481&a?ae(n,e,t,r,o,l,i):4&a?ce(n,e,t,r,o,l,i):8&a?fe(n,e,t,r,o,l,i):16&a?ie(n,e,o):8192&a?le(n,t,e,r,o,l,i):1024&a&&oe(n,t,e,o,l,i)}function oe(n,e,t,r,o,l){re(n.children,n.ref,e,!1,null,o,l);var i=_();ie(i,t,r),n.dom=i.dom}function le(n,e,t,r,o,l,i){var a=n.children,u=n.childFlags;12&u&&0===a.length&&(u=n.childFlags=2,a=n.children=_()),2===u?re(a,t,e,r,o,l,i):ue(a,t,e,r,o,l,i)}function ie(n,e,t){var r=n.dom=document.createTextNode(n.children);i(e)||v(e,r,t)}function ae(n,e,r,o,l,a,u){var c=n.flags,f=n.props,s=n.className,p=n.childFlags,d=n.dom=h(n.type,o=o||(32&c)>0),m=n.children;if(t(s)||""===s||(o?d.setAttribute("class",s):d.className=s),16===p)L(d,m);else if(1!==p){var g=o&&"foreignObject"!==n.type;2===p?(16384&m.flags&&(n.children=m=X(m)),re(m,d,r,g,null,a,u)):8!==p&&4!==p||ue(m,d,r,g,null,a,u)}i(e)||v(e,d,l),i(f)||Zn(n,c,f,d,o,u),On(n.ref,d,a)}function ue(n,e,t,r,o,l,i){for(var a=0;ad)&&(s=b(a[d-1],!1).nextSibling)}xe(c,f,a,u,t,r,o,s,n,l,i)}function we(n,e,t,o,l){var i=n.ref,a=e.ref,u=e.children;if(xe(n.childFlags,e.childFlags,n.children,u,i,t,!1,null,n,o,l),e.dom=n.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),d(a,c)}}function Ce(n,e,r,o,l,i,a){var u,c=e.dom=n.dom,s=n.props,p=e.props,d=!1,v=!1;if(o=o||(32&l)>0,s!==p){var h=s||f;if((u=p||f)!==f)for(var m in(d=(448&l)>0)&&(v=Tn(u)),u){var g=h[m],y=u[m];g!==y&&Yn(m,g,y,c,o,v,n,a)}if(h!==f)for(var k in h)t(u[k])&&!t(h[k])&&Yn(k,h[k],null,c,o,v,n,a)}var b=e.children,w=e.className;n.className!==w&&(t(w)?c.removeAttribute("class"):o?c.setAttribute("class",w):c.className=w),4096&l?ke(c,b):xe(n.childFlags,e.childFlags,n.children,b,c,r,o&&"foreignObject"!==e.type,null,n,i,a),d&&Un(l,e,c,u,!1,v);var C=e.ref,$=n.ref;$!==C&&(Bn($),On(C,c,i))}function $e(n,e,t,r,o,l,i){Hn(n,i),ue(e,t,r,o,b(n,!0),l,i),D(n,t,i)}function xe(n,e,t,r,o,l,i,a,u,c,f){switch(n){case 2:switch(e){case 2:ge(t,r,o,l,i,a,c,f);break;case 1:jn(t,o,f);break;case 16:Hn(t,f),L(o,r);break;default:$e(t,r,o,l,i,c,f)}break;case 1:switch(e){case 2:re(r,o,l,i,a,c,f);break;case 1:break;case 16:L(o,r);break;default:ue(r,o,l,i,a,c,f)}break;case 16:switch(e){case 16:ye(t,r,o);break;case 2:_n(o,t,f),re(r,o,l,i,a,c,f);break;case 1:_n(o,t,f);break;default:_n(o,t,f),ue(r,o,l,i,a,c,f)}break;default:switch(e){case 16:Rn(t,f),L(o,r);break;case 2:Kn(o,u,t,f),re(r,o,l,i,a,c,f);break;case 1:Kn(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&ue(r,o,l,i,a,c,f):0===p?Kn(o,u,t,f):8===e&&8===n?Ae(t,r,o,l,i,s,p,a,u,c,f):Le(t,r,o,l,i,s,p,a,c,f)}}}function De(n,e,t,r,o){o.push((function(){n.componentDidUpdate(e,t,r)}))}function Fe(n,e,t,r,l,i,u,c,f,s){var p=n.state,d=n.props,v=Boolean(n.$N),h=o(n.shouldComponentUpdate);if(v&&(e=W(n,t,e!==p?a(p,e):e)),u||!h||h&&n.shouldComponentUpdate(t,e,l)){!v&&o(n.componentWillUpdate)&&n.componentWillUpdate(t,e,l),n.props=t,n.state=e,n.context=l;var m=null,g=ne(n,t,l);v&&o(n.getSnapshotBeforeUpdate)&&(m=n.getSnapshotBeforeUpdate(d,p)),ge(n.$LI,g,r,n.$CX,i,c,f,s),n.$LI=g,o(n.componentDidUpdate)&&De(n,d,p,m,f)}else n.props=t,n.state=e,n.context=l}function Me(n,e,t,r,l,u,c,s){var p=e.children=n.children;if(i(p))return;p.$L=c;var d=e.props||f,v=e.ref,h=n.ref,m=p.state;if(!p.$N){if(o(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}i(p.$PS)||(m=a(m,p.$PS),p.$PS=null)}Fe(p,m,d,t,r,l,!1,u,c,s),h!==v&&(Bn(h),On(v,p,c))}function We(n,e,r,l,i,a,u,c){var s=!0,p=e.props||f,d=e.ref,v=n.props,h=!t(d),m=n.children;if(h&&o(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(v,p)),!1!==s){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=G(te(e,l));ge(m,g,r,l,i,a,u,c),e.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else e.children=m}function Pe(n,e){var t=e.children,r=e.dom=n.dom;t!==n.children&&(r.nodeValue=t)}function Le(n,e,t,r,o,l,i,a,u,c){for(var f,s,p=l>i?i:l,d=0;di)for(d=p;dd||h>v)break n;m=n[h],g=e[h]}for(m=n[d],g=e[v];m.key===g.key;){if(16384&g.flags&&(e[v]=g=X(g)),ge(m,g,t,r,o,a,c,f),n[d]=g,v--,h>--d||h>v)break n;m=n[d],g=e[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)jn(n[h++],t,f);else Se(n,e,r,l,i,d,v,h,t,o,a,u,c,f)}function Se(n,e,t,r,o,l,i,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,k=a,w=l-a+1,$=i-a+1,x=new Int32Array($+1),D=w===r,F=!1,W=0,P=0;if(o<4||(w|$)<32)for(g=y;g<=l;++g)if(v=n[g],P<$){for(a=k;a<=i;a++)if(h=e[a],v.key===h.key){if(x[a-k]=g+1,D)for(D=!1;ya?F=!0:W=a,16384&h.flags&&(e[a]=h=X(h)),ge(v,h,u,t,c,f,p,d),++P;break}!D&&a>i&&jn(v,u,d)}else D||jn(v,u,d);else{var L={};for(g=k;g<=i;++g)L[e[g].key]=g;for(g=y;g<=l;++g)if(v=n[g],P<$)if(void 0!==(a=L[v.key])){if(D)for(D=!1;g>y;)jn(n[y++],u,d);x[a-k]=g+1,W>a?F=!0:W=a,16384&(h=e[a]).flags&&(e[a]=h=X(h)),ge(v,h,u,t,c,f,p,d),++P}else D||jn(v,u,d);else D||jn(v,u,d)}if(D)Kn(u,s,n,d),ue(e,u,t,c,f,p,d);else if(F){var A=Ve(x);for(a=A.length-1,g=$-1;g>=0;g--)0===x[g]?(16384&(h=e[W=g+k]).flags&&(e[W]=h=X(h)),re(h,u,t,c,(m=W+1)0&&C(d.componentWillMove)}else if(P!==$)for(g=$-1;g>=0;g--)0===x[g]&&(16384&(h=e[W=g+k]).flags&&(e[W]=h=X(h)),re(h,u,t,c,(m=W+1)Ne&&(Ne=u,Ln=new Int32Array(u),An=new Int32Array(u));t>1]]0&&(An[t]=Ln[l-1]),Ln[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Ln[l-1];l-- >0;)c[l]=i,i=An[i],Ln[l]=0;return c}function Ie(n,e,r,l){var i=[],a=new s,u=e.$V;t(u)?t(n)||(16384&n.flags&&(n=X(n)),re(n,e,l,!1,null,i,a),e.$V=n,u=n):t(n)?(jn(u,e,a),e.$V=null):(16384&n.flags&&(n=X(n)),ge(u,n,e,l,!1,null,i,a),u=e.$V=n),y(i),w(a.componentDidAppear),o(r)&&r(),o(P.renderComplete)&&P.renderComplete(u,e)}function Ue(n,e,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Ie(n,e,t,r)}function Ee(n){console.log("ok",n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Te=500,Be=[function(){for(var n=[],e=0;e0?w(t.componentWillDisappear,x(n,e)):$(n,e,!1)}function F(n,e,t,r,o,l,i,a){n.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(e,o,r):8&i&&t.onComponentWillMove(e,o,r,a)},next:l,parent:o})}function M(n,e,r,l,i){var a,u,c=e.flags;do{var f=e.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,e.dom,l):F(i,n,a,e.dom,r,l,c,u));var s=e.children;if(4&f)a=e.children,u=e.props,e=s.$LI;else if(8&f)a=e.ref,u=e.props,e=s;else if(8192&f){if(2!==e.childFlags){for(var p=0,d=s.length;p0,v=i(p),h=l(p)&&p[0]===V;d||v||h?(a=a||o.slice(0,f),(d||h)&&(s=X(s)),(v||h)&&(s.key=V+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function G(t){if(r(t)||e(t))return j(t,null);if(n(t))return H(t,0,null);return 16384&t.flags?X(t):t}var z="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":z,"xlink:arcrole":z,"xlink:href":z,"xlink:role":z,"xlink:show":z,"xlink:title":z,"xlink:type":z,"xml:base":J,"xml:lang":J,"xml:space":J};function Y(n){return{onClick:n,onDblClick:n,onFocusIn:n,onFocusOut:n,onKeyDown:n,onKeyPress:n,onKeyUp:n,onMouseDown:n,onMouseMove:n,onMouseUp:n,onTouchEnd:n,onTouchMove:n,onTouchStart:n}}var Z=Y(0),nn=Y(null),en=Y(!0);function tn(n,e){var t=e.$EV;return t||(t=e.$EV=Y(null)),t[n]||1===++Z[n]&&(nn[n]=vn(n)),t}function rn(n,e){var t=e.$EV;t&&t[n]&&(0===--Z[n]&&(document.removeEventListener(p(n),nn[n]),nn[n]=null),t[n]=null)}function on(n,e,t,r){if(o(t))tn(n,r)[n]=t;else if(c(t)){if(A(e,t))return;tn(n,r)[n]=t}else rn(n,r)}function ln(n){return o(n.composedPath)?n.composedPath()[0]:n.target}function an(n,e,t,r){var o=ln(n);do{if(e&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,n):a(n),n.cancelBubble))return}o=o.parentNode}while(!i(o))}function un(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function cn(){return this.defaultPrevented}function fn(){return this.cancelBubble}function sn(n){var e={dom:document};return n.isDefaultPrevented=cn,n.isPropagationStopped=fn,n.stopPropagation=un,Object.defineProperty(n,"currentTarget",{configurable:!0,get:function(){return e.dom}}),e}function pn(n){return function(e){if(0!==e.button)return void e.stopPropagation();an(e,!0,n,sn(e))}}function dn(n){return function(e){an(e,!1,n,sn(e))}}function vn(n){var e="onClick"===n||"onDblClick"===n?pn(n):dn(n);return document.addEventListener(p(n),e),e}function hn(n,e){var t=document.createElement("i");return t.innerHTML=e,t.innerHTML===n.innerHTML}function mn(n,e,t){if(n[e]){var r=n[e];r.event?r.event(r.data,t):r(t)}else{var o=e.toLowerCase();n[o]&&n[o](t)}}function gn(n,e){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(n))mn(i,n,t);else for(var u=0;u-1&&e.options[i]&&(a=e.options[i].value),r&&t(a)&&(a=n.defaultValue),Dn(o,a)}}var Ln,An,Sn=gn("onInput",In),Nn=gn("onChange");function Vn(n,e){yn(n,"input",Sn),e.onChange&&yn(n,"change",Nn)}function In(n,e,r){var o=n.value,l=e.value;if(t(o)){if(r){var i=n.defaultValue;t(i)||i===l||(e.defaultValue=i,e.value=i)}}else l!==o&&(e.defaultValue=o,e.value=o)}function Un(n,e,t,r,o,l){64&n?xn(r,t):256&n?Pn(r,t,o,e):128&n&&In(r,t,o),l&&(t.$V=e)}function En(n,e,t){64&n?$n(e,t):256&n?Wn(e):128&n&&Vn(e,t)}function Tn(n){return n.type&&kn(n.type)?!t(n.checked):!t(n.value)}function Bn(n){n&&!N(n,null)&&n.current&&(n.current=null)}function On(n,e,t){n&&(o(n)||void 0!==n.current)&&t.push((function(){N(n,e)||void 0===n.current||(n.current=e)}))}function jn(n,e,t){Hn(n,t),D(n,e,t)}function Hn(n,e){var r,l=n.flags,a=n.children;if(481&l){r=n.ref;var u=n.props;Bn(r);var c=n.childFlags;if(!i(u))for(var p=Object.keys(u),d=0,v=p.length;d0?w(t.componentWillDisappear,Xn(e,n)):n.textContent=""}function Kn(n,e,t,r){Rn(t,r),8192&e.flags?D(e,n,r):_n(n,t,r)}function qn(n,e,t,r,o){n.componentWillDisappear.push((function(n){4&r?e.componentWillDisappear(t,n):8&r&&e.onComponentWillDisappear(t,o,n)}))}function Gn(n){var e=n.event;return function(t){e(n.data,t)}}function zn(n,e,t,r){if(c(t)){if(A(e,t))return;t=Gn(t)}yn(r,p(n),t)}function Jn(n,e,r){if(t(e))return void r.removeAttribute("style");var o,i,a=r.style;if(l(e))return void(a.cssText=e);if(t(n)||l(n))for(o in e)i=e[o],a.setProperty(o,i);else{for(o in e)(i=e[o])!==n[o]&&a.setProperty(o,i);for(o in n)t(e[o])&&a.removeProperty(o)}}function Qn(n,e,r,o,l){var a=n&&n.__html||"",u=e&&e.__html||"";a!==u&&(t(u)||hn(o,u)||(i(r)||(12&r.childFlags?Rn(r.children,l):2===r.childFlags&&Hn(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Yn(n,e,r,o,l,i,a,u){switch(n){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[n]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===n)break;var c=t(r)?"":r;o[n]!==c&&(o[n]=c);break;case"style":Jn(e,r,o);break;case"dangerouslySetInnerHTML":Qn(e,r,a,o,u);break;default:en[n]?on(n,e,r,o):111===n.charCodeAt(0)&&110===n.charCodeAt(1)?zn(n,e,r,o):t(r)?o.removeAttribute(n):l&&Q[n]?o.setAttributeNS(Q[n],n,r):o.setAttribute(n,r)}}function Zn(n,e,t,r,o,l){var i=!1,a=(448&e)>0;for(var u in a&&(i=Tn(t))&&En(e,r,t),t)Yn(u,null,t[u],r,o,i,null,l);a&&Un(e,n,r,t,!0,i)}function ne(n,e,t){var r=G(n.render(e,n.state,t)),l=t;return o(n.getChildContext)&&(l=a(t,n.getChildContext())),n.$CX=l,r}function ee(n,e,t,r,l,a){var u=new e(t,r),c=u.$N=Boolean(e.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,u.$L=a,n.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(!i(s)){var p=u.state;if(i(p))u.state=s;else for(var d in s)p[d]=s[d];u.$PS=null}u.$BR=!1}return u.$LI=ne(u,t,r),u}function te(n,e){var t=n.props||f;return 32768&n.flags?n.type.render(t,n.ref,e):n.type(t,e)}function re(n,e,t,r,o,l,i){var a=n.flags|=16384;481&a?ae(n,e,t,r,o,l,i):4&a?ce(n,e,t,r,o,l,i):8&a?fe(n,e,t,r,o,l,i):16&a?ie(n,e,o):8192&a?le(n,t,e,r,o,l,i):1024&a&&oe(n,t,e,o,l,i)}function oe(n,e,t,r,o,l){re(n.children,n.ref,e,!1,null,o,l);var i=_();ie(i,t,r),n.dom=i.dom}function le(n,e,t,r,o,l,i){var a=n.children,u=n.childFlags;12&u&&0===a.length&&(u=n.childFlags=2,a=n.children=_()),2===u?re(a,t,e,r,o,l,i):ue(a,t,e,r,o,l,i)}function ie(n,e,t){var r=n.dom=document.createTextNode(n.children);i(e)||v(e,r,t)}function ae(n,e,r,o,l,a,u){var c=n.flags,f=n.props,s=n.className,p=n.childFlags,d=n.dom=h(n.type,o=o||(32&c)>0),m=n.children;if(t(s)||""===s||(o?d.setAttribute("class",s):d.className=s),16===p)L(d,m);else if(1!==p){var g=o&&"foreignObject"!==n.type;2===p?(16384&m.flags&&(n.children=m=X(m)),re(m,d,r,g,null,a,u)):8!==p&&4!==p||ue(m,d,r,g,null,a,u)}i(e)||v(e,d,l),i(f)||Zn(n,c,f,d,o,u),On(n.ref,d,a)}function ue(n,e,t,r,o,l,i){for(var a=0;ad)&&(s=b(a[d-1],!1).nextSibling)}xe(c,f,a,u,t,r,o,s,n,l,i)}function we(n,e,t,o,l){var i=n.ref,a=e.ref,u=e.children;if(xe(n.childFlags,e.childFlags,n.children,u,i,t,!1,null,n,o,l),e.dom=n.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),d(a,c)}}function Ce(n,e,r,o,l,i,a){var u,c=e.dom=n.dom,s=n.props,p=e.props,d=!1,v=!1;if(o=o||(32&l)>0,s!==p){var h=s||f;if((u=p||f)!==f)for(var m in(d=(448&l)>0)&&(v=Tn(u)),u){var g=h[m],y=u[m];g!==y&&Yn(m,g,y,c,o,v,n,a)}if(h!==f)for(var k in h)t(u[k])&&!t(h[k])&&Yn(k,h[k],null,c,o,v,n,a)}var b=e.children,w=e.className;n.className!==w&&(t(w)?c.removeAttribute("class"):o?c.setAttribute("class",w):c.className=w),4096&l?ke(c,b):xe(n.childFlags,e.childFlags,n.children,b,c,r,o&&"foreignObject"!==e.type,null,n,i,a),d&&Un(l,e,c,u,!1,v);var C=e.ref,$=n.ref;$!==C&&(Bn($),On(C,c,i))}function $e(n,e,t,r,o,l,i){Hn(n,i),ue(e,t,r,o,b(n,!0),l,i),D(n,t,i)}function xe(n,e,t,r,o,l,i,a,u,c,f){switch(n){case 2:switch(e){case 2:ge(t,r,o,l,i,a,c,f);break;case 1:jn(t,o,f);break;case 16:Hn(t,f),L(o,r);break;default:$e(t,r,o,l,i,c,f)}break;case 1:switch(e){case 2:re(r,o,l,i,a,c,f);break;case 1:break;case 16:L(o,r);break;default:ue(r,o,l,i,a,c,f)}break;case 16:switch(e){case 16:ye(t,r,o);break;case 2:_n(o,t,f),re(r,o,l,i,a,c,f);break;case 1:_n(o,t,f);break;default:_n(o,t,f),ue(r,o,l,i,a,c,f)}break;default:switch(e){case 16:Rn(t,f),L(o,r);break;case 2:Kn(o,u,t,f),re(r,o,l,i,a,c,f);break;case 1:Kn(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&ue(r,o,l,i,a,c,f):0===p?Kn(o,u,t,f):8===e&&8===n?Ae(t,r,o,l,i,s,p,a,u,c,f):Le(t,r,o,l,i,s,p,a,c,f)}}}function De(n,e,t,r,o){o.push((function(){n.componentDidUpdate(e,t,r)}))}function Fe(n,e,t,r,l,i,u,c,f,s){var p=n.state,d=n.props,v=Boolean(n.$N),h=o(n.shouldComponentUpdate);if(v&&(e=W(n,t,e!==p?a(p,e):e)),u||!h||h&&n.shouldComponentUpdate(t,e,l)){!v&&o(n.componentWillUpdate)&&n.componentWillUpdate(t,e,l),n.props=t,n.state=e,n.context=l;var m=null,g=ne(n,t,l);v&&o(n.getSnapshotBeforeUpdate)&&(m=n.getSnapshotBeforeUpdate(d,p)),ge(n.$LI,g,r,n.$CX,i,c,f,s),n.$LI=g,o(n.componentDidUpdate)&&De(n,d,p,m,f)}else n.props=t,n.state=e,n.context=l}function Me(n,e,t,r,l,u,c,s){var p=e.children=n.children;if(i(p))return;p.$L=c;var d=e.props||f,v=e.ref,h=n.ref,m=p.state;if(!p.$N){if(o(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}i(p.$PS)||(m=a(m,p.$PS),p.$PS=null)}Fe(p,m,d,t,r,l,!1,u,c,s),h!==v&&(Bn(h),On(v,p,c))}function We(n,e,r,l,i,a,u,c){var s=!0,p=e.props||f,d=e.ref,v=n.props,h=!t(d),m=n.children;if(h&&o(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(v,p)),!1!==s){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=G(te(e,l));ge(m,g,r,l,i,a,u,c),e.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else e.children=m}function Pe(n,e){var t=e.children,r=e.dom=n.dom;t!==n.children&&(r.nodeValue=t)}function Le(n,e,t,r,o,l,i,a,u,c){for(var f,s,p=l>i?i:l,d=0;di)for(d=p;dd||h>v)break n;m=n[h],g=e[h]}for(m=n[d],g=e[v];m.key===g.key;){if(16384&g.flags&&(e[v]=g=X(g)),ge(m,g,t,r,o,a,c,f),n[d]=g,v--,h>--d||h>v)break n;m=n[d],g=e[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)jn(n[h++],t,f);else Se(n,e,r,l,i,d,v,h,t,o,a,u,c,f)}function Se(n,e,t,r,o,l,i,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,k=a,w=l-a+1,$=i-a+1,x=new Int32Array($+1),D=w===r,F=!1,W=0,P=0;if(o<4||(w|$)<32)for(g=y;g<=l;++g)if(v=n[g],P<$){for(a=k;a<=i;a++)if(h=e[a],v.key===h.key){if(x[a-k]=g+1,D)for(D=!1;ya?F=!0:W=a,16384&h.flags&&(e[a]=h=X(h)),ge(v,h,u,t,c,f,p,d),++P;break}!D&&a>i&&jn(v,u,d)}else D||jn(v,u,d);else{var L={};for(g=k;g<=i;++g)L[e[g].key]=g;for(g=y;g<=l;++g)if(v=n[g],P<$)if(void 0!==(a=L[v.key])){if(D)for(D=!1;g>y;)jn(n[y++],u,d);x[a-k]=g+1,W>a?F=!0:W=a,16384&(h=e[a]).flags&&(e[a]=h=X(h)),ge(v,h,u,t,c,f,p,d),++P}else D||jn(v,u,d);else D||jn(v,u,d)}if(D)Kn(u,s,n,d),ue(e,u,t,c,f,p,d);else if(F){var A=Ve(x);for(a=A.length-1,g=$-1;g>=0;g--)0===x[g]?(16384&(h=e[W=g+k]).flags&&(e[W]=h=X(h)),re(h,u,t,c,(m=W+1)0&&C(d.componentWillMove)}else if(P!==$)for(g=$-1;g>=0;g--)0===x[g]&&(16384&(h=e[W=g+k]).flags&&(e[W]=h=X(h)),re(h,u,t,c,(m=W+1)Ne&&(Ne=u,Ln=new Int32Array(u),An=new Int32Array(u));t>1]]0&&(An[t]=Ln[l-1]),Ln[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Ln[l-1];l-- >0;)c[l]=i,i=An[i],Ln[l]=0;return c}function Ie(n,e,r,l){var i=[],a=new s,u=e.$V;t(u)?t(n)||(16384&n.flags&&(n=X(n)),re(n,e,l,!1,null,i,a),e.$V=n,u=n):t(n)?(jn(u,e,a),e.$V=null):(16384&n.flags&&(n=X(n)),ge(u,n,e,l,!1,null,i,a),u=e.$V=n),y(i),w(a.componentDidAppear),o(r)&&r(),o(P.renderComplete)&&P.renderComplete(u,e)}function Ue(n,e,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Ie(n,e,t,r)}function Ee(n){console.log("ok",n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Te=500,Be=30,Oe=7,je=[function(){for(var n=[],e=0;e0?C(t.componentWillDisappear,F(e,n)):$(e,n,!1)}function x(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function D(e,n,r,i,l){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,i):x(l,e,a,n.dom,r,i,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var p=0,d=s.length;p0,v=l(p),h=i(p)&&p[0]===N;d||v||h?(a=a||o.slice(0,f),(d||h)&&(s=R(s)),(v||h)&&(s.key=N+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}function q(t){if(r(t)||n(t))return j(t,null);if(e(t))return H(t,0,null);return 16384&t.flags?R(t):t}var J="http://www.w3.org/1999/xlink",Z="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":Z,"xml:lang":Z,"xml:space":Z};function Y(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=Y(0),ne=Y(null),te=Y(!0);function re(e,n){var t=n.$EV;return t||(t=n.$EV=Y(null)),t[e]||1===++ee[e]&&(ne[e]=ve(e)),t}function oe(e,n){var t=n.$EV;t&&t[e]&&(0===--ee[e]&&(document.removeEventListener(p(e),ne[e]),ne[e]=null),t[e]=null)}function ie(e,n,t,r){if(o(t))re(e,r)[e]=t;else if(c(t)){if(M(n,t))return;re(e,r)[e]=t}else oe(e,r)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ae(e,n,t,r){var o=le(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!l(o))}function ue(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ce(){return this.defaultPrevented}function fe(){return this.cancelBubble}function se(e){var n={dom:document};return e.isDefaultPrevented=ce,e.isPropagationStopped=fe,e.stopPropagation=ue,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();ae(n,!0,e,se(n))}}function de(e){return function(n){ae(n,!1,e,se(n))}}function ve(e){var n="onClick"===e||"onDblClick"===e?pe(e):de(e);return document.addEventListener(p(e),n),n}function he(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function me(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 ge(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))me(l,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),Pe(o,a)}}var Ae,Me,Ve=ge("onInput",Ue),Le=ge("onChange");function Ne(e,n){ye(e,"input",Ve),n.onChange&&ye(e,"change",Le)}function Ue(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 Se(e,n,t,r,o,i){64&e?Fe(r,t):256&e?Ie(r,t,o,n):128&e&&Ue(r,t,o),i&&(t.$V=n)}function Be(e,n,t){64&e?$e(n,t):256&e?We(n):128&e&&Ne(n,t)}function Ee(e){return e.type&&be(e.type)?!t(e.checked):!t(e.value)}function Te(e){e&&!L(e,null)&&e.current&&(e.current=null)}function Oe(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){L(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){He(e,t),P(e,n,t)}function He(e,n){var r,i=e.flags,a=e.children;if(481&i){r=e.ref;var u=e.props;Te(r);var c=e.childFlags;if(!l(u))for(var p=Object.keys(u),d=0,v=p.length;d0?C(t.componentWillDisappear,Re(n,e)):e.textContent=""}function Xe(e,n,t,r){Ke(t,r),8192&n.flags?P(n,e,r):_e(e,t,r)}function ze(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Ge(e){var n=e.event;return function(t){n(e.data,t)}}function qe(e,n,t,r){if(c(t)){if(M(n,t))return;t=Ge(t)}ye(r,p(e),t)}function Je(e,n,r){if(t(n))return void r.removeAttribute("style");var o,l,a=r.style;if(i(n))return void(a.cssText=n);if(t(e)||i(e))for(o in n)l=n[o],a.setProperty(o,l);else{for(o in n)(l=n[o])!==e[o]&&a.setProperty(o,l);for(o in e)t(n[o])&&a.removeProperty(o)}}function Ze(e,n,r,o,i){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||he(o,u)||(l(r)||(12&r.childFlags?Ke(r.children,i):2===r.childFlags&&He(r.children,i),r.children=null,r.childFlags=1),o.innerHTML=u))}function Qe(e,n,r,o,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Je(n,r,o);break;case"dangerouslySetInnerHTML":Ze(n,r,a,o,u);break;default:te[e]?ie(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?qe(e,n,r,o):t(r)?o.removeAttribute(e):i&&Q[e]?o.setAttributeNS(Q[e],e,r):o.setAttribute(e,r)}}function Ye(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=Ee(t))&&Be(n,r,t),t)Qe(u,null,t[u],r,o,l,null,i);a&&Se(n,e,r,t,!0,l)}function en(e,n,t){var r=q(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function nn(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 p=u.state;if(l(p))u.state=s;else for(var d in s)p[d]=s[d];u.$PS=null}u.$BR=!1}return u.$LI=en(u,t,r),u}function tn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function rn(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?un(e,n,t,r,o,i,l):4&a?fn(e,n,t,r,o,i,l):8&a?sn(e,n,t,r,o,i,l):16&a?an(e,n,o):8192&a?ln(e,t,n,r,o,i,l):1024&a&&on(e,t,n,o,i,l)}function on(e,n,t,r,o,i){rn(e.children,e.ref,n,!1,null,o,i);var l=_();an(l,t,r),e.dom=l.dom}function ln(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=_()),2===u?rn(a,t,n,r,o,i,l):cn(a,t,n,r,o,i,l)}function an(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||v(n,r,t)}function un(e,n,r,o,i,a,u){var c=e.flags,f=e.props,s=e.className,p=e.childFlags,d=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?d.setAttribute("class",s):d.className=s),16===p)A(d,m);else if(1!==p){var g=o&&"foreignObject"!==e.type;2===p?(16384&m.flags&&(e.children=m=R(m)),rn(m,d,r,g,null,a,u)):8!==p&&4!==p||cn(m,d,r,g,null,a,u)}l(n)||v(n,d,i),l(f)||Ye(e,c,f,d,o,u),Oe(e.ref,d,a)}function cn(e,n,t,r,o,i,l){for(var a=0;ad)&&(s=k(a[d-1],!1).nextSibling)}Pn(c,f,a,u,t,r,o,s,e,i,l)}function wn(e,n,t,o,i){var l=e.ref,a=n.ref,u=n.children;if(Pn(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,o,i),n.dom=e.dom,l!==a&&!r(u)){var c=u.dom;g(l,c),d(a,c)}}function $n(e,n,r,o,i,l,a){var u,c=n.dom=e.dom,s=e.props,p=n.props,d=!1,v=!1;if(o=o||(32&i)>0,s!==p){var h=s||f;if((u=p||f)!==f)for(var m in(d=(448&i)>0)&&(v=Ee(u)),u){var g=h[m],y=u[m];g!==y&&Qe(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Qe(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&i?kn(c,k):Pn(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,l,a),d&&Se(i,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Te($),Oe(w,c,l))}function Fn(e,n,t,r,o,i,l){He(e,l),cn(n,t,r,o,k(e,!0),i,l),P(e,t,l)}function Pn(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:yn(t,r,o,i,l,a,c,f);break;case 1:je(t,o,f);break;case 16:He(t,f),A(o,r);break;default:Fn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:rn(r,o,i,l,a,c,f);break;case 1:break;case 16:A(o,r);break;default:cn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:bn(t,r,o);break;case 2:_e(o,t,f),rn(r,o,i,l,a,c,f);break;case 1:_e(o,t,f);break;default:_e(o,t,f),cn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:Ke(t,f),A(o,r);break;case 2:Xe(o,u,t,f),rn(r,o,i,l,a,c,f);break;case 1:Xe(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&cn(r,o,i,l,a,c,f):0===p?Xe(o,u,t,f):8===n&&8===e?Vn(t,r,o,i,l,s,p,a,u,c,f):Mn(t,r,o,i,l,s,p,a,c,f)}}}function xn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Dn(e,n,t,r,i,l,u,c,f,s){var p=e.state,d=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=W(e,t,n!==p?a(p,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=en(e,t,i);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),yn(e.$LI,g,r,e.$CX,l,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&xn(e,d,p,m,f)}else e.props=t,e.state=n,e.context=i}function Wn(e,n,t,r,i,u,c,s){var p=n.children=e.children;if(l(p))return;p.$L=c;var d=n.props||f,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(o(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}l(p.$PS)||(m=a(m,p.$PS),p.$PS=null)}Dn(p,m,d,t,r,i,!1,u,c,s),h!==v&&(Te(h),Oe(v,p,c))}function In(e,n,r,i,l,a,u,c){var s=!0,p=n.props||f,d=n.ref,v=e.props,h=!t(d),m=e.children;if(h&&o(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(v,p)),!1!==s){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=q(tn(n,i));yn(m,g,r,i,l,a,u,c),n.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function An(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Mn(e,n,t,r,o,i,l,a,u,c){for(var f,s,p=i>l?l:i,d=0;dl)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=R(g)),yn(m,g,t,r,o,a,c,f),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)je(e[h++],t,f);else Ln(e,n,r,i,l,d,v,h,t,o,a,u,c,f)}function Ln(e,n,t,r,o,i,l,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,b=a,C=i-a+1,$=l-a+1,F=new Int32Array($+1),P=C===r,x=!1,W=0,I=0;if(o<4||(C|$)<32)for(g=y;g<=i;++g)if(v=e[g],I<$){for(a=b;a<=l;a++)if(h=n[a],v.key===h.key){if(F[a-b]=g+1,P)for(P=!1;ya?x=!0:W=a,16384&h.flags&&(n[a]=h=R(h)),yn(v,h,u,t,c,f,p,d),++I;break}!P&&a>l&&je(v,u,d)}else P||je(v,u,d);else{var A={};for(g=b;g<=l;++g)A[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],I<$)if(void 0!==(a=A[v.key])){if(P)for(P=!1;g>y;)je(e[y++],u,d);F[a-b]=g+1,W>a?x=!0:W=a,16384&(h=n[a]).flags&&(n[a]=h=R(h)),yn(v,h,u,t,c,f,p,d),++I}else P||je(v,u,d);else P||je(v,u,d)}if(P)Xe(u,s,e,d),cn(n,u,t,c,f,p,d);else if(x){var M=Un(F);for(a=M.length-1,g=$-1;g>=0;g--)0===F[g]?(16384&(h=n[W=g+b]).flags&&(n[W]=h=R(h)),rn(h,u,t,c,(m=W+1)0&&w(d.componentWillMove)}else if(I!==$)for(g=$-1;g>=0;g--)0===F[g]&&(16384&(h=n[W=g+b]).flags&&(n[W]=h=R(h)),rn(h,u,t,c,(m=W+1)Nn&&(Nn=u,Ae=new Int32Array(u),Me=new Int32Array(u));t>1]]0&&(Me[t]=Ae[i-1]),Ae[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Ae[i-1];i-- >0;)c[i]=l,l=Me[l],Ae[i]=0;return c}function Sn(e,n,r,i){var l=[],a=new s,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=R(e)),rn(e,n,i,!1,null,l,a),n.$V=e,u=e):t(e)?(je(u,n,a),n.$V=null):(16384&e.flags&&(e=R(e)),yn(u,e,n,i,!1,null,l,a),u=n.$V=e),y(l),C(a.componentDidAppear),o(r)&&r(),o(I.renderComplete)&&I.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Bn=Array.isArray,En=/([.#]?[a-zA-Z0-9_:-]+)/,Tn=/^\.|#/;function On(e,n){if(!e)return"div";if("$F"===e)return e;var t,r=n&&void 0===n.id,o=e.split(En),i=null;Tn.test(o[1])&&(i="div");for(var l=0,a=o.length;l0?w(t.componentWillDisappear,x(e,n)):P(e,n,!1)}function F(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function W(e,n,r,i,l){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?h(r,n.dom,i):F(l,e,a,n.dom,r,i,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var p=0,d=s.length;p0,v=l(p),h=i(p)&&p[0]===U;d||v||h?(a=a||o.slice(0,f),(d||h)&&(s=_(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=_(o)),u=2;return t.children=a,t.childFlags=u,t}function J(t){if(r(t)||n(t))return H(t,null);if(e(t))return K(t,0,null);return 16384&t.flags?_(t):t}var Z="http://www.w3.org/1999/xlink",Q="http://www.w3.org/XML/1998/namespace",Y={"xlink:actuate":Z,"xlink:arcrole":Z,"xlink:href":Z,"xlink:role":Z,"xlink:show":Z,"xlink:title":Z,"xlink:type":Z,"xml:base":Q,"xml:lang":Q,"xml:space":Q};function ee(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 ne=ee(0),te=ee(null),re=ee(!0);function oe(e,n){var t=n.$EV;return t||(t=n.$EV=ee(null)),t[e]||1===++ne[e]&&(te[e]=he(e)),t}function ie(e,n){var t=n.$EV;t&&t[e]&&(0===--ne[e]&&(document.removeEventListener(d(e),te[e]),te[e]=null),t[e]=null)}function le(e,n,t,r){if(o(t))oe(e,r)[e]=t;else if(c(t)){if(V(n,t))return;oe(e,r)[e]=t}else ie(e,r)}function ae(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ue(e,n,t,r){var o=ae(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!l(o))}function ce(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function fe(){return this.defaultPrevented}function se(){return this.cancelBubble}function pe(e){var n={dom:document};return e.isDefaultPrevented=fe,e.isPropagationStopped=se,e.stopPropagation=ce,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function de(e){return function(n){if(0!==n.button)return void n.stopPropagation();ue(n,!0,e,pe(n))}}function ve(e){return function(n){ue(n,!1,e,pe(n))}}function he(e){var n="onClick"===e||"onDblClick"===e?de(e):ve(e);return document.addEventListener(d(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 o=n.toLowerCase();e[o]&&e[o](t)}}function ye(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))ge(l,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),De(o,a)}}var Me,Ve,Le=ye("onInput",Se),Ne=ye("onChange");function Ue(e,n){be(e,"input",Le),n.onChange&&be(e,"change",Ne)}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 Be(e,n,t,r,o,i){64&e?xe(r,t):256&e?Ae(r,t,o,n):128&e&&Se(r,t,o),i&&(t.$V=n)}function Ee(e,n,t){64&e?Pe(n,t):256&e?Ie(n):128&e&&Ue(n,t)}function Te(e){return e.type&&ke(e.type)?!t(e.checked):!t(e.value)}function Oe(e){e&&!N(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){N(e,n)||void 0===e.current||(e.current=n)}))}function He(e,n,t){Ke(e,t),D(e,n,t)}function Ke(e,n){var r,i=e.flags,a=e.children;if(481&i){r=e.ref;var u=e.props;Oe(r);var c=e.childFlags;if(!l(u))for(var s=Object.keys(u),d=0,v=s.length;d0?w(t.componentWillDisappear,_e(n,e)):e.textContent=""}function ze(e,n,t,r){Re(t,r),8192&n.flags?D(n,e,r):Xe(e,t,r)}function Ge(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function qe(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(c(t)){if(V(n,t))return;t=qe(t)}be(r,d(e),t)}function Ze(e,n,r){if(t(n))return void r.removeAttribute("style");var o,l,a=r.style;if(i(n))return void(a.cssText=n);if(t(e)||i(e))for(o in n)l=n[o],a.setProperty(o,l);else{for(o in n)(l=n[o])!==e[o]&&a.setProperty(o,l);for(o in e)t(n[o])&&a.removeProperty(o)}}function Qe(e,n,r,o,i){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||me(o,u)||(l(r)||(12&r.childFlags?Re(r.children,i):2===r.childFlags&&Ke(r.children,i),r.children=null,r.childFlags=1),o.innerHTML=u))}function Ye(e,n,r,o,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Ze(n,r,o);break;case"dangerouslySetInnerHTML":Qe(n,r,a,o,u);break;default:re[e]?le(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,r,o):t(r)?o.removeAttribute(e):i&&Y[e]?o.setAttributeNS(Y[e],e,r):o.setAttribute(e,r)}}function en(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=Te(t))&&Ee(n,r,t),t)Ye(u,null,t[u],r,o,l,null,i);a&&Be(n,e,r,t,!0,l)}function nn(e,n,t){var r=J(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function tn(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=I(u,t,u.state);else if(o(u.componentWillMount)){u.$BR=!0,u.componentWillMount();var s=u.$PS;if(!l(s)){var p=u.state;if(l(p))u.state=s;else for(var d in s)p[d]=s[d];u.$PS=null}u.$BR=!1}return u.$LI=nn(u,t,r),u}function rn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function on(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?cn(e,n,t,r,o,i,l):4&a?sn(e,n,t,r,o,i,l):8&a?pn(e,n,t,r,o,i,l):16&a?un(e,n,o):8192&a?an(e,t,n,r,o,i,l):1024&a&&ln(e,t,n,o,i,l)}function ln(e,n,t,r,o,i){on(e.children,e.ref,n,!1,null,o,i);var l=X();un(l,t,r),e.dom=l.dom}function an(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=X()),2===u?on(a,t,n,r,o,i,l):fn(a,t,n,r,o,i,l)}function un(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||h(n,r,t)}function cn(e,n,r,o,i,a,u){var c=e.flags,f=e.props,s=e.className,p=e.childFlags,d=e.dom=m(e.type,o=o||(32&c)>0),v=e.children;if(t(s)||""===s||(o?d.setAttribute("class",s):d.className=s),16===p)M(d,v);else if(1!==p){var g=o&&"foreignObject"!==e.type;2===p?(16384&v.flags&&(e.children=v=_(v)),on(v,d,r,g,null,a,u)):8!==p&&4!==p||fn(v,d,r,g,null,a,u)}l(n)||h(n,d,i),l(f)||en(e,c,f,d,o,u),je(e.ref,d,a)}function fn(e,n,t,r,o,i,l){for(var a=0;ad)&&(s=C(a[d-1],!1).nextSibling)}Dn(c,f,a,u,t,r,o,s,e,i,l)}function $n(e,n,t,o,i){var l=e.ref,a=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,o,i),n.dom=e.dom,l!==a&&!r(u)){var c=u.dom;y(l,c),v(a,c)}}function Pn(e,n,r,o,i,l,a){var u,c=n.dom=e.dom,s=e.props,p=n.props,d=!1,v=!1;if(o=o||(32&i)>0,s!==p){var h=s||f;if((u=p||f)!==f)for(var m in(d=(448&i)>0)&&(v=Te(u)),u){var g=h[m],y=u[m];g!==y&&Ye(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Ye(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&i?Cn(c,k):Dn(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,l,a),d&&Be(i,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Oe($),je(w,c,l))}function xn(e,n,t,r,o,i,l){Ke(e,l),fn(n,t,r,o,C(e,!0),i,l),D(e,t,l)}function Dn(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:bn(t,r,o,i,l,a,c,f);break;case 1:He(t,o,f);break;case 16:Ke(t,f),M(o,r);break;default:xn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:on(r,o,i,l,a,c,f);break;case 1:break;case 16:M(o,r);break;default:fn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:kn(t,r,o);break;case 2:Xe(o,t,f),on(r,o,i,l,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),fn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:Re(t,f),M(o,r);break;case 2:ze(o,u,t,f),on(r,o,i,l,a,c,f);break;case 1:ze(o,u,t,f);break;default:var s=0|t.length,p=0|r.length;0===s?p>0&&fn(r,o,i,l,a,c,f):0===p?ze(o,u,t,f):8===n&&8===e?Ln(t,r,o,i,l,s,p,a,u,c,f):Vn(t,r,o,i,l,s,p,a,c,f)}}}function Fn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Wn(e,n,t,r,i,l,u,c,f,s){var p=e.state,d=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=I(e,t,n!==p?a(p,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=nn(e,t,i);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(d,p)),bn(e.$LI,g,r,e.$CX,l,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Fn(e,d,p,m,f)}else e.props=t,e.state=n,e.context=i}function In(e,n,t,r,i,u,c,s){var p=n.children=e.children;if(l(p))return;p.$L=c;var d=n.props||f,v=n.ref,h=e.ref,m=p.state;if(!p.$N){if(o(p.componentWillReceiveProps)){if(p.$BR=!0,p.componentWillReceiveProps(d,r),p.$UN)return;p.$BR=!1}l(p.$PS)||(m=a(m,p.$PS),p.$PS=null)}Wn(p,m,d,t,r,i,!1,u,c,s),h!==v&&(Oe(h),je(v,p,c))}function An(e,n,r,i,l,a,u,c){var s=!0,p=n.props||f,d=n.ref,v=e.props,h=!t(d),m=e.children;if(h&&o(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(v,p)),!1!==s){h&&o(d.onComponentWillUpdate)&&d.onComponentWillUpdate(v,p);var g=J(rn(n,i));bn(m,g,r,i,l,a,u,c),n.children=g,h&&o(d.onComponentDidUpdate)&&d.onComponentDidUpdate(v,p)}else n.children=m}function Mn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Vn(e,n,t,r,o,i,l,a,u,c){for(var f,s,p=i>l?l:i,d=0;dl)for(d=p;dd||h>v)break e;m=e[h],g=n[h]}for(m=e[d],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=_(g)),bn(m,g,t,r,o,a,c,f),e[d]=g,v--,h>--d||h>v)break e;m=e[d],g=n[v]}}if(h>d){if(h<=v)for(p=(s=v+1)v)for(;h<=d;)He(e[h++],t,f);else Nn(e,n,r,i,l,d,v,h,t,o,a,u,c,f)}function Nn(e,n,t,r,o,i,l,a,u,c,f,s,p,d){var v,h,m=0,g=0,y=a,b=a,k=i-a+1,w=l-a+1,P=new Int32Array(w+1),x=k===r,D=!1,F=0,I=0;if(o<4||(k|w)<32)for(g=y;g<=i;++g)if(v=e[g],Ia?D=!0:F=a,16384&h.flags&&(n[a]=h=_(h)),bn(v,h,u,t,c,f,p,d),++I;break}!x&&a>l&&He(v,u,d)}else x||He(v,u,d);else{var A={};for(g=b;g<=l;++g)A[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],Iy;)He(e[y++],u,d);P[a-b]=g+1,F>a?D=!0:F=a,16384&(h=n[a]).flags&&(n[a]=h=_(h)),bn(v,h,u,t,c,f,p,d),++I}else x||He(v,u,d);else x||He(v,u,d)}if(x)ze(u,s,e,d),fn(n,u,t,c,f,p,d);else if(D){var M=Sn(P);for(a=M.length-1,g=w-1;g>=0;g--)0===P[g]?(16384&(h=n[F=g+b]).flags&&(n[F]=h=_(h)),on(h,u,t,c,(m=F+1)0&&$(d.componentWillMove)}else if(I!==w)for(g=w-1;g>=0;g--)0===P[g]&&(16384&(h=n[F=g+b]).flags&&(n[F]=h=_(h)),on(h,u,t,c,(m=F+1)Un&&(Un=u,Me=new Int32Array(u),Ve=new Int32Array(u));t>1]]0&&(Ve[t]=Me[i-1]),Me[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Me[i-1];i-- >0;)c[i]=l,l=Ve[l],Me[i]=0;return c}function Bn(e,n,r,i){var l=[],a=new p,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=_(e)),on(e,n,i,!1,null,l,a),n.$V=e,u=e):t(e)?(He(u,n,a),n.$V=null):(16384&e.flags&&(e=_(e)),bn(u,e,n,i,!1,null,l,a),u=n.$V=e),b(l),w(a.componentDidAppear),o(r)&&r(),o(A.renderComplete)&&A.renderComplete(u,n)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var En=Array.isArray,Tn=/([.#]?[a-zA-Z0-9_:-]+)/,On=/^\.|#/;function jn(e,n){if(!e)return"div";if(e===s)return e;var t,r=n&&void 0===n.id,o=e.split(Tn),i=null;On.test(o[1])&&(i="div");for(var l=0,a=o.length;l0?k(e.componentWillDisappear,w(c,t)):g(c,t,!1)}function L(c,t,e,i,a,l,n,d){c.componentWillMove.push({dom:i,fn:function(){4&n?e.componentWillMove(t,a,i):8&n&&e.onComponentWillMove(t,a,i,d)},next:l,parent:a})}function b(c,t,i,l,n){var d,r,o=t.flags;do{var p=t.flags;if(1521&p)return void(e(d)||!a(d.componentWillMove)&&!a(d.onComponentWillMove)?f(i,t.dom,l):L(n,c,d,t.dom,i,l,o,r));var h=t.children;if(4&p)d=t.children,r=t.props,t=h.$LI;else if(8&p)d=t.ref,r=t.props,t=h;else if(8192&p){if(2!==t.childFlags){for(var s=0,C=h.length;s0,C=n(s),F=l(s)&&s[0]===S;f||C||F?(d=d||a.slice(0,p),(f||F)&&(h=H(h)),(C||F)&&(h.key=S+p),d.push(h)):d&&d.push(h),h.flags|=65536}}r=0===(d=d||a).length?1:8}else(d=a).flags|=65536,81920&a.flags&&(d=H(a)),r=2;return e.children=d,e.childFlags=r,e}function q(e){if(i(e)||t(e))return T(e,null);if(c(e))return O(e,0,null);return 16384&e.flags?H(e):e}var G="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":G,"xlink:arcrole":G,"xlink:href":G,"xlink:role":G,"xlink:show":G,"xlink:title":G,"xlink:type":G,"xml:base":J,"xml:lang":J,"xml:space":J};function Y(c){return{onClick:c,onDblClick:c,onFocusIn:c,onFocusOut:c,onKeyDown:c,onKeyPress:c,onKeyUp:c,onMouseDown:c,onMouseMove:c,onMouseUp:c,onTouchEnd:c,onTouchMove:c,onTouchStart:c}}var Z=Y(0),cc=Y(null),tc=Y(!0);function ec(c,t){var e=t.$EV;return e||(e=t.$EV=Y(null)),e[c]||1===++Z[c]&&(cc[c]=fc(c)),e}function ic(c,t){var e=t.$EV;e&&e[c]&&(0===--Z[c]&&(document.removeEventListener(h(c),cc[c]),cc[c]=null),e[c]=null)}function ac(c,t,e,i){if(a(e))ec(c,i)[c]=e;else if(r(e)){if(x(t,e))return;ec(c,i)[c]=e}else ic(c,i)}function lc(c){return a(c.composedPath)?c.composedPath()[0]:c.target}function nc(c,t,e,i){var a=lc(c);do{if(t&&a.disabled)return;var l=a.$EV;if(l){var d=l[e];if(d&&(i.dom=a,d.event?d.event(d.data,c):d(c),c.cancelBubble))return}a=a.parentNode}while(!n(a))}function dc(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function rc(){return this.defaultPrevented}function oc(){return this.cancelBubble}function pc(c){var t={dom:document};return c.isDefaultPrevented=rc,c.isPropagationStopped=oc,c.stopPropagation=dc,Object.defineProperty(c,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function hc(c){return function(t){if(0!==t.button)return void t.stopPropagation();nc(t,!0,c,pc(t))}}function sc(c){return function(t){nc(t,!1,c,pc(t))}}function fc(c){var t="onClick"===c||"onDblClick"===c?hc(c):sc(c);return document.addEventListener(h(c),t),t}function Cc(c,t){var e=document.createElement("i");return e.innerHTML=t,e.innerHTML===c.innerHTML}function Fc(c,t,e){if(c[t]){var i=c[t];i.event?i.event(i.data,e):i(e)}else{var a=t.toLowerCase();c[a]&&c[a](e)}}function uc(c,t){var e=function(e){var i=this.$V;if(!i)return;var n=i.props||o,d=i.dom;if(l(c))Fc(n,c,e);else for(var r=0;r-1&&t.options[n]&&(d=t.options[n].value),i&&e(d)&&(d=c.defaultValue),yc(a,d)}}var Ac,xc,Wc=uc("onInput",Pc),Ec=uc("onChange");function Sc(c,t){Mc(c,"input",Wc),t.onChange&&Mc(c,"change",Ec)}function Pc(c,t,i){var a=c.value,l=t.value;if(e(a)){if(i){var n=c.defaultValue;e(n)||n===l||(t.defaultValue=n,t.value=n)}}else l!==a&&(t.defaultValue=a,t.value=a)}function Bc(c,t,e,i,a,l){64&c?wc(i,e):256&c?Dc(i,e,a,t):128&c&&Pc(i,e,a),l&&(e.$V=t)}function Uc(c,t,e){64&c?gc(t,e):256&c?$c(t):128&c&&Sc(t,e)}function Vc(c){return c.type&&vc(c.type)?!e(c.checked):!e(c.value)}function Ic(c){c&&!E(c,null)&&c.current&&(c.current=null)}function Nc(c,t,e){c&&(a(c)||void 0!==c.current)&&e.push((function(){E(c,t)||void 0===c.current||(c.current=t)}))}function Tc(c,t,e){Oc(c,e),y(c,t,e)}function Oc(c,t){var i,l=c.flags,d=c.children;if(481&l){i=c.ref;var r=c.props;Ic(i);var h=c.childFlags;if(!n(r))for(var s=Object.keys(r),f=0,C=s.length;f0?k(e.componentWillDisappear,Hc(t,c)):c.textContent=""}function Xc(c,t,e,i){jc(e,i),8192&t.flags?y(t,c,i):Rc(c,e,i)}function _c(c,t,e,i,a){c.componentWillDisappear.push((function(c){4&i?t.componentWillDisappear(e,c):8&i&&t.onComponentWillDisappear(e,a,c)}))}function Kc(c){var t=c.event;return function(e){t(c.data,e)}}function qc(c,t,e,i){if(r(e)){if(x(t,e))return;e=Kc(e)}Mc(i,h(c),e)}function Gc(c,t,i){if(e(t))return void i.removeAttribute("style");var a,n,d=i.style;if(l(t))return void(d.cssText=t);if(e(c)||l(c))for(a in t)n=t[a],d.setProperty(a,n);else{for(a in t)(n=t[a])!==c[a]&&d.setProperty(a,n);for(a in c)e(t[a])&&d.removeProperty(a)}}function Jc(c,t,i,a,l){var d=c&&c.__html||"",r=t&&t.__html||"";d!==r&&(e(r)||Cc(a,r)||(n(i)||(12&i.childFlags?jc(i.children,l):2===i.childFlags&&Oc(i.children,l),i.children=null,i.childFlags=1),a.innerHTML=r))}function Qc(c,t,i,a,l,n,d,r){switch(c){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":a.autofocus=!!i;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":a[c]=!!i;break;case"defaultChecked":case"value":case"volume":if(n&&"value"===c)break;var o=e(i)?"":i;a[c]!==o&&(a[c]=o);break;case"style":Gc(t,i,a);break;case"dangerouslySetInnerHTML":Jc(t,i,d,a,r);break;default:tc[c]?ac(c,t,i,a):111===c.charCodeAt(0)&&110===c.charCodeAt(1)?qc(c,t,i,a):e(i)?a.removeAttribute(c):l&&Q[c]?a.setAttributeNS(Q[c],c,i):a.setAttribute(c,i)}}function Yc(c,t,e,i,a,l){var n=!1,d=(448&t)>0;for(var r in d&&(n=Vc(e))&&Uc(t,i,e),e)Qc(r,null,e[r],i,a,n,null,l);d&&Bc(t,c,i,e,!0,n)}function Zc(c,t,e){var i=q(c.render(t,c.state,e)),l=e;return a(c.getChildContext)&&(l=d(e,c.getChildContext())),c.$CX=l,i}function ct(c,t,e,i,l,d){var r=new t(e,i),p=r.$N=Boolean(t.getDerivedStateFromProps||r.getSnapshotBeforeUpdate);if(r.$SVG=l,r.$L=d,c.children=r,r.$BS=!1,r.context=i,r.props===o&&(r.props=e),p)r.state=$(r,e,r.state);else if(a(r.componentWillMount)){r.$BR=!0,r.componentWillMount();var h=r.$PS;if(!n(h)){var s=r.state;if(n(s))r.state=h;else for(var f in h)s[f]=h[f];r.$PS=null}r.$BR=!1}return r.$LI=Zc(r,e,i),r}function tt(c,t){var e=c.props||o;return 32768&c.flags?c.type.render(e,c.ref,t):c.type(e,t)}function et(c,t,e,i,a,l,n){var d=c.flags|=16384;481&d?nt(c,t,e,i,a,l,n):4&d?rt(c,t,e,i,a,l,n):8&d?ot(c,t,e,i,a,l,n):16&d?lt(c,t,a):8192&d?at(c,e,t,i,a,l,n):1024&d&&it(c,e,t,a,l,n)}function it(c,t,e,i,a,l){et(c.children,c.ref,t,!1,null,a,l);var n=R();lt(n,e,i),c.dom=n.dom}function at(c,t,e,i,a,l,n){var d=c.children,r=c.childFlags;12&r&&0===d.length&&(r=c.childFlags=2,d=c.children=R()),2===r?et(d,e,t,i,a,l,n):dt(d,e,t,i,a,l,n)}function lt(c,t,e){var i=c.dom=document.createTextNode(c.children);n(t)||f(t,i,e)}function nt(c,t,i,a,l,d,r){var o=c.flags,p=c.props,h=c.className,s=c.childFlags,F=c.dom=C(c.type,a=a||(32&o)>0),u=c.children;if(e(h)||""===h||(a?F.setAttribute("class",h):F.className=h),16===s)A(F,u);else if(1!==s){var M=a&&"foreignObject"!==c.type;2===s?(16384&u.flags&&(c.children=u=H(u)),et(u,F,i,M,null,d,r)):8!==s&&4!==s||dt(u,F,i,M,null,d,r)}n(t)||f(t,F,l),n(p)||Yc(c,o,p,F,a,r),Nc(c.ref,F,d)}function dt(c,t,e,i,a,l,n){for(var d=0;df)&&(h=z(d[f-1],!1).nextSibling)}wt(o,p,d,r,e,i,a,h,c,l,n)}function kt(c,t,e,a,l){var n=c.ref,d=t.ref,r=t.children;if(wt(c.childFlags,t.childFlags,c.children,r,n,e,!1,null,c,a,l),t.dom=c.dom,n!==d&&!i(r)){var o=r.dom;u(n,o),s(d,o)}}function mt(c,t,i,a,l,n,d){var r,p=t.dom=c.dom,h=c.props,s=t.props,f=!1,C=!1;if(a=a||(32&l)>0,h!==s){var F=h||o;if((r=s||o)!==o)for(var u in(f=(448&l)>0)&&(C=Vc(r)),r){var M=F[u],v=r[u];M!==v&&Qc(u,M,v,p,a,C,c,d)}if(F!==o)for(var z in F)e(r[z])&&!e(F[z])&&Qc(z,F[z],null,p,a,C,c,d)}var k=t.children,m=t.className;c.className!==m&&(e(m)?p.removeAttribute("class"):a?p.setAttribute("class",m):p.className=m),4096&l?vt(p,k):wt(c.childFlags,t.childFlags,c.children,k,p,i,a&&"foreignObject"!==t.type,null,c,n,d),f&&Bc(l,t,p,r,!1,C);var g=t.ref,w=c.ref;w!==g&&(Ic(w),Nc(g,p,n))}function gt(c,t,e,i,a,l,n){Oc(c,n),dt(t,e,i,a,z(c,!0),l,n),y(c,e,n)}function wt(c,t,e,i,a,l,n,d,r,o,p){switch(c){case 2:switch(t){case 2:ut(e,i,a,l,n,d,o,p);break;case 1:Tc(e,a,p);break;case 16:Oc(e,p),A(a,i);break;default:gt(e,i,a,l,n,o,p)}break;case 1:switch(t){case 2:et(i,a,l,n,d,o,p);break;case 1:break;case 16:A(a,i);break;default:dt(i,a,l,n,d,o,p)}break;case 16:switch(t){case 16:Mt(e,i,a);break;case 2:Rc(a,e,p),et(i,a,l,n,d,o,p);break;case 1:Rc(a,e,p);break;default:Rc(a,e,p),dt(i,a,l,n,d,o,p)}break;default:switch(t){case 16:jc(e,p),A(a,i);break;case 2:Xc(a,r,e,p),et(i,a,l,n,d,o,p);break;case 1:Xc(a,r,e,p);break;default:var h=0|e.length,s=0|i.length;0===h?s>0&&dt(i,a,l,n,d,o,p):0===s?Xc(a,r,e,p):8===t&&8===c?xt(e,i,a,l,n,h,s,d,r,o,p):At(e,i,a,l,n,h,s,d,o,p)}}}function yt(c,t,e,i,a){a.push((function(){c.componentDidUpdate(t,e,i)}))}function Lt(c,t,e,i,l,n,r,o,p,h){var s=c.state,f=c.props,C=Boolean(c.$N),F=a(c.shouldComponentUpdate);if(C&&(t=$(c,e,t!==s?d(s,t):t)),r||!F||F&&c.shouldComponentUpdate(e,t,l)){!C&&a(c.componentWillUpdate)&&c.componentWillUpdate(e,t,l),c.props=e,c.state=t,c.context=l;var u=null,M=Zc(c,e,l);C&&a(c.getSnapshotBeforeUpdate)&&(u=c.getSnapshotBeforeUpdate(f,s)),ut(c.$LI,M,i,c.$CX,n,o,p,h),c.$LI=M,a(c.componentDidUpdate)&&yt(c,f,s,u,p)}else c.props=e,c.state=t,c.context=l}function bt(c,t,e,i,l,r,p,h){var s=t.children=c.children;if(n(s))return;s.$L=p;var f=t.props||o,C=t.ref,F=c.ref,u=s.state;if(!s.$N){if(a(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(f,i),s.$UN)return;s.$BR=!1}n(s.$PS)||(u=d(u,s.$PS),s.$PS=null)}Lt(s,u,f,e,i,l,!1,r,p,h),F!==C&&(Ic(F),Nc(C,s,p))}function $t(c,t,i,l,n,d,r,p){var h=!0,s=t.props||o,f=t.ref,C=c.props,F=!e(f),u=c.children;if(F&&a(f.onComponentShouldUpdate)&&(h=f.onComponentShouldUpdate(C,s)),!1!==h){F&&a(f.onComponentWillUpdate)&&f.onComponentWillUpdate(C,s);var M=q(tt(t,l));ut(u,M,i,l,n,d,r,p),t.children=M,F&&a(f.onComponentDidUpdate)&&f.onComponentDidUpdate(C,s)}else t.children=u}function Dt(c,t){var e=t.children,i=t.dom=c.dom;e!==c.children&&(i.nodeValue=e)}function At(c,t,e,i,a,l,n,d,r,o){for(var p,h,s=l>n?n:l,f=0;fn)for(f=s;ff||F>C)break c;u=c[F],M=t[F]}for(u=c[f],M=t[C];u.key===M.key;){if(16384&M.flags&&(t[C]=M=H(M)),ut(u,M,e,i,a,d,o,p),c[f]=M,C--,F>--f||F>C)break c;u=c[f],M=t[C]}}if(F>f){if(F<=C)for(s=(h=C+1)C)for(;F<=f;)Tc(c[F++],e,p);else Wt(c,t,i,l,n,f,C,F,e,a,d,r,o,p)}function Wt(c,t,e,i,a,l,n,d,r,o,p,h,s,f){var C,F,u=0,M=0,v=d,k=d,g=l-d+1,w=n-d+1,y=new Int32Array(w+1),L=g===i,$=!1,D=0,A=0;if(a<4||(g|w)<32)for(M=v;M<=l;++M)if(C=c[M],Ad?$=!0:D=d,16384&F.flags&&(t[d]=F=H(F)),ut(C,F,r,e,o,p,s,f),++A;break}!L&&d>n&&Tc(C,r,f)}else L||Tc(C,r,f);else{var x={};for(M=k;M<=n;++M)x[t[M].key]=M;for(M=v;M<=l;++M)if(C=c[M],Av;)Tc(c[v++],r,f);y[d-k]=M+1,D>d?$=!0:D=d,16384&(F=t[d]).flags&&(t[d]=F=H(F)),ut(C,F,r,e,o,p,s,f),++A}else L||Tc(C,r,f);else L||Tc(C,r,f)}if(L)Xc(r,h,c,f),dt(t,r,e,o,p,s,f);else if($){var W=St(y);for(d=W.length-1,M=w-1;M>=0;M--)0===y[M]?(16384&(F=t[D=M+k]).flags&&(t[D]=F=H(F)),et(F,r,e,o,(u=D+1)0&&m(f.componentWillMove)}else if(A!==w)for(M=w-1;M>=0;M--)0===y[M]&&(16384&(F=t[D=M+k]).flags&&(t[D]=F=H(F)),et(F,r,e,o,(u=D+1)Et&&(Et=r,Ac=new Int32Array(r),xc=new Int32Array(r));e>1]]0&&(xc[e]=Ac[l-1]),Ac[l]=e)}l=a+1;var o=new Int32Array(l);for(n=Ac[l-1];l-- >0;)o[l]=n,n=xc[n],Ac[l]=0;return o}function Pt(c){return void 0===c||null===c}function Bt(c){return"string"===typeof c}function Ut(c){return void 0===c}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Vt,It,Nt,Tt,Ot={onComponentDidAppear:1,onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillDisappear:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function jt(c,t,e){var i,a,l=null,n=null,d=null,r=0,o=arguments.length-2;if(1===o)i=e;else if(o>1)for(i=[];o-- >0;)i[o]=arguments[o+2];if(!Bt(c)){if(r=2,Ut(i)||(t||(t={}),t.children=i),!Pt(t))for(var p in a={},t)"key"===p?n=t.key:"ref"===p?l=t.ref:1===Ot[p]?(l||(l={}),l[p]=t[p]):a[p]=t[p];return N(r,c,a,n,l)}if(r=_(c),!Pt(t))for(var h in a={},t)"className"===h||"class"===h?d=t[h]:"key"===h?n=t.key:"children"===h&&Ut(i)?i=t.children:"ref"===h?l=t.ref:("contenteditable"===h&&(r|=4096),a[h]=t[h]);if(8192&r)return O(1===o?[i]:i,0,n);return B(r,c,d,i,0,a,n,l)}Vt=jt("svg",{version:"1.1",baseProfile:"basic",id:"svg2",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"900px",height:"900px",viewBox:"0 0 900 900"},jt("path",{id:"path482",fill:"none",d:"M184.013,144.428"}),jt("path",{id:"path6",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M108.956,403.826c0,0,0.178,3.344-1.276,3.311 c-1.455-0.033-30.507-84.917-66.752-80.957C40.928,326.18,72.326,313.197,108.956,403.826z"}),jt("path",{id:"path10",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M115.189,398.488c0,0-0.97,3.207-2.327,2.679 c-1.356-0.526,0.203-90.231-35.227-98.837C77.635,302.33,111.576,300.804,115.189,398.488z"}),jt("path",{id:"path14",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M163.727,473.225c0,0,2.888,1.695,2.059,2.892 c-0.832,1.194-87.655-21.408-104.35,11.003C61.436,487.118,67.931,453.771,163.727,473.225z"}),jt("path",{id:"path18",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M158.767,491.254c0,0,3.277,0.699,2.864,2.096 c-0.411,1.396-89.935,7.298-95.567,43.318C66.063,536.668,61.723,502.971,158.767,491.254z"}),jt("path",{id:"path22",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M151.332,481.498c0,0,3.139,1.171,2.528,2.492 c-0.611,1.319-90.037-5.899-100.864,28.915C52.996,512.905,53.617,478.938,151.332,481.498z"}),jt("path",{id:"path26",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M132.43,449.356c0,0,2.31,2.427,1.181,3.347 c-1.128,0.919-78.363-44.729-103.341-18.171C30.27,434.532,45.704,404.264,132.43,449.356z"}),jt("path",{id:"path30",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M119.108,456.757c0,0,2.571,2.148,1.554,3.192 c-1.017,1.041-82.921-35.576-104.734-6.36C15.928,453.589,27.837,421.769,119.108,456.757z"}),jt("path",{id:"path34",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M114.518,463.946c0,0,2.839,1.778,1.974,2.95 c-0.865,1.171-86.997-23.942-104.623,7.974C11.869,474.87,19.329,441.724,114.518,463.946z"}),jt("path",{id:"path38",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M133.47,465.03c0,0,1.981,2.703,0.743,3.472 c-1.237,0.768-71.985-54.405-100.161-31.267C34.052,437.235,53.236,409.195,133.47,465.03z"}),jt("path",{id:"path42",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M98.546,413.917c0,0,1.06,3.178-0.353,3.531 c-1.413,0.353-51.91-73.804-85.812-60.385C12.381,357.063,39.22,336.229,98.546,413.917z"}),jt("path",{id:"path46",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M99.773,426.239c0,0,1.722,2.876,0.417,3.523 c-1.303,0.649-66.605-60.873-96.813-40.458C3.376,389.306,25.088,363.174,99.773,426.239z"}),jt("path",{id:"path50",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M99.57,433.955c0,0,1.981,2.703,0.744,3.472 c-1.238,0.767-71.985-54.405-100.162-31.267C0.152,406.16,19.335,378.12,99.57,433.955z"}),jt("path",{id:"path54",fill:"#FFFFFF",stroke:"#000000",d:"M95.668,436.985c0.888,10.678,2.632,22.275,5.703,27.783 c0,0-6.356,21.895,9.181,45.2c0,0-0.707,12.712,2.119,18.362c0,0,7.063,14.832,15.538,16.244c6.858,1.143,22.26,6.561,39.67,9.04 c0,0,30.249,24.859,24.599,47.461c0,0-0.706,28.956-7.063,31.781c0,0,20.481-19.775,3.531,9.888l-7.769,33.192 c0,0,45.201-38.138,17.657-5.648l-17.657,45.906c0,0,34.607-32.487,21.894-17.656l-5.65,15.538c0,0,76.276-48.025,21.894,4.237 c0,0,14.125-6.356,21.894-1.412c0,0,12.006-2.119,10.594,0.706c0,0-36.726,18.361-43.082,50.851c0,0,14.831-17.657,9.181,1.412 l0.706,20.48c0,0,7.063-38.138,6.356,28.25c0,0,33.9-31.78,13.419,4.944v29.662c0,0,26.838-28.956,15.538-6.354 c0,0,17.656-15.538,10.594,11.3c0,0-1.413,18.361,6.356-1.412c0,0,28.25-54.029,17.656-7.771c0,0-1.412,33.9,7.063,7.771 c0,0,0.706,18.362,16.95,31.075c0,0-2.119-89.695,20.48-26.133l7.063,28.957c0,0,4.943-16.244,4.237-25.426 c0,0,26.132-28.957,14.125,14.125c0,0,26.838-40.257,21.188-16.95c0,0-13.419,28.251-10.594,36.727c0,0,29.663-61.444,31.782-64.271 c0,0-3.531,74.865,15.537,11.3c0,0,9.888,21.188,4.943,28.957c0,0,14.125-14.125,12.712-19.774c0,0,8.122-14.479,13.066,9.534 c0,0,3.178,16.598,6.003,10.946c0,0,7.063,42.377,9.182,2.119c0,0,2.825-24.013-9.888-44.494c0,0,1.412-5.649-3.531-12.713 c0,0,24.014,38.139,11.3-12.713c0,0,19.777,14.125,21.896,14.125c0,0-24.015-40.963-8.477-32.487c0,0-9.183-18.362,22.602,2.825 c0,0-28.252-28.251,2.825-11.301c0,0,14.125,11.301,0.706-6.356c0,0-25.428-28.25,13.419,3.532c0,0,20.48,28.956,21.895,33.9 c0,0-17.655-51.559-25.426-56.501c0,0,14.832-64.271,87.576-36.727c0,0,12.007,30.369,19.774-2.118c0,0,22.602-11.301,42.375,37.432 c0,0,7.063-24.013,5.65-28.956c0,0,12.007,2.119,10.594,0c0,0,23.308,7.769,25.427,6.356c0,0,12.006,12.006,12.712,5.648 c0,0,16.244,4.944,12.713-1.412c0,0,15.538,27.544,16.244,33.9l4.236-24.719l3.531,4.942c0,0,2.825-13.419,1.413-15.537 c-1.413-2.119,35.313,12.006,43.787,48.731l3.531,14.831c0,0,10.594-26.131,7.77-33.193c0,0,9.181,1.412,9.888,9.181 c0,0,7.063-40.963-1.412-51.557c0,0,7.769-1.412,9.888,4.944V714.78c0,0,12.713,1.411,12.713-2.825c0,0,7.769-7.063,11.3,1.412 c0,0-21.894-62.15,10.594-28.25c0,0,12.714,19.068,6.356-14.125c-6.357-33.194-13.419-36.021-4.943-36.727 c0,0,1.412-6.355-2.118-9.181c-3.531-2.825,2.118,0,2.118,0s8.476,7.063-0.707-31.782c0,0,11.302,2.825-9.888-48.73 c0,0,4.944-4.237-2.118-19.069c0,0,14.125,7.77,19.069,4.944c0,0-0.707-2.825-6.356-9.889c0,0-38.139-96.759-2.118-57.913 c0,0,20.923,23.925,9.623-16.332c0,0-16.088-42.394-14.716-49.979L95.668,436.985z"}),jt("path",{id:"path58",fill:"#CC7226",stroke:"#000000",d:"M854.095,396.693c1.108,0.32,5.004,2.304,7.211,5.217 c0,0,12.006,19.068,2.825-13.418c0,0-16.244-50.851-0.707-31.076c0,0,10.594,12.713,4.944-11.3 c-6.824-29.004-11.301-40.257-11.301-40.257s20.48,8.475-26.837-61.444l15.536,6.356c0,0-34.605-69.919-72.743-79.101 l-14.125-10.594c0,0,67.8-67.094,45.199-132.07c0,0-12.007-9.182-28.957,7.063c0,0-11.3,8.475-21.894,5.65 c0,0-54.382,2.119-57.913,2.119S630.359-21.844,514.533,9.231c0,0-9.183,3.531-16.95,1.413c0,0-32.489-28.25-118.653,12.006 c0,0-17.655,3.531-20.48,3.531s-7.77,0-21.895,11.3c-14.125,11.3-14.832,12.712-18.362,15.538c0,0-28.957,19.775-37.432,21.188 c0,0-20.481,11.3-28.25,28.957l-6.356,2.119c0,0-2.825,12.713-3.532,14.832c0,0-8.475,6.356-9.887,16.244 c0,0-15.538,10.594-14.832,18.362c0,0-2.825,9.182-4.238,17.657c0,0-12.712,8.475-11.3,13.419c0,0-13.419,24.719-11.3,36.725 c0,0-11.3-0.706-16.244,3.531c0,0-1.413,8.475-4.238,9.182c0,0-4.944,2.119-0.706,9.181c0,0-2.825,4.944-3.531,7.769 c0,0,1.412,4.944-6.356,14.831c0,0-11.3,33.194-7.769,42.375c0,0,0.707,8.475-4.237,11.3c0,0-6.356-0.707,8.475,20.481 c0,0,1.413,2.119-4.238,6.356c0,0-30.369,6.356-34.606,35.313c0,0-24.013,26.131-24.013,35.313c0,4.069,0.479,9.626,1.713,17.771 c0,0-1.007,14.718,47.725,16.131C191.772,453.469,854.095,396.693,854.095,396.693z"}),jt("path",{id:"path62",fill:"#CC7226",d:"M120.793,436.164c-44.141-69.566-18.716,30.018-18.716,30.018 c15.538,60.738,244.365-5.649,244.365-5.649s298.042-53.677,317.816-60.739c19.775-7.063,187.864,4.237,187.864,4.237l-9.888-29.663 c-114.414-81.926-148.314-40.963-172.327-48.025c-24.013-7.062-19.774,9.888-25.425,11.3c-5.651,1.412-74.863-42.375-86.163-40.963 c-11.301,1.413-56.045-40.523-29.663,15.538c28.25,60.032-103.115,69.213-132.778,49.438 c-29.663-19.775,12.713,32.488,12.713,32.488c32.487,35.313-28.25,5.65-28.25,5.65c-60.737-22.601-103.114,22.6-108.764,24.013 c-5.65,1.412-14.125,7.063-15.538-4.237c-1.412-11.301-14.672-40.789-70.625,5.649c-35.313,29.313-59.679-9.534-59.679-9.534 L120.793,436.164z"}),jt("path",{id:"path66",fill:"#E87F3A",d:"M560.632,299.761c-11.3,1.413-56.089-40.502-29.662,15.538 c29.311,62.151-103.113,69.213-132.775,49.438c-29.665-19.775,12.712,32.488,12.712,32.488c32.488,35.313-28.252,5.649-28.252,5.649 c-60.737-22.6-103.113,22.601-108.763,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-14.441-40.494-70.626,5.649 c-37.495,30.627-61.315-7.255-61.315-7.255l-5.65,17.849c-44.141-70.271-17.529,32.682-17.529,32.682 c15.54,60.739,245.521-7.962,245.521-7.962s298.043-53.676,317.817-60.738c19.774-7.062,186.325,4.109,186.325,4.109l-9.762-30.563 c-114.413-81.926-146.9-39.935-170.914-46.998c-24.013-7.063-19.774,9.888-25.425,11.3 C641.146,342.136,571.933,298.349,560.632,299.761z"}),jt("path",{id:"path70",fill:"#EA8C4D",d:"M562.943,302.842c-11.301,1.413-54.973-41.014-29.663,15.538 c28.604,63.918-103.113,69.215-132.776,49.44c-29.662-19.775,12.713,32.488,12.713,32.488c32.488,35.313-28.25,5.649-28.25,5.649 c-60.738-22.6-103.115,22.601-108.766,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-14.21-40.198-70.625,5.649 c-39.68,31.942-62.952-4.976-62.952-4.976l-6.356,15.216c-42.022-68.86-16.341,35.345-16.341,35.345 c15.538,60.738,246.678-10.271,246.678-10.271s298.04-53.677,317.814-60.738c19.775-7.063,184.783,3.979,184.783,3.979l-9.63-31.46 c-114.415-81.926-145.49-38.909-169.503-45.972c-24.014-7.063-19.775,9.888-25.427,11.302 C643.457,345.219,574.243,301.429,562.943,302.842z"}),jt("path",{id:"path74",fill:"#EC9961",d:"M565.255,305.925c-11.301,1.413-54.963-41.02-29.663,15.538 c29.663,66.311-104.057,68.586-132.775,49.438c-29.663-19.775,12.713,32.488,12.713,32.488c32.486,35.313-28.25,5.649-28.25,5.649 c-60.738-22.6-103.114,22.601-108.764,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-13.979-39.9-70.627,5.649 c-41.862,33.259-64.591-2.696-64.591-2.696l-7.063,12.584c-38.491-64.976-15.151,38.012-15.151,38.012 c15.538,60.736,247.833-12.586,247.833-12.586s298.04-53.677,317.817-60.738c19.773-7.063,183.24,3.853,183.24,3.853l-9.502-32.358 c-114.414-81.928-144.076-37.882-168.09-44.945c-24.015-7.063-19.775,9.888-25.427,11.3 C645.766,348.301,576.555,304.512,565.255,305.925z"}),jt("path",{id:"path78",fill:"#EEA575",d:"M567.567,309.008c-11.303,1.412-54.07-41.412-29.664,15.538 c29.664,69.213-103.114,69.213-132.776,49.438c-29.663-19.775,12.713,32.487,12.713,32.487c32.487,35.313-28.251,5.65-28.251,5.65 c-60.738-22.6-103.113,22.601-108.763,24.013c-5.65,1.412-14.125,7.063-15.538-4.237s-13.746-39.604-70.626,5.649 c-44.046,34.575-66.229-0.418-66.229-0.418l-7.769,9.953c-34.96-61.446-13.964,40.673-13.964,40.673 c15.538,60.74,248.989-14.895,248.989-14.895s298.043-53.677,317.816-60.738c19.775-7.063,181.701,3.724,181.701,3.724 l-9.374-33.259c-114.414-81.926-142.664-36.853-166.677-43.915c-24.014-7.062-19.775,9.888-25.426,11.3 C648.081,351.383,578.868,307.595,567.567,309.008z"}),jt("path",{id:"path82",fill:"#F1B288",d:"M569.879,312.089c-11.3,1.412-57.144-39.994-29.663,15.538 c33.9,68.507-103.115,69.213-132.778,49.438c-29.661-19.775,12.714,32.487,12.714,32.487c32.487,35.313-28.25,5.65-28.25,5.65 c-60.738-22.6-103.114,22.601-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.413-11.3-13.514-39.309-70.626,5.649 c-46.228,35.893-67.866,1.863-67.866,1.863l-8.475,7.317c-31.782-58.619-12.776,43.341-12.776,43.341 C123.394,553.887,358,475.94,358,475.94s298.042-53.677,317.817-60.738c19.774-7.063,180.158,3.595,180.158,3.595l-9.244-34.156 c-114.413-81.926-141.251-35.827-165.265-42.889c-24.013-7.062-19.774,9.888-25.426,11.3 C650.393,354.464,581.179,310.676,569.879,312.089z"}),jt("path",{id:"path86",fill:"#F3BF9C",d:"M572.19,315.169c-11.303,1.413-57.813-39.656-29.665,15.538 c36.021,70.627-103.113,69.214-132.776,49.439s12.713,32.488,12.713,32.488c32.487,35.313-28.25,5.65-28.25,5.65 c-60.738-22.601-103.114,22.6-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.412-11.301-13.283-39.014-70.625,5.649 c-48.412,37.208-69.503,4.141-69.503,4.141l-9.181,4.688c-28.25-53.322-11.59,46.004-11.59,46.004 c15.538,60.738,251.301-19.519,251.301-19.519s298.041-53.677,317.816-60.738c19.775-7.063,178.619,3.466,178.619,3.466 l-9.117-35.055c-114.414-81.926-139.84-34.799-163.853-41.862c-24.014-7.064-19.774,9.888-25.425,11.3 C652.702,357.546,583.49,313.757,572.19,315.169z"}),jt("path",{id:"path90",fill:"#F5CCB0",d:"M574.501,318.252c-11.3,1.413-59.753-38.624-29.662,15.538 c38.844,69.92-103.115,69.213-132.778,49.438c-29.662-19.775,12.714,32.488,12.714,32.488c32.486,35.313-28.251,5.65-28.251,5.65 c-60.737-22.602-103.113,22.6-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.413-11.301-13.05-38.716-70.626,5.649 c-50.594,38.524-71.14,6.422-71.14,6.422l-9.887,2.054c-25.427-50.145-10.401,48.668-10.401,48.668 c15.538,60.74,252.455-21.829,252.455-21.829s298.043-53.677,317.816-60.738c19.775-7.063,177.078,3.339,177.078,3.339 l-8.987-35.956c-114.414-81.926-138.428-33.771-162.439-40.834c-24.013-7.063-19.774,9.888-25.425,11.3 C655.015,360.628,585.802,316.84,574.501,318.252z"}),jt("path",{id:"path94",fill:"#F8D8C4",d:"M576.813,321.335c-11.3,1.413-59.753-38.625-29.662,15.538 c38.845,69.919-103.113,69.213-132.776,49.438c-29.662-19.775,12.713,32.488,12.713,32.488c32.488,35.313-28.25,5.65-28.25,5.65 c-60.74-22.602-103.115,22.6-108.766,24.013c-5.65,1.412-14.125,7.063-15.538-4.238c-1.413-11.3-12.817-38.42-70.625,5.65 c-52.777,39.84-72.776,8.701-72.776,8.701l-10.594-0.579c-24.015-46.615-9.213,51.332-9.213,51.332 c15.538,60.738,253.609-24.143,253.609-24.143s298.042-53.675,317.817-60.736c19.775-7.063,175.538,3.21,175.538,3.21l-8.859-36.854 c-114.416-81.926-137.016-32.744-161.027-39.807c-24.013-7.063-19.775,9.888-25.427,11.3 C657.326,363.711,588.112,319.923,576.813,321.335z"}),jt("path",{id:"path98",fill:"#FAE5D7",d:"M579.124,324.417c-11.301,1.413-59.068-38.998-29.663,15.538 c38.844,72.038-103.113,69.213-132.776,49.438c-29.662-19.775,12.714,32.488,12.714,32.488c32.486,35.313-28.251,5.65-28.251,5.65 c-60.737-22.602-103.113,22.6-108.764,24.013c-5.652,1.412-14.127,7.063-15.54-4.238c-1.412-11.3-12.585-38.123-70.625,5.65 c-54.959,41.157-74.413,10.979-74.413,10.979l-11.302-3.212c-22.954-42.375-8.025,53.999-8.025,53.999 c15.538,60.738,254.769-26.455,254.769-26.455s298.04-53.675,317.814-60.736c19.775-7.063,173.997,3.082,173.997,3.082 l-8.732-37.752c-114.413-81.928-135.602-31.718-159.613-38.781c-24.014-7.063-19.774,9.888-25.426,11.3 S590.424,323.004,579.124,324.417z"}),jt("path",{id:"path102",fill:"#FCF2EB",d:"M581.435,327.498c-11.3,1.412-57.161-39.981-29.661,15.538 c37.432,75.571-103.114,69.215-132.776,49.439c-29.663-19.775,12.713,32.488,12.713,32.488c32.487,35.313-28.251,5.649-28.251,5.649 c-60.738-22.601-103.113,22.601-108.763,24.013c-5.65,1.413-14.125,7.063-15.538-4.237c-1.413-11.3-12.354-37.827-70.626,5.65 c-57.145,42.473-76.053,13.258-76.053,13.258l-12.006-5.842c-22.6-40.964-6.836,56.661-6.836,56.661 c15.538,60.736,255.921-28.766,255.921-28.766s298.043-53.676,317.817-60.737c19.775-7.063,172.454,2.951,172.454,2.951 l-8.604-38.65c-114.415-81.926-134.188-30.688-158.2-37.751c-24.014-7.064-19.775,9.887-25.426,11.3 C661.948,369.875,592.735,326.085,581.435,327.498z"}),jt("path",{id:"path106",fill:"#FFFFFF",d:"M120.44,466.182c-22.601-38.846-5.65,59.325-5.65,59.325 c15.538,60.738,257.078-31.075,257.078-31.075s298.042-53.677,317.816-60.738c19.775-7.063,170.914,2.823,170.914,2.823 l-8.475-39.55c-114.414-81.926-132.776-29.663-156.789-36.726c-24.013-7.063-19.775,9.888-25.426,11.3 c-5.649,1.413-74.862-42.375-86.163-40.963c-11.3,1.412-55.829-40.623-29.663,15.538c39.245,84.232-107.28,66.436-132.777,49.438 c-29.663-19.775,12.712,32.488,12.712,32.488c32.488,35.313-28.25,5.65-28.25,5.65c-60.737-22.602-103.113,22.602-108.764,24.014 c-5.65,1.413-14.125,7.063-15.538-4.237c-1.413-11.302-12.121-37.532-70.625,5.65c-59.326,43.788-77.688,15.537-77.688,15.537 L120.44,466.182z"}),jt("path",{id:"path110",d:"M193.891,519.15c0,0-12.713,20.48,24.013,43.788c0,0,2.472,2.473-29.31-4.943c0,0-10.947-3.531-13.771-21.896 c0,0-8.475-7.769-16.95-17.655C149.397,508.557,193.891,519.15,193.891,519.15z"}),jt("path",{id:"path114",fill:"#CCCCCC",d:"M441.08,435.104c0,0,31.249,47.356,30.193,55.797c-2.297,18.362-2.648,35.313,3.001,42.376 c5.651,7.063,21.188,65.682,21.188,65.682s-0.706,2.119,21.188-64.976c0,0,20.48-28.25-14.831-60.738 C501.82,473.244,439.668,422.392,441.08,435.104z"}),jt("path",{id:"path118",d:"M229.204,566.47c0,0,19.775,12.713-5.65,67.802l11.3-4.237c0,0-1.413,19.774-7.063,24.013l12.712-5.65 c0,0,8.475,14.127,1.413,22.602c0,0,29.663,14.125,28.25,25.425c0,0,11.3-14.125,4.237-25.425s-19.775-4.237-18.363-36.727 l-15.538,5.65c0,0,9.888-15.538,9.888-26.838l-14.125,4.237c0,0,27.313-46.928,8.475-49.438 C234.147,566.47,229.204,566.47,229.204,566.47z"}),jt("path",{id:"path122",fill:"#CCCCCC",d:"M286.41,596.133c0,0,4.944-7.769,0-6.355c-4.944,1.413-60.032,27.544-70.625,44.494 C215.785,634.271,276.522,591.189,286.41,596.133z"}),jt("path",{id:"path126",fill:"#CCCCCC",d:"M304.773,610.258c0,0,4.944-7.769,0-6.355s-60.032,27.544-70.625,44.494 C234.147,648.396,294.885,605.314,304.773,610.258z"}),jt("path",{id:"path130",fill:"#CCCCCC",d:"M328.079,583.42c0,0,4.944-7.769,0-6.355c-4.943,1.412-60.032,27.545-70.625,44.494 C257.454,621.559,318.191,578.477,328.079,583.42z"}),jt("path",{id:"path134",fill:"#CCCCCC",d:"M287.117,660.402c0,0,0-10.595-4.944-9.183c-4.944,1.413-68.507,32.488-79.101,49.438 C203.072,700.659,277.229,655.458,287.117,660.402z"}),jt("path",{id:"path138",fill:"#CCCCCC",d:"M289.235,641.333c0,0,2.119-8.475-2.825-7.063c-3.531,0-50.144,20.481-60.738,37.433 C225.672,671.702,277.935,633.564,289.235,641.333z"}),jt("path",{id:"path142",fill:"#CCCCCC",d:"M263.81,725.378l-17.656,13.419c0,0,18.362-13.419,24.719-11.3 c0,0-12.006,19.774-13.419,28.956c0,0,18.363-22.602,28.25-21.895c0,0,13.419,0.706,13.419,19.774c0,0,9.888-18.362,15.537-17.656 c0,0,2.119,11.302,0,23.308c0,0,7.063-13.419,14.125-10.595c0,0,11.301-3.53,9.888,16.95c0,0,0,18.362-1.412,23.308 c0,0,9.889-46.613,14.125-47.319c0,0,14.125-2.119,22.602,13.419c0,0-7.063-13.419,1.412-9.888c0,0,19.068,2.824,24.719,14.831 c0,0-12.006-21.188-2.118-15.537c0,0,12.006,0,14.125,11.3c0,0,14.831,37.432,18.362,40.257c0,0-13.419-38.138-10.595-38.138 c0,0-3.53-21.188,5.65,4.942c0,0-5.65-24.719,4.237-23.307c9.888,1.413,17.655,19.069,32.487,14.832 c0,0,16.952,9.888,20.483-112.295L263.81,725.378z"}),jt("path",{id:"path146",d:"M272.285,561.526c0,0,26.131-10.595,96.757,0c0,0,12.713,0.706,24.72-14.831 c12.006-15.538,59.325-28.251,70.625-24.721l16.952,11.302l1.413,2.118c0,0,21.895,18.362,22.6,31.781 c0.706,13.418-25.425,98.169-42.377,126.42c-16.949,28.25-33.899,50.145-67.801,45.906c0,0-36.726-7.063-81.926,0 c0,0-51.557-2.825-56.5-16.95s19.775-40.963,19.775-40.963s7.769-14.831,5.65-40.257C280.054,615.908,280.76,566.47,272.285,561.526 z"}),jt("path",{id:"path150",fill:"#E5668C",d:"M311.129,565.058c14.832,32.487-37.431,147.607-37.431,147.607 c-3.531,2.825,22.353,13.499,40.256,9.182c19.327-4.657,90.401,2.825,90.401,2.825c41.669-27.544,64.27-105.938,64.27-105.938 s18.364-42.376-12.713-48.025C424.837,565.058,311.129,565.058,311.129,565.058z"}),jt("path",{id:"path154",fill:"#B23259",d:"M307.543,619.608c5.873-22.582,8.67-43.419,3.586-54.552c0,0,110.177,11.301,129.951-25.426 c7.488-13.904,33.55,40.257,32.842,57.207c0,0-111.236,25.426-137.367,5.65L307.543,619.608z"}),jt("path",{id:"path158",fill:"#A5264C",d:"M315.367,648.396c0,0,3.531,12.713-0.707,19.774c0,0-2.824,1.413-4.943,2.119 c0,0,2.119,6.356,12.713,9.182c0,0,3.531,7.77,7.77,8.476s12.713,10.594,19.774,8.475c7.063-2.118,26.839-9.181,26.839-9.181 s9.888-5.65,25.425,0.706c0,0,4.192-1.416,4.942-8.476c0.884-8.299,6.356-14.832,9.889-18.362 c3.531-3.531,20.48-26.133,18.362-26.838C433.313,633.564,315.367,648.396,315.367,648.396z"}),jt("path",{id:"path162",fill:"#FF727F",stroke:"#000000",d:"M307.598,562.938c0,0-4.943,39.552,0.707,54.383 c5.649,14.832,4.237,18.362,2.824,25.426c-1.412,7.063,6.356,24.719,16.244,35.313l21.188,2.825c0,0,26.839-6.355,43.082-1.412 c0,0,15.881,2.371,21.895-24.014c0,0,8.476-11.3,21.188-16.243c12.713-4.943,25.426-78.395,18.362-92.52 c-7.063-14.126-32.488-21.896-60.738,5.648S360.567,550.227,307.598,562.938z"}),jt("path",{id:"path166",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M310.423,695.009c0,0-1.412-3.531-9.181-4.237 c0,0-39.55-6.355-54.382-28.25c0,0-12.006-9.888-4.238,10.595c0,0,18.363,36.019,30.369,40.963 C272.991,714.078,301.948,721.141,310.423,695.009z"}),jt("path",{id:"path170",fill:"#CC3F4C",d:"M451.572,582.058c1.163-13.96,4.61-29.169,1.515-35.361 c-11.382-22.768-41.35-13.253-60.738,5.648c-28.25,27.544-31.78-2.118-84.751,10.595c0,0-3.081,24.653-1.598,42.332 c0,0,65.867-20.438,67.28-10.551c0,0,2.823-5.649,19.067-5.649S448.747,587.001,451.572,582.058z"}),jt("path",{id:"path174",stroke:"#A51926","stroke-width":"2",d:"M375.398,564.352c0,0,8.476,8.476,2.118,25.426 c0,0-25.426,28.25-21.895,52.97"}),jt("path",{id:"path178",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M290.648,714.078c0,0-7.769-22.602,7.769-10.594 c0,0,8.475,3.53,6.356,6.354C302.654,712.665,292.767,719.729,290.648,714.078z"}),jt("path",{id:"path182",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M299.547,716.196c0,0-6.215-18.08,6.215-8.476 c0,0,7.806,4.322,5.084,5.085C302.795,715.066,310.847,719.587,299.547,716.196z"}),jt("path",{id:"path186",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M308.021,716.196c0,0-6.215-18.08,6.215-8.476 c0,0,7.725,4.078,5.086,5.085C313.39,715.066,319.322,719.587,308.021,716.196z"}),jt("path",{id:"path190",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M319.675,716.55c0,0-6.215-18.08,6.215-8.476 c0,0,7.739,4.118,5.087,5.085C325.749,715.066,330.977,719.939,319.675,716.55z"}),jt("path",{id:"path194",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M331.116,716.408c0,0-6.215-18.08,6.217-8.476 c0,0,6.78,2.825,5.085,5.085C340.723,715.278,342.418,719.799,331.116,716.408z"}),jt("path",{id:"path198",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M342.911,717.609c0,0-8.477-21.896,7.769-10.595 c0,0,8.476,3.531,6.356,6.355C354.917,716.196,357.036,721.847,342.911,717.609z"}),jt("path",{id:"path202",stroke:"#A5264C","stroke-width":"2",d:"M292.767,687.24c0,0,23.307-4.944,33.9,0.706 c0,0,10.594,2.119,12.713,1.412c2.118-0.706,7.77-1.412,7.77-1.412"}),jt("path",{id:"path206",stroke:"#A5264C","stroke-width":"2",d:"M352.799,702.777c0,0,21.188-24.014,42.375-16.243 c12.389,4.543,10.594-1.413,12.006-6.356c1.413-4.943,1.768-12.358,10.596-17.656"}),jt("path",{id:"path210",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M383.168,674.527c0,0-7.063-19.069-12.007,3.53 c-4.944,22.602-10.594,28.957-13.419,33.9c0,0,0,9.182,14.831,8.476c0,0,19.068-0.707,19.774-5.649 C393.055,709.84,390.23,689.358,383.168,674.527z"}),jt("path",{id:"path214",stroke:"#A5264C","stroke-width":"2",d:"M407.887,687.24c0,0,6.356-4.237,10.594-2.119"}),jt("path",{id:"path218",stroke:"#A5264C","stroke-width":"2",d:"M419.363,658.283c0,0,5.12-8.651,13.596-10.063"}),jt("path",{id:"path222",fill:"#B2B2B2",d:"M279.348,723.259c0,0,31.781,5.65,39.551,2.825c0,0,15.536,0,0.706,3.531 c0,0-22.602,0-36.727-2.118C282.879,727.497,262.397,717.609,279.348,723.259z"}),jt("path",{id:"path226",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M304.066,558.701c0,0,31.075,0,34.606,1.412 c0,0,12.713,54.382,6.356,67.801c0,0-2.118,4.944-7.063-4.943c0,0-32.488-57.913-38.138-61.443 C294.177,557.996,301.948,558.701,304.066,558.701z"}),jt("path",{id:"path230",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M167.936,553.934c0,0,15.714,3.002,37.961,7.594 c0,0,8.475,39.551,14.125,48.024c5.65,8.475-0.706,8.476-7.063,3.531s-32.488-29.663-36.019-37.432 C173.409,567.882,167.936,553.934,167.936,553.934z"}),jt("path",{id:"path234",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M206.534,561.909c0,0,10.241,2.732,12.022,6.645 c1.78,3.909-2.123,9.73-2.123,9.73s-1.766,5.835-3.888,2.018C210.424,576.483,205.353,562.958,206.534,561.909z"}),jt("path",{id:"path238",d:"M206.603,561.526c0,0,6.356,9.182,12.713,9.182c6.356,0,7.031-0.729,12.006,0.353 c8.122,1.767,7.416-1.766,19.069,0.354c4.661,0.848,9.181-0.706,14.125,1.412c4.944,2.119,10.594,0.706,12.713-2.825 s10.594-10.946,10.594-10.946s-22.6,3.179-27.544,4.591C260.279,563.645,220.729,565.764,206.603,561.526z"}),jt("path",{id:"path242",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M285.351,561.879c0,0-11.389,6.182-12.095,10.418 c-0.707,4.237,9.27,10.771,9.27,10.771s4.855,8.122,5.915,3.884C289.5,582.714,286.763,562.586,285.351,561.879z"}),jt("path",{id:"path246",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M219.166,571.527c0,0,12.372,19.754,12.755-0.041 c0,0,0.983-2.223-2.124-2.261C219.07,569.092,221.756,561.85,219.166,571.527z"}),jt("path",{id:"path250",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M231.839,571.967c0,0,13.986,19.752,12.863-0.164 c0,0,0.012-0.587-3.083-0.855C233.238,570.215,233.847,562.238,231.839,571.967z"}),jt("path",{id:"path254",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M244.575,571.98c0,0,14.054,18.766,12.873,1.697 c0,0,0.21-2.177-2.71-2.708C247.866,569.725,247.494,563.987,244.575,571.98z"}),jt("path",{id:"path258",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M256.716,572.122c0,0,13.948,20.412,14.563,3.143 c0,0,2.903-2.433-0.18-2.824C260.826,571.133,262.235,563.269,256.716,572.122z"}),jt("path",{id:"path262",fill:"#E5E5B2",d:"M192.845,578.354l-13.521-2.702c-4.591-8.828-8.299-19.688-8.299-19.688 s11.212,1.767,33.282,6.709c0,0,1.547,5.858,4.146,16.091L192.845,578.354z"}),jt("path",{id:"path266",fill:"#E5E5B2",d:"M307.732,570.123c-2.942-4.425-5.268-7.528-6.416-8.245c-5.32-3.325,1.995-2.659,3.989-2.659 c0,0,29.258,0,32.583,1.329c0,0,0.926,3.959,2.134,9.946C340.022,570.494,322.21,566.945,307.732,570.123z"}),jt("path",{id:"path270",fill:"#CC7226",d:"M402.378,326.201c48.945,6.992,94.004-55.936,97.112-73.028 c3.106-17.092-14.762-38.067-14.762-38.067c2.33-5.438-6.216-30.298-15.537-46.613c-9.322-16.314-37.398-14.595-68.367-16.314 c-27.968-1.554-60.599,39.621-62.928,42.729c-2.331,3.108,8.546,70.698,10.876,80.798s-2.33,56.712-2.33,56.712 C406.897,316.349,353.434,319.209,402.378,326.201z"}),jt("path",{id:"path274",fill:"#EA8E51",d:"M339.182,196.051c-2.288,3.051,8.392,69.413,10.68,79.328 c2.288,9.916-2.288,55.682-2.288,55.682c57.687-15.679,6.864-12.967,54.918-6.102c48.056,6.865,92.296-54.918,95.347-71.701 c3.051-16.781-14.492-37.375-14.492-37.375c2.288-5.339-6.103-29.748-15.255-45.766c-9.153-16.018-36.717-14.328-67.125-16.018 C373.506,152.573,341.47,193,339.182,196.051z"}),jt("path",{id:"path278",fill:"#EFAA7C",d:"M340.467,197.195c-2.245,2.995,8.235,68.127,10.481,77.859s-2.246,54.65-2.246,54.65 c55.448-16.173,6.737-12.727,53.9-5.989c47.166,6.738,90.587-53.901,93.581-70.373c2.994-16.47-14.224-36.683-14.224-36.683 c2.245-5.24-5.989-29.197-14.973-44.918c-8.984-15.721-36.037-14.063-65.882-15.721C374.155,154.522,342.713,194.2,340.467,197.195z "}),jt("path",{id:"path282",fill:"#F4C6A8",d:"M341.753,198.339c-2.204,2.938,8.079,66.842,10.282,76.391 c2.204,9.548-2.203,53.619-2.203,53.619c51.974-15.961,6.61-12.487,52.885-5.876c46.275,6.611,88.877-52.884,91.815-69.043 c2.938-16.161-13.956-35.993-13.956-35.993c2.203-5.142-5.876-28.646-14.69-44.07c-8.813-15.425-35.355-13.799-64.638-15.425 C374.806,156.472,343.956,195.401,341.753,198.339z"}),jt("path",{id:"path286",fill:"#F9E2D3",d:"M343.038,199.483c-2.161,2.881,7.924,65.557,10.085,74.921 c2.161,9.365-2.161,52.588-2.161,52.588c49.205-15.75,6.483-12.246,51.868-5.763c45.386,6.483,87.168-51.868,90.049-67.718 c2.882-15.849-13.687-35.299-13.687-35.299c2.161-5.042-5.765-28.095-14.408-43.223c-8.646-15.128-34.677-13.534-63.396-15.128 C375.455,158.421,345.199,196.602,343.038,199.483z"}),jt("path",{id:"path290",fill:"#FFFFFF",d:"M402.942,319.984c44.493,6.356,85.459-50.85,88.283-66.388 c2.825-15.538-13.419-34.606-13.419-34.606c2.119-4.944-5.65-27.544-14.127-42.375c-8.475-14.831-33.995-13.267-62.149-14.831 c-25.427-1.413-55.088,36.019-57.207,38.844c-2.119,2.825,7.769,64.27,9.888,73.451c2.119,9.182-2.119,51.557-2.119,51.557 C397.116,310.45,358.448,313.628,402.942,319.984z"}),jt("path",{id:"path294",fill:"#CCCCCC",d:"M484.87,259.953c0,0-49.087,13.419-69.568,10.594c0,0-27.896-11.653-43.435,26.838 c0,0-6.356,12.713-9.889,16.244C358.447,317.16,484.87,259.953,484.87,259.953z"}),jt("path",{id:"path298",d:"M491.58,256.068c0,0-51.206,21.541-68.862,20.834c0,0-28.956-8.122-43.788,17.656 c0,0-14.831,16.244-20.48,19.069c0,0-0.706,2.825,10.594-4.238l18.363,9.182c0,0,26.131,16.95,43.081-11.3 c0,0,7.063-19.775,7.063-23.307c0-3.532,37.433-13.419,40.259-14.125C480.633,269.134,492.286,261.718,491.58,256.068z"}),jt("path",{id:"path302",fill:"#99CC32",d:"M407.887,319.479c-12.134,0-26.918-6.824-26.918-17.857c0-11.032,14.784-22.094,26.918-22.094 c12.138,0,21.976,8.943,21.976,19.975C429.861,310.537,420.023,319.479,407.887,319.479z"}),jt("path",{id:"path306",fill:"#659900",d:"M401.489,290.021c-8.557,1.275-17.541,3.929-17.414,3.547 c2.719-8.156,13.95-14.041,23.812-14.041c7.585,0,14.273,3.493,18.222,8.807C426.107,288.335,416.722,287.753,401.489,290.021z"}),jt("path",{id:"path310",fill:"#FFFFFF",d:"M422.718,289.616c0,0-7.769-5.65-7.769-1.766C414.949,287.85,421.306,295.619,422.718,289.616z "}),jt("path",{id:"path314",d:"M405.063,303.963c-4.412,0-7.989-3.577-7.989-7.991c0-4.412,3.577-7.989,7.989-7.989 c4.413,0,7.99,3.577,7.99,7.989C413.053,300.386,409.476,303.963,405.063,303.963z"}),jt("path",{id:"path318",fill:"#CC7226",d:"M221.435,280.434c0,0-5.65-37.432-1.413-45.2c0,0,19.069-17.657,18.363-24.013 c0,0-0.706-31.782-2.825-33.194c-2.119-1.413-15.538-12.006-26.131-0.706c0,0-18.363,31.781-16.95,43.082v3.531 c0,0-13.419-0.706-16.244,2.825c0,0-2.119,9.181-4.238,9.888c0,0-4.944,4.237-1.413,9.181c0,0-3.531,4.237-2.825,11.3l13.419,7.063 c0,0,3.531,25.425,22.601,34.606C212.317,302.909,217.903,291.028,221.435,280.434z"}),jt("path",{id:"path322",fill:"#FFFFFF",d:"M219.669,277.186c0,0-5.085-33.688-1.271-40.681c0,0,17.162-15.891,16.527-21.611 c0,0-0.636-28.604-2.543-29.875c-1.907-1.271-13.984-10.806-23.518-0.636c0,0-16.526,28.604-15.255,38.773v3.178 c0,0-12.077-0.636-14.62,2.542c0,0-1.907,8.263-3.813,8.899c0,0-4.45,3.813-1.271,8.263c0,0-3.178,3.813-2.542,10.17l12.077,6.356 c0,0,3.178,22.883,20.34,31.146C211.462,297.411,216.491,286.72,219.669,277.186z"}),jt("path",{id:"path326",fill:"#EB955C",d:"M234.765,179.775c-1.924-1.519-15.149-11.706-25.478-0.688c0,0-17.904,30.987-16.526,42.004 v3.443c0,0-13.083-0.688-15.838,2.754c0,0-2.066,8.952-4.132,9.641c0,0-4.82,4.132-1.377,8.952c0,0-3.443,4.132-2.754,11.018 l13.083,6.886c0,0,3.443,24.79,22.035,33.741c8.323,4.008,13.772-7.574,17.215-17.903c0,0-5.509-36.496-1.377-44.07 c0,0,18.592-17.215,17.903-23.413C237.52,212.139,236.831,181.152,234.765,179.775z"}),jt("path",{id:"path330",fill:"#F2B892",d:"M233.971,181.523c-1.73-1.625-14.761-11.406-24.825-0.671c0,0-17.444,30.192-16.103,40.927 v3.355c0,0-12.748-0.671-15.432,2.684c0,0-2.013,8.722-4.026,9.394c0,0-4.696,4.025-1.342,8.722c0,0-3.354,4.025-2.684,10.735 l12.748,6.709c0,0,3.354,24.154,21.47,32.876c8.111,3.906,13.419-7.38,16.773-17.445c0,0-5.368-35.56-1.342-42.94 c0,0,18.115-16.773,17.444-22.812C236.654,213.057,235.983,182.865,233.971,181.523z"}),jt("path",{id:"path334",fill:"#F8DCC8",d:"M233.176,183.271c-1.536-1.73-14.373-11.106-24.172-0.653c0,0-16.985,29.398-15.679,39.851 v3.266c0,0-12.413-0.653-15.026,2.613c0,0-1.96,8.493-3.919,9.146c0,0-4.573,3.92-1.307,8.493c0,0-3.267,3.92-2.613,10.453 l12.413,6.533c0,0,3.266,23.518,20.905,32.011c7.897,3.803,13.065-7.186,16.332-16.985c0,0-5.227-34.624-1.307-41.811 c0,0,17.639-16.332,16.985-22.211C235.789,213.976,235.136,184.578,233.176,183.271z"}),jt("path",{id:"path338",fill:"#FFFFFF",d:"M219.669,277.009c0,0-5.085-33.512-1.271-40.504c0,0,17.162-15.891,16.527-21.611 c0,0-0.636-28.604-2.543-29.875c-1.342-1.836-13.984-10.806-23.518-0.636c0,0-16.526,28.604-15.255,38.773v3.178 c0,0-12.077-0.636-14.62,2.542c0,0-1.907,8.263-3.813,8.899c0,0-4.45,3.813-1.271,8.263c0,0-3.178,3.813-2.542,10.17l12.077,6.356 c0,0,3.178,22.883,20.34,31.146C211.462,297.411,216.491,286.543,219.669,277.009z"}),jt("path",{id:"path342",fill:"#CCCCCC",d:"M214.195,265.956c0,0-38.138-18.01-39.727-19.422c0,0,16.067,14.479,17.48,14.479 C193.361,261.013,214.195,265.956,214.195,265.956z"}),jt("path",{id:"path346",d:"M184.003,255.009c0,0,32.488,6.356,32.488,14.125c0,5.141-0.429,28.834-9.888,26.131 C191.772,291.028,198.128,265.603,184.003,255.009z"}),jt("path",{id:"path350",fill:"#99CC32",d:"M198.834,261.718c0,0,15.852,2.603,17.656,7.416c1.06,2.825,2.23,17.494-7.416,19.422 C201.038,290.165,197.101,272.118,198.834,261.718z"}),jt("path",{id:"path354",d:"M350.671,336.845c-0.878-3.076,1.438-2.845,4.601-3.794c3.53-1.06,25.071-7.769,26.483-12.359 c1.413-4.591,24.719,3.178,24.719,3.178c3.18,1.412,10.947,6.003,10.947,6.003c8.476,2.119,20.128,2.825,20.128,2.825 c4.238,1.766,10.241,6.709,10.241,6.709c25.778,18.009,47.674,5.297,47.674,5.297c35.313-11.653,24.72-42.022,24.72-42.022 c-5.298-15.891,0.354-21.894,0.354-21.894c0.354-6.709,13.064,4.591,13.064,4.591c4.592,7.416,6.005,16.244,6.005,16.244 c14.125,19.775,8.122-11.653,8.122-11.653c0.353-1.766-4.592-8.122-4.592-10.241s-3.179-8.122-3.179-8.122 c-5.297-6.003-1.06-18.363-1.06-18.363c3.179-24.366-0.706-21.188-0.706-21.188c-2.118-3.178-18.362,14.478-18.362,14.478 c-3.885,6.003-14.479,8.828-14.479,8.828c-4.942,3.178-10.946,0.707-10.946,0.707c-4.59-0.707-14.479,11.653-14.479,11.653 c4.943-0.354,9.182,7.416,13.419,7.769c4.237,0.354,7.415-4.237,10.24-5.297c2.825-1.059,7.769,9.182,7.769,9.182 c0.707,4.59-9.181,13.065-9.181,13.065c-0.707,8.122-3.531,5.297-3.531,5.297c-5.297-1.059-7.415,5.65-9.182,13.772 c-1.766,8.122-9.182,8.829-9.182,8.829c-2.825,13.065-4.945,7.769-4.945,7.769c-0.354-9.888-10.947,0.353-10.947,0.353 c-2.118,3.531-10.239-0.353-10.239-0.353c-12.008-3.531-7.77-7.063-7.77-7.063c3.178-3.884,22.953,0,22.953,0 c3.884-2.825-10.241-9.888-10.241-9.888c-1.06-3.178,0.706-10.947,0.706-10.947c2.119-5.65,14.126-15.538,14.126-15.538 c16.599-2.119,11.654-4.944,11.654-4.944c-10.946-9.182-21.189,4.237-21.189,4.237c-3.884,10.947-34.605,37.432-34.605,37.432 c-8.476,6.003-3.884-6.003-10.947,0c-7.063,6.003-43.435-9.888-43.435-9.888c-20.414-2.106-25.238,25.688-31.47,20.18 C343.93,331.689,353.496,346.732,350.671,336.845z"}),jt("path",{id:"path358",d:"M694.629,43.132c0,0-45.201,14.125-50.145,47.319c0,0-4.237,40.256,31.78,71.332c0,0,0.707,11.3,4.238,16.95 c0,0-2.825,8.475,30.368-4.944l48.025-14.832c0,0,11.301-4.238,20.481-19.775c9.181-15.538,36.019-48.731,29.662-93.226 c0,0,2.119-19.775-8.475-20.481c0,0-14.832-2.825-27.544,10.594c0,0-12.008,5.65-16.244,4.944L694.629,43.132z"}),jt("path",{id:"path362",d:"M791.069,41.384c0,0,3.708-15.767-4.837-7.222c0,0-12.432,10.1-25.641,10.1c0,0-25.637,3.884-33.404,27.191 c0,0-6.992,47.39,6.99,57.489c0,0,8.546,13.207,20.978,1.554C767.587,118.843,794.954,65.467,791.069,41.384z"}),jt("path",{id:"path366",fill:"#323232",d:"M790.409,42.016c0,0,3.689-15.438-4.7-7.048c0,0-12.204,9.916-25.173,9.916 c0,0-25.171,3.814-32.798,26.697c0,0-6.865,46.528,6.863,56.444c0,0,8.392,12.967,20.596,1.525 C767.403,118.108,794.224,65.661,790.409,42.016z"}),jt("path",{id:"path370",fill:"#666666",d:"M789.749,42.648c0,0,3.673-15.11-4.563-6.875c0,0-11.978,9.732-24.705,9.732 c0,0-24.705,3.743-32.191,26.202c0,0-6.738,45.667,6.737,55.399c0,0,8.234,12.727,20.213,1.497 C767.22,117.374,793.492,65.855,789.749,42.648z"}),jt("path",{id:"path374",fill:"#999999",d:"M789.089,43.28c0,0,3.654-14.782-4.425-6.703c0,0-11.752,9.549-24.24,9.549 c0,0-24.239,3.672-31.584,25.708c0,0-6.609,44.805,6.61,54.354c0,0,8.08,12.487,19.832,1.469 C767.036,116.639,792.762,66.05,789.089,43.28z"}),jt("path",{id:"path378",fill:"#CCCCCC",d:"M788.429,43.912c0,0,3.638-14.454-4.287-6.529c0,0-11.527,9.365-23.773,9.365 c0,0-23.772,3.602-30.978,25.213c0,0-6.482,43.943,6.483,53.309c0,0,7.924,12.247,19.45,1.441 C766.851,115.904,792.03,66.244,788.429,43.912z"}),jt("path",{id:"path382",fill:"#FFFFFF",d:"M787.767,44.544c0,0,3.619-14.125-4.148-6.356c0,0-11.301,9.181-23.308,9.181 c0,0-23.307,3.531-30.368,24.719c0,0-6.356,43.082,6.355,52.263c0,0,7.77,12.006,19.069,1.412 C766.667,115.17,791.298,66.438,787.767,44.544z"}),jt("path",{id:"path386",fill:"#992600",d:"M414.243,403.323c0,0-36.021-33.901-50.146-35.313c0,0-60.738-7.063-86.87,24.719 c0,0,31.076-36.019,79.807-26.131c0,0-38.138-7.769-60.032-2.119c0,0-29.663,0-46.613,24.719l-4.944,8.475 c0,0,7.063-26.131,39.55-36.726c0,0,40.256-8.475,59.326,0c0,0-38.138-12.006-55.794-8.475c0,0-53.675-4.237-76.275,42.375 c0,0,7.063-25.425,33.194-38.138c0,0,24.013-15.538,60.032-10.594c0,0,25.425,5.65,34.607,9.888 c9.182,4.237,7.063-0.707-7.769-9.182c0,0-9.889-17.656-34.607-16.95c0,0-75.57,6.356-93.932,27.544 c0,0,24.013-19.775,42.375-24.719c0,0,39.55-14.125,54.381-12.713c0,0,43.788,1.766,57.207-5.297c0,0-19.775,8.828-14.125,14.479 c5.649,5.65,17.656,19.069,17.656,21.188s42.729,41.14,49.085,48.908L414.243,403.323z"}),jt("path",{id:"path390",fill:"#CCCCCC",d:"M658.607,745.857c0,0-27.367-64.445-49.438-81.221c0,0,45.906,28.251,52.086,60.032 C661.256,724.67,661.256,742.326,658.607,745.857z"}),jt("path",{id:"path394",fill:"#CCCCCC",d:"M741.593,759.1c0,0-46.789-97.109-79.454-139.484c0,0,76.807,66.212,85.635,113.001 l0.883,9.711l-5.297-4.414C743.358,737.912,742.476,753.803,741.593,759.1z"}),jt("path",{id:"path398",fill:"#CCCCCC",d:"M841.352,673.466c0,0-110.353-105.056-113.001-109.47c0,0,106.821,116.533,112.118,129.775 C840.469,693.771,836.938,677.88,841.352,673.466z"}),jt("path",{id:"path402",fill:"#CCCCCC",d:"M508.528,750.271c0,0,34.43-91.813,67.977-52.087c0,0,26.485,17.656,25.604,22.953 c0,0-7.063-11.477-38.846-10.594C563.263,710.545,529.716,705.248,508.528,750.271z"}),jt("path",{id:"path406",fill:"#CCCCCC",d:"M844.883,525.152c0,0-79.454-50.321-92.695-52.971c-20.848-4.168,87.398,51.204,96.228,69.743 C848.414,541.926,851.945,537.512,844.883,525.152z"}),jt("path",{id:"path410",d:"M578.803,713.371c0,0,36.02-3.531,48.025-15.537l7.769,6.356l31.075-67.802l6.356,9.183 c0,0,25.426-26.132,24.013-40.257c-1.412-14.125,22.601,10.594,22.601,10.594s-1.413-20.481,11.301-8.477 c0,0-4.237-27.544,10.594-13.419c0,0-18.604-53.246,21.188-7.769c9.889,11.3,2.119-0.706,2.119-0.706s-45.905-84.751-7.769-59.325 c0,0,3.531-40.257,1.412-48.026c-2.118-7.769-5.649-47.319-14.125-56.502c-8.477-9.182,0.706-12.006,10.594-2.824 c0,0-19.775-42.375,3.531-21.188c0,0-6.356-26.838-14.125-31.782c0,0-9.889-30.369,16.949-11.3c0,0-7.769-21.894-13.419-27.544 c0,0-20.48-48.732-7.769-40.257l7.769,6.356c0,0-12.007-24.719-0.706-16.95s11.301,7.063,11.301,7.063s-37.433-58.62-1.412-27.544 c0,0-14.406-24.574-20.481-36.726c0,0-33.193-36.019-7.77-24.719l8.476,2.825c0,0-15.538-17.656-29.663-20.481 c-14.125-2.825,4.237-14.125,15.538-10.594c11.3,3.531,38.844,16.95,38.844,16.95s22.602,33.194,29.663,33.9 c0,0-35.313-13.419-24.719,0.706c0,0,25.425,24.719,12.712,24.013c0,0-10.594,12.713-2.118,28.25c0,0-32.592-32.472-6.355,12.712 l12.006,28.957c0,0-43.081-43.788-23.306-4.944c0,0,30.369,41.669,33.899,42.375c3.531,0.707,11.3,16.244,11.3,16.244l-7.769-3.531 l9.181,15.538c0,0-19.774-21.188-9.181,2.119l9.887,25.425c0,0-36.019-38.844-12.006,13.42c0,0-28.957-9.183-13.419,21.188 c0,0-2.825,28.252-2.119,37.434c0.707,9.183,2.825,59.325-4.942,73.451c-7.77,14.125,10.594,48.025,14.125,55.088 c3.53,7.063,9.888,26.131-5.65,9.889c-15.537-16.244-7.769-6.356-4.237,9.181c3.531,15.538,14.125,43.082,12.713,52.97 c0,0-2.118,2.119-7.769-4.236c0,0-26.132-40.258-23.307-14.832c0,0-2.119,14.125-7.77,29.663c0,0-5.649,19.068-5.649,3.53 c0,0-5.65-29.663-10.595-16.244c-4.943,13.42-11.301,24.014-16.244,28.251c-4.942,4.237-14.125-36.02-16.243-17.656 c0,0-21.188-21.895-29.662,7.063l-20.482,28.957c0,0-0.706-21.894-2.824-11.3C650.135,710.547,597.165,721.141,578.803,713.371z"}),jt("path",{id:"path414",d:"M518.064,83.389c0,0-20.481-14.125-27.545-13.419c-7.063,0.706,48.731-15.538,121.477,33.194 c0,0,8.476,4.944,14.832,4.238c0,0,5.648,4.237,0.706,10.594c0,0-15.538,16.95,4.237,36.725c0,0,32.487,12.006,22.601-3.531 c0,0,19.069,7.063,23.307,14.125c4.238,7.062,2.118,0,2.118,0s-11.3-12.713-21.894-21.894c0,0-9.183-3.531-14.125-18.363 c-4.944-14.832-9.183-32.488-1.413-38.138c0,0-7.063,7.769-5.649,0.706c1.412-7.063,7.77-13.419,10.594-14.125 c2.825-0.707,31.781-28.604,43.788-29.31c0,0-16.244,2.472-21.541,0.706S617.293,23.003,606.7,20.884c0,0-29.662-11.653-8.476-8.122 c0,0,63.211,6.709,95.346,30.016c0,0-12.713-14.832-45.2-27.191c0,0-39.197-22.247-101.349-13.419c0,0-31.429,5.65-45.2,8.828 c0,0-4.591-1.06-5.65-1.766c-1.059-0.706-21.896-16.597-70.627-4.237c0,0-30.016,8.122-45.2,16.597c0,0-26.838,2.119-33.193,7.769 c0,0-32.842,25.778-36.372,27.191c-3.531,1.413-23.66,14.831-25.072,15.538c0,0,43.435-11.653,47.672-15.891 c4.238-4.237,34.96-8.828,39.197-6.356c4.238,2.472,19.069,1.413,2.119,2.472c0,0,133.483,26.132,134.896,29.663 C511.002,85.507,518.064,83.389,518.064,83.389z"}),jt("path",{id:"path418",fill:"#CC7226",d:"M644.131,67.145c0,0-18.009-13.066-21.54-13.066c-3.532,0-25.426-18.009-32.842-17.303 c-7.415,0.707-28.956-16.95-77.335-2.472c0,0-1.061-3.531,5.297-4.944c0,0,11.301-3.884,12.007-4.944c0,0,35.666-7.416,48.378-1.06 c0,0,16.244,4.591,27.191,15.538c0,0,19.775,5.65,25.425,3.885c0,0,15.538,3.884,16.244,7.063c0,0,10.241,5.297,7.063,9.888 C654.019,59.729,654.725,62.554,644.131,67.145z"}),jt("path",{id:"path422",fill:"#CC7226",d:"M622.112,63.421c1.425,1.116,3.224,1.289,4.292,2.717c0.413,0.554-0.099,1.13-0.653,1.301 c-1.842,0.56-3.706-0.447-5.723,0.591c-0.71,0.366-1.844,0.044-2.819-0.219c-2.882-0.779-6.111-0.823-9.097,0.392 c-3.505-1.994-7.672-0.962-11.348-2.73c-0.102-0.047-0.493,0.563-0.625,0.516c-5.378-2.021-11.985-1.522-16.278-5.555 c-4.286-0.728-8.448-1.543-12.735-2.744c-3.21-0.899-5.697-2.645-8.558-4.114c-2.433-1.25-5.004-2.171-7.713-2.828 c-3.289-0.798-6.521-0.601-9.864-1.519c-0.164-0.044-0.503,0.563-0.648,0.516c-0.57-0.191-1.084-1.22-1.386-1.127 c-2.968,0.922-5.595-0.794-8.533-0.19c-2.08-2.161-5.131-1.729-7.859-2.509c-5.233-1.498-10.804,0.745-16.152-1.022 c7.262-3.252,15.538-1.077,22.71-4.73c4.11-2.094,8.811-0.148,13.348-1.49c0.86-0.254,2.08-0.611,2.786,0.57 c0.237-0.239,0.56-0.661,0.661-0.611c4.325,2.042,8.413,4.292,12.795,6.174c0.604,0.258,1.542-0.152,1.986,0.205 c2.684,2.147,6.114,1.965,8.569,4.119c2.998-0.886,6.164-0.215,9.218-1.317c0.137-0.048,0.55,0.554,0.606,0.516 c1.995-1.321,4.035-0.842,5.609-0.306c0.597,0.203,1.768,0.639,2.307,0.77c1.987,0.487,3.499,1.335,5.581,1.658 c0.201,0.032,0.527-0.568,0.655-0.519c1.982,0.773,3.822,0.674,4.979,2.729c0.238-0.238,0.529-0.658,0.676-0.611 c1.813,0.597,2.959,1.93,4.901,2.355c0.856,0.187,1.938,1.292,2.954,1.603c4.224,1.291,7.479,3.991,11.353,5.571 C619.447,62.132,620.994,62.545,622.112,63.421z"}),jt("path",{id:"path426",fill:"#CC7226",d:"M486.804,38.296c-4.445-3.046-8.627-4.999-12.938-8.152c-0.32-0.235-0.955,0.065-1.313-0.15 c-1.776-1.075-3.346-2.101-5.079-3.33c-0.952-0.674-2.4-0.655-3.299-1.11c-4.491-2.281-9.134-3.267-13.56-5.375 c1.204-1.126,3.185-0.695,4.236-2.119c0.346,0.495,0.766,0.996,1.389,0.659c2.963-1.596,6.229-1.866,9.188-1.708 c3.01,0.163,6.046,0.701,9.181,1.181c0.542,0.083,0.894,1.006,1.464,1.178c3.934,1.171,8.15,0.244,11.894,1.723 c2.81,1.111,5.581,2.564,7.77,4.815c0.444,0.459-0.13,0.991-0.623,1.333c0.685-0.193,1.167,0.171,1.361,0.724 c0.148,0.422,0.148,0.955,0,1.377c-0.196,0.551-0.689,0.729-1.351,0.819c-2.484,0.336,0.645-2.101-0.591-1.31 c-2.248,1.438-0.932,3.92-2.246,6.159c-0.494-0.342-0.9-0.728-0.706-1.413c0.413,0.922-0.65,1.434-0.947,1.992 C489.953,36.869,488.366,39.367,486.804,38.296z"}),jt("path",{id:"path430",fill:"#CC7226",d:"M429.424,51.27c-5.568-1.402-10.954-1.199-16.279-3.452c-0.117-0.049-0.512,0.563-0.625,0.516 c-2.411-1.049-4.032-2.754-5.933-4.602c-1.612-1.568-4.539-0.884-6.789-1.744c-0.572-0.219-0.931-1.123-1.462-1.192 c-2.152-0.277-3.789-1.953-5.634-2.961c4.124-1.404,8.381-1.349,12.729-2.027c0.199-0.031,0.455,0.535,0.69,0.535 c0.24,0,0.47-0.39,0.706-0.627c0.345,0.495,0.878,1.07,1.331,0.622c0.968-0.953,1.949-0.618,2.902-0.547 c0.255,0.018,0.476,0.553,0.709,0.553c0.24,0,0.473-0.549,0.707-0.549c0.239,0.001,0.472,0.549,0.706,0.549 c0.24,0,0.471-0.39,0.706-0.627c1.223,1.381,2.784,0.403,4.235,0.719c1.833,0.401,2.305,2.428,4.201,2.954 c8.324,2.302,15.629,6.09,23.333,9.774c0.542,0.26,0.912,0.698,0.719,1.384c0.471,0,1.023-0.155,1.359,0.078 c1.867,1.292,3.706,2.26,4.937,4.199c0.381,0.599-0.199,1.317-0.61,1.226C444.243,54.292,437.17,53.219,429.424,51.27z"}),jt("path",{id:"path434",fill:"#CC7226",d:"M404.952,129.332c-2.813-2.152-3.842-5.738-5.834-8.902c-0.378-0.6,0.105-1.154,0.666-1.312 c0.987-0.281,1.946,0.563,2.669,0.92c3.081,1.522,5.792,3.715,9.316,3.96c3.515,3.945,11.036,4.625,11.049,10.594 c0.002,1.517-2.521-0.104-3.278,1.412c-4.328-1.771-8.546-1.589-12.748-4.179C405.702,131.152,406.285,130.353,404.952,129.332z"}),jt("path",{id:"path438",fill:"#CC7226",d:"M356.33,36.5c0.238,0.002,12.652,0.413,12.622,0.614c-0.079,0.546-13.729,2.398-14.37,2.098 c-0.29-0.134-13.554,4.156-13.79,3.92C341.266,42.894,355.86,36.5,356.33,36.5z"}),jt("path",{id:"path442",d:"M383.521,53.726c0,0-26.133,3.178-33.9,5.297c-7.77,2.119-40.609,15.538-45.907,19.069 c0,0-23.66,9.535-53.675,44.848c0,0,13.419-6.003,17.303-10.947c0,0,24.013-22.247,23.66-17.656c0,0,21.541-15.185,20.481-11.3 c0,0,43.082-19.775,39.551-14.125c0,0,38.138-8.122,36.372-4.591c0,0,33.192,7.769,28.25,8.122c0,0-10.241,2.119,1.06,8.475 c0,0-6.003,7.769-15.538,0.707c-9.534-7.063-4.236-3.178-13.064-1.413c0,0-4.592,1.413-12.713-5.65c0,0-9.889-8.122-25.426-1.766 c0,0-54.029,22.247-57.56,23.307c0,0-6.356,4.944-10.594,11.3c0,0-10.241,7.769-15.538,10.241c0,0-22.6,20.481-24.719,22.953 c0,0-6.003,9.181-7.416,9.888c0,0,11.3-6.709,14.831-10.241c0,0,24.719-17.656,34.253-19.069c0,0,7.769-5.297,9.182-7.769 c0,0,25.425-16.244,32.84-16.244c0,0,16.244,9.181,20.482-3.178c0,0,10.239-3.178,20.128-1.06c0,0,5.649-4.591,4.236-8.475 c0,0,2.825-3.178,4.592,3.531c0,0,6.003,6.356,14.479,2.825c0,0,7.063-0.353,3.531,3.884c0,0-7.77,6.709-28.604,7.063 c0,0-21.895,1.06-50.851,14.479c0,0-52.616,18.363-68.86,36.725c0,0-11.3,15.538-20.834,17.657c0,0-10.241,1.412-20.834,14.478 c0,0,17.303-10.241,33.194-10.241c0,0,7.063-4.237,0.353,2.119c0,0-6.356,13.418-3.531,22.953c0,0-1.06,9.181-2.472,12.006 c0,0-13.772,22.6-13.772,26.838c0,4.237,2.119,21.541,2.825,22.6c0.706,1.06-1.766-2.825,4.944,1.413 c6.709,4.237,11.653,7.063,13.065,12.006c1.413,4.944-3.531-9.535-3.884-12.713c-0.353-3.178-7.769-15.891-6.356-20.128 c0,0,1.766,1.766,3.178,4.237c0,0-1.059-1.06,0-7.416c0,0,1.413-9.182,3.885-14.832s6.003-12.359,6.709-13.772 c0.707-1.413,0.707-11.653,3.178-7.063l6.003,4.59c0,0-4.944-4.59-1.06-8.475c0,0-1.766-9.888,1.413-14.479 c0,0,12.359-14.832,15.185-16.597c2.826-1.765,0.353-1.059,0.353-1.059s10.594-7.416,0.353-4.591c0,0-7.063,2.825-12.359,2.825 c0,0-13.419,3.531-6.356-3.885s24.719-16.95,31.429-16.597l1.413,2.825l19.775-4.237l-2.119,1.413c0,0-0.353-0.354,7.063-1.06 s17.656,1.766,20.128-1.413c2.473-3.178,8.477-4.944,7.771-2.472c-0.706,2.472-1.061,6.003-1.061,6.003s8.828-10.241,7.77-6.356 c-1.061,3.884-15.537,13.065-18.011,24.013l18.363-14.479l6.356-5.297c0,0,6.355,3.884,6.709,1.06 c0.354-2.825,8.476-13.066,10.594-12.713c2.119,0.353,5.649-4.591,5.297,0c-0.353,4.591,13.066,14.125,13.066,14.125 s5.648-3.178,8.122-0.706c2.472,2.472,9.887-34.96,9.887-34.96l44.142-18.716l76.983-6.003l-30.017-12.006L383.521,53.726z"}),jt("path",{id:"path446",stroke:"#4C0000","stroke-width":"2",d:"M415.655,405.089c0,0-26.484-29.663-41.316-34.254 c0,0-23.659-12.006-67.094,1.766"}),jt("path",{id:"path450",stroke:"#4C0000","stroke-width":"2",d:"M368.689,368.363c0,0-44.494-14.125-71.687-6.709 c0,0-32.488,3.531-47.319,27.897"}),jt("path",{id:"path454",stroke:"#4C0000","stroke-width":"2",d:"M362.333,366.245c0,0-30.016-12.713-56.147-16.597 c0,0-29.31-4.591-58.62,8.122c0,0-21.541,10.594-31.075,28.603"}),jt("path",{id:"path458",stroke:"#4C0000","stroke-width":"2",d:"M364.099,366.951c0,0-27.19-19.422-28.957-21.894 c0,0-12.358-19.422-35.313-20.128c0,0-37.785,1.413-68.154,15.538"}),jt("path",{id:"path462",d:"M361.794,351.072c2.723,2.583,50.33,53.664,50.33,53.664c62.15,64.624,12.713,4.236,12.713,4.236 c-13.419-8.475-29.663-41.669-29.663-41.669c-2.119-4.944,24.719,12.713,24.719,12.713c7.063,1.412,31.075,35.313,31.075,35.313 c-12.006-4.237-3.53,8.476-3.53,8.476c4.943,3.531,40.965,31.077,40.965,31.077c6.355,7.063,13.419,9.888,13.419,9.888 c24.719-9.182,13.419,14.125,13.419,14.125c4.236,12.007,14.125-8.476,14.125-8.476c19.774-29.664-9.182-25.425-9.182-25.425 c-52.972,4.942-64.978-23.31-64.978-23.31c-4.238-4.236,11.3,0,11.3,0c14.833,3.531-12.713-21.894-12.713-21.894 c4.237,0,20.481,12.006,20.481,12.006c18.363,16.244,21.896,12.713,21.896,12.713c31.782-15.538,50.146-2.119,50.146-2.119 c3.53,2.825-6.356,14.832-3.531,24.016c2.825,9.182,11.3,31.075,11.3,31.075c-4.237,2.824-3.531,21.895-3.531,21.895 c29.663,40.963,12.713,37.432,12.713,37.432c-27.544-0.707-1.411,12.712-1.411,12.712c5.648,3.531,21.188,16.244,21.188,16.244 c-4.944-2.119-7.769,7.063-7.769,7.063c8.475,7.063,3.53,15.538,3.53,15.538c-10.594,2.118-12.713,9.181-12.713,9.181 c12.006,14.126-5.649,14.832-5.649,14.832c6.355,7.769-2.118,28.956-2.118,28.956c-8.477,0-19.775,9.888-19.775,9.888 c4.237,8.477-14.125,18.363-14.125,18.363c-14.832,2.824-9.888,14.831-9.888,14.831c-14.125,10.594-18.363,38.844-18.363,38.844 c-1.412,18.363-5.648,24.014,3.531,20.481c9.182-3.531,7.77-25.425,7.77-25.425c-8.476-27.545,67.095-55.795,67.095-55.795 c7.063-2.824,8.476-12.007,8.476-12.007c3.531,0.706,19.069,14.125,19.069,14.125c13.418,19.775,14.125,3.531,14.125,3.531 c2.118-6.356-0.707-16.95-0.707-16.95c10.595-38.138-14.125-49.438-14.125-49.438c-17.656-59.326,7.063-44.494,7.063-44.494 c4.944,9.888,24.014,19.068,24.014,19.068l6.355-4.237c-2.824-8.477,12.007-19.069,12.007-19.069 c4.943,11.301,15.537-2.824,15.537-2.824c6.356-43.082,28.251-17.656,28.251-17.656c7.063,2.119,9.182-9.889,9.182-9.889 c6.355-18.361,0-42.375,0-42.375c6.355-0.706,23.307,9.889,23.307,9.889c4.944-6.356-11.3-36.021-4.237-31.781 c7.063,4.237,14.831,7.063,14.831,7.063c1.413-3.53-16.243-25.426-16.243-25.426c-7.77-4.945-16.949-40.965-16.949-40.965 c12.712,6.356-4.944-20.481-4.944-20.481c0-5.65,10.594-25.425,10.594-25.425c-1.412-12.006,0-11.3,0-11.3 c4.944,2.119,19.069,4.944,7.063-6.356c-12.006-11.3,1.413-19.775,1.413-19.775c7.769-4.944-16.244-4.238-16.244-4.238 c-9.183-7.769-8.477-14.831-8.477-14.831c14.126,3.531-11.3-21.894-15.536-28.25c-4.237-6.356,12.713-15.538,12.713-15.538 c23.307-6.356,2.823-12.006,2.823-12.006c-34.605,0.706-15.536-18.363-15.536-18.363c10.594,0.707,7.769-3.531,7.769-3.531 c-9.181-2.119-26.132-13.419-26.132-13.419c-7.063-6.356-0.706-4.944-0.706-4.944c29.663,2.119-21.188-17.656-21.188-17.656 c14.125,0-17.655-18.363-17.655-18.363c-3.531-2.825-9.183-16.244-9.183-16.244c-10.594-9.182-19.067-21.188-19.067-21.188 c-0.707-7.769-9.183-16.244-9.183-16.244c-20.48-24.013-30.369-23.307-30.369-23.307c-26.132-6.356-35.313-4.944-35.313-4.944 l-93.229,7.769c-46.612,22.6-32.842,59.679-32.842,59.679c11.301,14.831,27.544,8.122,27.544,8.122 c8.122-10.947,28.604-7.063,28.604-7.063c36.021,5.65,31.431-0.706,31.431-0.706c-4.237-8.122-32.843-19.069-33.196-20.128 c-0.353-1.06-15.891-7.063-15.891-7.063c-5.297-2.119-13.065-18.363-13.065-18.363c-5.649-6.003,22.247,4.238,22.247,4.238 c-2.119,1.766,10.947,8.828,10.947,8.828c30.724-1.766,49.439,17.303,49.439,17.303c19.068,29.31,19.422,14.832,19.422,14.832 c4.943-16.597-15.892-54.029-15.892-54.029c0.706-3.531,15.186,8.122,15.186,8.122c2.472-3.531,3.885,6.709,3.885,6.709 c0.353,4.237,7.063,18.362,7.063,18.362c4.942,22.954,11.3,9.888,11.3,9.888l8.122,16.597c2.472,4.591-8.122,18.01-8.122,18.01 c-0.354,4.944,1.06,4.59-8.828,18.009s-3.885,21.188-3.885,21.188c-2.473,11.653,13.064,10.947,13.064,10.947 c4.591,3.884,10.595,3.884,10.595,3.884c3.179,3.531,7.415,2.472,7.415,2.472c2.825-6.709,13.772-3.178,13.772-3.178 c2.472-4.238,16.95-4.944,16.95-4.944c1.766-4.591,2.472-7.416,8.475-8.475c6.004-1.06-37.432-76.982-37.432-76.982 c11.301-1.413-3.179-23.307-3.179-23.307c-3.885-11.653,16.244,14.125,20.128,16.597c3.886,2.472,5.65,6.356,2.825,6.003 s-6.003,3.532-3.531,3.885c2.473,0.354,25.427,26.837,31.43,44.847c6.003,18.01,16.597,25.072,27.544,35.666 c10.947,10.594,9.534,53.322,9.534,53.322c-0.706,15.538,9.888,34.253,9.888,34.253c3.531,6.709-3.885,38.844-3.885,38.844 c-3.531,3.884-1.06,5.297-1.06,5.297c1.767,2.119,13.771,25.425,13.771,25.425c-3.178-0.353,3.179,6.003,3.179,6.003 c9.181,10.594-2.119,5.297-2.119,5.297c-10.594-2.825,1.767,14.479,1.767,14.479c2.119,3.178-13.772-4.944-13.772-4.944 c-16.243-1.06,4.238,11.653,4.238,11.653c15.185,12.713-4.944,4.943-4.944,4.943c-8.122-3.179-2.472,8.828-2.472,8.828 c5.649,2.824,36.02,15.186,36.02,15.186c0.706,6.711-4.591,15.539-4.591,15.539c0.706,7.063-3.179,13.064-3.179,13.064 c-2.118,14.479-3.178,15.891-3.178,15.891c-7.416,0.354-20.481,24.721-20.481,24.721c-3.179,4.591-21.188,25.777-21.188,25.777 c-3.531,12.359-35.313-0.354-35.313-0.354c-11.653,6.003-8.122,0-8.122,0c-0.706-3.884,7.771-14.479,7.771-14.479 c12.358-4.59,7.769-23.658,7.769-23.658c7.063-2.473-12.713-7.416-12.359-9.534c0.354-2.119,10.595-4.591,10.595-4.591 c14.125-3.531,6.355-7.77,6.355-7.77c-1.06-7.063,4.237-16.95,4.237-16.95c20.48-1.413,0-30.019,0-30.019 c-19.068-13.418-20.835-23.659-20.835-23.659c22.247-14.478,7.77-36.372,8.122-42.729c0.354-6.356,2.473-44.494,2.473-44.494 c-3.531-10.947-8.828-34.96-8.828-34.96c3.885-9.181,16.949-31.428,16.949-31.428c4.944-7.416,20.481-15.891,16.598-21.188 c-3.885-5.297-17.655-2.119-17.655-2.119c-13.772-2.472-12.713,6.709-12.713,6.709c-2.825,1.766-4.237,10.594-4.237,10.594 c-1.273,14.007-16.95,25.072-16.95,25.072c-19.775,10.947-3.531,18.01-3.531,18.01c10.595,11.653-6.71,12.006-6.71,12.006 c-19.422-3.178-4.942,14.831-4.942,14.831c19.067,22.601,13.771,27.544,13.771,27.544c-18.009,1.766,4.237,18.009,4.237,18.009 s-1.412-3.531-1.06-0.353c0.354,3.178,5.649,10.594,7.063,14.125c1.412,3.531-5.65,3.885-5.65,3.885 c1.061,16.95-26.132,9.534-26.132,9.534s0,0-2.824,0.353c-2.824,0.354-22.601-1.059-32.841-4.944 c-10.241-3.884-22.248-3.884-22.248-3.884s-7.063,3.178-20.481,2.825s-27.544,4.59-27.544,4.59 c-7.771-0.706,7.415-8.475,7.769-8.122s10.24-9.535-3.885-8.475c-38.485,2.887-57.561-15.185-57.561-15.185 c-3.53-2.472-8.122-7.416-8.122-7.416c-17.655-3.531,2.473,21.894,2.473,21.894c2.119,2.472-0.354,4.238-0.354,4.238 c-1.413-2.825-15.185-12.359-15.185-12.359C368.316,357.817,365.91,355.461,361.794,351.072z"}),jt("path",{id:"path466",fill:"#4C0000",d:"M319.604,330.579c0,0,20.481,9.887,25.072,14.831c4.591,4.944,29.311,25.072,29.311,25.072 s-9.535-3.531-14.125-6.709c-4.592-3.178-23.66-17.656-23.66-17.656S329.492,335.522,319.604,330.579z"}),jt("path",{id:"path470",fill:"#99CC32",d:"M217.181,275.496c0.595-0.261-0.33-5.05-0.69-6.008c-1.804-4.813-17.656-7.416-17.656-7.416 c-0.401,2.41-0.498,5.229-0.311,8.121C198.523,270.192,207.119,279.936,217.181,275.496z"}),jt("path",{id:"path474",fill:"#659900",d:"M217.181,275.143c-0.793,0.279-0.026-4.827-0.337-5.655 c-1.804-4.813-18.009-7.592-18.009-7.592c-0.401,2.41-0.498,5.228-0.311,8.12C198.523,270.015,206.06,279.053,217.181,275.143z"}),jt("path",{id:"path478",d:"M209.428,275.395c-1.104,0-1.997-2.013-1.997-4.495c0-2.481,0.894-4.494,1.997-4.494 c1.104,0,1.999,2.013,1.999,4.494C211.427,273.382,210.532,275.395,209.428,275.395z"}),jt("path",{id:"path486",d:"M128.915,448.525c0,0-9.888,17.655,33.9,7.063c0,0,24.719-2.119,28.957-6.355 c2.119,1.411,16.89,6.591,21.894,7.769c12.006,2.825,26.838-14.833,26.838-14.833s8.122-18.539,13.066-18.539 c4.944,0-0.707,2.825-0.707,2.825s-11.653,17.834-10.947,20.659c0,0-9.181,35.313-37.432,36.726c0,0-28.515,1.678-26.131,12.007 c0,0,15.538-4.237,19.775,0c0,0,19.069-0.707,4.944,10.595l-12.006,20.48c0,0,0.247,6.918-17.656,0.706 c-17.303-6.003-35.489-28.78-35.489-28.78S109.758,473.156,128.915,448.525z"}),jt("path",{id:"path490",fill:"#E59999",d:"M126.796,455.588c0,0-3.531,16.95,61.444-1.413c0,0,7.769,0,12.007,1.413 c4.237,1.412,25.425,6.356,28.957,4.237c0,0-12.713,24.013-33.194,21.188c0,0-23.307,2.825-22.6,11.302 c0,0,7.063,12.712,15.538,16.949c0,0,4.944,4.237,4.237,9.888c-0.706,5.649-5.65,8.476-9.181,9.888 c-3.531,1.413-9.181-4.237-12.006-4.237s-17.656-11.3-25.425-19.774c-7.769-8.476-22.6-29.662-21.894-34.606 C125.384,465.476,126.796,455.588,126.796,455.588z"}),jt("path",{id:"path494",fill:"#B26565",d:"M132.446,486.398c4.591,6.974,10.241,14.39,14.125,18.627 c7.769,8.476,22.6,19.774,25.425,19.774c2.825,0,8.475,5.65,12.006,4.237c3.531-1.412,8.475-4.237,9.181-9.888 c0.707-5.649-4.237-9.888-4.237-9.888c-5.414-2.707-10.251-8.873-13.04-12.975c0,0,0.327,4.499-8.854,3.087 c-9.181-1.413-18.363-6.356-21.188-12.007c-2.825-5.65-7.063-9.888-4.238-3.531s7.063,12.713,9.888,13.419 c2.825,0.706,2.119,2.825-2.119,2.119c-4.238-0.707-9.182-1.413-16.95-10.594L132.446,486.398L132.446,486.398z"}),jt("path",{id:"path498",fill:"#992600",d:"M127.855,449.231c0,0,3.178-24.016,5.297-31.077c0,0-1.413-12.007,2.825-19.422 c4.237-7.417,7.769-18.363,13.066-27.897s5.65-16.597,12.712-19.422c7.062-2.825,17.656-18.01,22.6-19.775 c4.944-1.765,4.591-0.353,4.591-0.353s12.006-26.131,36.019-19.069c0,0-28.604-4.944-0.706-21.541c0,0-8.475,1.942-2.648-10.417 c3.886-8.242,3.001,3.708-16.421,24.542c0,0-8.828,15.185-18.009,20.481c-9.181,5.297-30.369,17.657-32.488,24.366 c-2.119,6.709-7.769,16.95-11.3,19.775c-3.531,2.825-8.475,10.241-9.181,16.244c0,0-2.119,7.063-4.591,9.181 c-2.472,2.119-2.825,7.769-2.825,11.299c0,3.532-3.531,8.477-3.178,12.714c0,0,1.412,33.549,0.706,37.079L127.855,449.231z"}),jt("path",{id:"path502",fill:"#FFFFFF",d:"M112.671,457.354c0,0-3.531-2.472-11.3,8.122c0,0,12.889,58.267,12.889,60.738 c0,0,1.942-3.708-0.354-16.421c-2.295-12.713-3.884-35.137-3.884-35.137L112.671,457.354z"}),jt("path",{id:"path506",fill:"#992600",d:"M150.809,350.354c0,0-31.076,5.65-30.369,57.207l-1.413,43.79c0,0-2.119-45.202-4.238-48.026 c-2.119-2.825,4.944-22.601-0.706-12.007c0,0-24.719,24.719-10.594,62.152c0,0,2.648,5.827-2.648-2.295 c0,0-8.122-22.249-6.18-33.549c0,0,0.353-3.885,3.708-8.828c0,0,15.185-20.659,19.952-24.72c0,0,3.178-25.425,30.369-34.606 C148.69,349.471,158.754,345.41,150.809,350.354z"}),jt("path",{id:"path510",d:"M396.939,233.468c1.164-0.625,1.148-2.338,2.174-2.644c2.027-0.607,2.317-2.491,3.231-3.875 c1.542-2.329,1.883-5.036,2.91-7.668c0.48-1.236,0.527-2.922-0.024-4.087c-2.072-4.381-3.313-8.705-5.858-12.988 c-0.473-0.794-0.937-2.196-1.29-3.252c-0.817-2.443-3.037-4.193-4.556-6.524c-0.51-0.779,0.419-2.412-0.847-2.56 c-1.584-0.186-4.143-1.209-4.554,0.602c-1.038,4.568,0.747,9.022,2.456,13.334c-1.381,1.222-0.791,2.848-0.522,4.202 c1.255,6.367-0.86,12.286-2.204,18.419c-0.041,0.184,0.563,0.533,0.514,0.643c-2.158,4.743-4.722,9.06-7.935,13.264 c-1.338,1.751-2.878,3.369-3.755,5.246c-0.649,1.39-1.37,3.095-0.929,4.84c-6.065,4.908-10.038,11.697-14.647,18.488 c-0.815,1.201-0.303,3.335,0.672,3.811c1.435,0.703,3.123-1.105,3.953-2.599c0.687-1.232,1.31-2.38,2.177-3.516 c0.233-0.309-0.081-1.049,0.157-1.262c4.647-4.144,7.596-9.328,11.927-13.509c3.442-0.581,6.157-2.343,9.243-4.131 c0.544-0.316,1.469,0.124,1.98-0.221c3.095-2.078,3.091-5.673,3.278-9.045C394.58,236.872,394.927,234.547,396.939,233.468z"}),jt("path",{id:"path514",d:"M381.329,225.583c0.22-0.136-0.055-0.883,0.138-1.264c0.286-0.572,0.998-0.904,1.284-1.476 c0.192-0.381-0.096-1.052,0.146-1.303c4.118-4.321,4.572-9.66,2.743-14.909c1.809-1.095,1.915-3.323,1.165-4.818 c-1.506-3.002-1.847-6.402-3.567-9.127c-1.416-2.24-4.202-4.437-6.623-2.136c-0.743,0.706-1.311,2.096-0.819,3.353 c0.113,0.288,0.616,0.545,0.568,0.69c-0.188,0.572-1.152,0.967-1.163,1.448c-0.053,2.641-1.737,5.309-0.625,7.656 c1.363,2.876,2.809,6.155,4.003,9.291c-2.179,3.736-0.355,8.06-3.45,11.374c-0.24,0.258-0.225,0.939-0.009,1.296 c0.516,0.858,1.231,1.575,2.09,2.091c0.357,0.213,0.972,0.217,1.324-0.002C379.553,227.106,380.256,226.247,381.329,225.583z"}),jt("path",{id:"path518",d:"M492.233,207.377c2.451,3.164,2.964,8.099-0.653,10.554c0.971,5.842,6.888,2.348,10.594,1.412 c-0.191-0.685,0.208-1.292,0.708-1.301c1.866-0.026,3.066-1.849,4.941-1.523c0.767-2.75,3.659-3.989,4.796-6.425 c3.048-6.524,2.004-14.069-2.559-19.8c-0.356-0.449,0.025-1.361-0.192-2c-1.335-3.904-4.986-4.46-8.401-5.675 c-2.078-6.842-3.245-13.959-6.354-20.481c-2.851-0.441-4.082-3.512-6.443-4.783c-2.354-1.27-3.355,1.519-3.284,3.365 c0.014,0.362,0.812,0.757,0.512,1.402c-0.136,0.29-0.595,0.486-0.595,0.722c0.002,0.238,0.394,0.47,0.629,0.707 c-1.62,1.448-4.134,2.29-4.653,4.312c-1.686,6.55,2.857,12.068,5.804,17.72c1.044,2.004-0.256,4.249-1.598,6.381 c-0.773,1.227-0.583,3.217-0.097,4.729C486.714,200.806,489.521,203.876,492.233,207.377z"}),jt("path",{id:"path522",d:"M426.622,239.84c-2.626,3.268-8.65,7.804-3.5,11.208c0.343,0.228,0.996,0.234,1.302-0.002 c3.568-2.763,7.104-4.357,11.405-5.385c0.22-0.051,0.703,0.773,1.354,0.489c2.849-1.242,6.397-1.139,8.487-3.501 c6.651,0.396,12.946-1.575,18.934-3.884c2.051-0.791,4.293-1.778,6.412-2.665c2.431-1.017,4.557-2.655,6.521-4.67 c0.233-0.24,0.858-0.082,1.331-0.082c-0.07-1.523,1.628-1.748,2.063-2.846c0.163-0.41-0.102-1.109,0.133-1.289 c3.775-2.878,5.399-6.441,3.336-10.638c-0.504-1.021-0.942-2.112-1.941-2.952c-1.916-1.608-3.862-0.101-5.711-0.637 c-0.28,1.108-1.567,0.805-2.249,1.155c-1.517,0.775-3.87-0.258-5.387,0.515c-2.405,1.227-4.598,1.526-7.106,2.191 c-0.552,0.145-1.925-0.025-2.208,1.083c-0.236-0.237-0.497-0.65-0.685-0.611c-3.369,0.699-5.595,1.077-7.892,4.064 c-0.182,0.235-0.962-0.081-1.243,0.157c-1.688,1.427-2.403,3.605-4.349,4.792c-0.354,0.217-0.977-0.079-1.319,0.148 c-1.141,0.761-1.787,1.893-2.922,2.682c-0.581,0.404-1.287-0.169-1.229-0.622c0.433-3.438,1.585-6.593,0.569-9.905 c3.667-4.449,8.111-7.891,11.301-12.713c0.025-3.824,1.248-7.613,1.049-11.28c-0.019-0.341-0.526-1.635-0.748-2.248 c-0.552-1.508,1.049-3.39-0.441-4.668c-2.479-2.124-4.761-0.578-6.216,1.953c-3.245,0.688-6.893,1.912-9.679-0.267 c-1.778-1.39-2.799-2.989-4.21-4.854c-1.738-2.299-1.147-4.834-1.023-7.596c0.011-0.226-0.546-0.466-0.546-0.703 c0.002-0.238,0.391-0.47,0.627-0.706c-1.246-1.105-1.731-2.974-3.531-3.532c0.538-1.928-0.654-3.489-2.192-4.022 c-3.522-1.22-6.483,2.156-9.823,2.285c-0.908,0.034-1.732-1.799-2.878-2.373c-0.764-0.381-2.006-0.439-2.646,0.03 c-1.215,0.89-2.255,1.091-3.593,1.453c-2.854,0.77-5.11,2.701-7.725,4.211c-2.622,1.513-4.31,4.05-6.216,6.381 c-1.661,2.034-1.901,6.296,0.605,7.179c3.254,1.148,5.557-3.625,9.027-3.049c0.551,0.09,0.915,0.639,0.721,1.324 c0.688,0.193,1.071-0.212,1.412-0.706c1.515,1.799,3.57,2.394,5.227,3.936c1.714,1.596,4.796,0.858,6.589,2.619 c2.698,2.652,1.712,7.386,5.136,9.69c-1.034,2.318-2.106,4.573-2.698,7.092c-0.497,2.129,1.258,4.243,3.396,4.082 c2.222-0.166,2.684-1.506,3.54-3.406c0.472,0.472,1.3,0.996,1.228,1.377c-0.807,4.214-2.62,7.733-3.429,12.025 c-0.104,0.56-0.644,0.917-1.33,0.722c-0.826,7.326-7.98,11.553-12.475,17.141c-0.712,0.886-0.719,3.092,0.004,3.803 c2.478,2.449,5.938-0.281,8.938-1.169c0.376-2.129,1.893-3.792,4.245-3.694c0.452,0.018,0.866-0.939,1.438-1.169 c0.614-0.244,1.501,0.152,2.007-0.198c3.053-2.11,5.539-4.063,8.606-6.162c0.339-0.231,0.946,0.05,1.328-0.141 c0.574-0.286,0.904-0.969,1.475-1.296c0.614-0.353,1.041,0.159,1.383,0.653c-1.142,0.616-1.147,2.306-2.176,2.663 c-1.367,0.473-2.358,1.379-3.549,2.168c-0.516,0.341-1.68-0.097-1.862,0.219C429.966,237.508,427.875,238.281,426.622,239.84z"}),jt("path",{id:"path526",d:"M328.785,152.602c0,0-16.312-5.071-36.019,40.257c0,0-4.238,9.181-8.475,12.712 c-4.238,3.531-24.013,9.888-27.544,16.95l-18.363,28.25c0,0,26.131-28.25,31.782-32.488c0,0,14.125-14.832,8.475-2.825 c0,0-24.719,19.069-22.601,35.313c0,0-9.887,25.425-11.3,28.957c0,0,28.25-56.5,32.488-58.62c4.237-2.119,6.356-2.119,4.237,4.238 c-2.119,6.357-2.825,35.313-7.769,38.844c0,0,14.125-36.02,12.712-41.669c0,0,5.65-6.356,9.888,2.825l-2.119,28.25l7.769,21.188 c0,0-4.237-19.775-1.413-47.319c0,0-3.531-18.363,3.531-8.475c7.062,9.888,24.013,20.481,24.013,28.957 c0,0-9.181-31.075-25.425-39.55l-7.063,10.594l-2.119-3.531c0,0-6.356-1.413,1.413-13.419c7.769-12.006,7.063-13.419,7.063-13.419 s11.3,12.713,14.125,12.713c0,0,23.307-13.419,25.425,29.663c0,0,12.007-25.425-4.237-37.432c0,0-26.132-3.531-24.013-12.712 l12.713-21.894c6.356-9.182,3.531-4.238,3.531-4.238L328.785,152.602z"}),jt("path",{id:"path530",d:"M293.473,181.558c0,0-22.6,0-28.25,9.181l-12.713,16.95c0,0,30.369-17.656,37.432-19.775 S293.473,181.558,293.473,181.558z"}),jt("path",{id:"path534",d:"M222.847,192.858c0,0-3.531,2.119-4.238,7.063c-0.706,4.944-4.944,5.65-3.531,10.594 c1.413,4.944,4.944,9.182,4.944,2.119c0-7.063,2.825-10.594,4.238-12.712C225.672,197.802,228.497,190.033,222.847,192.858z"}),jt("path",{id:"path538",d:"M207.31,300.916c0,0-14.832-7.063-20.481-13.419c-5.65-6.356-4.852,2.765-13.419,2.119 c-10.324-0.779-8.475-28.957-8.475-28.957l-7.063,13.418c0,0-2.119,25.425,12.006,21.188c6.898-2.069,9.181,0.706,6.356,2.119 c-2.825,1.413,9.887,2.119,4.943,4.944c-4.943,2.825,20.481-6.356,16.244,12.006L207.31,300.916z"}),jt("path",{id:"path542",d:"M185.063,326.341c0,0-27.191,7.769-33.547-9.181c0,0-8.475,4.237-4.591,9.534 c3.885,5.297,6.003,6.003,6.003,6.003s9.534,2.119,8.475,3.531c-1.06,1.413-5.297,7.416-5.297,7.416S174.115,333.05,185.063,326.341 z"}),jt("path",{id:"path546",fill:"#FFFFFF",d:"M588.337,464.416c-0.754,3.768-3.704,5.182-7.063,6.355c-3.386-1.69-7.973-7.176-11.301-3.53 c-0.837-0.849-2.213-0.954-2.819-2.123c-0.82-1.585-0.342-3.433-0.944-4.841c-0.962-2.246-2.214-4.658-1.886-7.161 c3.188-1.258,4.239-4.623,3.401-7.735c-0.122-0.454-0.879-0.802-0.525-1.418c0.329-0.57,0.89-0.972,1.36-1.441 c-0.237,0.237-0.493,0.648-0.689,0.613c-1.077-0.188-0.857-1.313-0.628-1.995c1.032-3.083,4.589-3.549,6.969-1.443 c0.452-0.998,1.352-0.655,2.118-0.706c-0.088-1.022,0.633-1.953,0.982-2.694c0.913-1.938,3.791,0.014,5.197-1.065 c1.899-1.457,3.776-2.691,5.681-1.628c3.193,1.789,6.212,3.93,8.327,7.004c1.017,1.473,1.439,3.733,1.338,5.426 c-0.067,1.143-2.507,0.521-3.111,2.161c-1.139,3.086,2.095,4.003,3.43,6.364c0.35,0.616-0.117,1.153-0.673,1.326 c-0.726,0.227-2.11-0.107-1.866,0.691C597.351,462.212,592.484,463.409,588.337,464.416z"}),jt("path",{id:"path550",fill:"#FFFFFF",d:"M571.385,499.022c-0.012-3.068-2.839-6.17-0.704-9.183c0.238,0.237,0.471,0.627,0.706,0.627 c0.238,0,0.471-0.39,0.706-0.627c2.641,3.913,9.088,5.552,8.837,10.576c-0.038,0.79-1.958,2.41-0.36,3.55 c-3.201,2.38-3.3,6.564-4.944,9.887c-2.186-0.505-4.325-1.146-6.356-2.117c0.622-2.624,0.415-5.599,1.863-7.929 C571.896,502.575,571.391,500.67,571.385,499.022z"}),jt("path",{id:"path554",fill:"#CCCCCC",d:"M277.935,483.132c0,0-29.765,17.896-4.944-9.182c15.538-16.95,33.194-26.838,33.194-26.838 s18.362-7.771,24.719-9.89c6.355-2.119,33.193-11.301,38.845-12.007c5.649-0.706,22.6-7.769,34.606-0.706 c12.006,7.063,26.131,14.831,26.131,14.831s-28.956-14.831-35.313-10.594c-6.356,4.237-19.069,3.531-29.663,9.182 c0,0-26.131,7.771-31.781,11.303c-5.649,3.53-24.013,24.013-26.837,22.601c-2.825-1.413,0.706-2.119,2.825-7.063 c2.119-4.943-1.412-7.77-15.538,3.531C280.054,479.601,277.935,483.132,277.935,483.132z"}),jt("path",{id:"path558",d:"M291.01,472.596c0,0,2.49-23.022,17.459-20.084c0,0,14.523-7.361,19.33-10.837c0,0,14.37-3.006,16.685-4.095 c32.627-15.361,58.614-7.383,59.581-9.359c0.965-1.977,35.614,10.59,41.986,17.806c0.69,0.781-18.063-9.884-35.188-13.223 c-14.607-2.85-52.748,0.438-72.005,10.211c-5.249,2.664-21.043,12.877-25.513,12.682C308.878,455.498,291.01,472.596,291.01,472.596 z"}),jt("path",{id:"path562",fill:"#CCCCCC",d:"M284.292,517.738c0,0-26.838-4.237,2.825-7.063c0,0,31.782-3.531,38.844-12.713 c0,0,24.013-16.244,28.956-16.95c4.944-0.706,57.913-13.419,58.619-17.656c0.707-4.236,10.595-4.236,13.419-2.824 c2.825,1.413,1.413,3.53-3.531,4.943c-4.943,1.412-60.031,30.369-71.332,32.487c-11.3,2.119-31.781,15.538-40.256,17.656 C303.36,517.738,284.292,517.738,284.292,517.738z"}),jt("path",{id:"path566",d:"M318.757,504.676c0,0-15.153-1.464,0.033-2.909c0,0,15.566-6.046,19.183-10.748c0,0,12.296-8.316,14.826-8.678 c2.531-0.362,27.18-6.872,27.542-9.04c0.362-2.17,60.51-24.384,68.314-18.751c5.14,3.709-12.343,0.748-29.354,8.535 c-2.393,1.095-62.164,26.85-67.95,27.934c-5.785,1.087-16.271,7.956-20.611,9.04C326.402,501.145,318.757,504.676,318.757,504.676z"}),jt("path",{id:"path570",d:"M304.773,508.557c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.357,1.412-6.357,1.412L304.773,508.557z"}),jt("path",{id:"path574",d:"M292.061,511.382c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.356,1.412-6.356,1.412L292.061,511.382z"}),jt("path",{id:"path578",d:"M273.698,514.207c0,0,9.181-0.706,7.063,2.119c-2.119,2.824-6.356,1.412-6.356,1.412L273.698,514.207z"}),jt("path",{id:"path582",d:"M260.279,515.619c0,0,9.181-0.706,7.063,2.119c-2.118,2.825-6.356,1.412-6.356,1.412L260.279,515.619z"}),jt("path",{id:"path586",d:"M328.079,445.7c0,0,7.77,0,5.649,2.825c-2.119,2.824-7.769,2.117-7.769,2.117L328.079,445.7z"}),jt("path",{id:"path590",d:"M310.423,455.588c0,0,11.487-3.78,7.063,2.118c-2.118,2.825-6.356,1.413-6.356,1.413L310.423,455.588z"}),jt("path",{id:"path594",d:"M290.648,464.063c0,0,9.181-0.705,7.063,2.119c-2.118,2.825-6.356,1.412-6.356,1.412L290.648,464.063z"}),jt("path",{id:"path598",d:"M277.229,474.656c0,0,9.181-0.706,7.063,2.119c-2.118,2.824-6.356,1.411-6.356,1.411L277.229,474.656z"}),jt("path",{id:"path602",d:"M265.223,483.132c0,0,9.181-0.706,7.063,2.118c-2.119,2.825-6.356,1.413-6.356,1.413L265.223,483.132z"}),jt("path",{id:"path606",d:"M334.228,494.427c0,0,12.221-0.938,9.4,2.819c-2.82,3.761-8.461,1.881-8.461,1.881L334.228,494.427z"}),jt("path",{id:"path610",d:"M352.59,485.951c0,0,12.221-0.939,9.4,2.82c-2.819,3.761-8.461,1.88-8.461,1.88L352.59,485.951z"}),jt("path",{id:"path614",d:"M371.659,478.183c0,0,12.22-0.938,9.399,2.819c-2.819,3.761-8.461,1.881-8.461,1.881L371.659,478.183z"}),jt("path",{id:"path618",d:"M390.021,469.708c0,0,12.221-0.939,9.399,2.819c-2.819,3.761-8.461,1.88-8.461,1.88L390.021,469.708z"}),jt("path",{id:"path622",d:"M341.29,437.926c0,0,12.22-0.938,9.4,2.82c-2.82,3.761-9.874,3.293-9.874,3.293L341.29,437.926z"}),jt("path",{id:"path626",d:"M358.946,432.276c0,0,12.22-0.939,9.399,2.818c-2.818,3.762-10.58,3.293-10.58,3.293L358.946,432.276z"}),jt("path",{id:"path630",d:"M318.898,502.907c0,0,9.181-0.706,7.063,2.118c-2.119,2.824-6.355,1.413-6.355,1.413L318.898,502.907z"}),jt("path",{id:"path634",fill:"#992600",d:"M189.653,327.753c0,0-7.769,15.538-8.475,21.188c0,0,1.413-15.538,3.531-19.069 C186.828,326.341,189.653,327.753,189.653,327.753z"}),jt("path",{id:"path638",fill:"#992600",d:"M157.165,352.472c0,0-5.65,25.425-4.944,30.369c0,0-2.119-20.481-1.412-22.6 C151.515,358.123,157.165,352.472,157.165,352.472z"}),jt("path",{id:"path642",fill:"#CCCCCC",d:"M193.891,220.755l-0.353,5.65l-3.885,0.354c0,0,25.072,22.247,26.132,35.666 C215.785,262.425,217.197,247.946,193.891,220.755z"}),jt("path",{id:"path646",d:"M200.925,222.989c-0.761-0.734-0.374-2.05-1.095-2.509c-1.428-0.911,2.292-1.012,1.889-2.276 c-0.676-2.129-0.346-2.167-0.562-4.419c-0.101-1.056,0.938-3.775,1.618-4.552c2.553-2.917,0.215-8.094,3.111-10.833 c0.537-0.51,1.201-1.485,1.704-2.223c1.164-1.7,3.254-2.562,4.931-4.024c0.562-0.487,0.207-1.948,1.211-1.785 c1.261,0.203,3.452-0.026,3.373,1.458c-0.2,3.743-2.546,6.78-4.806,9.725c0.796,1.243-0.013,2.364-0.514,3.348 c-2.357,4.626-2.023,9.642-2.331,14.657c-0.009,0.15-0.551,0.288-0.537,0.381c0.623,4.123,1.654,8.005,3.207,11.941 c0.646,1.642,1.478,3.222,1.743,4.859c0.196,1.211,0.378,2.682-0.343,3.927c3.593,5.103,1.282,9.783,3.346,16.018 c0.365,1.104,3.353,4.483,2.535,4.199c-4.437-1.538-4.635-2.241-4.947-3.57c-0.258-1.1-0.84-3.531-1.259-4.594 c-0.113-0.29-0.415-3.616-0.553-3.832c-2.671-4.206-0.274-3.895-2.692-8.059c-2.521-1.201-4.227-3.15-6.21-5.202 c-0.35-0.36,1.668-1.638,1.349-2.014c-1.928-2.276-3.964-3.63-3.371-6.267C201.997,226.126,202.238,224.26,200.925,222.989z"}),jt("path",{id:"path650",d:"M194.597,226.052c0,0,0.707,12.006,4.944,14.832c4.238,2.825,2.119,1.413-3.531-0.706 c-5.65-2.119-3.531-3.531-3.531-3.531s-4.944,0.706-0.706,4.237c4.237,3.531,10.594,7.769,7.769,7.769s-16.244-7.063-16.244-12.006 c0-4.944-1.766-12.183-1.766-12.183s1.942-1.413,10.417-1.236C191.948,223.228,194.42,224.463,194.597,226.052z"}),jt("path",{id:"path654",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M193.184,258.894c0,0-15.043-4.928-47.672,1.059 c0,0,15.946-3.669,49.085,0.353C212.783,262.513,193.184,258.894,193.184,258.894z"}),jt("path",{id:"path658",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M196.889,258.768c0,0-14.56-6.211-47.586-3.067 c0,0,16.205-2.276,48.871,4.596C216.103,264.068,196.889,258.768,196.889,258.768z"}),jt("path",{id:"path662",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M200.045,258.932c0,0-14.058-7.276-47.226-6.596 c0,0,16.329-1.066,48.395,8.217C218.811,265.647,200.045,258.932,200.045,258.932z"}),jt("path",{id:"path666",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M202.288,259.326c0,0-12.049-7.604-41.842-9.543 c0,0,14.724,0.3,42.764,11.086C218.599,266.789,202.288,259.326,202.288,259.326z"}),jt("path",{id:"path670",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M405.838,277.894c0,0-1.642,1.137-1.264-0.948 c0.38-2.085,50.185-25.339,56.564-24.897C461.14,252.048,407.732,275.365,405.838,277.894z"}),jt("path",{id:"path674",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M399.846,279.021c0,0-1.547,1.263-1.333-0.846 c0.214-2.108,48.04-29.202,54.436-29.262C452.947,248.914,401.537,276.354,399.846,279.021z"}),jt("path",{id:"path678",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M394.044,281.449c0,0-1.462,1.363-1.388-0.755 c0.074-2.117,35.063-29.479,52.389-32.788C445.045,247.906,413.21,262.255,394.044,281.449z"}),jt("path",{id:"path682",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M388.966,284.739c0,0-1.314,1.226-1.248-0.68 c0.066-1.907,31.557-26.532,47.147-29.509C434.865,254.55,406.216,267.464,388.966,284.739z"}),jt("path",{id:"path686",fill:"#CCCCCC",d:"M333.023,545.988c0,0-26.838-4.237,2.824-7.063c0,0,31.781-3.531,38.845-12.712 c0,0,24.013-16.244,28.956-16.95c4.943-0.707,33.899-7.063,34.606-11.301c0.706-4.237,11.3-8.475,14.125-7.063 c2.825,1.413,2.825,17.655-2.119,19.068c-4.942,1.412-38.138,14.125-49.438,16.244c-11.301,2.118-31.782,15.537-40.257,17.656 C352.092,545.988,333.023,545.988,333.023,545.988z"}),jt("path",{id:"path690",d:"M461.915,479.953c0,0-5.297,2.825-7.416,7.416c0,0-11.3,18.716-36.372,24.366c0,0-40.609,15.891-54.382,19.422 c0,0-23.659,8.828-36.727,7.416c0,0-12.358,0.353-1.411,3.178c0,0,35.666-3.531,41.669-6.709c0,0,27.544-9.182,32.841-13.772 c5.297-4.59,37.432-13.419,41.315-16.949C445.317,500.789,462.621,485.957,461.915,479.953z"}),jt("path",{id:"path694",d:"M358.24,535.589c0,0,9.231-0.398,7.195,2.336c-2.034,2.737-6.356,1.193-6.356,1.193L358.24,535.589z"}),jt("path",{id:"path698",d:"M345.523,537.977c0,0,9.23-0.398,7.196,2.336c-2.036,2.736-6.357,1.195-6.357,1.195L345.523,537.977z"}),jt("path",{id:"path702",d:"M327.11,540.18c0,0,9.231-0.399,7.195,2.336c-2.034,2.735-6.356,1.193-6.356,1.193L327.11,540.18z"}),jt("path",{id:"path706",d:"M313.631,541.141c0,0,9.232-0.398,7.197,2.336c-2.036,2.736-6.358,1.193-6.358,1.193L313.631,541.141z"}),jt("path",{id:"path710",d:"M387.432,522.526c0,0,12.289-0.531,9.578,3.108c-2.708,3.642-8.463,1.59-8.463,1.59L387.432,522.526z"}),jt("path",{id:"path714",d:"M405.645,514.714c0,0,10.521-5.828,9.578,3.109c-0.477,4.513-8.463,1.589-8.463,1.589L405.645,514.714z"}),jt("path",{id:"path718",d:"M421.768,509.745c0,0,12.642-6.534,9.579,3.108c-1.374,4.326-8.465,1.59-8.465,1.59L421.768,509.745z"}),jt("path",{id:"path722",d:"M438.566,501.226c0,0,7.695-8.652,9.578,3.109c0.717,4.481-8.464,1.59-8.464,1.59L438.566,501.226z"}),jt("path",{id:"path726",d:"M372.28,530.444c0,0,9.23-0.401,7.196,2.336c-2.035,2.733-6.359,1.192-6.359,1.192L372.28,530.444z"}),jt("path",{id:"path730",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M435.138,316.105c0,0-1.282,1.174-1.284-0.717 c0-1.889,30.871-25.309,46.484-27.752C480.338,287.636,451.913,299.517,435.138,316.105z"}),jt("path",{id:"path734",d:"M440.374,428.748c0,0,38.847,39.553,55.09,45.908c0,0,16.244,19.774,9.183,65.683 c0,0-5.65,13.419-11.301-23.307c0,0,5.649-44.494-14.125-16.244c0,0-14.834-17.479-3.533-16.95c0,0,5.651,3.531,6.357,0.706 c0.707-2.825-13.42-26.838-43.789-52.265C407.887,406.854,440.374,428.748,440.374,428.748z"}),jt("path",{id:"path738",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M337.261,497.257c0,0-0.354-3.178,2.825-1.766 c3.178,1.412,169.503,12.358,225.298,54.734C565.384,550.227,485.576,509.264,337.261,497.257z"}),jt("path",{id:"path742",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M355.623,489.488c0,0-0.354-3.18,2.825-1.767 c3.179,1.412,244.367-0.354,286.036,56.854C644.484,544.576,605.641,500.082,355.623,489.488z"}),jt("path",{id:"path746",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M376.104,482.426c0,0-0.353-3.179,2.825-1.766 c3.18,1.412,309.343-21.541,351.013,35.666C729.941,516.326,712.991,471.125,376.104,482.426z"}),jt("path",{id:"path750",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M393.762,473.95c0,0-0.354-3.178,2.824-1.767 c3.179,1.413,218.941-66.742,260.611-9.533C657.197,462.65,633.537,419.214,393.762,473.95z"}),jt("path",{id:"path754",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M291.354,514.207c0,0-0.353-3.178,2.825-1.766 c3.178,1.412,34.606,5.297,38.138,73.804C332.317,586.245,319.604,512.088,291.354,514.207z"}),jt("path",{id:"path758",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M275.816,517.032c0,0-0.353-3.18,2.825-1.767 c3.178,1.412,28.25-6.71,23.306,61.797C301.948,577.063,304.066,514.913,275.816,517.032z"}),jt("path",{id:"path762",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M261.691,517.738c0,0-0.354-3.179,2.825-1.767 c3.179,1.412,30.369,2.473,8.475,42.022C272.991,557.995,289.941,515.619,261.691,517.738z"}),jt("path",{id:"path766",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M345.252,439.457c0,0-0.784,3.529,1.951,1.381 c28.37-22.292,85.65-126.292,183.971-136.239C531.174,304.599,463.536,283.217,345.252,439.457z"}),jt("path",{id:"path770",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M365.027,436.278c0,0-2.406-2.106,0.892-3.21 c3.298-1.104,201.831-129.115,271.194-115.05C637.113,318.018,589.252,304.758,365.027,436.278z"}),jt("path",{id:"path774",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M328.229,447.053c0,0-0.897,2.823,2.122,1.101 c15.848-9.04,22.229-110.054,99.171-112.271C429.521,335.882,372.297,309.903,328.229,447.053z"}),jt("path",{id:"path778",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M293.053,466.521c0,0-1.902,2.271,1.546,1.821 c18.091-2.352,55.884-75.222,134.348-66.254C428.947,402.089,372.507,376.759,293.053,466.521z"}),jt("path",{id:"path782",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M312.895,455.704c0,0-1.432,2.594,1.868,1.49 c17.303-5.78,40.403-84.549,119.13-90.813C433.893,366.382,373.639,352.357,312.895,455.704z"}),jt("path",{id:"path786",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M280.623,475.559c0,0-1.542,1.841,1.252,1.478 c14.653-1.905,45.265-60.929,108.822-53.665C390.696,423.37,344.979,402.854,280.623,475.559z"}),jt("path",{id:"path790",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M267.206,485.992c0,0-1.775,1.845,1.035,1.637 c7.359-0.546,61.455-58.951,94.063-31.58C362.303,456.049,341.089,422.99,267.206,485.992z"}),jt("path",{id:"path794",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M389.974,429.627c0,0-2.12-2.392,1.291-3.071 c3.411-0.679,216.529-102.579,283.56-79.862C674.823,346.693,629.021,327.494,389.974,429.627z"}),jt("path",{id:"path798",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M330.904,543.164c0,0-0.354-3.179,2.824-1.768 c3.179,1.413,30.369,2.474,8.476,42.022C342.204,583.42,359.154,541.045,330.904,543.164z"}),jt("path",{id:"path802",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M349.268,540.339c0,0-0.354-3.179,2.824-1.766 c3.18,1.412,34.607,5.297,38.14,73.804C390.23,612.377,377.518,538.22,349.268,540.339z"}),jt("path",{id:"path806",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M361.273,537.514c0,0-0.354-3.179,2.824-1.766 c3.179,1.412,46.613,7.416,88.282,64.622C452.381,600.37,389.523,535.395,361.273,537.514z"}),jt("path",{id:"path810",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M374.736,533.931c0,0-0.771-3.104,2.564-2.125 c3.337,0.979,39.416-2.375,106.684,57.969C483.984,589.773,402.455,528.076,374.736,533.931z"}),jt("path",{id:"path814",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M393.1,526.162c0,0-0.771-3.104,2.565-2.126 c3.337,0.979,64.841,8.926,156.119,70.681C551.784,594.717,420.818,520.308,393.1,526.162z"}),jt("path",{id:"path818",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M321.723,505.732c0,0-0.353-3.18,2.825-1.767 c3.179,1.412,97.464,6.003,151.14,53.322C475.688,557.289,414.064,513.545,321.723,505.732z"}),jt("path",{id:"path822",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M304.066,512.795c0,0-0.353-3.179,2.825-1.766 c3.179,1.412,46.613,7.415,88.282,64.622C395.174,575.651,332.317,510.676,304.066,512.795z"}),jt("path",{id:"path826",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M412.306,518.021c0,0-0.997-3.037,2.403-2.308 s65.321,4.147,160.88,59.049C575.589,574.764,438.462,514.036,412.306,518.021z"}),jt("path",{id:"path830",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M427.138,513.785c0,0-0.998-3.039,2.402-2.309 c3.401,0.729,65.322,4.147,160.88,59.049C590.42,570.525,454.354,509.092,427.138,513.785z"}),jt("path",{id:"path834",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M444.088,504.957c0,0-0.998-3.039,2.402-2.308 c3.399,0.729,79.447,8.385,237.863,68.936C684.354,571.585,471.303,500.264,444.088,504.957z"}),jt("path",{id:"path838",d:"M247.566,517.032c0,0,9.182-0.706,7.063,2.118s-6.356,1.412-6.356,1.412L247.566,517.032z"}),jt("path",{id:"path842",d:"M301.948,541.751c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.356,1.412-6.356,1.412L301.948,541.751z"}),jt("path",{id:"path846",d:"M286.41,541.045c0,0,9.182-0.706,7.063,2.119c-2.119,2.824-6.356,1.412-6.356,1.412L286.41,541.045z"}),jt("path",{id:"path850",d:"M118.022,520.177c0,0,8.908,2.336,5.98,4.313c-2.926,1.978-6.469-0.745-6.469-0.745L118.022,520.177z"}),jt("path",{id:"path854",d:"M121.554,503.227c0,0,8.908,2.336,5.98,4.313c-2.926,1.978-6.469-0.745-6.469-0.745L121.554,503.227z"}),jt("path",{id:"path858",d:"M108.841,495.458c0,0,8.908,2.336,5.98,4.312c-2.925,1.979-6.469-0.744-6.469-0.744L108.841,495.458z"}),jt("path",{id:"path862",fill:"#CCCCCC",d:"M249.685,627.914c0,0-2.825,0-9.888,3.531c-3.531,0-23.307,6.355-33.194,24.013 C206.603,655.458,228.497,638.508,249.685,627.914z"}),jt("path",{id:"path866",fill:"#CCCCCC",d:"M404.56,791.494c0.249,0.456,0.348,1.197,0.862,1.228c1.161,0.07,3.339,0.603,3.118-0.521 c-1.497-7.604-3.041-16.319-10.338-19.51c-1.129-0.493-3.675,0.235-3.806,1.797c-0.225,2.69-0.432,5.072,0.114,7.661 c0.529,2.509,4.34,2.525,5.959,0.083C402.123,785.184,402.886,788.438,404.56,791.494z"}),jt("path",{id:"path870",fill:"#CCCCCC",d:"M385,799.854c1.321,2.494,1.097,5.776,3.595,6.771c1.308,0.519,4.573-1.202,3.835-3.099 c-1.416-3.64-2.101-7.594-4.554-10.79c-0.353-0.463,0.071-1.403-0.212-1.982c-1.048-2.154-3.07-3.452-5.556-2.871 c-1.97,3.891,0.058,7.648,2.744,10.666C385.094,798.816,384.801,799.48,385,799.854z"}),jt("path",{id:"path874",fill:"#CCCCCC",d:"M315.077,790.689c-0.19-0.666-0.258-1.483,0.033-2.052c0.938-1.822,2.338-3.805,1.742-5.608 c-0.613-1.864-2.585-1.543-3.731-0.538c-2.004,1.755-2.091,4.979-3.312,7.379c-0.347,0.682-0.256,1.692-1.034,2.383 c-0.838,0.744-1.613,3.435-1.444,4.442c0.094,0.553-0.229,18.047,0.163,17.583c1.093-1.295,6.478-18.481,6.6-20.058 C314.194,792.932,315.487,792.11,315.077,790.689z"}),jt("path",{id:"path878",fill:"#CCCCCC",d:"M269.81,778.697c4.651-4.413,9.577-9.642,8.796-16.195c-0.205-1.723-3.339-0.792-3.669,0.701 c-1.416,6.4-5.016,11.099-9.55,15.322c-3.877,3.613-7.165,14.814-7.58,15.713C264.334,784.958,268.319,780.109,269.81,778.697z"}),jt("path",{id:"path882",fill:"#CCCCCC",d:"M245.843,768.167c0.923-0.653,0.39-1.521,0.773-2.106c1.683-2.574,3.979-4.773,4.012-7.844 c0.005-0.489-0.662-1.034-1.254-0.639c-0.489,0.324-1.093,0.555-1.284,0.784c-3.584,4.322-6.056,9.04-8.604,14.005 c-0.323,0.63-2.343,8.56-1.79,8.756c0.422,0.148,3.459-7.232,3.83-7.434C243.756,772.479,243.777,769.627,245.843,768.167z"}),jt("path",{id:"path886",fill:"#CCCCCC",d:"M275.387,802.674c0.784-1.534,3.567-3.656,3.367-5.226c-0.208-1.64,0.618-4.188-0.992-2.973 c-2.22,1.675-8.309,4.057-8.786,14.312C268.93,809.795,274.182,805.04,275.387,802.674z"}),jt("path",{id:"path890",fill:"#CCCCCC",d:"M300.889,772.344c0.706-1.179,1.956-0.344,2.767-0.809c1.144-0.656,2.223-1.643,2.738-2.788 c1.713-3.794,4.836-7.008,5.089-11.234c-2.634-2.479-3.831,1.121-4.944,2.825c-2.336-2.908-4.1,0.4-6.395,1.316 c-0.124,0.05-0.5-0.563-0.632-0.516c-2.078,0.776-3.279,2.687-5.041,4.064c-0.302,0.236-1.017-0.082-1.276,0.158 c-1.151,1.064-2.869,1.639-3.364,2.843c-1.959,4.78-7.504,8.479-10.835,21.795c0.672,1.604,7.966-11.728,8.826-12.959 c1.476-2.112,1.685,2.933,3.938,1.757c0.09-0.048,0.418,0.372,0.655,0.608c0.342-0.494,0.727-0.898,1.413-0.706 c0-0.706-0.237-1.688,0.118-1.969c2.184-1.726,2.036-3.61,3.413-5.801C298.166,772.324,300.039,771.055,300.889,772.344z"}),jt("path",{id:"path894",fill:"#CCCCCC",d:"M406.474,868.395c0,0,13.066-36.019,5.298-55.794c0,0,20.129,38.139,12.007,57.913 c0,0-0.706-18.361-7.77-27.189C416.009,843.323,408.946,865.923,406.474,868.395z"}),jt("path",{id:"path898",fill:"#CCCCCC",d:"M380.343,863.805c0,0,9.534-15.538-4.591-48.024c0,0-1.413,36.019-13.419,55.439 C362.333,871.22,387.405,835.554,380.343,863.805z"}),jt("path",{id:"path902",fill:"#CCCCCC",d:"M362.686,860.273c0,0-0.353-35.313,0.354-40.61c0,0-6.709,29.31-24.719,46.26 C338.32,865.923,363.745,844.735,362.686,860.273z"}),jt("path",{id:"path906",fill:"#CCCCCC",d:"M345.736,803.771c0,0,10.594,24.014-7.063,56.502c0,0,11.301-21.541,2.825-33.9 C341.498,826.373,346.089,820.369,345.736,803.771z"}),jt("path",{id:"path910",fill:"#CCCCCC",d:"M311.836,859.566c0,0-1.766-27.545,1.412-31.429c0,0,0.354-11.301-0.354-13.065 c0,0,7.063-10.946,7.416,2.119c0,0,2.473,13.771,7.416,21.894c0,0,6.356,9.535,6.003,20.835 C333.729,859.92,316.073,806.598,311.836,859.566z"}),jt("path",{id:"path914",fill:"#CCCCCC",d:"M305.479,810.835c0,0-11.653,19.069-14.831,52.616c0,0-2.472-10.947,4.237-36.372 C294.885,827.079,302.301,799.888,305.479,810.835z"}),jt("path",{id:"path918",fill:"#CCCCCC",d:"M266.988,845.795c0,0,8.828-9.535,11.3-18.363c0,0,6.356-27.896-4.943-12.712 c0,0,0.353,14.125-14.125,27.19C259.219,841.91,267.694,837.673,266.988,845.795z"}),jt("path",{id:"path922",fill:"#CCCCCC",d:"M256.748,836.967c0,0,6.003-30.723,7.416-32.135c0,0,3.178-6.003-1.766-0.354 c0,0-15.538,33.9-22.6,45.555C239.797,850.032,253.922,833.788,256.748,836.967z"}),jt("path",{id:"path926",fill:"#CCCCCC",d:"M246.507,807.657c0,0,20.481-39.552-18.01,6.003 C228.497,813.66,247.919,796.356,246.507,807.657z"}),jt("path",{id:"path930",fill:"#CCCCCC",d:"M219.316,781.879c0,0,8.475-33.193,13.065-32.842c0,0,14.479-15.891,2.825,2.825 c0,0-10.594,16.95-9.535,34.254C225.672,786.116,224.613,769.166,219.316,781.879z"}),jt("path",{id:"path934",fill:"#CCCCCC",d:"M802.508,761.748c0,0-21.188-17.656-25.602-23.836c0,0,23.836,32.664,23.836,45.023 C800.742,782.938,805.156,769.693,802.508,761.748z"}),jt("path",{id:"path938",fill:"#CCCCCC",d:"M812.219,722.904c0,0-37.078-26.484-43.259-39.728c0,0,46.79,52.086,46.79,60.031 C815.75,743.209,816.633,727.318,812.219,722.904z"}),jt("path",{id:"path942",fill:"#CCCCCC",d:"M842.234,450.995c0,0-21.188-14.125-23.836-10.594c0,0,18.539,11.477,22.952,26.483 C841.352,466.886,838.703,450.995,842.234,450.995z"}),jt("path",{id:"path946",fill:"#CCCCCC",d:"M857.242,593.13l-30.898-21.188c0,0,33.547,30.017,34.431,37.079L857.242,593.13z"}),jt("path",{id:"path950",stroke:"#000000",d:"M167.317,553.402l38.844,8.387"}),jt("path",{id:"path954",stroke:"#000000",d:"M256.041,839.438c0,0-0.883-6.181-16.773,12.358"}),jt("path",{id:"path958",stroke:"#000000",d:"M265.752,848.265c0,0,3.531-11.477-7.946-3.53"}),jt("path",{id:"path962",stroke:"#000000",d:"M361.097,863.271c0,0,2.648-19.422-17.655,3.531"})),It=document.getElementById("app"),void 0===Nt&&(Nt=null),void 0===Tt&&(Tt=o),function(c,t,i,l){var n=[],d=new p,r=t.$V;e(r)?e(c)||(16384&c.flags&&(c=H(c)),et(c,t,l,!1,null,n,d),t.$V=c,r=c):e(c)?(Tc(r,t,d),t.$V=null):(16384&c.flags&&(c=H(c)),ut(r,c,t,l,!1,null,n,d),r=t.$V=c),M(n),k(d.componentDidAppear),a(i)&&i(),a(D.renderComplete)&&D.renderComplete(r,t)}(Vt,It,Nt,Tt)}(); +!function(){"use strict";var c=Array.isArray;function t(c){var t=typeof c;return"string"===t||"number"===t}function e(c){return void 0===c||null===c}function i(c){return null===c||!1===c||!0===c||void 0===c}function a(c){return"function"===typeof c}function l(c){return"string"===typeof c}function n(c){return null===c}function d(c,t){var e={};if(c)for(var i in c)e[i]=c[i];if(t)for(var a in t)e[a]=t[a];return e}function r(c){return!n(c)&&"object"===typeof c}var o={},p="$F",h=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function s(c){return c.substring(2).toLowerCase()}function f(c,t){c.appendChild(t)}function C(c,t,e){n(e)?f(c,t):c.insertBefore(t,e)}function F(c,t){if(t)return document.createElementNS("http://www.w3.org/2000/svg",c);return document.createElement(c)}function u(c,t,e){c.replaceChild(t,e)}function M(c,t){c.removeChild(t)}function v(c){for(var t=0;t0?m(e.componentWillDisappear,y(c,t)):w(c,t,!1)}function b(c,t,e,i,a,l,n,d){c.componentWillMove.push({dom:i,fn:function(){4&n?e.componentWillMove(t,a,i):8&n&&e.onComponentWillMove(t,a,i,d)},next:l,parent:a})}function $(c,t,i,l,n){var d,r,o=t.flags;do{var p=t.flags;if(1521&p)return void(e(d)||!a(d.componentWillMove)&&!a(d.onComponentWillMove)?C(i,t.dom,l):b(n,c,d,t.dom,i,l,o,r));var h=t.children;if(4&p)d=t.children,r=t.props,t=h.$LI;else if(8&p)d=t.ref,r=t.props,t=h;else if(8192&p){if(2!==t.childFlags){for(var s=0,f=h.length;s0,C=n(s),F=l(s)&&s[0]===P;f||C||F?(d=d||a.slice(0,p),(f||F)&&(h=R(h)),(C||F)&&(h.key=P+p),d.push(h)):d&&d.push(h),h.flags|=65536}}r=0===(d=d||a).length?1:8}else(d=a).flags|=65536,81920&a.flags&&(d=R(a)),r=2;return e.children=d,e.childFlags=r,e}function G(e){if(i(e)||t(e))return O(e,null);if(c(e))return j(e,0,null);return 16384&e.flags?R(e):e}var J="http://www.w3.org/1999/xlink",Q="http://www.w3.org/XML/1998/namespace",Y={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":Q,"xml:lang":Q,"xml:space":Q};function Z(c){return{onClick:c,onDblClick:c,onFocusIn:c,onFocusOut:c,onKeyDown:c,onKeyPress:c,onKeyUp:c,onMouseDown:c,onMouseMove:c,onMouseUp:c,onTouchEnd:c,onTouchMove:c,onTouchStart:c}}var cc=Z(0),tc=Z(null),ec=Z(!0);function ic(c,t){var e=t.$EV;return e||(e=t.$EV=Z(null)),e[c]||1===++cc[c]&&(tc[c]=Cc(c)),e}function ac(c,t){var e=t.$EV;e&&e[c]&&(0===--cc[c]&&(document.removeEventListener(s(c),tc[c]),tc[c]=null),e[c]=null)}function lc(c,t,e,i){if(a(e))ic(c,i)[c]=e;else if(r(e)){if(W(t,e))return;ic(c,i)[c]=e}else ac(c,i)}function nc(c){return a(c.composedPath)?c.composedPath()[0]:c.target}function dc(c,t,e,i){var a=nc(c);do{if(t&&a.disabled)return;var l=a.$EV;if(l){var d=l[e];if(d&&(i.dom=a,d.event?d.event(d.data,c):d(c),c.cancelBubble))return}a=a.parentNode}while(!n(a))}function rc(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function oc(){return this.defaultPrevented}function pc(){return this.cancelBubble}function hc(c){var t={dom:document};return c.isDefaultPrevented=oc,c.isPropagationStopped=pc,c.stopPropagation=rc,Object.defineProperty(c,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function sc(c){return function(t){if(0!==t.button)return void t.stopPropagation();dc(t,!0,c,hc(t))}}function fc(c){return function(t){dc(t,!1,c,hc(t))}}function Cc(c){var t="onClick"===c||"onDblClick"===c?sc(c):fc(c);return document.addEventListener(s(c),t),t}function Fc(c,t){var e=document.createElement("i");return e.innerHTML=t,e.innerHTML===c.innerHTML}function uc(c,t,e){if(c[t]){var i=c[t];i.event?i.event(i.data,e):i(e)}else{var a=t.toLowerCase();c[a]&&c[a](e)}}function Mc(c,t){var e=function(e){var i=this.$V;if(!i)return;var n=i.props||o,d=i.dom;if(l(c))uc(n,c,e);else for(var r=0;r-1&&t.options[n]&&(d=t.options[n].value),i&&e(d)&&(d=c.defaultValue),Lc(a,d)}}var xc,Wc,Ec=Mc("onInput",Bc),Sc=Mc("onChange");function Pc(c,t){vc(c,"input",Ec),t.onChange&&vc(c,"change",Sc)}function Bc(c,t,i){var a=c.value,l=t.value;if(e(a)){if(i){var n=c.defaultValue;e(n)||n===l||(t.defaultValue=n,t.value=n)}}else l!==a&&(t.defaultValue=a,t.value=a)}function Uc(c,t,e,i,a,l){64&c?yc(i,e):256&c?Ac(i,e,a,t):128&c&&Bc(i,e,a),l&&(e.$V=t)}function Vc(c,t,e){64&c?wc(t,e):256&c?Dc(t):128&c&&Pc(t,e)}function Ic(c){return c.type&&zc(c.type)?!e(c.checked):!e(c.value)}function Nc(c){c&&!S(c,null)&&c.current&&(c.current=null)}function Tc(c,t,e){c&&(a(c)||void 0!==c.current)&&e.push((function(){S(c,t)||void 0===c.current||(c.current=t)}))}function Oc(c,t,e){jc(c,e),L(c,t,e)}function jc(c,t){var i,l=c.flags,d=c.children;if(481&l){i=c.ref;var r=c.props;Nc(i);var p=c.childFlags;if(!n(r))for(var s=Object.keys(r),f=0,C=s.length;f0?m(e.componentWillDisappear,Rc(t,c)):c.textContent=""}function _c(c,t,e,i){Hc(e,i),8192&t.flags?L(t,c,i):Xc(c,e,i)}function Kc(c,t,e,i,a){c.componentWillDisappear.push((function(c){4&i?t.componentWillDisappear(e,c):8&i&&t.onComponentWillDisappear(e,a,c)}))}function qc(c){var t=c.event;return function(e){t(c.data,e)}}function Gc(c,t,e,i){if(r(e)){if(W(t,e))return;e=qc(e)}vc(i,s(c),e)}function Jc(c,t,i){if(e(t))return void i.removeAttribute("style");var a,n,d=i.style;if(l(t))return void(d.cssText=t);if(e(c)||l(c))for(a in t)n=t[a],d.setProperty(a,n);else{for(a in t)(n=t[a])!==c[a]&&d.setProperty(a,n);for(a in c)e(t[a])&&d.removeProperty(a)}}function Qc(c,t,i,a,l){var d=c&&c.__html||"",r=t&&t.__html||"";d!==r&&(e(r)||Fc(a,r)||(n(i)||(12&i.childFlags?Hc(i.children,l):2===i.childFlags&&jc(i.children,l),i.children=null,i.childFlags=1),a.innerHTML=r))}function Yc(c,t,i,a,l,n,d,r){switch(c){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":a.autofocus=!!i;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":a[c]=!!i;break;case"defaultChecked":case"value":case"volume":if(n&&"value"===c)break;var o=e(i)?"":i;a[c]!==o&&(a[c]=o);break;case"style":Jc(t,i,a);break;case"dangerouslySetInnerHTML":Qc(t,i,d,a,r);break;default:ec[c]?lc(c,t,i,a):111===c.charCodeAt(0)&&110===c.charCodeAt(1)?Gc(c,t,i,a):e(i)?a.removeAttribute(c):l&&Y[c]?a.setAttributeNS(Y[c],c,i):a.setAttribute(c,i)}}function Zc(c,t,e,i,a,l){var n=!1,d=(448&t)>0;for(var r in d&&(n=Ic(e))&&Vc(t,i,e),e)Yc(r,null,e[r],i,a,n,null,l);d&&Uc(t,c,i,e,!0,n)}function ct(c,t,e){var i=G(c.render(t,c.state,e)),l=e;return a(c.getChildContext)&&(l=d(e,c.getChildContext())),c.$CX=l,i}function tt(c,t,e,i,l,d){var r=new t(e,i),p=r.$N=Boolean(t.getDerivedStateFromProps||r.getSnapshotBeforeUpdate);if(r.$SVG=l,r.$L=d,c.children=r,r.$BS=!1,r.context=i,r.props===o&&(r.props=e),p)r.state=D(r,e,r.state);else if(a(r.componentWillMount)){r.$BR=!0,r.componentWillMount();var h=r.$PS;if(!n(h)){var s=r.state;if(n(s))r.state=h;else for(var f in h)s[f]=h[f];r.$PS=null}r.$BR=!1}return r.$LI=ct(r,e,i),r}function et(c,t){var e=c.props||o;return 32768&c.flags?c.type.render(e,c.ref,t):c.type(e,t)}function it(c,t,e,i,a,l,n){var d=c.flags|=16384;481&d?dt(c,t,e,i,a,l,n):4&d?ot(c,t,e,i,a,l,n):8&d?pt(c,t,e,i,a,l,n):16&d?nt(c,t,a):8192&d?lt(c,e,t,i,a,l,n):1024&d&&at(c,e,t,a,l,n)}function at(c,t,e,i,a,l){it(c.children,c.ref,t,!1,null,a,l);var n=X();nt(n,e,i),c.dom=n.dom}function lt(c,t,e,i,a,l,n){var d=c.children,r=c.childFlags;12&r&&0===d.length&&(r=c.childFlags=2,d=c.children=X()),2===r?it(d,e,t,i,a,l,n):rt(d,e,t,i,a,l,n)}function nt(c,t,e){var i=c.dom=document.createTextNode(c.children);n(t)||C(t,i,e)}function dt(c,t,i,a,l,d,r){var o=c.flags,p=c.props,h=c.className,s=c.childFlags,f=c.dom=F(c.type,a=a||(32&o)>0),u=c.children;if(e(h)||""===h||(a?f.setAttribute("class",h):f.className=h),16===s)x(f,u);else if(1!==s){var M=a&&"foreignObject"!==c.type;2===s?(16384&u.flags&&(c.children=u=R(u)),it(u,f,i,M,null,d,r)):8!==s&&4!==s||rt(u,f,i,M,null,d,r)}n(t)||C(t,f,l),n(p)||Zc(c,o,p,f,a,r),Tc(c.ref,f,d)}function rt(c,t,e,i,a,l,n){for(var d=0;df)&&(h=k(d[f-1],!1).nextSibling)}yt(o,p,d,r,e,i,a,h,c,l,n)}function mt(c,t,e,a,l){var n=c.ref,d=t.ref,r=t.children;if(yt(c.childFlags,t.childFlags,c.children,r,n,e,!1,null,c,a,l),t.dom=c.dom,n!==d&&!i(r)){var o=r.dom;M(n,o),f(d,o)}}function gt(c,t,i,a,l,n,d){var r,p=t.dom=c.dom,h=c.props,s=t.props,f=!1,C=!1;if(a=a||(32&l)>0,h!==s){var F=h||o;if((r=s||o)!==o)for(var u in(f=(448&l)>0)&&(C=Ic(r)),r){var M=F[u],v=r[u];M!==v&&Yc(u,M,v,p,a,C,c,d)}if(F!==o)for(var z in F)e(r[z])&&!e(F[z])&&Yc(z,F[z],null,p,a,C,c,d)}var k=t.children,m=t.className;c.className!==m&&(e(m)?p.removeAttribute("class"):a?p.setAttribute("class",m):p.className=m),4096&l?zt(p,k):yt(c.childFlags,t.childFlags,c.children,k,p,i,a&&"foreignObject"!==t.type,null,c,n,d),f&&Uc(l,t,p,r,!1,C);var g=t.ref,w=c.ref;w!==g&&(Nc(w),Tc(g,p,n))}function wt(c,t,e,i,a,l,n){jc(c,n),rt(t,e,i,a,k(c,!0),l,n),L(c,e,n)}function yt(c,t,e,i,a,l,n,d,r,o,p){switch(c){case 2:switch(t){case 2:Mt(e,i,a,l,n,d,o,p);break;case 1:Oc(e,a,p);break;case 16:jc(e,p),x(a,i);break;default:wt(e,i,a,l,n,o,p)}break;case 1:switch(t){case 2:it(i,a,l,n,d,o,p);break;case 1:break;case 16:x(a,i);break;default:rt(i,a,l,n,d,o,p)}break;case 16:switch(t){case 16:vt(e,i,a);break;case 2:Xc(a,e,p),it(i,a,l,n,d,o,p);break;case 1:Xc(a,e,p);break;default:Xc(a,e,p),rt(i,a,l,n,d,o,p)}break;default:switch(t){case 16:Hc(e,p),x(a,i);break;case 2:_c(a,r,e,p),it(i,a,l,n,d,o,p);break;case 1:_c(a,r,e,p);break;default:var h=0|e.length,s=0|i.length;0===h?s>0&&rt(i,a,l,n,d,o,p):0===s?_c(a,r,e,p):8===t&&8===c?Wt(e,i,a,l,n,h,s,d,r,o,p):xt(e,i,a,l,n,h,s,d,o,p)}}}function Lt(c,t,e,i,a){a.push((function(){c.componentDidUpdate(t,e,i)}))}function bt(c,t,e,i,l,n,r,o,p,h){var s=c.state,f=c.props,C=Boolean(c.$N),F=a(c.shouldComponentUpdate);if(C&&(t=D(c,e,t!==s?d(s,t):t)),r||!F||F&&c.shouldComponentUpdate(e,t,l)){!C&&a(c.componentWillUpdate)&&c.componentWillUpdate(e,t,l),c.props=e,c.state=t,c.context=l;var u=null,M=ct(c,e,l);C&&a(c.getSnapshotBeforeUpdate)&&(u=c.getSnapshotBeforeUpdate(f,s)),Mt(c.$LI,M,i,c.$CX,n,o,p,h),c.$LI=M,a(c.componentDidUpdate)&&Lt(c,f,s,u,p)}else c.props=e,c.state=t,c.context=l}function $t(c,t,e,i,l,r,p,h){var s=t.children=c.children;if(n(s))return;s.$L=p;var f=t.props||o,C=t.ref,F=c.ref,u=s.state;if(!s.$N){if(a(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(f,i),s.$UN)return;s.$BR=!1}n(s.$PS)||(u=d(u,s.$PS),s.$PS=null)}bt(s,u,f,e,i,l,!1,r,p,h),F!==C&&(Nc(F),Tc(C,s,p))}function Dt(c,t,i,l,n,d,r,p){var h=!0,s=t.props||o,f=t.ref,C=c.props,F=!e(f),u=c.children;if(F&&a(f.onComponentShouldUpdate)&&(h=f.onComponentShouldUpdate(C,s)),!1!==h){F&&a(f.onComponentWillUpdate)&&f.onComponentWillUpdate(C,s);var M=G(et(t,l));Mt(u,M,i,l,n,d,r,p),t.children=M,F&&a(f.onComponentDidUpdate)&&f.onComponentDidUpdate(C,s)}else t.children=u}function At(c,t){var e=t.children,i=t.dom=c.dom;e!==c.children&&(i.nodeValue=e)}function xt(c,t,e,i,a,l,n,d,r,o){for(var p,h,s=l>n?n:l,f=0;fn)for(f=s;ff||F>C)break c;u=c[F],M=t[F]}for(u=c[f],M=t[C];u.key===M.key;){if(16384&M.flags&&(t[C]=M=R(M)),Mt(u,M,e,i,a,d,o,p),c[f]=M,C--,F>--f||F>C)break c;u=c[f],M=t[C]}}if(F>f){if(F<=C)for(s=(h=C+1)C)for(;F<=f;)Oc(c[F++],e,p);else Et(c,t,i,l,n,f,C,F,e,a,d,r,o,p)}function Et(c,t,e,i,a,l,n,d,r,o,p,h,s,f){var C,F,u=0,M=0,v=d,z=d,m=l-d+1,w=n-d+1,y=new Int32Array(w+1),L=m===i,b=!1,D=0,A=0;if(a<4||(m|w)<32)for(M=v;M<=l;++M)if(C=c[M],Ad?b=!0:D=d,16384&F.flags&&(t[d]=F=R(F)),Mt(C,F,r,e,o,p,s,f),++A;break}!L&&d>n&&Oc(C,r,f)}else L||Oc(C,r,f);else{var x={};for(M=z;M<=n;++M)x[t[M].key]=M;for(M=v;M<=l;++M)if(C=c[M],Av;)Oc(c[v++],r,f);y[d-z]=M+1,D>d?b=!0:D=d,16384&(F=t[d]).flags&&(t[d]=F=R(F)),Mt(C,F,r,e,o,p,s,f),++A}else L||Oc(C,r,f);else L||Oc(C,r,f)}if(L)_c(r,h,c,f),rt(t,r,e,o,p,s,f);else if(b){var W=Pt(y);for(d=W.length-1,M=w-1;M>=0;M--)0===y[M]?(16384&(F=t[D=M+z]).flags&&(t[D]=F=R(F)),it(F,r,e,o,(u=D+1)0&&g(f.componentWillMove)}else if(A!==w)for(M=w-1;M>=0;M--)0===y[M]&&(16384&(F=t[D=M+z]).flags&&(t[D]=F=R(F)),it(F,r,e,o,(u=D+1)St&&(St=r,xc=new Int32Array(r),Wc=new Int32Array(r));e>1]]0&&(Wc[e]=xc[l-1]),xc[l]=e)}l=a+1;var o=new Int32Array(l);for(n=xc[l-1];l-- >0;)o[l]=n,n=Wc[n],xc[l]=0;return o}function Bt(c){return void 0===c||null===c}function Ut(c){return void 0===c}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve());var Vt,It,Nt,Tt,Ot={onComponentDidAppear:1,onComponentDidMount:1,onComponentDidUpdate:1,onComponentShouldUpdate:1,onComponentWillDisappear:1,onComponentWillMount:1,onComponentWillUnmount:1,onComponentWillUpdate:1};function jt(c,t,e){var i,a,l=null,n=null,d=null,r=0,o=arguments.length-2;if(1===o)i=e;else if(o>1)for(i=[];o-- >0;)i[o]=arguments[o+2];if("string"!==typeof c){if(r=2,Ut(i)||(t||(t={}),t.children=i),!Bt(t))for(var p in a={},t)"key"===p?n=t.key:"ref"===p?l=t.ref:1===Ot[p]?(l||(l={}),l[p]=t[p]):a[p]=t[p];return T(r,c,a,n,l)}if(r=K(c),!Bt(t))for(var h in a={},t)"className"===h||"class"===h?d=t[h]:"key"===h?n=t.key:"children"===h&&Ut(i)?i=t.children:"ref"===h?l=t.ref:("contenteditable"===h&&(r|=4096),a[h]=t[h]);if(8192&r)return j(1===o?[i]:i,0,n);return U(r,c,d,i,0,a,n,l)}Vt=jt("svg",{version:"1.1",baseProfile:"basic",id:"svg2",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"900px",height:"900px",viewBox:"0 0 900 900"},jt("path",{id:"path482",fill:"none",d:"M184.013,144.428"}),jt("path",{id:"path6",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M108.956,403.826c0,0,0.178,3.344-1.276,3.311 c-1.455-0.033-30.507-84.917-66.752-80.957C40.928,326.18,72.326,313.197,108.956,403.826z"}),jt("path",{id:"path10",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M115.189,398.488c0,0-0.97,3.207-2.327,2.679 c-1.356-0.526,0.203-90.231-35.227-98.837C77.635,302.33,111.576,300.804,115.189,398.488z"}),jt("path",{id:"path14",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M163.727,473.225c0,0,2.888,1.695,2.059,2.892 c-0.832,1.194-87.655-21.408-104.35,11.003C61.436,487.118,67.931,453.771,163.727,473.225z"}),jt("path",{id:"path18",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M158.767,491.254c0,0,3.277,0.699,2.864,2.096 c-0.411,1.396-89.935,7.298-95.567,43.318C66.063,536.668,61.723,502.971,158.767,491.254z"}),jt("path",{id:"path22",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M151.332,481.498c0,0,3.139,1.171,2.528,2.492 c-0.611,1.319-90.037-5.899-100.864,28.915C52.996,512.905,53.617,478.938,151.332,481.498z"}),jt("path",{id:"path26",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M132.43,449.356c0,0,2.31,2.427,1.181,3.347 c-1.128,0.919-78.363-44.729-103.341-18.171C30.27,434.532,45.704,404.264,132.43,449.356z"}),jt("path",{id:"path30",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M119.108,456.757c0,0,2.571,2.148,1.554,3.192 c-1.017,1.041-82.921-35.576-104.734-6.36C15.928,453.589,27.837,421.769,119.108,456.757z"}),jt("path",{id:"path34",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M114.518,463.946c0,0,2.839,1.778,1.974,2.95 c-0.865,1.171-86.997-23.942-104.623,7.974C11.869,474.87,19.329,441.724,114.518,463.946z"}),jt("path",{id:"path38",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M133.47,465.03c0,0,1.981,2.703,0.743,3.472 c-1.237,0.768-71.985-54.405-100.161-31.267C34.052,437.235,53.236,409.195,133.47,465.03z"}),jt("path",{id:"path42",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M98.546,413.917c0,0,1.06,3.178-0.353,3.531 c-1.413,0.353-51.91-73.804-85.812-60.385C12.381,357.063,39.22,336.229,98.546,413.917z"}),jt("path",{id:"path46",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M99.773,426.239c0,0,1.722,2.876,0.417,3.523 c-1.303,0.649-66.605-60.873-96.813-40.458C3.376,389.306,25.088,363.174,99.773,426.239z"}),jt("path",{id:"path50",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.172",d:"M99.57,433.955c0,0,1.981,2.703,0.744,3.472 c-1.238,0.767-71.985-54.405-100.162-31.267C0.152,406.16,19.335,378.12,99.57,433.955z"}),jt("path",{id:"path54",fill:"#FFFFFF",stroke:"#000000",d:"M95.668,436.985c0.888,10.678,2.632,22.275,5.703,27.783 c0,0-6.356,21.895,9.181,45.2c0,0-0.707,12.712,2.119,18.362c0,0,7.063,14.832,15.538,16.244c6.858,1.143,22.26,6.561,39.67,9.04 c0,0,30.249,24.859,24.599,47.461c0,0-0.706,28.956-7.063,31.781c0,0,20.481-19.775,3.531,9.888l-7.769,33.192 c0,0,45.201-38.138,17.657-5.648l-17.657,45.906c0,0,34.607-32.487,21.894-17.656l-5.65,15.538c0,0,76.276-48.025,21.894,4.237 c0,0,14.125-6.356,21.894-1.412c0,0,12.006-2.119,10.594,0.706c0,0-36.726,18.361-43.082,50.851c0,0,14.831-17.657,9.181,1.412 l0.706,20.48c0,0,7.063-38.138,6.356,28.25c0,0,33.9-31.78,13.419,4.944v29.662c0,0,26.838-28.956,15.538-6.354 c0,0,17.656-15.538,10.594,11.3c0,0-1.413,18.361,6.356-1.412c0,0,28.25-54.029,17.656-7.771c0,0-1.412,33.9,7.063,7.771 c0,0,0.706,18.362,16.95,31.075c0,0-2.119-89.695,20.48-26.133l7.063,28.957c0,0,4.943-16.244,4.237-25.426 c0,0,26.132-28.957,14.125,14.125c0,0,26.838-40.257,21.188-16.95c0,0-13.419,28.251-10.594,36.727c0,0,29.663-61.444,31.782-64.271 c0,0-3.531,74.865,15.537,11.3c0,0,9.888,21.188,4.943,28.957c0,0,14.125-14.125,12.712-19.774c0,0,8.122-14.479,13.066,9.534 c0,0,3.178,16.598,6.003,10.946c0,0,7.063,42.377,9.182,2.119c0,0,2.825-24.013-9.888-44.494c0,0,1.412-5.649-3.531-12.713 c0,0,24.014,38.139,11.3-12.713c0,0,19.777,14.125,21.896,14.125c0,0-24.015-40.963-8.477-32.487c0,0-9.183-18.362,22.602,2.825 c0,0-28.252-28.251,2.825-11.301c0,0,14.125,11.301,0.706-6.356c0,0-25.428-28.25,13.419,3.532c0,0,20.48,28.956,21.895,33.9 c0,0-17.655-51.559-25.426-56.501c0,0,14.832-64.271,87.576-36.727c0,0,12.007,30.369,19.774-2.118c0,0,22.602-11.301,42.375,37.432 c0,0,7.063-24.013,5.65-28.956c0,0,12.007,2.119,10.594,0c0,0,23.308,7.769,25.427,6.356c0,0,12.006,12.006,12.712,5.648 c0,0,16.244,4.944,12.713-1.412c0,0,15.538,27.544,16.244,33.9l4.236-24.719l3.531,4.942c0,0,2.825-13.419,1.413-15.537 c-1.413-2.119,35.313,12.006,43.787,48.731l3.531,14.831c0,0,10.594-26.131,7.77-33.193c0,0,9.181,1.412,9.888,9.181 c0,0,7.063-40.963-1.412-51.557c0,0,7.769-1.412,9.888,4.944V714.78c0,0,12.713,1.411,12.713-2.825c0,0,7.769-7.063,11.3,1.412 c0,0-21.894-62.15,10.594-28.25c0,0,12.714,19.068,6.356-14.125c-6.357-33.194-13.419-36.021-4.943-36.727 c0,0,1.412-6.355-2.118-9.181c-3.531-2.825,2.118,0,2.118,0s8.476,7.063-0.707-31.782c0,0,11.302,2.825-9.888-48.73 c0,0,4.944-4.237-2.118-19.069c0,0,14.125,7.77,19.069,4.944c0,0-0.707-2.825-6.356-9.889c0,0-38.139-96.759-2.118-57.913 c0,0,20.923,23.925,9.623-16.332c0,0-16.088-42.394-14.716-49.979L95.668,436.985z"}),jt("path",{id:"path58",fill:"#CC7226",stroke:"#000000",d:"M854.095,396.693c1.108,0.32,5.004,2.304,7.211,5.217 c0,0,12.006,19.068,2.825-13.418c0,0-16.244-50.851-0.707-31.076c0,0,10.594,12.713,4.944-11.3 c-6.824-29.004-11.301-40.257-11.301-40.257s20.48,8.475-26.837-61.444l15.536,6.356c0,0-34.605-69.919-72.743-79.101 l-14.125-10.594c0,0,67.8-67.094,45.199-132.07c0,0-12.007-9.182-28.957,7.063c0,0-11.3,8.475-21.894,5.65 c0,0-54.382,2.119-57.913,2.119S630.359-21.844,514.533,9.231c0,0-9.183,3.531-16.95,1.413c0,0-32.489-28.25-118.653,12.006 c0,0-17.655,3.531-20.48,3.531s-7.77,0-21.895,11.3c-14.125,11.3-14.832,12.712-18.362,15.538c0,0-28.957,19.775-37.432,21.188 c0,0-20.481,11.3-28.25,28.957l-6.356,2.119c0,0-2.825,12.713-3.532,14.832c0,0-8.475,6.356-9.887,16.244 c0,0-15.538,10.594-14.832,18.362c0,0-2.825,9.182-4.238,17.657c0,0-12.712,8.475-11.3,13.419c0,0-13.419,24.719-11.3,36.725 c0,0-11.3-0.706-16.244,3.531c0,0-1.413,8.475-4.238,9.182c0,0-4.944,2.119-0.706,9.181c0,0-2.825,4.944-3.531,7.769 c0,0,1.412,4.944-6.356,14.831c0,0-11.3,33.194-7.769,42.375c0,0,0.707,8.475-4.237,11.3c0,0-6.356-0.707,8.475,20.481 c0,0,1.413,2.119-4.238,6.356c0,0-30.369,6.356-34.606,35.313c0,0-24.013,26.131-24.013,35.313c0,4.069,0.479,9.626,1.713,17.771 c0,0-1.007,14.718,47.725,16.131C191.772,453.469,854.095,396.693,854.095,396.693z"}),jt("path",{id:"path62",fill:"#CC7226",d:"M120.793,436.164c-44.141-69.566-18.716,30.018-18.716,30.018 c15.538,60.738,244.365-5.649,244.365-5.649s298.042-53.677,317.816-60.739c19.775-7.063,187.864,4.237,187.864,4.237l-9.888-29.663 c-114.414-81.926-148.314-40.963-172.327-48.025c-24.013-7.062-19.774,9.888-25.425,11.3c-5.651,1.412-74.863-42.375-86.163-40.963 c-11.301,1.413-56.045-40.523-29.663,15.538c28.25,60.032-103.115,69.213-132.778,49.438 c-29.663-19.775,12.713,32.488,12.713,32.488c32.487,35.313-28.25,5.65-28.25,5.65c-60.737-22.601-103.114,22.6-108.764,24.013 c-5.65,1.412-14.125,7.063-15.538-4.237c-1.412-11.301-14.672-40.789-70.625,5.649c-35.313,29.313-59.679-9.534-59.679-9.534 L120.793,436.164z"}),jt("path",{id:"path66",fill:"#E87F3A",d:"M560.632,299.761c-11.3,1.413-56.089-40.502-29.662,15.538 c29.311,62.151-103.113,69.213-132.775,49.438c-29.665-19.775,12.712,32.488,12.712,32.488c32.488,35.313-28.252,5.649-28.252,5.649 c-60.737-22.6-103.113,22.601-108.763,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-14.441-40.494-70.626,5.649 c-37.495,30.627-61.315-7.255-61.315-7.255l-5.65,17.849c-44.141-70.271-17.529,32.682-17.529,32.682 c15.54,60.739,245.521-7.962,245.521-7.962s298.043-53.676,317.817-60.738c19.774-7.062,186.325,4.109,186.325,4.109l-9.762-30.563 c-114.413-81.926-146.9-39.935-170.914-46.998c-24.013-7.063-19.774,9.888-25.425,11.3 C641.146,342.136,571.933,298.349,560.632,299.761z"}),jt("path",{id:"path70",fill:"#EA8C4D",d:"M562.943,302.842c-11.301,1.413-54.973-41.014-29.663,15.538 c28.604,63.918-103.113,69.215-132.776,49.44c-29.662-19.775,12.713,32.488,12.713,32.488c32.488,35.313-28.25,5.649-28.25,5.649 c-60.738-22.6-103.115,22.601-108.766,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-14.21-40.198-70.625,5.649 c-39.68,31.942-62.952-4.976-62.952-4.976l-6.356,15.216c-42.022-68.86-16.341,35.345-16.341,35.345 c15.538,60.738,246.678-10.271,246.678-10.271s298.04-53.677,317.814-60.738c19.775-7.063,184.783,3.979,184.783,3.979l-9.63-31.46 c-114.415-81.926-145.49-38.909-169.503-45.972c-24.014-7.063-19.775,9.888-25.427,11.302 C643.457,345.219,574.243,301.429,562.943,302.842z"}),jt("path",{id:"path74",fill:"#EC9961",d:"M565.255,305.925c-11.301,1.413-54.963-41.02-29.663,15.538 c29.663,66.311-104.057,68.586-132.775,49.438c-29.663-19.775,12.713,32.488,12.713,32.488c32.486,35.313-28.25,5.649-28.25,5.649 c-60.738-22.6-103.114,22.601-108.764,24.013c-5.65,1.413-14.125,7.063-15.538-4.236c-1.413-11.301-13.979-39.9-70.627,5.649 c-41.862,33.259-64.591-2.696-64.591-2.696l-7.063,12.584c-38.491-64.976-15.151,38.012-15.151,38.012 c15.538,60.736,247.833-12.586,247.833-12.586s298.04-53.677,317.817-60.738c19.773-7.063,183.24,3.853,183.24,3.853l-9.502-32.358 c-114.414-81.928-144.076-37.882-168.09-44.945c-24.015-7.063-19.775,9.888-25.427,11.3 C645.766,348.301,576.555,304.512,565.255,305.925z"}),jt("path",{id:"path78",fill:"#EEA575",d:"M567.567,309.008c-11.303,1.412-54.07-41.412-29.664,15.538 c29.664,69.213-103.114,69.213-132.776,49.438c-29.663-19.775,12.713,32.487,12.713,32.487c32.487,35.313-28.251,5.65-28.251,5.65 c-60.738-22.6-103.113,22.601-108.763,24.013c-5.65,1.412-14.125,7.063-15.538-4.237s-13.746-39.604-70.626,5.649 c-44.046,34.575-66.229-0.418-66.229-0.418l-7.769,9.953c-34.96-61.446-13.964,40.673-13.964,40.673 c15.538,60.74,248.989-14.895,248.989-14.895s298.043-53.677,317.816-60.738c19.775-7.063,181.701,3.724,181.701,3.724 l-9.374-33.259c-114.414-81.926-142.664-36.853-166.677-43.915c-24.014-7.062-19.775,9.888-25.426,11.3 C648.081,351.383,578.868,307.595,567.567,309.008z"}),jt("path",{id:"path82",fill:"#F1B288",d:"M569.879,312.089c-11.3,1.412-57.144-39.994-29.663,15.538 c33.9,68.507-103.115,69.213-132.778,49.438c-29.661-19.775,12.714,32.487,12.714,32.487c32.487,35.313-28.25,5.65-28.25,5.65 c-60.738-22.6-103.114,22.601-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.413-11.3-13.514-39.309-70.626,5.649 c-46.228,35.893-67.866,1.863-67.866,1.863l-8.475,7.317c-31.782-58.619-12.776,43.341-12.776,43.341 C123.394,553.887,358,475.94,358,475.94s298.042-53.677,317.817-60.738c19.774-7.063,180.158,3.595,180.158,3.595l-9.244-34.156 c-114.413-81.926-141.251-35.827-165.265-42.889c-24.013-7.062-19.774,9.888-25.426,11.3 C650.393,354.464,581.179,310.676,569.879,312.089z"}),jt("path",{id:"path86",fill:"#F3BF9C",d:"M572.19,315.169c-11.303,1.413-57.813-39.656-29.665,15.538 c36.021,70.627-103.113,69.214-132.776,49.439s12.713,32.488,12.713,32.488c32.487,35.313-28.25,5.65-28.25,5.65 c-60.738-22.601-103.114,22.6-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.412-11.301-13.283-39.014-70.625,5.649 c-48.412,37.208-69.503,4.141-69.503,4.141l-9.181,4.688c-28.25-53.322-11.59,46.004-11.59,46.004 c15.538,60.738,251.301-19.519,251.301-19.519s298.041-53.677,317.816-60.738c19.775-7.063,178.619,3.466,178.619,3.466 l-9.117-35.055c-114.414-81.926-139.84-34.799-163.853-41.862c-24.014-7.064-19.774,9.888-25.425,11.3 C652.702,357.546,583.49,313.757,572.19,315.169z"}),jt("path",{id:"path90",fill:"#F5CCB0",d:"M574.501,318.252c-11.3,1.413-59.753-38.624-29.662,15.538 c38.844,69.92-103.115,69.213-132.778,49.438c-29.662-19.775,12.714,32.488,12.714,32.488c32.486,35.313-28.251,5.65-28.251,5.65 c-60.737-22.602-103.113,22.6-108.764,24.013c-5.65,1.412-14.125,7.063-15.538-4.237c-1.413-11.301-13.05-38.716-70.626,5.649 c-50.594,38.524-71.14,6.422-71.14,6.422l-9.887,2.054c-25.427-50.145-10.401,48.668-10.401,48.668 c15.538,60.74,252.455-21.829,252.455-21.829s298.043-53.677,317.816-60.738c19.775-7.063,177.078,3.339,177.078,3.339 l-8.987-35.956c-114.414-81.926-138.428-33.771-162.439-40.834c-24.013-7.063-19.774,9.888-25.425,11.3 C655.015,360.628,585.802,316.84,574.501,318.252z"}),jt("path",{id:"path94",fill:"#F8D8C4",d:"M576.813,321.335c-11.3,1.413-59.753-38.625-29.662,15.538 c38.845,69.919-103.113,69.213-132.776,49.438c-29.662-19.775,12.713,32.488,12.713,32.488c32.488,35.313-28.25,5.65-28.25,5.65 c-60.74-22.602-103.115,22.6-108.766,24.013c-5.65,1.412-14.125,7.063-15.538-4.238c-1.413-11.3-12.817-38.42-70.625,5.65 c-52.777,39.84-72.776,8.701-72.776,8.701l-10.594-0.579c-24.015-46.615-9.213,51.332-9.213,51.332 c15.538,60.738,253.609-24.143,253.609-24.143s298.042-53.675,317.817-60.736c19.775-7.063,175.538,3.21,175.538,3.21l-8.859-36.854 c-114.416-81.926-137.016-32.744-161.027-39.807c-24.013-7.063-19.775,9.888-25.427,11.3 C657.326,363.711,588.112,319.923,576.813,321.335z"}),jt("path",{id:"path98",fill:"#FAE5D7",d:"M579.124,324.417c-11.301,1.413-59.068-38.998-29.663,15.538 c38.844,72.038-103.113,69.213-132.776,49.438c-29.662-19.775,12.714,32.488,12.714,32.488c32.486,35.313-28.251,5.65-28.251,5.65 c-60.737-22.602-103.113,22.6-108.764,24.013c-5.652,1.412-14.127,7.063-15.54-4.238c-1.412-11.3-12.585-38.123-70.625,5.65 c-54.959,41.157-74.413,10.979-74.413,10.979l-11.302-3.212c-22.954-42.375-8.025,53.999-8.025,53.999 c15.538,60.738,254.769-26.455,254.769-26.455s298.04-53.675,317.814-60.736c19.775-7.063,173.997,3.082,173.997,3.082 l-8.732-37.752c-114.413-81.928-135.602-31.718-159.613-38.781c-24.014-7.063-19.774,9.888-25.426,11.3 S590.424,323.004,579.124,324.417z"}),jt("path",{id:"path102",fill:"#FCF2EB",d:"M581.435,327.498c-11.3,1.412-57.161-39.981-29.661,15.538 c37.432,75.571-103.114,69.215-132.776,49.439c-29.663-19.775,12.713,32.488,12.713,32.488c32.487,35.313-28.251,5.649-28.251,5.649 c-60.738-22.601-103.113,22.601-108.763,24.013c-5.65,1.413-14.125,7.063-15.538-4.237c-1.413-11.3-12.354-37.827-70.626,5.65 c-57.145,42.473-76.053,13.258-76.053,13.258l-12.006-5.842c-22.6-40.964-6.836,56.661-6.836,56.661 c15.538,60.736,255.921-28.766,255.921-28.766s298.043-53.676,317.817-60.737c19.775-7.063,172.454,2.951,172.454,2.951 l-8.604-38.65c-114.415-81.926-134.188-30.688-158.2-37.751c-24.014-7.064-19.775,9.887-25.426,11.3 C661.948,369.875,592.735,326.085,581.435,327.498z"}),jt("path",{id:"path106",fill:"#FFFFFF",d:"M120.44,466.182c-22.601-38.846-5.65,59.325-5.65,59.325 c15.538,60.738,257.078-31.075,257.078-31.075s298.042-53.677,317.816-60.738c19.775-7.063,170.914,2.823,170.914,2.823 l-8.475-39.55c-114.414-81.926-132.776-29.663-156.789-36.726c-24.013-7.063-19.775,9.888-25.426,11.3 c-5.649,1.413-74.862-42.375-86.163-40.963c-11.3,1.412-55.829-40.623-29.663,15.538c39.245,84.232-107.28,66.436-132.777,49.438 c-29.663-19.775,12.712,32.488,12.712,32.488c32.488,35.313-28.25,5.65-28.25,5.65c-60.737-22.602-103.113,22.602-108.764,24.014 c-5.65,1.413-14.125,7.063-15.538-4.237c-1.413-11.302-12.121-37.532-70.625,5.65c-59.326,43.788-77.688,15.537-77.688,15.537 L120.44,466.182z"}),jt("path",{id:"path110",d:"M193.891,519.15c0,0-12.713,20.48,24.013,43.788c0,0,2.472,2.473-29.31-4.943c0,0-10.947-3.531-13.771-21.896 c0,0-8.475-7.769-16.95-17.655C149.397,508.557,193.891,519.15,193.891,519.15z"}),jt("path",{id:"path114",fill:"#CCCCCC",d:"M441.08,435.104c0,0,31.249,47.356,30.193,55.797c-2.297,18.362-2.648,35.313,3.001,42.376 c5.651,7.063,21.188,65.682,21.188,65.682s-0.706,2.119,21.188-64.976c0,0,20.48-28.25-14.831-60.738 C501.82,473.244,439.668,422.392,441.08,435.104z"}),jt("path",{id:"path118",d:"M229.204,566.47c0,0,19.775,12.713-5.65,67.802l11.3-4.237c0,0-1.413,19.774-7.063,24.013l12.712-5.65 c0,0,8.475,14.127,1.413,22.602c0,0,29.663,14.125,28.25,25.425c0,0,11.3-14.125,4.237-25.425s-19.775-4.237-18.363-36.727 l-15.538,5.65c0,0,9.888-15.538,9.888-26.838l-14.125,4.237c0,0,27.313-46.928,8.475-49.438 C234.147,566.47,229.204,566.47,229.204,566.47z"}),jt("path",{id:"path122",fill:"#CCCCCC",d:"M286.41,596.133c0,0,4.944-7.769,0-6.355c-4.944,1.413-60.032,27.544-70.625,44.494 C215.785,634.271,276.522,591.189,286.41,596.133z"}),jt("path",{id:"path126",fill:"#CCCCCC",d:"M304.773,610.258c0,0,4.944-7.769,0-6.355s-60.032,27.544-70.625,44.494 C234.147,648.396,294.885,605.314,304.773,610.258z"}),jt("path",{id:"path130",fill:"#CCCCCC",d:"M328.079,583.42c0,0,4.944-7.769,0-6.355c-4.943,1.412-60.032,27.545-70.625,44.494 C257.454,621.559,318.191,578.477,328.079,583.42z"}),jt("path",{id:"path134",fill:"#CCCCCC",d:"M287.117,660.402c0,0,0-10.595-4.944-9.183c-4.944,1.413-68.507,32.488-79.101,49.438 C203.072,700.659,277.229,655.458,287.117,660.402z"}),jt("path",{id:"path138",fill:"#CCCCCC",d:"M289.235,641.333c0,0,2.119-8.475-2.825-7.063c-3.531,0-50.144,20.481-60.738,37.433 C225.672,671.702,277.935,633.564,289.235,641.333z"}),jt("path",{id:"path142",fill:"#CCCCCC",d:"M263.81,725.378l-17.656,13.419c0,0,18.362-13.419,24.719-11.3 c0,0-12.006,19.774-13.419,28.956c0,0,18.363-22.602,28.25-21.895c0,0,13.419,0.706,13.419,19.774c0,0,9.888-18.362,15.537-17.656 c0,0,2.119,11.302,0,23.308c0,0,7.063-13.419,14.125-10.595c0,0,11.301-3.53,9.888,16.95c0,0,0,18.362-1.412,23.308 c0,0,9.889-46.613,14.125-47.319c0,0,14.125-2.119,22.602,13.419c0,0-7.063-13.419,1.412-9.888c0,0,19.068,2.824,24.719,14.831 c0,0-12.006-21.188-2.118-15.537c0,0,12.006,0,14.125,11.3c0,0,14.831,37.432,18.362,40.257c0,0-13.419-38.138-10.595-38.138 c0,0-3.53-21.188,5.65,4.942c0,0-5.65-24.719,4.237-23.307c9.888,1.413,17.655,19.069,32.487,14.832 c0,0,16.952,9.888,20.483-112.295L263.81,725.378z"}),jt("path",{id:"path146",d:"M272.285,561.526c0,0,26.131-10.595,96.757,0c0,0,12.713,0.706,24.72-14.831 c12.006-15.538,59.325-28.251,70.625-24.721l16.952,11.302l1.413,2.118c0,0,21.895,18.362,22.6,31.781 c0.706,13.418-25.425,98.169-42.377,126.42c-16.949,28.25-33.899,50.145-67.801,45.906c0,0-36.726-7.063-81.926,0 c0,0-51.557-2.825-56.5-16.95s19.775-40.963,19.775-40.963s7.769-14.831,5.65-40.257C280.054,615.908,280.76,566.47,272.285,561.526 z"}),jt("path",{id:"path150",fill:"#E5668C",d:"M311.129,565.058c14.832,32.487-37.431,147.607-37.431,147.607 c-3.531,2.825,22.353,13.499,40.256,9.182c19.327-4.657,90.401,2.825,90.401,2.825c41.669-27.544,64.27-105.938,64.27-105.938 s18.364-42.376-12.713-48.025C424.837,565.058,311.129,565.058,311.129,565.058z"}),jt("path",{id:"path154",fill:"#B23259",d:"M307.543,619.608c5.873-22.582,8.67-43.419,3.586-54.552c0,0,110.177,11.301,129.951-25.426 c7.488-13.904,33.55,40.257,32.842,57.207c0,0-111.236,25.426-137.367,5.65L307.543,619.608z"}),jt("path",{id:"path158",fill:"#A5264C",d:"M315.367,648.396c0,0,3.531,12.713-0.707,19.774c0,0-2.824,1.413-4.943,2.119 c0,0,2.119,6.356,12.713,9.182c0,0,3.531,7.77,7.77,8.476s12.713,10.594,19.774,8.475c7.063-2.118,26.839-9.181,26.839-9.181 s9.888-5.65,25.425,0.706c0,0,4.192-1.416,4.942-8.476c0.884-8.299,6.356-14.832,9.889-18.362 c3.531-3.531,20.48-26.133,18.362-26.838C433.313,633.564,315.367,648.396,315.367,648.396z"}),jt("path",{id:"path162",fill:"#FF727F",stroke:"#000000",d:"M307.598,562.938c0,0-4.943,39.552,0.707,54.383 c5.649,14.832,4.237,18.362,2.824,25.426c-1.412,7.063,6.356,24.719,16.244,35.313l21.188,2.825c0,0,26.839-6.355,43.082-1.412 c0,0,15.881,2.371,21.895-24.014c0,0,8.476-11.3,21.188-16.243c12.713-4.943,25.426-78.395,18.362-92.52 c-7.063-14.126-32.488-21.896-60.738,5.648S360.567,550.227,307.598,562.938z"}),jt("path",{id:"path166",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M310.423,695.009c0,0-1.412-3.531-9.181-4.237 c0,0-39.55-6.355-54.382-28.25c0,0-12.006-9.888-4.238,10.595c0,0,18.363,36.019,30.369,40.963 C272.991,714.078,301.948,721.141,310.423,695.009z"}),jt("path",{id:"path170",fill:"#CC3F4C",d:"M451.572,582.058c1.163-13.96,4.61-29.169,1.515-35.361 c-11.382-22.768-41.35-13.253-60.738,5.648c-28.25,27.544-31.78-2.118-84.751,10.595c0,0-3.081,24.653-1.598,42.332 c0,0,65.867-20.438,67.28-10.551c0,0,2.823-5.649,19.067-5.649S448.747,587.001,451.572,582.058z"}),jt("path",{id:"path174",stroke:"#A51926","stroke-width":"2",d:"M375.398,564.352c0,0,8.476,8.476,2.118,25.426 c0,0-25.426,28.25-21.895,52.97"}),jt("path",{id:"path178",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M290.648,714.078c0,0-7.769-22.602,7.769-10.594 c0,0,8.475,3.53,6.356,6.354C302.654,712.665,292.767,719.729,290.648,714.078z"}),jt("path",{id:"path182",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M299.547,716.196c0,0-6.215-18.08,6.215-8.476 c0,0,7.806,4.322,5.084,5.085C302.795,715.066,310.847,719.587,299.547,716.196z"}),jt("path",{id:"path186",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M308.021,716.196c0,0-6.215-18.08,6.215-8.476 c0,0,7.725,4.078,5.086,5.085C313.39,715.066,319.322,719.587,308.021,716.196z"}),jt("path",{id:"path190",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M319.675,716.55c0,0-6.215-18.08,6.215-8.476 c0,0,7.739,4.118,5.087,5.085C325.749,715.066,330.977,719.939,319.675,716.55z"}),jt("path",{id:"path194",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M331.116,716.408c0,0-6.215-18.08,6.217-8.476 c0,0,6.78,2.825,5.085,5.085C340.723,715.278,342.418,719.799,331.116,716.408z"}),jt("path",{id:"path198",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M342.911,717.609c0,0-8.477-21.896,7.769-10.595 c0,0,8.476,3.531,6.356,6.355C354.917,716.196,357.036,721.847,342.911,717.609z"}),jt("path",{id:"path202",stroke:"#A5264C","stroke-width":"2",d:"M292.767,687.24c0,0,23.307-4.944,33.9,0.706 c0,0,10.594,2.119,12.713,1.412c2.118-0.706,7.77-1.412,7.77-1.412"}),jt("path",{id:"path206",stroke:"#A5264C","stroke-width":"2",d:"M352.799,702.777c0,0,21.188-24.014,42.375-16.243 c12.389,4.543,10.594-1.413,12.006-6.356c1.413-4.943,1.768-12.358,10.596-17.656"}),jt("path",{id:"path210",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M383.168,674.527c0,0-7.063-19.069-12.007,3.53 c-4.944,22.602-10.594,28.957-13.419,33.9c0,0,0,9.182,14.831,8.476c0,0,19.068-0.707,19.774-5.649 C393.055,709.84,390.23,689.358,383.168,674.527z"}),jt("path",{id:"path214",stroke:"#A5264C","stroke-width":"2",d:"M407.887,687.24c0,0,6.356-4.237,10.594-2.119"}),jt("path",{id:"path218",stroke:"#A5264C","stroke-width":"2",d:"M419.363,658.283c0,0,5.12-8.651,13.596-10.063"}),jt("path",{id:"path222",fill:"#B2B2B2",d:"M279.348,723.259c0,0,31.781,5.65,39.551,2.825c0,0,15.536,0,0.706,3.531 c0,0-22.602,0-36.727-2.118C282.879,727.497,262.397,717.609,279.348,723.259z"}),jt("path",{id:"path226",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M304.066,558.701c0,0,31.075,0,34.606,1.412 c0,0,12.713,54.382,6.356,67.801c0,0-2.118,4.944-7.063-4.943c0,0-32.488-57.913-38.138-61.443 C294.177,557.996,301.948,558.701,304.066,558.701z"}),jt("path",{id:"path230",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M167.936,553.934c0,0,15.714,3.002,37.961,7.594 c0,0,8.475,39.551,14.125,48.024c5.65,8.475-0.706,8.476-7.063,3.531s-32.488-29.663-36.019-37.432 C173.409,567.882,167.936,553.934,167.936,553.934z"}),jt("path",{id:"path234",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M206.534,561.909c0,0,10.241,2.732,12.022,6.645 c1.78,3.909-2.123,9.73-2.123,9.73s-1.766,5.835-3.888,2.018C210.424,576.483,205.353,562.958,206.534,561.909z"}),jt("path",{id:"path238",d:"M206.603,561.526c0,0,6.356,9.182,12.713,9.182c6.356,0,7.031-0.729,12.006,0.353 c8.122,1.767,7.416-1.766,19.069,0.354c4.661,0.848,9.181-0.706,14.125,1.412c4.944,2.119,10.594,0.706,12.713-2.825 s10.594-10.946,10.594-10.946s-22.6,3.179-27.544,4.591C260.279,563.645,220.729,565.764,206.603,561.526z"}),jt("path",{id:"path242",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M285.351,561.879c0,0-11.389,6.182-12.095,10.418 c-0.707,4.237,9.27,10.771,9.27,10.771s4.855,8.122,5.915,3.884C289.5,582.714,286.763,562.586,285.351,561.879z"}),jt("path",{id:"path246",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M219.166,571.527c0,0,12.372,19.754,12.755-0.041 c0,0,0.983-2.223-2.124-2.261C219.07,569.092,221.756,561.85,219.166,571.527z"}),jt("path",{id:"path250",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M231.839,571.967c0,0,13.986,19.752,12.863-0.164 c0,0,0.012-0.587-3.083-0.855C233.238,570.215,233.847,562.238,231.839,571.967z"}),jt("path",{id:"path254",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M244.575,571.98c0,0,14.054,18.766,12.873,1.697 c0,0,0.21-2.177-2.71-2.708C247.866,569.725,247.494,563.987,244.575,571.98z"}),jt("path",{id:"path258",fill:"#FFFFCC",stroke:"#000000","stroke-width":"0.5",d:"M256.716,572.122c0,0,13.948,20.412,14.563,3.143 c0,0,2.903-2.433-0.18-2.824C260.826,571.133,262.235,563.269,256.716,572.122z"}),jt("path",{id:"path262",fill:"#E5E5B2",d:"M192.845,578.354l-13.521-2.702c-4.591-8.828-8.299-19.688-8.299-19.688 s11.212,1.767,33.282,6.709c0,0,1.547,5.858,4.146,16.091L192.845,578.354z"}),jt("path",{id:"path266",fill:"#E5E5B2",d:"M307.732,570.123c-2.942-4.425-5.268-7.528-6.416-8.245c-5.32-3.325,1.995-2.659,3.989-2.659 c0,0,29.258,0,32.583,1.329c0,0,0.926,3.959,2.134,9.946C340.022,570.494,322.21,566.945,307.732,570.123z"}),jt("path",{id:"path270",fill:"#CC7226",d:"M402.378,326.201c48.945,6.992,94.004-55.936,97.112-73.028 c3.106-17.092-14.762-38.067-14.762-38.067c2.33-5.438-6.216-30.298-15.537-46.613c-9.322-16.314-37.398-14.595-68.367-16.314 c-27.968-1.554-60.599,39.621-62.928,42.729c-2.331,3.108,8.546,70.698,10.876,80.798s-2.33,56.712-2.33,56.712 C406.897,316.349,353.434,319.209,402.378,326.201z"}),jt("path",{id:"path274",fill:"#EA8E51",d:"M339.182,196.051c-2.288,3.051,8.392,69.413,10.68,79.328 c2.288,9.916-2.288,55.682-2.288,55.682c57.687-15.679,6.864-12.967,54.918-6.102c48.056,6.865,92.296-54.918,95.347-71.701 c3.051-16.781-14.492-37.375-14.492-37.375c2.288-5.339-6.103-29.748-15.255-45.766c-9.153-16.018-36.717-14.328-67.125-16.018 C373.506,152.573,341.47,193,339.182,196.051z"}),jt("path",{id:"path278",fill:"#EFAA7C",d:"M340.467,197.195c-2.245,2.995,8.235,68.127,10.481,77.859s-2.246,54.65-2.246,54.65 c55.448-16.173,6.737-12.727,53.9-5.989c47.166,6.738,90.587-53.901,93.581-70.373c2.994-16.47-14.224-36.683-14.224-36.683 c2.245-5.24-5.989-29.197-14.973-44.918c-8.984-15.721-36.037-14.063-65.882-15.721C374.155,154.522,342.713,194.2,340.467,197.195z "}),jt("path",{id:"path282",fill:"#F4C6A8",d:"M341.753,198.339c-2.204,2.938,8.079,66.842,10.282,76.391 c2.204,9.548-2.203,53.619-2.203,53.619c51.974-15.961,6.61-12.487,52.885-5.876c46.275,6.611,88.877-52.884,91.815-69.043 c2.938-16.161-13.956-35.993-13.956-35.993c2.203-5.142-5.876-28.646-14.69-44.07c-8.813-15.425-35.355-13.799-64.638-15.425 C374.806,156.472,343.956,195.401,341.753,198.339z"}),jt("path",{id:"path286",fill:"#F9E2D3",d:"M343.038,199.483c-2.161,2.881,7.924,65.557,10.085,74.921 c2.161,9.365-2.161,52.588-2.161,52.588c49.205-15.75,6.483-12.246,51.868-5.763c45.386,6.483,87.168-51.868,90.049-67.718 c2.882-15.849-13.687-35.299-13.687-35.299c2.161-5.042-5.765-28.095-14.408-43.223c-8.646-15.128-34.677-13.534-63.396-15.128 C375.455,158.421,345.199,196.602,343.038,199.483z"}),jt("path",{id:"path290",fill:"#FFFFFF",d:"M402.942,319.984c44.493,6.356,85.459-50.85,88.283-66.388 c2.825-15.538-13.419-34.606-13.419-34.606c2.119-4.944-5.65-27.544-14.127-42.375c-8.475-14.831-33.995-13.267-62.149-14.831 c-25.427-1.413-55.088,36.019-57.207,38.844c-2.119,2.825,7.769,64.27,9.888,73.451c2.119,9.182-2.119,51.557-2.119,51.557 C397.116,310.45,358.448,313.628,402.942,319.984z"}),jt("path",{id:"path294",fill:"#CCCCCC",d:"M484.87,259.953c0,0-49.087,13.419-69.568,10.594c0,0-27.896-11.653-43.435,26.838 c0,0-6.356,12.713-9.889,16.244C358.447,317.16,484.87,259.953,484.87,259.953z"}),jt("path",{id:"path298",d:"M491.58,256.068c0,0-51.206,21.541-68.862,20.834c0,0-28.956-8.122-43.788,17.656 c0,0-14.831,16.244-20.48,19.069c0,0-0.706,2.825,10.594-4.238l18.363,9.182c0,0,26.131,16.95,43.081-11.3 c0,0,7.063-19.775,7.063-23.307c0-3.532,37.433-13.419,40.259-14.125C480.633,269.134,492.286,261.718,491.58,256.068z"}),jt("path",{id:"path302",fill:"#99CC32",d:"M407.887,319.479c-12.134,0-26.918-6.824-26.918-17.857c0-11.032,14.784-22.094,26.918-22.094 c12.138,0,21.976,8.943,21.976,19.975C429.861,310.537,420.023,319.479,407.887,319.479z"}),jt("path",{id:"path306",fill:"#659900",d:"M401.489,290.021c-8.557,1.275-17.541,3.929-17.414,3.547 c2.719-8.156,13.95-14.041,23.812-14.041c7.585,0,14.273,3.493,18.222,8.807C426.107,288.335,416.722,287.753,401.489,290.021z"}),jt("path",{id:"path310",fill:"#FFFFFF",d:"M422.718,289.616c0,0-7.769-5.65-7.769-1.766C414.949,287.85,421.306,295.619,422.718,289.616z "}),jt("path",{id:"path314",d:"M405.063,303.963c-4.412,0-7.989-3.577-7.989-7.991c0-4.412,3.577-7.989,7.989-7.989 c4.413,0,7.99,3.577,7.99,7.989C413.053,300.386,409.476,303.963,405.063,303.963z"}),jt("path",{id:"path318",fill:"#CC7226",d:"M221.435,280.434c0,0-5.65-37.432-1.413-45.2c0,0,19.069-17.657,18.363-24.013 c0,0-0.706-31.782-2.825-33.194c-2.119-1.413-15.538-12.006-26.131-0.706c0,0-18.363,31.781-16.95,43.082v3.531 c0,0-13.419-0.706-16.244,2.825c0,0-2.119,9.181-4.238,9.888c0,0-4.944,4.237-1.413,9.181c0,0-3.531,4.237-2.825,11.3l13.419,7.063 c0,0,3.531,25.425,22.601,34.606C212.317,302.909,217.903,291.028,221.435,280.434z"}),jt("path",{id:"path322",fill:"#FFFFFF",d:"M219.669,277.186c0,0-5.085-33.688-1.271-40.681c0,0,17.162-15.891,16.527-21.611 c0,0-0.636-28.604-2.543-29.875c-1.907-1.271-13.984-10.806-23.518-0.636c0,0-16.526,28.604-15.255,38.773v3.178 c0,0-12.077-0.636-14.62,2.542c0,0-1.907,8.263-3.813,8.899c0,0-4.45,3.813-1.271,8.263c0,0-3.178,3.813-2.542,10.17l12.077,6.356 c0,0,3.178,22.883,20.34,31.146C211.462,297.411,216.491,286.72,219.669,277.186z"}),jt("path",{id:"path326",fill:"#EB955C",d:"M234.765,179.775c-1.924-1.519-15.149-11.706-25.478-0.688c0,0-17.904,30.987-16.526,42.004 v3.443c0,0-13.083-0.688-15.838,2.754c0,0-2.066,8.952-4.132,9.641c0,0-4.82,4.132-1.377,8.952c0,0-3.443,4.132-2.754,11.018 l13.083,6.886c0,0,3.443,24.79,22.035,33.741c8.323,4.008,13.772-7.574,17.215-17.903c0,0-5.509-36.496-1.377-44.07 c0,0,18.592-17.215,17.903-23.413C237.52,212.139,236.831,181.152,234.765,179.775z"}),jt("path",{id:"path330",fill:"#F2B892",d:"M233.971,181.523c-1.73-1.625-14.761-11.406-24.825-0.671c0,0-17.444,30.192-16.103,40.927 v3.355c0,0-12.748-0.671-15.432,2.684c0,0-2.013,8.722-4.026,9.394c0,0-4.696,4.025-1.342,8.722c0,0-3.354,4.025-2.684,10.735 l12.748,6.709c0,0,3.354,24.154,21.47,32.876c8.111,3.906,13.419-7.38,16.773-17.445c0,0-5.368-35.56-1.342-42.94 c0,0,18.115-16.773,17.444-22.812C236.654,213.057,235.983,182.865,233.971,181.523z"}),jt("path",{id:"path334",fill:"#F8DCC8",d:"M233.176,183.271c-1.536-1.73-14.373-11.106-24.172-0.653c0,0-16.985,29.398-15.679,39.851 v3.266c0,0-12.413-0.653-15.026,2.613c0,0-1.96,8.493-3.919,9.146c0,0-4.573,3.92-1.307,8.493c0,0-3.267,3.92-2.613,10.453 l12.413,6.533c0,0,3.266,23.518,20.905,32.011c7.897,3.803,13.065-7.186,16.332-16.985c0,0-5.227-34.624-1.307-41.811 c0,0,17.639-16.332,16.985-22.211C235.789,213.976,235.136,184.578,233.176,183.271z"}),jt("path",{id:"path338",fill:"#FFFFFF",d:"M219.669,277.009c0,0-5.085-33.512-1.271-40.504c0,0,17.162-15.891,16.527-21.611 c0,0-0.636-28.604-2.543-29.875c-1.342-1.836-13.984-10.806-23.518-0.636c0,0-16.526,28.604-15.255,38.773v3.178 c0,0-12.077-0.636-14.62,2.542c0,0-1.907,8.263-3.813,8.899c0,0-4.45,3.813-1.271,8.263c0,0-3.178,3.813-2.542,10.17l12.077,6.356 c0,0,3.178,22.883,20.34,31.146C211.462,297.411,216.491,286.543,219.669,277.009z"}),jt("path",{id:"path342",fill:"#CCCCCC",d:"M214.195,265.956c0,0-38.138-18.01-39.727-19.422c0,0,16.067,14.479,17.48,14.479 C193.361,261.013,214.195,265.956,214.195,265.956z"}),jt("path",{id:"path346",d:"M184.003,255.009c0,0,32.488,6.356,32.488,14.125c0,5.141-0.429,28.834-9.888,26.131 C191.772,291.028,198.128,265.603,184.003,255.009z"}),jt("path",{id:"path350",fill:"#99CC32",d:"M198.834,261.718c0,0,15.852,2.603,17.656,7.416c1.06,2.825,2.23,17.494-7.416,19.422 C201.038,290.165,197.101,272.118,198.834,261.718z"}),jt("path",{id:"path354",d:"M350.671,336.845c-0.878-3.076,1.438-2.845,4.601-3.794c3.53-1.06,25.071-7.769,26.483-12.359 c1.413-4.591,24.719,3.178,24.719,3.178c3.18,1.412,10.947,6.003,10.947,6.003c8.476,2.119,20.128,2.825,20.128,2.825 c4.238,1.766,10.241,6.709,10.241,6.709c25.778,18.009,47.674,5.297,47.674,5.297c35.313-11.653,24.72-42.022,24.72-42.022 c-5.298-15.891,0.354-21.894,0.354-21.894c0.354-6.709,13.064,4.591,13.064,4.591c4.592,7.416,6.005,16.244,6.005,16.244 c14.125,19.775,8.122-11.653,8.122-11.653c0.353-1.766-4.592-8.122-4.592-10.241s-3.179-8.122-3.179-8.122 c-5.297-6.003-1.06-18.363-1.06-18.363c3.179-24.366-0.706-21.188-0.706-21.188c-2.118-3.178-18.362,14.478-18.362,14.478 c-3.885,6.003-14.479,8.828-14.479,8.828c-4.942,3.178-10.946,0.707-10.946,0.707c-4.59-0.707-14.479,11.653-14.479,11.653 c4.943-0.354,9.182,7.416,13.419,7.769c4.237,0.354,7.415-4.237,10.24-5.297c2.825-1.059,7.769,9.182,7.769,9.182 c0.707,4.59-9.181,13.065-9.181,13.065c-0.707,8.122-3.531,5.297-3.531,5.297c-5.297-1.059-7.415,5.65-9.182,13.772 c-1.766,8.122-9.182,8.829-9.182,8.829c-2.825,13.065-4.945,7.769-4.945,7.769c-0.354-9.888-10.947,0.353-10.947,0.353 c-2.118,3.531-10.239-0.353-10.239-0.353c-12.008-3.531-7.77-7.063-7.77-7.063c3.178-3.884,22.953,0,22.953,0 c3.884-2.825-10.241-9.888-10.241-9.888c-1.06-3.178,0.706-10.947,0.706-10.947c2.119-5.65,14.126-15.538,14.126-15.538 c16.599-2.119,11.654-4.944,11.654-4.944c-10.946-9.182-21.189,4.237-21.189,4.237c-3.884,10.947-34.605,37.432-34.605,37.432 c-8.476,6.003-3.884-6.003-10.947,0c-7.063,6.003-43.435-9.888-43.435-9.888c-20.414-2.106-25.238,25.688-31.47,20.18 C343.93,331.689,353.496,346.732,350.671,336.845z"}),jt("path",{id:"path358",d:"M694.629,43.132c0,0-45.201,14.125-50.145,47.319c0,0-4.237,40.256,31.78,71.332c0,0,0.707,11.3,4.238,16.95 c0,0-2.825,8.475,30.368-4.944l48.025-14.832c0,0,11.301-4.238,20.481-19.775c9.181-15.538,36.019-48.731,29.662-93.226 c0,0,2.119-19.775-8.475-20.481c0,0-14.832-2.825-27.544,10.594c0,0-12.008,5.65-16.244,4.944L694.629,43.132z"}),jt("path",{id:"path362",d:"M791.069,41.384c0,0,3.708-15.767-4.837-7.222c0,0-12.432,10.1-25.641,10.1c0,0-25.637,3.884-33.404,27.191 c0,0-6.992,47.39,6.99,57.489c0,0,8.546,13.207,20.978,1.554C767.587,118.843,794.954,65.467,791.069,41.384z"}),jt("path",{id:"path366",fill:"#323232",d:"M790.409,42.016c0,0,3.689-15.438-4.7-7.048c0,0-12.204,9.916-25.173,9.916 c0,0-25.171,3.814-32.798,26.697c0,0-6.865,46.528,6.863,56.444c0,0,8.392,12.967,20.596,1.525 C767.403,118.108,794.224,65.661,790.409,42.016z"}),jt("path",{id:"path370",fill:"#666666",d:"M789.749,42.648c0,0,3.673-15.11-4.563-6.875c0,0-11.978,9.732-24.705,9.732 c0,0-24.705,3.743-32.191,26.202c0,0-6.738,45.667,6.737,55.399c0,0,8.234,12.727,20.213,1.497 C767.22,117.374,793.492,65.855,789.749,42.648z"}),jt("path",{id:"path374",fill:"#999999",d:"M789.089,43.28c0,0,3.654-14.782-4.425-6.703c0,0-11.752,9.549-24.24,9.549 c0,0-24.239,3.672-31.584,25.708c0,0-6.609,44.805,6.61,54.354c0,0,8.08,12.487,19.832,1.469 C767.036,116.639,792.762,66.05,789.089,43.28z"}),jt("path",{id:"path378",fill:"#CCCCCC",d:"M788.429,43.912c0,0,3.638-14.454-4.287-6.529c0,0-11.527,9.365-23.773,9.365 c0,0-23.772,3.602-30.978,25.213c0,0-6.482,43.943,6.483,53.309c0,0,7.924,12.247,19.45,1.441 C766.851,115.904,792.03,66.244,788.429,43.912z"}),jt("path",{id:"path382",fill:"#FFFFFF",d:"M787.767,44.544c0,0,3.619-14.125-4.148-6.356c0,0-11.301,9.181-23.308,9.181 c0,0-23.307,3.531-30.368,24.719c0,0-6.356,43.082,6.355,52.263c0,0,7.77,12.006,19.069,1.412 C766.667,115.17,791.298,66.438,787.767,44.544z"}),jt("path",{id:"path386",fill:"#992600",d:"M414.243,403.323c0,0-36.021-33.901-50.146-35.313c0,0-60.738-7.063-86.87,24.719 c0,0,31.076-36.019,79.807-26.131c0,0-38.138-7.769-60.032-2.119c0,0-29.663,0-46.613,24.719l-4.944,8.475 c0,0,7.063-26.131,39.55-36.726c0,0,40.256-8.475,59.326,0c0,0-38.138-12.006-55.794-8.475c0,0-53.675-4.237-76.275,42.375 c0,0,7.063-25.425,33.194-38.138c0,0,24.013-15.538,60.032-10.594c0,0,25.425,5.65,34.607,9.888 c9.182,4.237,7.063-0.707-7.769-9.182c0,0-9.889-17.656-34.607-16.95c0,0-75.57,6.356-93.932,27.544 c0,0,24.013-19.775,42.375-24.719c0,0,39.55-14.125,54.381-12.713c0,0,43.788,1.766,57.207-5.297c0,0-19.775,8.828-14.125,14.479 c5.649,5.65,17.656,19.069,17.656,21.188s42.729,41.14,49.085,48.908L414.243,403.323z"}),jt("path",{id:"path390",fill:"#CCCCCC",d:"M658.607,745.857c0,0-27.367-64.445-49.438-81.221c0,0,45.906,28.251,52.086,60.032 C661.256,724.67,661.256,742.326,658.607,745.857z"}),jt("path",{id:"path394",fill:"#CCCCCC",d:"M741.593,759.1c0,0-46.789-97.109-79.454-139.484c0,0,76.807,66.212,85.635,113.001 l0.883,9.711l-5.297-4.414C743.358,737.912,742.476,753.803,741.593,759.1z"}),jt("path",{id:"path398",fill:"#CCCCCC",d:"M841.352,673.466c0,0-110.353-105.056-113.001-109.47c0,0,106.821,116.533,112.118,129.775 C840.469,693.771,836.938,677.88,841.352,673.466z"}),jt("path",{id:"path402",fill:"#CCCCCC",d:"M508.528,750.271c0,0,34.43-91.813,67.977-52.087c0,0,26.485,17.656,25.604,22.953 c0,0-7.063-11.477-38.846-10.594C563.263,710.545,529.716,705.248,508.528,750.271z"}),jt("path",{id:"path406",fill:"#CCCCCC",d:"M844.883,525.152c0,0-79.454-50.321-92.695-52.971c-20.848-4.168,87.398,51.204,96.228,69.743 C848.414,541.926,851.945,537.512,844.883,525.152z"}),jt("path",{id:"path410",d:"M578.803,713.371c0,0,36.02-3.531,48.025-15.537l7.769,6.356l31.075-67.802l6.356,9.183 c0,0,25.426-26.132,24.013-40.257c-1.412-14.125,22.601,10.594,22.601,10.594s-1.413-20.481,11.301-8.477 c0,0-4.237-27.544,10.594-13.419c0,0-18.604-53.246,21.188-7.769c9.889,11.3,2.119-0.706,2.119-0.706s-45.905-84.751-7.769-59.325 c0,0,3.531-40.257,1.412-48.026c-2.118-7.769-5.649-47.319-14.125-56.502c-8.477-9.182,0.706-12.006,10.594-2.824 c0,0-19.775-42.375,3.531-21.188c0,0-6.356-26.838-14.125-31.782c0,0-9.889-30.369,16.949-11.3c0,0-7.769-21.894-13.419-27.544 c0,0-20.48-48.732-7.769-40.257l7.769,6.356c0,0-12.007-24.719-0.706-16.95s11.301,7.063,11.301,7.063s-37.433-58.62-1.412-27.544 c0,0-14.406-24.574-20.481-36.726c0,0-33.193-36.019-7.77-24.719l8.476,2.825c0,0-15.538-17.656-29.663-20.481 c-14.125-2.825,4.237-14.125,15.538-10.594c11.3,3.531,38.844,16.95,38.844,16.95s22.602,33.194,29.663,33.9 c0,0-35.313-13.419-24.719,0.706c0,0,25.425,24.719,12.712,24.013c0,0-10.594,12.713-2.118,28.25c0,0-32.592-32.472-6.355,12.712 l12.006,28.957c0,0-43.081-43.788-23.306-4.944c0,0,30.369,41.669,33.899,42.375c3.531,0.707,11.3,16.244,11.3,16.244l-7.769-3.531 l9.181,15.538c0,0-19.774-21.188-9.181,2.119l9.887,25.425c0,0-36.019-38.844-12.006,13.42c0,0-28.957-9.183-13.419,21.188 c0,0-2.825,28.252-2.119,37.434c0.707,9.183,2.825,59.325-4.942,73.451c-7.77,14.125,10.594,48.025,14.125,55.088 c3.53,7.063,9.888,26.131-5.65,9.889c-15.537-16.244-7.769-6.356-4.237,9.181c3.531,15.538,14.125,43.082,12.713,52.97 c0,0-2.118,2.119-7.769-4.236c0,0-26.132-40.258-23.307-14.832c0,0-2.119,14.125-7.77,29.663c0,0-5.649,19.068-5.649,3.53 c0,0-5.65-29.663-10.595-16.244c-4.943,13.42-11.301,24.014-16.244,28.251c-4.942,4.237-14.125-36.02-16.243-17.656 c0,0-21.188-21.895-29.662,7.063l-20.482,28.957c0,0-0.706-21.894-2.824-11.3C650.135,710.547,597.165,721.141,578.803,713.371z"}),jt("path",{id:"path414",d:"M518.064,83.389c0,0-20.481-14.125-27.545-13.419c-7.063,0.706,48.731-15.538,121.477,33.194 c0,0,8.476,4.944,14.832,4.238c0,0,5.648,4.237,0.706,10.594c0,0-15.538,16.95,4.237,36.725c0,0,32.487,12.006,22.601-3.531 c0,0,19.069,7.063,23.307,14.125c4.238,7.062,2.118,0,2.118,0s-11.3-12.713-21.894-21.894c0,0-9.183-3.531-14.125-18.363 c-4.944-14.832-9.183-32.488-1.413-38.138c0,0-7.063,7.769-5.649,0.706c1.412-7.063,7.77-13.419,10.594-14.125 c2.825-0.707,31.781-28.604,43.788-29.31c0,0-16.244,2.472-21.541,0.706S617.293,23.003,606.7,20.884c0,0-29.662-11.653-8.476-8.122 c0,0,63.211,6.709,95.346,30.016c0,0-12.713-14.832-45.2-27.191c0,0-39.197-22.247-101.349-13.419c0,0-31.429,5.65-45.2,8.828 c0,0-4.591-1.06-5.65-1.766c-1.059-0.706-21.896-16.597-70.627-4.237c0,0-30.016,8.122-45.2,16.597c0,0-26.838,2.119-33.193,7.769 c0,0-32.842,25.778-36.372,27.191c-3.531,1.413-23.66,14.831-25.072,15.538c0,0,43.435-11.653,47.672-15.891 c4.238-4.237,34.96-8.828,39.197-6.356c4.238,2.472,19.069,1.413,2.119,2.472c0,0,133.483,26.132,134.896,29.663 C511.002,85.507,518.064,83.389,518.064,83.389z"}),jt("path",{id:"path418",fill:"#CC7226",d:"M644.131,67.145c0,0-18.009-13.066-21.54-13.066c-3.532,0-25.426-18.009-32.842-17.303 c-7.415,0.707-28.956-16.95-77.335-2.472c0,0-1.061-3.531,5.297-4.944c0,0,11.301-3.884,12.007-4.944c0,0,35.666-7.416,48.378-1.06 c0,0,16.244,4.591,27.191,15.538c0,0,19.775,5.65,25.425,3.885c0,0,15.538,3.884,16.244,7.063c0,0,10.241,5.297,7.063,9.888 C654.019,59.729,654.725,62.554,644.131,67.145z"}),jt("path",{id:"path422",fill:"#CC7226",d:"M622.112,63.421c1.425,1.116,3.224,1.289,4.292,2.717c0.413,0.554-0.099,1.13-0.653,1.301 c-1.842,0.56-3.706-0.447-5.723,0.591c-0.71,0.366-1.844,0.044-2.819-0.219c-2.882-0.779-6.111-0.823-9.097,0.392 c-3.505-1.994-7.672-0.962-11.348-2.73c-0.102-0.047-0.493,0.563-0.625,0.516c-5.378-2.021-11.985-1.522-16.278-5.555 c-4.286-0.728-8.448-1.543-12.735-2.744c-3.21-0.899-5.697-2.645-8.558-4.114c-2.433-1.25-5.004-2.171-7.713-2.828 c-3.289-0.798-6.521-0.601-9.864-1.519c-0.164-0.044-0.503,0.563-0.648,0.516c-0.57-0.191-1.084-1.22-1.386-1.127 c-2.968,0.922-5.595-0.794-8.533-0.19c-2.08-2.161-5.131-1.729-7.859-2.509c-5.233-1.498-10.804,0.745-16.152-1.022 c7.262-3.252,15.538-1.077,22.71-4.73c4.11-2.094,8.811-0.148,13.348-1.49c0.86-0.254,2.08-0.611,2.786,0.57 c0.237-0.239,0.56-0.661,0.661-0.611c4.325,2.042,8.413,4.292,12.795,6.174c0.604,0.258,1.542-0.152,1.986,0.205 c2.684,2.147,6.114,1.965,8.569,4.119c2.998-0.886,6.164-0.215,9.218-1.317c0.137-0.048,0.55,0.554,0.606,0.516 c1.995-1.321,4.035-0.842,5.609-0.306c0.597,0.203,1.768,0.639,2.307,0.77c1.987,0.487,3.499,1.335,5.581,1.658 c0.201,0.032,0.527-0.568,0.655-0.519c1.982,0.773,3.822,0.674,4.979,2.729c0.238-0.238,0.529-0.658,0.676-0.611 c1.813,0.597,2.959,1.93,4.901,2.355c0.856,0.187,1.938,1.292,2.954,1.603c4.224,1.291,7.479,3.991,11.353,5.571 C619.447,62.132,620.994,62.545,622.112,63.421z"}),jt("path",{id:"path426",fill:"#CC7226",d:"M486.804,38.296c-4.445-3.046-8.627-4.999-12.938-8.152c-0.32-0.235-0.955,0.065-1.313-0.15 c-1.776-1.075-3.346-2.101-5.079-3.33c-0.952-0.674-2.4-0.655-3.299-1.11c-4.491-2.281-9.134-3.267-13.56-5.375 c1.204-1.126,3.185-0.695,4.236-2.119c0.346,0.495,0.766,0.996,1.389,0.659c2.963-1.596,6.229-1.866,9.188-1.708 c3.01,0.163,6.046,0.701,9.181,1.181c0.542,0.083,0.894,1.006,1.464,1.178c3.934,1.171,8.15,0.244,11.894,1.723 c2.81,1.111,5.581,2.564,7.77,4.815c0.444,0.459-0.13,0.991-0.623,1.333c0.685-0.193,1.167,0.171,1.361,0.724 c0.148,0.422,0.148,0.955,0,1.377c-0.196,0.551-0.689,0.729-1.351,0.819c-2.484,0.336,0.645-2.101-0.591-1.31 c-2.248,1.438-0.932,3.92-2.246,6.159c-0.494-0.342-0.9-0.728-0.706-1.413c0.413,0.922-0.65,1.434-0.947,1.992 C489.953,36.869,488.366,39.367,486.804,38.296z"}),jt("path",{id:"path430",fill:"#CC7226",d:"M429.424,51.27c-5.568-1.402-10.954-1.199-16.279-3.452c-0.117-0.049-0.512,0.563-0.625,0.516 c-2.411-1.049-4.032-2.754-5.933-4.602c-1.612-1.568-4.539-0.884-6.789-1.744c-0.572-0.219-0.931-1.123-1.462-1.192 c-2.152-0.277-3.789-1.953-5.634-2.961c4.124-1.404,8.381-1.349,12.729-2.027c0.199-0.031,0.455,0.535,0.69,0.535 c0.24,0,0.47-0.39,0.706-0.627c0.345,0.495,0.878,1.07,1.331,0.622c0.968-0.953,1.949-0.618,2.902-0.547 c0.255,0.018,0.476,0.553,0.709,0.553c0.24,0,0.473-0.549,0.707-0.549c0.239,0.001,0.472,0.549,0.706,0.549 c0.24,0,0.471-0.39,0.706-0.627c1.223,1.381,2.784,0.403,4.235,0.719c1.833,0.401,2.305,2.428,4.201,2.954 c8.324,2.302,15.629,6.09,23.333,9.774c0.542,0.26,0.912,0.698,0.719,1.384c0.471,0,1.023-0.155,1.359,0.078 c1.867,1.292,3.706,2.26,4.937,4.199c0.381,0.599-0.199,1.317-0.61,1.226C444.243,54.292,437.17,53.219,429.424,51.27z"}),jt("path",{id:"path434",fill:"#CC7226",d:"M404.952,129.332c-2.813-2.152-3.842-5.738-5.834-8.902c-0.378-0.6,0.105-1.154,0.666-1.312 c0.987-0.281,1.946,0.563,2.669,0.92c3.081,1.522,5.792,3.715,9.316,3.96c3.515,3.945,11.036,4.625,11.049,10.594 c0.002,1.517-2.521-0.104-3.278,1.412c-4.328-1.771-8.546-1.589-12.748-4.179C405.702,131.152,406.285,130.353,404.952,129.332z"}),jt("path",{id:"path438",fill:"#CC7226",d:"M356.33,36.5c0.238,0.002,12.652,0.413,12.622,0.614c-0.079,0.546-13.729,2.398-14.37,2.098 c-0.29-0.134-13.554,4.156-13.79,3.92C341.266,42.894,355.86,36.5,356.33,36.5z"}),jt("path",{id:"path442",d:"M383.521,53.726c0,0-26.133,3.178-33.9,5.297c-7.77,2.119-40.609,15.538-45.907,19.069 c0,0-23.66,9.535-53.675,44.848c0,0,13.419-6.003,17.303-10.947c0,0,24.013-22.247,23.66-17.656c0,0,21.541-15.185,20.481-11.3 c0,0,43.082-19.775,39.551-14.125c0,0,38.138-8.122,36.372-4.591c0,0,33.192,7.769,28.25,8.122c0,0-10.241,2.119,1.06,8.475 c0,0-6.003,7.769-15.538,0.707c-9.534-7.063-4.236-3.178-13.064-1.413c0,0-4.592,1.413-12.713-5.65c0,0-9.889-8.122-25.426-1.766 c0,0-54.029,22.247-57.56,23.307c0,0-6.356,4.944-10.594,11.3c0,0-10.241,7.769-15.538,10.241c0,0-22.6,20.481-24.719,22.953 c0,0-6.003,9.181-7.416,9.888c0,0,11.3-6.709,14.831-10.241c0,0,24.719-17.656,34.253-19.069c0,0,7.769-5.297,9.182-7.769 c0,0,25.425-16.244,32.84-16.244c0,0,16.244,9.181,20.482-3.178c0,0,10.239-3.178,20.128-1.06c0,0,5.649-4.591,4.236-8.475 c0,0,2.825-3.178,4.592,3.531c0,0,6.003,6.356,14.479,2.825c0,0,7.063-0.353,3.531,3.884c0,0-7.77,6.709-28.604,7.063 c0,0-21.895,1.06-50.851,14.479c0,0-52.616,18.363-68.86,36.725c0,0-11.3,15.538-20.834,17.657c0,0-10.241,1.412-20.834,14.478 c0,0,17.303-10.241,33.194-10.241c0,0,7.063-4.237,0.353,2.119c0,0-6.356,13.418-3.531,22.953c0,0-1.06,9.181-2.472,12.006 c0,0-13.772,22.6-13.772,26.838c0,4.237,2.119,21.541,2.825,22.6c0.706,1.06-1.766-2.825,4.944,1.413 c6.709,4.237,11.653,7.063,13.065,12.006c1.413,4.944-3.531-9.535-3.884-12.713c-0.353-3.178-7.769-15.891-6.356-20.128 c0,0,1.766,1.766,3.178,4.237c0,0-1.059-1.06,0-7.416c0,0,1.413-9.182,3.885-14.832s6.003-12.359,6.709-13.772 c0.707-1.413,0.707-11.653,3.178-7.063l6.003,4.59c0,0-4.944-4.59-1.06-8.475c0,0-1.766-9.888,1.413-14.479 c0,0,12.359-14.832,15.185-16.597c2.826-1.765,0.353-1.059,0.353-1.059s10.594-7.416,0.353-4.591c0,0-7.063,2.825-12.359,2.825 c0,0-13.419,3.531-6.356-3.885s24.719-16.95,31.429-16.597l1.413,2.825l19.775-4.237l-2.119,1.413c0,0-0.353-0.354,7.063-1.06 s17.656,1.766,20.128-1.413c2.473-3.178,8.477-4.944,7.771-2.472c-0.706,2.472-1.061,6.003-1.061,6.003s8.828-10.241,7.77-6.356 c-1.061,3.884-15.537,13.065-18.011,24.013l18.363-14.479l6.356-5.297c0,0,6.355,3.884,6.709,1.06 c0.354-2.825,8.476-13.066,10.594-12.713c2.119,0.353,5.649-4.591,5.297,0c-0.353,4.591,13.066,14.125,13.066,14.125 s5.648-3.178,8.122-0.706c2.472,2.472,9.887-34.96,9.887-34.96l44.142-18.716l76.983-6.003l-30.017-12.006L383.521,53.726z"}),jt("path",{id:"path446",stroke:"#4C0000","stroke-width":"2",d:"M415.655,405.089c0,0-26.484-29.663-41.316-34.254 c0,0-23.659-12.006-67.094,1.766"}),jt("path",{id:"path450",stroke:"#4C0000","stroke-width":"2",d:"M368.689,368.363c0,0-44.494-14.125-71.687-6.709 c0,0-32.488,3.531-47.319,27.897"}),jt("path",{id:"path454",stroke:"#4C0000","stroke-width":"2",d:"M362.333,366.245c0,0-30.016-12.713-56.147-16.597 c0,0-29.31-4.591-58.62,8.122c0,0-21.541,10.594-31.075,28.603"}),jt("path",{id:"path458",stroke:"#4C0000","stroke-width":"2",d:"M364.099,366.951c0,0-27.19-19.422-28.957-21.894 c0,0-12.358-19.422-35.313-20.128c0,0-37.785,1.413-68.154,15.538"}),jt("path",{id:"path462",d:"M361.794,351.072c2.723,2.583,50.33,53.664,50.33,53.664c62.15,64.624,12.713,4.236,12.713,4.236 c-13.419-8.475-29.663-41.669-29.663-41.669c-2.119-4.944,24.719,12.713,24.719,12.713c7.063,1.412,31.075,35.313,31.075,35.313 c-12.006-4.237-3.53,8.476-3.53,8.476c4.943,3.531,40.965,31.077,40.965,31.077c6.355,7.063,13.419,9.888,13.419,9.888 c24.719-9.182,13.419,14.125,13.419,14.125c4.236,12.007,14.125-8.476,14.125-8.476c19.774-29.664-9.182-25.425-9.182-25.425 c-52.972,4.942-64.978-23.31-64.978-23.31c-4.238-4.236,11.3,0,11.3,0c14.833,3.531-12.713-21.894-12.713-21.894 c4.237,0,20.481,12.006,20.481,12.006c18.363,16.244,21.896,12.713,21.896,12.713c31.782-15.538,50.146-2.119,50.146-2.119 c3.53,2.825-6.356,14.832-3.531,24.016c2.825,9.182,11.3,31.075,11.3,31.075c-4.237,2.824-3.531,21.895-3.531,21.895 c29.663,40.963,12.713,37.432,12.713,37.432c-27.544-0.707-1.411,12.712-1.411,12.712c5.648,3.531,21.188,16.244,21.188,16.244 c-4.944-2.119-7.769,7.063-7.769,7.063c8.475,7.063,3.53,15.538,3.53,15.538c-10.594,2.118-12.713,9.181-12.713,9.181 c12.006,14.126-5.649,14.832-5.649,14.832c6.355,7.769-2.118,28.956-2.118,28.956c-8.477,0-19.775,9.888-19.775,9.888 c4.237,8.477-14.125,18.363-14.125,18.363c-14.832,2.824-9.888,14.831-9.888,14.831c-14.125,10.594-18.363,38.844-18.363,38.844 c-1.412,18.363-5.648,24.014,3.531,20.481c9.182-3.531,7.77-25.425,7.77-25.425c-8.476-27.545,67.095-55.795,67.095-55.795 c7.063-2.824,8.476-12.007,8.476-12.007c3.531,0.706,19.069,14.125,19.069,14.125c13.418,19.775,14.125,3.531,14.125,3.531 c2.118-6.356-0.707-16.95-0.707-16.95c10.595-38.138-14.125-49.438-14.125-49.438c-17.656-59.326,7.063-44.494,7.063-44.494 c4.944,9.888,24.014,19.068,24.014,19.068l6.355-4.237c-2.824-8.477,12.007-19.069,12.007-19.069 c4.943,11.301,15.537-2.824,15.537-2.824c6.356-43.082,28.251-17.656,28.251-17.656c7.063,2.119,9.182-9.889,9.182-9.889 c6.355-18.361,0-42.375,0-42.375c6.355-0.706,23.307,9.889,23.307,9.889c4.944-6.356-11.3-36.021-4.237-31.781 c7.063,4.237,14.831,7.063,14.831,7.063c1.413-3.53-16.243-25.426-16.243-25.426c-7.77-4.945-16.949-40.965-16.949-40.965 c12.712,6.356-4.944-20.481-4.944-20.481c0-5.65,10.594-25.425,10.594-25.425c-1.412-12.006,0-11.3,0-11.3 c4.944,2.119,19.069,4.944,7.063-6.356c-12.006-11.3,1.413-19.775,1.413-19.775c7.769-4.944-16.244-4.238-16.244-4.238 c-9.183-7.769-8.477-14.831-8.477-14.831c14.126,3.531-11.3-21.894-15.536-28.25c-4.237-6.356,12.713-15.538,12.713-15.538 c23.307-6.356,2.823-12.006,2.823-12.006c-34.605,0.706-15.536-18.363-15.536-18.363c10.594,0.707,7.769-3.531,7.769-3.531 c-9.181-2.119-26.132-13.419-26.132-13.419c-7.063-6.356-0.706-4.944-0.706-4.944c29.663,2.119-21.188-17.656-21.188-17.656 c14.125,0-17.655-18.363-17.655-18.363c-3.531-2.825-9.183-16.244-9.183-16.244c-10.594-9.182-19.067-21.188-19.067-21.188 c-0.707-7.769-9.183-16.244-9.183-16.244c-20.48-24.013-30.369-23.307-30.369-23.307c-26.132-6.356-35.313-4.944-35.313-4.944 l-93.229,7.769c-46.612,22.6-32.842,59.679-32.842,59.679c11.301,14.831,27.544,8.122,27.544,8.122 c8.122-10.947,28.604-7.063,28.604-7.063c36.021,5.65,31.431-0.706,31.431-0.706c-4.237-8.122-32.843-19.069-33.196-20.128 c-0.353-1.06-15.891-7.063-15.891-7.063c-5.297-2.119-13.065-18.363-13.065-18.363c-5.649-6.003,22.247,4.238,22.247,4.238 c-2.119,1.766,10.947,8.828,10.947,8.828c30.724-1.766,49.439,17.303,49.439,17.303c19.068,29.31,19.422,14.832,19.422,14.832 c4.943-16.597-15.892-54.029-15.892-54.029c0.706-3.531,15.186,8.122,15.186,8.122c2.472-3.531,3.885,6.709,3.885,6.709 c0.353,4.237,7.063,18.362,7.063,18.362c4.942,22.954,11.3,9.888,11.3,9.888l8.122,16.597c2.472,4.591-8.122,18.01-8.122,18.01 c-0.354,4.944,1.06,4.59-8.828,18.009s-3.885,21.188-3.885,21.188c-2.473,11.653,13.064,10.947,13.064,10.947 c4.591,3.884,10.595,3.884,10.595,3.884c3.179,3.531,7.415,2.472,7.415,2.472c2.825-6.709,13.772-3.178,13.772-3.178 c2.472-4.238,16.95-4.944,16.95-4.944c1.766-4.591,2.472-7.416,8.475-8.475c6.004-1.06-37.432-76.982-37.432-76.982 c11.301-1.413-3.179-23.307-3.179-23.307c-3.885-11.653,16.244,14.125,20.128,16.597c3.886,2.472,5.65,6.356,2.825,6.003 s-6.003,3.532-3.531,3.885c2.473,0.354,25.427,26.837,31.43,44.847c6.003,18.01,16.597,25.072,27.544,35.666 c10.947,10.594,9.534,53.322,9.534,53.322c-0.706,15.538,9.888,34.253,9.888,34.253c3.531,6.709-3.885,38.844-3.885,38.844 c-3.531,3.884-1.06,5.297-1.06,5.297c1.767,2.119,13.771,25.425,13.771,25.425c-3.178-0.353,3.179,6.003,3.179,6.003 c9.181,10.594-2.119,5.297-2.119,5.297c-10.594-2.825,1.767,14.479,1.767,14.479c2.119,3.178-13.772-4.944-13.772-4.944 c-16.243-1.06,4.238,11.653,4.238,11.653c15.185,12.713-4.944,4.943-4.944,4.943c-8.122-3.179-2.472,8.828-2.472,8.828 c5.649,2.824,36.02,15.186,36.02,15.186c0.706,6.711-4.591,15.539-4.591,15.539c0.706,7.063-3.179,13.064-3.179,13.064 c-2.118,14.479-3.178,15.891-3.178,15.891c-7.416,0.354-20.481,24.721-20.481,24.721c-3.179,4.591-21.188,25.777-21.188,25.777 c-3.531,12.359-35.313-0.354-35.313-0.354c-11.653,6.003-8.122,0-8.122,0c-0.706-3.884,7.771-14.479,7.771-14.479 c12.358-4.59,7.769-23.658,7.769-23.658c7.063-2.473-12.713-7.416-12.359-9.534c0.354-2.119,10.595-4.591,10.595-4.591 c14.125-3.531,6.355-7.77,6.355-7.77c-1.06-7.063,4.237-16.95,4.237-16.95c20.48-1.413,0-30.019,0-30.019 c-19.068-13.418-20.835-23.659-20.835-23.659c22.247-14.478,7.77-36.372,8.122-42.729c0.354-6.356,2.473-44.494,2.473-44.494 c-3.531-10.947-8.828-34.96-8.828-34.96c3.885-9.181,16.949-31.428,16.949-31.428c4.944-7.416,20.481-15.891,16.598-21.188 c-3.885-5.297-17.655-2.119-17.655-2.119c-13.772-2.472-12.713,6.709-12.713,6.709c-2.825,1.766-4.237,10.594-4.237,10.594 c-1.273,14.007-16.95,25.072-16.95,25.072c-19.775,10.947-3.531,18.01-3.531,18.01c10.595,11.653-6.71,12.006-6.71,12.006 c-19.422-3.178-4.942,14.831-4.942,14.831c19.067,22.601,13.771,27.544,13.771,27.544c-18.009,1.766,4.237,18.009,4.237,18.009 s-1.412-3.531-1.06-0.353c0.354,3.178,5.649,10.594,7.063,14.125c1.412,3.531-5.65,3.885-5.65,3.885 c1.061,16.95-26.132,9.534-26.132,9.534s0,0-2.824,0.353c-2.824,0.354-22.601-1.059-32.841-4.944 c-10.241-3.884-22.248-3.884-22.248-3.884s-7.063,3.178-20.481,2.825s-27.544,4.59-27.544,4.59 c-7.771-0.706,7.415-8.475,7.769-8.122s10.24-9.535-3.885-8.475c-38.485,2.887-57.561-15.185-57.561-15.185 c-3.53-2.472-8.122-7.416-8.122-7.416c-17.655-3.531,2.473,21.894,2.473,21.894c2.119,2.472-0.354,4.238-0.354,4.238 c-1.413-2.825-15.185-12.359-15.185-12.359C368.316,357.817,365.91,355.461,361.794,351.072z"}),jt("path",{id:"path466",fill:"#4C0000",d:"M319.604,330.579c0,0,20.481,9.887,25.072,14.831c4.591,4.944,29.311,25.072,29.311,25.072 s-9.535-3.531-14.125-6.709c-4.592-3.178-23.66-17.656-23.66-17.656S329.492,335.522,319.604,330.579z"}),jt("path",{id:"path470",fill:"#99CC32",d:"M217.181,275.496c0.595-0.261-0.33-5.05-0.69-6.008c-1.804-4.813-17.656-7.416-17.656-7.416 c-0.401,2.41-0.498,5.229-0.311,8.121C198.523,270.192,207.119,279.936,217.181,275.496z"}),jt("path",{id:"path474",fill:"#659900",d:"M217.181,275.143c-0.793,0.279-0.026-4.827-0.337-5.655 c-1.804-4.813-18.009-7.592-18.009-7.592c-0.401,2.41-0.498,5.228-0.311,8.12C198.523,270.015,206.06,279.053,217.181,275.143z"}),jt("path",{id:"path478",d:"M209.428,275.395c-1.104,0-1.997-2.013-1.997-4.495c0-2.481,0.894-4.494,1.997-4.494 c1.104,0,1.999,2.013,1.999,4.494C211.427,273.382,210.532,275.395,209.428,275.395z"}),jt("path",{id:"path486",d:"M128.915,448.525c0,0-9.888,17.655,33.9,7.063c0,0,24.719-2.119,28.957-6.355 c2.119,1.411,16.89,6.591,21.894,7.769c12.006,2.825,26.838-14.833,26.838-14.833s8.122-18.539,13.066-18.539 c4.944,0-0.707,2.825-0.707,2.825s-11.653,17.834-10.947,20.659c0,0-9.181,35.313-37.432,36.726c0,0-28.515,1.678-26.131,12.007 c0,0,15.538-4.237,19.775,0c0,0,19.069-0.707,4.944,10.595l-12.006,20.48c0,0,0.247,6.918-17.656,0.706 c-17.303-6.003-35.489-28.78-35.489-28.78S109.758,473.156,128.915,448.525z"}),jt("path",{id:"path490",fill:"#E59999",d:"M126.796,455.588c0,0-3.531,16.95,61.444-1.413c0,0,7.769,0,12.007,1.413 c4.237,1.412,25.425,6.356,28.957,4.237c0,0-12.713,24.013-33.194,21.188c0,0-23.307,2.825-22.6,11.302 c0,0,7.063,12.712,15.538,16.949c0,0,4.944,4.237,4.237,9.888c-0.706,5.649-5.65,8.476-9.181,9.888 c-3.531,1.413-9.181-4.237-12.006-4.237s-17.656-11.3-25.425-19.774c-7.769-8.476-22.6-29.662-21.894-34.606 C125.384,465.476,126.796,455.588,126.796,455.588z"}),jt("path",{id:"path494",fill:"#B26565",d:"M132.446,486.398c4.591,6.974,10.241,14.39,14.125,18.627 c7.769,8.476,22.6,19.774,25.425,19.774c2.825,0,8.475,5.65,12.006,4.237c3.531-1.412,8.475-4.237,9.181-9.888 c0.707-5.649-4.237-9.888-4.237-9.888c-5.414-2.707-10.251-8.873-13.04-12.975c0,0,0.327,4.499-8.854,3.087 c-9.181-1.413-18.363-6.356-21.188-12.007c-2.825-5.65-7.063-9.888-4.238-3.531s7.063,12.713,9.888,13.419 c2.825,0.706,2.119,2.825-2.119,2.119c-4.238-0.707-9.182-1.413-16.95-10.594L132.446,486.398L132.446,486.398z"}),jt("path",{id:"path498",fill:"#992600",d:"M127.855,449.231c0,0,3.178-24.016,5.297-31.077c0,0-1.413-12.007,2.825-19.422 c4.237-7.417,7.769-18.363,13.066-27.897s5.65-16.597,12.712-19.422c7.062-2.825,17.656-18.01,22.6-19.775 c4.944-1.765,4.591-0.353,4.591-0.353s12.006-26.131,36.019-19.069c0,0-28.604-4.944-0.706-21.541c0,0-8.475,1.942-2.648-10.417 c3.886-8.242,3.001,3.708-16.421,24.542c0,0-8.828,15.185-18.009,20.481c-9.181,5.297-30.369,17.657-32.488,24.366 c-2.119,6.709-7.769,16.95-11.3,19.775c-3.531,2.825-8.475,10.241-9.181,16.244c0,0-2.119,7.063-4.591,9.181 c-2.472,2.119-2.825,7.769-2.825,11.299c0,3.532-3.531,8.477-3.178,12.714c0,0,1.412,33.549,0.706,37.079L127.855,449.231z"}),jt("path",{id:"path502",fill:"#FFFFFF",d:"M112.671,457.354c0,0-3.531-2.472-11.3,8.122c0,0,12.889,58.267,12.889,60.738 c0,0,1.942-3.708-0.354-16.421c-2.295-12.713-3.884-35.137-3.884-35.137L112.671,457.354z"}),jt("path",{id:"path506",fill:"#992600",d:"M150.809,350.354c0,0-31.076,5.65-30.369,57.207l-1.413,43.79c0,0-2.119-45.202-4.238-48.026 c-2.119-2.825,4.944-22.601-0.706-12.007c0,0-24.719,24.719-10.594,62.152c0,0,2.648,5.827-2.648-2.295 c0,0-8.122-22.249-6.18-33.549c0,0,0.353-3.885,3.708-8.828c0,0,15.185-20.659,19.952-24.72c0,0,3.178-25.425,30.369-34.606 C148.69,349.471,158.754,345.41,150.809,350.354z"}),jt("path",{id:"path510",d:"M396.939,233.468c1.164-0.625,1.148-2.338,2.174-2.644c2.027-0.607,2.317-2.491,3.231-3.875 c1.542-2.329,1.883-5.036,2.91-7.668c0.48-1.236,0.527-2.922-0.024-4.087c-2.072-4.381-3.313-8.705-5.858-12.988 c-0.473-0.794-0.937-2.196-1.29-3.252c-0.817-2.443-3.037-4.193-4.556-6.524c-0.51-0.779,0.419-2.412-0.847-2.56 c-1.584-0.186-4.143-1.209-4.554,0.602c-1.038,4.568,0.747,9.022,2.456,13.334c-1.381,1.222-0.791,2.848-0.522,4.202 c1.255,6.367-0.86,12.286-2.204,18.419c-0.041,0.184,0.563,0.533,0.514,0.643c-2.158,4.743-4.722,9.06-7.935,13.264 c-1.338,1.751-2.878,3.369-3.755,5.246c-0.649,1.39-1.37,3.095-0.929,4.84c-6.065,4.908-10.038,11.697-14.647,18.488 c-0.815,1.201-0.303,3.335,0.672,3.811c1.435,0.703,3.123-1.105,3.953-2.599c0.687-1.232,1.31-2.38,2.177-3.516 c0.233-0.309-0.081-1.049,0.157-1.262c4.647-4.144,7.596-9.328,11.927-13.509c3.442-0.581,6.157-2.343,9.243-4.131 c0.544-0.316,1.469,0.124,1.98-0.221c3.095-2.078,3.091-5.673,3.278-9.045C394.58,236.872,394.927,234.547,396.939,233.468z"}),jt("path",{id:"path514",d:"M381.329,225.583c0.22-0.136-0.055-0.883,0.138-1.264c0.286-0.572,0.998-0.904,1.284-1.476 c0.192-0.381-0.096-1.052,0.146-1.303c4.118-4.321,4.572-9.66,2.743-14.909c1.809-1.095,1.915-3.323,1.165-4.818 c-1.506-3.002-1.847-6.402-3.567-9.127c-1.416-2.24-4.202-4.437-6.623-2.136c-0.743,0.706-1.311,2.096-0.819,3.353 c0.113,0.288,0.616,0.545,0.568,0.69c-0.188,0.572-1.152,0.967-1.163,1.448c-0.053,2.641-1.737,5.309-0.625,7.656 c1.363,2.876,2.809,6.155,4.003,9.291c-2.179,3.736-0.355,8.06-3.45,11.374c-0.24,0.258-0.225,0.939-0.009,1.296 c0.516,0.858,1.231,1.575,2.09,2.091c0.357,0.213,0.972,0.217,1.324-0.002C379.553,227.106,380.256,226.247,381.329,225.583z"}),jt("path",{id:"path518",d:"M492.233,207.377c2.451,3.164,2.964,8.099-0.653,10.554c0.971,5.842,6.888,2.348,10.594,1.412 c-0.191-0.685,0.208-1.292,0.708-1.301c1.866-0.026,3.066-1.849,4.941-1.523c0.767-2.75,3.659-3.989,4.796-6.425 c3.048-6.524,2.004-14.069-2.559-19.8c-0.356-0.449,0.025-1.361-0.192-2c-1.335-3.904-4.986-4.46-8.401-5.675 c-2.078-6.842-3.245-13.959-6.354-20.481c-2.851-0.441-4.082-3.512-6.443-4.783c-2.354-1.27-3.355,1.519-3.284,3.365 c0.014,0.362,0.812,0.757,0.512,1.402c-0.136,0.29-0.595,0.486-0.595,0.722c0.002,0.238,0.394,0.47,0.629,0.707 c-1.62,1.448-4.134,2.29-4.653,4.312c-1.686,6.55,2.857,12.068,5.804,17.72c1.044,2.004-0.256,4.249-1.598,6.381 c-0.773,1.227-0.583,3.217-0.097,4.729C486.714,200.806,489.521,203.876,492.233,207.377z"}),jt("path",{id:"path522",d:"M426.622,239.84c-2.626,3.268-8.65,7.804-3.5,11.208c0.343,0.228,0.996,0.234,1.302-0.002 c3.568-2.763,7.104-4.357,11.405-5.385c0.22-0.051,0.703,0.773,1.354,0.489c2.849-1.242,6.397-1.139,8.487-3.501 c6.651,0.396,12.946-1.575,18.934-3.884c2.051-0.791,4.293-1.778,6.412-2.665c2.431-1.017,4.557-2.655,6.521-4.67 c0.233-0.24,0.858-0.082,1.331-0.082c-0.07-1.523,1.628-1.748,2.063-2.846c0.163-0.41-0.102-1.109,0.133-1.289 c3.775-2.878,5.399-6.441,3.336-10.638c-0.504-1.021-0.942-2.112-1.941-2.952c-1.916-1.608-3.862-0.101-5.711-0.637 c-0.28,1.108-1.567,0.805-2.249,1.155c-1.517,0.775-3.87-0.258-5.387,0.515c-2.405,1.227-4.598,1.526-7.106,2.191 c-0.552,0.145-1.925-0.025-2.208,1.083c-0.236-0.237-0.497-0.65-0.685-0.611c-3.369,0.699-5.595,1.077-7.892,4.064 c-0.182,0.235-0.962-0.081-1.243,0.157c-1.688,1.427-2.403,3.605-4.349,4.792c-0.354,0.217-0.977-0.079-1.319,0.148 c-1.141,0.761-1.787,1.893-2.922,2.682c-0.581,0.404-1.287-0.169-1.229-0.622c0.433-3.438,1.585-6.593,0.569-9.905 c3.667-4.449,8.111-7.891,11.301-12.713c0.025-3.824,1.248-7.613,1.049-11.28c-0.019-0.341-0.526-1.635-0.748-2.248 c-0.552-1.508,1.049-3.39-0.441-4.668c-2.479-2.124-4.761-0.578-6.216,1.953c-3.245,0.688-6.893,1.912-9.679-0.267 c-1.778-1.39-2.799-2.989-4.21-4.854c-1.738-2.299-1.147-4.834-1.023-7.596c0.011-0.226-0.546-0.466-0.546-0.703 c0.002-0.238,0.391-0.47,0.627-0.706c-1.246-1.105-1.731-2.974-3.531-3.532c0.538-1.928-0.654-3.489-2.192-4.022 c-3.522-1.22-6.483,2.156-9.823,2.285c-0.908,0.034-1.732-1.799-2.878-2.373c-0.764-0.381-2.006-0.439-2.646,0.03 c-1.215,0.89-2.255,1.091-3.593,1.453c-2.854,0.77-5.11,2.701-7.725,4.211c-2.622,1.513-4.31,4.05-6.216,6.381 c-1.661,2.034-1.901,6.296,0.605,7.179c3.254,1.148,5.557-3.625,9.027-3.049c0.551,0.09,0.915,0.639,0.721,1.324 c0.688,0.193,1.071-0.212,1.412-0.706c1.515,1.799,3.57,2.394,5.227,3.936c1.714,1.596,4.796,0.858,6.589,2.619 c2.698,2.652,1.712,7.386,5.136,9.69c-1.034,2.318-2.106,4.573-2.698,7.092c-0.497,2.129,1.258,4.243,3.396,4.082 c2.222-0.166,2.684-1.506,3.54-3.406c0.472,0.472,1.3,0.996,1.228,1.377c-0.807,4.214-2.62,7.733-3.429,12.025 c-0.104,0.56-0.644,0.917-1.33,0.722c-0.826,7.326-7.98,11.553-12.475,17.141c-0.712,0.886-0.719,3.092,0.004,3.803 c2.478,2.449,5.938-0.281,8.938-1.169c0.376-2.129,1.893-3.792,4.245-3.694c0.452,0.018,0.866-0.939,1.438-1.169 c0.614-0.244,1.501,0.152,2.007-0.198c3.053-2.11,5.539-4.063,8.606-6.162c0.339-0.231,0.946,0.05,1.328-0.141 c0.574-0.286,0.904-0.969,1.475-1.296c0.614-0.353,1.041,0.159,1.383,0.653c-1.142,0.616-1.147,2.306-2.176,2.663 c-1.367,0.473-2.358,1.379-3.549,2.168c-0.516,0.341-1.68-0.097-1.862,0.219C429.966,237.508,427.875,238.281,426.622,239.84z"}),jt("path",{id:"path526",d:"M328.785,152.602c0,0-16.312-5.071-36.019,40.257c0,0-4.238,9.181-8.475,12.712 c-4.238,3.531-24.013,9.888-27.544,16.95l-18.363,28.25c0,0,26.131-28.25,31.782-32.488c0,0,14.125-14.832,8.475-2.825 c0,0-24.719,19.069-22.601,35.313c0,0-9.887,25.425-11.3,28.957c0,0,28.25-56.5,32.488-58.62c4.237-2.119,6.356-2.119,4.237,4.238 c-2.119,6.357-2.825,35.313-7.769,38.844c0,0,14.125-36.02,12.712-41.669c0,0,5.65-6.356,9.888,2.825l-2.119,28.25l7.769,21.188 c0,0-4.237-19.775-1.413-47.319c0,0-3.531-18.363,3.531-8.475c7.062,9.888,24.013,20.481,24.013,28.957 c0,0-9.181-31.075-25.425-39.55l-7.063,10.594l-2.119-3.531c0,0-6.356-1.413,1.413-13.419c7.769-12.006,7.063-13.419,7.063-13.419 s11.3,12.713,14.125,12.713c0,0,23.307-13.419,25.425,29.663c0,0,12.007-25.425-4.237-37.432c0,0-26.132-3.531-24.013-12.712 l12.713-21.894c6.356-9.182,3.531-4.238,3.531-4.238L328.785,152.602z"}),jt("path",{id:"path530",d:"M293.473,181.558c0,0-22.6,0-28.25,9.181l-12.713,16.95c0,0,30.369-17.656,37.432-19.775 S293.473,181.558,293.473,181.558z"}),jt("path",{id:"path534",d:"M222.847,192.858c0,0-3.531,2.119-4.238,7.063c-0.706,4.944-4.944,5.65-3.531,10.594 c1.413,4.944,4.944,9.182,4.944,2.119c0-7.063,2.825-10.594,4.238-12.712C225.672,197.802,228.497,190.033,222.847,192.858z"}),jt("path",{id:"path538",d:"M207.31,300.916c0,0-14.832-7.063-20.481-13.419c-5.65-6.356-4.852,2.765-13.419,2.119 c-10.324-0.779-8.475-28.957-8.475-28.957l-7.063,13.418c0,0-2.119,25.425,12.006,21.188c6.898-2.069,9.181,0.706,6.356,2.119 c-2.825,1.413,9.887,2.119,4.943,4.944c-4.943,2.825,20.481-6.356,16.244,12.006L207.31,300.916z"}),jt("path",{id:"path542",d:"M185.063,326.341c0,0-27.191,7.769-33.547-9.181c0,0-8.475,4.237-4.591,9.534 c3.885,5.297,6.003,6.003,6.003,6.003s9.534,2.119,8.475,3.531c-1.06,1.413-5.297,7.416-5.297,7.416S174.115,333.05,185.063,326.341 z"}),jt("path",{id:"path546",fill:"#FFFFFF",d:"M588.337,464.416c-0.754,3.768-3.704,5.182-7.063,6.355c-3.386-1.69-7.973-7.176-11.301-3.53 c-0.837-0.849-2.213-0.954-2.819-2.123c-0.82-1.585-0.342-3.433-0.944-4.841c-0.962-2.246-2.214-4.658-1.886-7.161 c3.188-1.258,4.239-4.623,3.401-7.735c-0.122-0.454-0.879-0.802-0.525-1.418c0.329-0.57,0.89-0.972,1.36-1.441 c-0.237,0.237-0.493,0.648-0.689,0.613c-1.077-0.188-0.857-1.313-0.628-1.995c1.032-3.083,4.589-3.549,6.969-1.443 c0.452-0.998,1.352-0.655,2.118-0.706c-0.088-1.022,0.633-1.953,0.982-2.694c0.913-1.938,3.791,0.014,5.197-1.065 c1.899-1.457,3.776-2.691,5.681-1.628c3.193,1.789,6.212,3.93,8.327,7.004c1.017,1.473,1.439,3.733,1.338,5.426 c-0.067,1.143-2.507,0.521-3.111,2.161c-1.139,3.086,2.095,4.003,3.43,6.364c0.35,0.616-0.117,1.153-0.673,1.326 c-0.726,0.227-2.11-0.107-1.866,0.691C597.351,462.212,592.484,463.409,588.337,464.416z"}),jt("path",{id:"path550",fill:"#FFFFFF",d:"M571.385,499.022c-0.012-3.068-2.839-6.17-0.704-9.183c0.238,0.237,0.471,0.627,0.706,0.627 c0.238,0,0.471-0.39,0.706-0.627c2.641,3.913,9.088,5.552,8.837,10.576c-0.038,0.79-1.958,2.41-0.36,3.55 c-3.201,2.38-3.3,6.564-4.944,9.887c-2.186-0.505-4.325-1.146-6.356-2.117c0.622-2.624,0.415-5.599,1.863-7.929 C571.896,502.575,571.391,500.67,571.385,499.022z"}),jt("path",{id:"path554",fill:"#CCCCCC",d:"M277.935,483.132c0,0-29.765,17.896-4.944-9.182c15.538-16.95,33.194-26.838,33.194-26.838 s18.362-7.771,24.719-9.89c6.355-2.119,33.193-11.301,38.845-12.007c5.649-0.706,22.6-7.769,34.606-0.706 c12.006,7.063,26.131,14.831,26.131,14.831s-28.956-14.831-35.313-10.594c-6.356,4.237-19.069,3.531-29.663,9.182 c0,0-26.131,7.771-31.781,11.303c-5.649,3.53-24.013,24.013-26.837,22.601c-2.825-1.413,0.706-2.119,2.825-7.063 c2.119-4.943-1.412-7.77-15.538,3.531C280.054,479.601,277.935,483.132,277.935,483.132z"}),jt("path",{id:"path558",d:"M291.01,472.596c0,0,2.49-23.022,17.459-20.084c0,0,14.523-7.361,19.33-10.837c0,0,14.37-3.006,16.685-4.095 c32.627-15.361,58.614-7.383,59.581-9.359c0.965-1.977,35.614,10.59,41.986,17.806c0.69,0.781-18.063-9.884-35.188-13.223 c-14.607-2.85-52.748,0.438-72.005,10.211c-5.249,2.664-21.043,12.877-25.513,12.682C308.878,455.498,291.01,472.596,291.01,472.596 z"}),jt("path",{id:"path562",fill:"#CCCCCC",d:"M284.292,517.738c0,0-26.838-4.237,2.825-7.063c0,0,31.782-3.531,38.844-12.713 c0,0,24.013-16.244,28.956-16.95c4.944-0.706,57.913-13.419,58.619-17.656c0.707-4.236,10.595-4.236,13.419-2.824 c2.825,1.413,1.413,3.53-3.531,4.943c-4.943,1.412-60.031,30.369-71.332,32.487c-11.3,2.119-31.781,15.538-40.256,17.656 C303.36,517.738,284.292,517.738,284.292,517.738z"}),jt("path",{id:"path566",d:"M318.757,504.676c0,0-15.153-1.464,0.033-2.909c0,0,15.566-6.046,19.183-10.748c0,0,12.296-8.316,14.826-8.678 c2.531-0.362,27.18-6.872,27.542-9.04c0.362-2.17,60.51-24.384,68.314-18.751c5.14,3.709-12.343,0.748-29.354,8.535 c-2.393,1.095-62.164,26.85-67.95,27.934c-5.785,1.087-16.271,7.956-20.611,9.04C326.402,501.145,318.757,504.676,318.757,504.676z"}),jt("path",{id:"path570",d:"M304.773,508.557c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.357,1.412-6.357,1.412L304.773,508.557z"}),jt("path",{id:"path574",d:"M292.061,511.382c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.356,1.412-6.356,1.412L292.061,511.382z"}),jt("path",{id:"path578",d:"M273.698,514.207c0,0,9.181-0.706,7.063,2.119c-2.119,2.824-6.356,1.412-6.356,1.412L273.698,514.207z"}),jt("path",{id:"path582",d:"M260.279,515.619c0,0,9.181-0.706,7.063,2.119c-2.118,2.825-6.356,1.412-6.356,1.412L260.279,515.619z"}),jt("path",{id:"path586",d:"M328.079,445.7c0,0,7.77,0,5.649,2.825c-2.119,2.824-7.769,2.117-7.769,2.117L328.079,445.7z"}),jt("path",{id:"path590",d:"M310.423,455.588c0,0,11.487-3.78,7.063,2.118c-2.118,2.825-6.356,1.413-6.356,1.413L310.423,455.588z"}),jt("path",{id:"path594",d:"M290.648,464.063c0,0,9.181-0.705,7.063,2.119c-2.118,2.825-6.356,1.412-6.356,1.412L290.648,464.063z"}),jt("path",{id:"path598",d:"M277.229,474.656c0,0,9.181-0.706,7.063,2.119c-2.118,2.824-6.356,1.411-6.356,1.411L277.229,474.656z"}),jt("path",{id:"path602",d:"M265.223,483.132c0,0,9.181-0.706,7.063,2.118c-2.119,2.825-6.356,1.413-6.356,1.413L265.223,483.132z"}),jt("path",{id:"path606",d:"M334.228,494.427c0,0,12.221-0.938,9.4,2.819c-2.82,3.761-8.461,1.881-8.461,1.881L334.228,494.427z"}),jt("path",{id:"path610",d:"M352.59,485.951c0,0,12.221-0.939,9.4,2.82c-2.819,3.761-8.461,1.88-8.461,1.88L352.59,485.951z"}),jt("path",{id:"path614",d:"M371.659,478.183c0,0,12.22-0.938,9.399,2.819c-2.819,3.761-8.461,1.881-8.461,1.881L371.659,478.183z"}),jt("path",{id:"path618",d:"M390.021,469.708c0,0,12.221-0.939,9.399,2.819c-2.819,3.761-8.461,1.88-8.461,1.88L390.021,469.708z"}),jt("path",{id:"path622",d:"M341.29,437.926c0,0,12.22-0.938,9.4,2.82c-2.82,3.761-9.874,3.293-9.874,3.293L341.29,437.926z"}),jt("path",{id:"path626",d:"M358.946,432.276c0,0,12.22-0.939,9.399,2.818c-2.818,3.762-10.58,3.293-10.58,3.293L358.946,432.276z"}),jt("path",{id:"path630",d:"M318.898,502.907c0,0,9.181-0.706,7.063,2.118c-2.119,2.824-6.355,1.413-6.355,1.413L318.898,502.907z"}),jt("path",{id:"path634",fill:"#992600",d:"M189.653,327.753c0,0-7.769,15.538-8.475,21.188c0,0,1.413-15.538,3.531-19.069 C186.828,326.341,189.653,327.753,189.653,327.753z"}),jt("path",{id:"path638",fill:"#992600",d:"M157.165,352.472c0,0-5.65,25.425-4.944,30.369c0,0-2.119-20.481-1.412-22.6 C151.515,358.123,157.165,352.472,157.165,352.472z"}),jt("path",{id:"path642",fill:"#CCCCCC",d:"M193.891,220.755l-0.353,5.65l-3.885,0.354c0,0,25.072,22.247,26.132,35.666 C215.785,262.425,217.197,247.946,193.891,220.755z"}),jt("path",{id:"path646",d:"M200.925,222.989c-0.761-0.734-0.374-2.05-1.095-2.509c-1.428-0.911,2.292-1.012,1.889-2.276 c-0.676-2.129-0.346-2.167-0.562-4.419c-0.101-1.056,0.938-3.775,1.618-4.552c2.553-2.917,0.215-8.094,3.111-10.833 c0.537-0.51,1.201-1.485,1.704-2.223c1.164-1.7,3.254-2.562,4.931-4.024c0.562-0.487,0.207-1.948,1.211-1.785 c1.261,0.203,3.452-0.026,3.373,1.458c-0.2,3.743-2.546,6.78-4.806,9.725c0.796,1.243-0.013,2.364-0.514,3.348 c-2.357,4.626-2.023,9.642-2.331,14.657c-0.009,0.15-0.551,0.288-0.537,0.381c0.623,4.123,1.654,8.005,3.207,11.941 c0.646,1.642,1.478,3.222,1.743,4.859c0.196,1.211,0.378,2.682-0.343,3.927c3.593,5.103,1.282,9.783,3.346,16.018 c0.365,1.104,3.353,4.483,2.535,4.199c-4.437-1.538-4.635-2.241-4.947-3.57c-0.258-1.1-0.84-3.531-1.259-4.594 c-0.113-0.29-0.415-3.616-0.553-3.832c-2.671-4.206-0.274-3.895-2.692-8.059c-2.521-1.201-4.227-3.15-6.21-5.202 c-0.35-0.36,1.668-1.638,1.349-2.014c-1.928-2.276-3.964-3.63-3.371-6.267C201.997,226.126,202.238,224.26,200.925,222.989z"}),jt("path",{id:"path650",d:"M194.597,226.052c0,0,0.707,12.006,4.944,14.832c4.238,2.825,2.119,1.413-3.531-0.706 c-5.65-2.119-3.531-3.531-3.531-3.531s-4.944,0.706-0.706,4.237c4.237,3.531,10.594,7.769,7.769,7.769s-16.244-7.063-16.244-12.006 c0-4.944-1.766-12.183-1.766-12.183s1.942-1.413,10.417-1.236C191.948,223.228,194.42,224.463,194.597,226.052z"}),jt("path",{id:"path654",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M193.184,258.894c0,0-15.043-4.928-47.672,1.059 c0,0,15.946-3.669,49.085,0.353C212.783,262.513,193.184,258.894,193.184,258.894z"}),jt("path",{id:"path658",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M196.889,258.768c0,0-14.56-6.211-47.586-3.067 c0,0,16.205-2.276,48.871,4.596C216.103,264.068,196.889,258.768,196.889,258.768z"}),jt("path",{id:"path662",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M200.045,258.932c0,0-14.058-7.276-47.226-6.596 c0,0,16.329-1.066,48.395,8.217C218.811,265.647,200.045,258.932,200.045,258.932z"}),jt("path",{id:"path666",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M202.288,259.326c0,0-12.049-7.604-41.842-9.543 c0,0,14.724,0.3,42.764,11.086C218.599,266.789,202.288,259.326,202.288,259.326z"}),jt("path",{id:"path670",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M405.838,277.894c0,0-1.642,1.137-1.264-0.948 c0.38-2.085,50.185-25.339,56.564-24.897C461.14,252.048,407.732,275.365,405.838,277.894z"}),jt("path",{id:"path674",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M399.846,279.021c0,0-1.547,1.263-1.333-0.846 c0.214-2.108,48.04-29.202,54.436-29.262C452.947,248.914,401.537,276.354,399.846,279.021z"}),jt("path",{id:"path678",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M394.044,281.449c0,0-1.462,1.363-1.388-0.755 c0.074-2.117,35.063-29.479,52.389-32.788C445.045,247.906,413.21,262.255,394.044,281.449z"}),jt("path",{id:"path682",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M388.966,284.739c0,0-1.314,1.226-1.248-0.68 c0.066-1.907,31.557-26.532,47.147-29.509C434.865,254.55,406.216,267.464,388.966,284.739z"}),jt("path",{id:"path686",fill:"#CCCCCC",d:"M333.023,545.988c0,0-26.838-4.237,2.824-7.063c0,0,31.781-3.531,38.845-12.712 c0,0,24.013-16.244,28.956-16.95c4.943-0.707,33.899-7.063,34.606-11.301c0.706-4.237,11.3-8.475,14.125-7.063 c2.825,1.413,2.825,17.655-2.119,19.068c-4.942,1.412-38.138,14.125-49.438,16.244c-11.301,2.118-31.782,15.537-40.257,17.656 C352.092,545.988,333.023,545.988,333.023,545.988z"}),jt("path",{id:"path690",d:"M461.915,479.953c0,0-5.297,2.825-7.416,7.416c0,0-11.3,18.716-36.372,24.366c0,0-40.609,15.891-54.382,19.422 c0,0-23.659,8.828-36.727,7.416c0,0-12.358,0.353-1.411,3.178c0,0,35.666-3.531,41.669-6.709c0,0,27.544-9.182,32.841-13.772 c5.297-4.59,37.432-13.419,41.315-16.949C445.317,500.789,462.621,485.957,461.915,479.953z"}),jt("path",{id:"path694",d:"M358.24,535.589c0,0,9.231-0.398,7.195,2.336c-2.034,2.737-6.356,1.193-6.356,1.193L358.24,535.589z"}),jt("path",{id:"path698",d:"M345.523,537.977c0,0,9.23-0.398,7.196,2.336c-2.036,2.736-6.357,1.195-6.357,1.195L345.523,537.977z"}),jt("path",{id:"path702",d:"M327.11,540.18c0,0,9.231-0.399,7.195,2.336c-2.034,2.735-6.356,1.193-6.356,1.193L327.11,540.18z"}),jt("path",{id:"path706",d:"M313.631,541.141c0,0,9.232-0.398,7.197,2.336c-2.036,2.736-6.358,1.193-6.358,1.193L313.631,541.141z"}),jt("path",{id:"path710",d:"M387.432,522.526c0,0,12.289-0.531,9.578,3.108c-2.708,3.642-8.463,1.59-8.463,1.59L387.432,522.526z"}),jt("path",{id:"path714",d:"M405.645,514.714c0,0,10.521-5.828,9.578,3.109c-0.477,4.513-8.463,1.589-8.463,1.589L405.645,514.714z"}),jt("path",{id:"path718",d:"M421.768,509.745c0,0,12.642-6.534,9.579,3.108c-1.374,4.326-8.465,1.59-8.465,1.59L421.768,509.745z"}),jt("path",{id:"path722",d:"M438.566,501.226c0,0,7.695-8.652,9.578,3.109c0.717,4.481-8.464,1.59-8.464,1.59L438.566,501.226z"}),jt("path",{id:"path726",d:"M372.28,530.444c0,0,9.23-0.401,7.196,2.336c-2.035,2.733-6.359,1.192-6.359,1.192L372.28,530.444z"}),jt("path",{id:"path730",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M435.138,316.105c0,0-1.282,1.174-1.284-0.717 c0-1.889,30.871-25.309,46.484-27.752C480.338,287.636,451.913,299.517,435.138,316.105z"}),jt("path",{id:"path734",d:"M440.374,428.748c0,0,38.847,39.553,55.09,45.908c0,0,16.244,19.774,9.183,65.683 c0,0-5.65,13.419-11.301-23.307c0,0,5.649-44.494-14.125-16.244c0,0-14.834-17.479-3.533-16.95c0,0,5.651,3.531,6.357,0.706 c0.707-2.825-13.42-26.838-43.789-52.265C407.887,406.854,440.374,428.748,440.374,428.748z"}),jt("path",{id:"path738",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M337.261,497.257c0,0-0.354-3.178,2.825-1.766 c3.178,1.412,169.503,12.358,225.298,54.734C565.384,550.227,485.576,509.264,337.261,497.257z"}),jt("path",{id:"path742",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M355.623,489.488c0,0-0.354-3.18,2.825-1.767 c3.179,1.412,244.367-0.354,286.036,56.854C644.484,544.576,605.641,500.082,355.623,489.488z"}),jt("path",{id:"path746",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M376.104,482.426c0,0-0.353-3.179,2.825-1.766 c3.18,1.412,309.343-21.541,351.013,35.666C729.941,516.326,712.991,471.125,376.104,482.426z"}),jt("path",{id:"path750",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M393.762,473.95c0,0-0.354-3.178,2.824-1.767 c3.179,1.413,218.941-66.742,260.611-9.533C657.197,462.65,633.537,419.214,393.762,473.95z"}),jt("path",{id:"path754",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M291.354,514.207c0,0-0.353-3.178,2.825-1.766 c3.178,1.412,34.606,5.297,38.138,73.804C332.317,586.245,319.604,512.088,291.354,514.207z"}),jt("path",{id:"path758",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M275.816,517.032c0,0-0.353-3.18,2.825-1.767 c3.178,1.412,28.25-6.71,23.306,61.797C301.948,577.063,304.066,514.913,275.816,517.032z"}),jt("path",{id:"path762",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M261.691,517.738c0,0-0.354-3.179,2.825-1.767 c3.179,1.412,30.369,2.473,8.475,42.022C272.991,557.995,289.941,515.619,261.691,517.738z"}),jt("path",{id:"path766",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M345.252,439.457c0,0-0.784,3.529,1.951,1.381 c28.37-22.292,85.65-126.292,183.971-136.239C531.174,304.599,463.536,283.217,345.252,439.457z"}),jt("path",{id:"path770",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M365.027,436.278c0,0-2.406-2.106,0.892-3.21 c3.298-1.104,201.831-129.115,271.194-115.05C637.113,318.018,589.252,304.758,365.027,436.278z"}),jt("path",{id:"path774",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M328.229,447.053c0,0-0.897,2.823,2.122,1.101 c15.848-9.04,22.229-110.054,99.171-112.271C429.521,335.882,372.297,309.903,328.229,447.053z"}),jt("path",{id:"path778",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M293.053,466.521c0,0-1.902,2.271,1.546,1.821 c18.091-2.352,55.884-75.222,134.348-66.254C428.947,402.089,372.507,376.759,293.053,466.521z"}),jt("path",{id:"path782",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M312.895,455.704c0,0-1.432,2.594,1.868,1.49 c17.303-5.78,40.403-84.549,119.13-90.813C433.893,366.382,373.639,352.357,312.895,455.704z"}),jt("path",{id:"path786",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M280.623,475.559c0,0-1.542,1.841,1.252,1.478 c14.653-1.905,45.265-60.929,108.822-53.665C390.696,423.37,344.979,402.854,280.623,475.559z"}),jt("path",{id:"path790",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M267.206,485.992c0,0-1.775,1.845,1.035,1.637 c7.359-0.546,61.455-58.951,94.063-31.58C362.303,456.049,341.089,422.99,267.206,485.992z"}),jt("path",{id:"path794",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M389.974,429.627c0,0-2.12-2.392,1.291-3.071 c3.411-0.679,216.529-102.579,283.56-79.862C674.823,346.693,629.021,327.494,389.974,429.627z"}),jt("path",{id:"path798",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M330.904,543.164c0,0-0.354-3.179,2.824-1.768 c3.179,1.413,30.369,2.474,8.476,42.022C342.204,583.42,359.154,541.045,330.904,543.164z"}),jt("path",{id:"path802",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M349.268,540.339c0,0-0.354-3.179,2.824-1.766 c3.18,1.412,34.607,5.297,38.14,73.804C390.23,612.377,377.518,538.22,349.268,540.339z"}),jt("path",{id:"path806",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M361.273,537.514c0,0-0.354-3.179,2.824-1.766 c3.179,1.412,46.613,7.416,88.282,64.622C452.381,600.37,389.523,535.395,361.273,537.514z"}),jt("path",{id:"path810",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M374.736,533.931c0,0-0.771-3.104,2.564-2.125 c3.337,0.979,39.416-2.375,106.684,57.969C483.984,589.773,402.455,528.076,374.736,533.931z"}),jt("path",{id:"path814",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M393.1,526.162c0,0-0.771-3.104,2.565-2.126 c3.337,0.979,64.841,8.926,156.119,70.681C551.784,594.717,420.818,520.308,393.1,526.162z"}),jt("path",{id:"path818",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M321.723,505.732c0,0-0.353-3.18,2.825-1.767 c3.179,1.412,97.464,6.003,151.14,53.322C475.688,557.289,414.064,513.545,321.723,505.732z"}),jt("path",{id:"path822",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M304.066,512.795c0,0-0.353-3.179,2.825-1.766 c3.179,1.412,46.613,7.415,88.282,64.622C395.174,575.651,332.317,510.676,304.066,512.795z"}),jt("path",{id:"path826",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M412.306,518.021c0,0-0.997-3.037,2.403-2.308 s65.321,4.147,160.88,59.049C575.589,574.764,438.462,514.036,412.306,518.021z"}),jt("path",{id:"path830",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M427.138,513.785c0,0-0.998-3.039,2.402-2.309 c3.401,0.729,65.322,4.147,160.88,59.049C590.42,570.525,454.354,509.092,427.138,513.785z"}),jt("path",{id:"path834",fill:"#FFFFFF",stroke:"#000000","stroke-width":"0.1",d:"M444.088,504.957c0,0-0.998-3.039,2.402-2.308 c3.399,0.729,79.447,8.385,237.863,68.936C684.354,571.585,471.303,500.264,444.088,504.957z"}),jt("path",{id:"path838",d:"M247.566,517.032c0,0,9.182-0.706,7.063,2.118s-6.356,1.412-6.356,1.412L247.566,517.032z"}),jt("path",{id:"path842",d:"M301.948,541.751c0,0,9.181-0.706,7.063,2.119c-2.119,2.825-6.356,1.412-6.356,1.412L301.948,541.751z"}),jt("path",{id:"path846",d:"M286.41,541.045c0,0,9.182-0.706,7.063,2.119c-2.119,2.824-6.356,1.412-6.356,1.412L286.41,541.045z"}),jt("path",{id:"path850",d:"M118.022,520.177c0,0,8.908,2.336,5.98,4.313c-2.926,1.978-6.469-0.745-6.469-0.745L118.022,520.177z"}),jt("path",{id:"path854",d:"M121.554,503.227c0,0,8.908,2.336,5.98,4.313c-2.926,1.978-6.469-0.745-6.469-0.745L121.554,503.227z"}),jt("path",{id:"path858",d:"M108.841,495.458c0,0,8.908,2.336,5.98,4.312c-2.925,1.979-6.469-0.744-6.469-0.744L108.841,495.458z"}),jt("path",{id:"path862",fill:"#CCCCCC",d:"M249.685,627.914c0,0-2.825,0-9.888,3.531c-3.531,0-23.307,6.355-33.194,24.013 C206.603,655.458,228.497,638.508,249.685,627.914z"}),jt("path",{id:"path866",fill:"#CCCCCC",d:"M404.56,791.494c0.249,0.456,0.348,1.197,0.862,1.228c1.161,0.07,3.339,0.603,3.118-0.521 c-1.497-7.604-3.041-16.319-10.338-19.51c-1.129-0.493-3.675,0.235-3.806,1.797c-0.225,2.69-0.432,5.072,0.114,7.661 c0.529,2.509,4.34,2.525,5.959,0.083C402.123,785.184,402.886,788.438,404.56,791.494z"}),jt("path",{id:"path870",fill:"#CCCCCC",d:"M385,799.854c1.321,2.494,1.097,5.776,3.595,6.771c1.308,0.519,4.573-1.202,3.835-3.099 c-1.416-3.64-2.101-7.594-4.554-10.79c-0.353-0.463,0.071-1.403-0.212-1.982c-1.048-2.154-3.07-3.452-5.556-2.871 c-1.97,3.891,0.058,7.648,2.744,10.666C385.094,798.816,384.801,799.48,385,799.854z"}),jt("path",{id:"path874",fill:"#CCCCCC",d:"M315.077,790.689c-0.19-0.666-0.258-1.483,0.033-2.052c0.938-1.822,2.338-3.805,1.742-5.608 c-0.613-1.864-2.585-1.543-3.731-0.538c-2.004,1.755-2.091,4.979-3.312,7.379c-0.347,0.682-0.256,1.692-1.034,2.383 c-0.838,0.744-1.613,3.435-1.444,4.442c0.094,0.553-0.229,18.047,0.163,17.583c1.093-1.295,6.478-18.481,6.6-20.058 C314.194,792.932,315.487,792.11,315.077,790.689z"}),jt("path",{id:"path878",fill:"#CCCCCC",d:"M269.81,778.697c4.651-4.413,9.577-9.642,8.796-16.195c-0.205-1.723-3.339-0.792-3.669,0.701 c-1.416,6.4-5.016,11.099-9.55,15.322c-3.877,3.613-7.165,14.814-7.58,15.713C264.334,784.958,268.319,780.109,269.81,778.697z"}),jt("path",{id:"path882",fill:"#CCCCCC",d:"M245.843,768.167c0.923-0.653,0.39-1.521,0.773-2.106c1.683-2.574,3.979-4.773,4.012-7.844 c0.005-0.489-0.662-1.034-1.254-0.639c-0.489,0.324-1.093,0.555-1.284,0.784c-3.584,4.322-6.056,9.04-8.604,14.005 c-0.323,0.63-2.343,8.56-1.79,8.756c0.422,0.148,3.459-7.232,3.83-7.434C243.756,772.479,243.777,769.627,245.843,768.167z"}),jt("path",{id:"path886",fill:"#CCCCCC",d:"M275.387,802.674c0.784-1.534,3.567-3.656,3.367-5.226c-0.208-1.64,0.618-4.188-0.992-2.973 c-2.22,1.675-8.309,4.057-8.786,14.312C268.93,809.795,274.182,805.04,275.387,802.674z"}),jt("path",{id:"path890",fill:"#CCCCCC",d:"M300.889,772.344c0.706-1.179,1.956-0.344,2.767-0.809c1.144-0.656,2.223-1.643,2.738-2.788 c1.713-3.794,4.836-7.008,5.089-11.234c-2.634-2.479-3.831,1.121-4.944,2.825c-2.336-2.908-4.1,0.4-6.395,1.316 c-0.124,0.05-0.5-0.563-0.632-0.516c-2.078,0.776-3.279,2.687-5.041,4.064c-0.302,0.236-1.017-0.082-1.276,0.158 c-1.151,1.064-2.869,1.639-3.364,2.843c-1.959,4.78-7.504,8.479-10.835,21.795c0.672,1.604,7.966-11.728,8.826-12.959 c1.476-2.112,1.685,2.933,3.938,1.757c0.09-0.048,0.418,0.372,0.655,0.608c0.342-0.494,0.727-0.898,1.413-0.706 c0-0.706-0.237-1.688,0.118-1.969c2.184-1.726,2.036-3.61,3.413-5.801C298.166,772.324,300.039,771.055,300.889,772.344z"}),jt("path",{id:"path894",fill:"#CCCCCC",d:"M406.474,868.395c0,0,13.066-36.019,5.298-55.794c0,0,20.129,38.139,12.007,57.913 c0,0-0.706-18.361-7.77-27.189C416.009,843.323,408.946,865.923,406.474,868.395z"}),jt("path",{id:"path898",fill:"#CCCCCC",d:"M380.343,863.805c0,0,9.534-15.538-4.591-48.024c0,0-1.413,36.019-13.419,55.439 C362.333,871.22,387.405,835.554,380.343,863.805z"}),jt("path",{id:"path902",fill:"#CCCCCC",d:"M362.686,860.273c0,0-0.353-35.313,0.354-40.61c0,0-6.709,29.31-24.719,46.26 C338.32,865.923,363.745,844.735,362.686,860.273z"}),jt("path",{id:"path906",fill:"#CCCCCC",d:"M345.736,803.771c0,0,10.594,24.014-7.063,56.502c0,0,11.301-21.541,2.825-33.9 C341.498,826.373,346.089,820.369,345.736,803.771z"}),jt("path",{id:"path910",fill:"#CCCCCC",d:"M311.836,859.566c0,0-1.766-27.545,1.412-31.429c0,0,0.354-11.301-0.354-13.065 c0,0,7.063-10.946,7.416,2.119c0,0,2.473,13.771,7.416,21.894c0,0,6.356,9.535,6.003,20.835 C333.729,859.92,316.073,806.598,311.836,859.566z"}),jt("path",{id:"path914",fill:"#CCCCCC",d:"M305.479,810.835c0,0-11.653,19.069-14.831,52.616c0,0-2.472-10.947,4.237-36.372 C294.885,827.079,302.301,799.888,305.479,810.835z"}),jt("path",{id:"path918",fill:"#CCCCCC",d:"M266.988,845.795c0,0,8.828-9.535,11.3-18.363c0,0,6.356-27.896-4.943-12.712 c0,0,0.353,14.125-14.125,27.19C259.219,841.91,267.694,837.673,266.988,845.795z"}),jt("path",{id:"path922",fill:"#CCCCCC",d:"M256.748,836.967c0,0,6.003-30.723,7.416-32.135c0,0,3.178-6.003-1.766-0.354 c0,0-15.538,33.9-22.6,45.555C239.797,850.032,253.922,833.788,256.748,836.967z"}),jt("path",{id:"path926",fill:"#CCCCCC",d:"M246.507,807.657c0,0,20.481-39.552-18.01,6.003 C228.497,813.66,247.919,796.356,246.507,807.657z"}),jt("path",{id:"path930",fill:"#CCCCCC",d:"M219.316,781.879c0,0,8.475-33.193,13.065-32.842c0,0,14.479-15.891,2.825,2.825 c0,0-10.594,16.95-9.535,34.254C225.672,786.116,224.613,769.166,219.316,781.879z"}),jt("path",{id:"path934",fill:"#CCCCCC",d:"M802.508,761.748c0,0-21.188-17.656-25.602-23.836c0,0,23.836,32.664,23.836,45.023 C800.742,782.938,805.156,769.693,802.508,761.748z"}),jt("path",{id:"path938",fill:"#CCCCCC",d:"M812.219,722.904c0,0-37.078-26.484-43.259-39.728c0,0,46.79,52.086,46.79,60.031 C815.75,743.209,816.633,727.318,812.219,722.904z"}),jt("path",{id:"path942",fill:"#CCCCCC",d:"M842.234,450.995c0,0-21.188-14.125-23.836-10.594c0,0,18.539,11.477,22.952,26.483 C841.352,466.886,838.703,450.995,842.234,450.995z"}),jt("path",{id:"path946",fill:"#CCCCCC",d:"M857.242,593.13l-30.898-21.188c0,0,33.547,30.017,34.431,37.079L857.242,593.13z"}),jt("path",{id:"path950",stroke:"#000000",d:"M167.317,553.402l38.844,8.387"}),jt("path",{id:"path954",stroke:"#000000",d:"M256.041,839.438c0,0-0.883-6.181-16.773,12.358"}),jt("path",{id:"path958",stroke:"#000000",d:"M265.752,848.265c0,0,3.531-11.477-7.946-3.53"}),jt("path",{id:"path962",stroke:"#000000",d:"M361.097,863.271c0,0,2.648-19.422-17.655,3.531"})),It=document.getElementById("app"),void 0===Nt&&(Nt=null),void 0===Tt&&(Tt=o),function(c,t,i,l){var n=[],d=new h,r=t.$V;e(r)?e(c)||(16384&c.flags&&(c=R(c)),it(c,t,l,!1,null,n,d),t.$V=c,r=c):e(c)?(Oc(r,t,d),t.$V=null):(16384&c.flags&&(c=R(c)),Mt(r,c,t,l,!1,null,n,d),r=t.$V=c),v(n),m(d.componentDidAppear),a(i)&&i(),a(A.renderComplete)&&A.renderComplete(r,t)}(Vt,It,Nt,Tt)}(); diff --git a/docs/uibench-inferno-compat/dist/bundle.js b/docs/uibench-inferno-compat/dist/bundle.js index b2b111e0c..8709ea197 100644 --- a/docs/uibench-inferno-compat/dist/bundle.js +++ b/docs/uibench-inferno-compat/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 o(e){return"function"===typeof e}function i(e){return"string"===typeof e}function l(e){return null===e}function a(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 u(e,n){if(o(n))return{data:e,event:n};return null}function c(e){return!l(e)&&"object"===typeof e}var f={},s=function(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]};function d(e){return e.substring(2).toLowerCase()}function p(e,n){e.appendChild(n)}function v(e,n,t){l(t)?p(e,n):e.insertBefore(n,t)}function h(e,n){if(n)return document.createElementNS("http://www.w3.org/2000/svg",e);return document.createElement(e)}function m(e,n,t){e.replaceChild(n,t)}function g(e,n){e.removeChild(n)}function y(e){for(var n=0;n0?C(t.componentWillDisappear,$(e,n)):x(e,n,!1)}function S(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function P(e,n,r,i,l){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,i):S(l,e,a,n.dom,r,i,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=l(d),h=i(d)&&d[0]===I;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=Q(s)),(v||h)&&(s.key=I+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=Q(o)),u=2;return t.children=a,t.childFlags=u,t}function J(t){if(r(t)||n(t))return R(t,null);if(e(t))return j(t,0,null);return 16384&t.flags?Q(t):t}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),oe=ne(!0);function ie(e,n){var t=n.$EV;return t||(t=n.$EV=ne(null)),t[e]||1===++te[e]&&(re[e]=me(e)),t}function le(e,n){var t=n.$EV;t&&t[e]&&(0===--te[e]&&(document.removeEventListener(d(e),re[e]),re[e]=null),t[e]=null)}function ae(e,n,t,r){if(o(t))ie(e,r)[e]=t;else if(c(t)){if(V(n,t))return;ie(e,r)[e]=t}else le(e,r)}function ue(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ce(e,n,t,r){var o=ue(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!l(o))}function fe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function de(){return this.cancelBubble}function pe(e){var n={dom:document};return e.isDefaultPrevented=se,e.isPropagationStopped=de,e.stopPropagation=fe,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function ve(e){return function(n){if(0!==n.button)return void n.stopPropagation();ce(n,!0,e,pe(n))}}function he(e){return function(n){ce(n,!1,e,pe(n))}}function me(e){var n="onClick"===e||"onDblClick"===e?ve(e):he(e);return document.addEventListener(d(e),n),n}function ge(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function ye(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 be(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))ye(l,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),Pe(o,a)}}var Ve,Le,Ae=be("onInput",We),Ie=be("onChange");function Te(e,n){ke(e,"input",Ae),n.onChange&&ke(e,"change",Ie)}function We(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 Oe(e,n,t,r,o,i){64&e?Se(r,t):256&e?Me(r,t,o,n):128&e&&We(r,t,o),i&&(t.$V=n)}function Ee(e,n,t){64&e?Ne(n,t):256&e?Fe(n):128&e&&Te(n,t)}function _e(e){return e.type&&Ce(e.type)?!t(e.checked):!t(e.value)}function Be(e){e&&!A(e,null)&&e.current&&(e.current=null)}function Re(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){A(e,n)||void 0===e.current||(e.current=n)}))}function je(e,n,t){He(e,t),N(e,n,t)}function He(e,n){var r,i=e.flags,a=e.children;if(481&i){r=e.ref;var u=e.props;Be(r);var c=e.childFlags;if(!l(u))for(var d=Object.keys(u),p=0,v=d.length;p0?C(t.componentWillDisappear,Qe(n,e)):e.textContent=""}function qe(e,n,t,r){ze(t,r),8192&n.flags?N(n,e,r):Xe(e,t,r)}function Ge(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Ke(e){var n=e.event;return function(t){n(e.data,t)}}function Je(e,n,t,r){if(c(t)){if(V(n,t))return;t=Ke(t)}ke(r,d(e),t)}function Ye(e,n,r){if(t(n))return void r.removeAttribute("style");var o,l,a=r.style;if(i(n))return void(a.cssText=n);if(t(e)||i(e))for(o in n)l=n[o],a.setProperty(o,l);else{for(o in n)(l=n[o])!==e[o]&&a.setProperty(o,l);for(o in e)t(n[o])&&a.removeProperty(o)}}function Ze(e,n,r,o,i){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ge(o,u)||(l(r)||(12&r.childFlags?ze(r.children,i):2===r.childFlags&&He(r.children,i),r.children=null,r.childFlags=1),o.innerHTML=u))}function en(e,n,r,o,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Ye(n,r,o);break;case"dangerouslySetInnerHTML":Ze(n,r,a,o,u);break;default:oe[e]?ae(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Je(e,n,r,o):t(r)?o.removeAttribute(e):i&&ee[e]?o.setAttributeNS(ee[e],e,r):o.setAttribute(e,r)}}function nn(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=_e(t))&&Ee(n,r,t),t)en(u,null,t[u],r,o,l,null,i);a&&Oe(n,e,r,t,!0,l)}function tn(e,n,t){var r=J(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function rn(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=U(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=tn(u,t,r),u}function on(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function ln(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?fn(e,n,t,r,o,i,l):4&a?dn(e,n,t,r,o,i,l):8&a?pn(e,n,t,r,o,i,l):16&a?cn(e,n,o):8192&a?un(e,t,n,r,o,i,l):1024&a&&an(e,t,n,o,i,l)}function an(e,n,t,r,o,i){ln(e.children,e.ref,n,!1,null,o,i);var l=X();cn(l,t,r),e.dom=l.dom}function un(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=X()),2===u?ln(a,t,n,r,o,i,l):sn(a,t,n,r,o,i,l)}function cn(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||v(n,r,t)}function fn(e,n,r,o,i,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)M(p,m);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&m.flags&&(e.children=m=Q(m)),ln(m,p,r,g,null,a,u)):8!==d&&4!==d||sn(m,p,r,g,null,a,u)}l(n)||v(n,p,i),l(f)||nn(e,c,f,p,o,u),Re(e.ref,p,a)}function sn(e,n,t,r,o,i,l){for(var a=0;ap)&&(s=k(a[p-1],!1).nextSibling)}Pn(c,f,a,u,t,r,o,s,e,i,l)}function $n(e,n,t,o,i){var l=e.ref,a=n.ref,u=n.children;if(Pn(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,o,i),n.dom=e.dom,l!==a&&!r(u)){var c=u.dom;g(l,c),p(a,c)}}function Nn(e,n,r,o,i,l,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&i)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&i)>0)&&(v=_e(u)),u){var g=h[m],y=u[m];g!==y&&en(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&en(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&i?wn(c,k):Pn(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,l,a),p&&Oe(i,n,c,u,!1,v);var w=n.ref,x=e.ref;x!==w&&(Be(x),Re(w,c,l))}function Sn(e,n,t,r,o,i,l){He(e,l),sn(n,t,r,o,k(e,!0),i,l),N(e,t,l)}function Pn(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:kn(t,r,o,i,l,a,c,f);break;case 1:je(t,o,f);break;case 16:He(t,f),M(o,r);break;default:Sn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:ln(r,o,i,l,a,c,f);break;case 1:break;case 16:M(o,r);break;default:sn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:Cn(t,r,o);break;case 2:Xe(o,t,f),ln(r,o,i,l,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),sn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:ze(t,f),M(o,r);break;case 2:qe(o,u,t,f),ln(r,o,i,l,a,c,f);break;case 1:qe(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&sn(r,o,i,l,a,c,f):0===d?qe(o,u,t,f):8===n&&8===e?An(t,r,o,i,l,s,d,a,u,c,f):Ln(t,r,o,i,l,s,d,a,c,f)}}}function Un(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Dn(e,n,t,r,i,l,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=U(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=tn(e,t,i);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),kn(e.$LI,g,r,e.$CX,l,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Un(e,p,d,m,f)}else e.props=t,e.state=n,e.context=i}function Fn(e,n,t,r,i,u,c,s){var d=n.children=e.children;if(l(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}l(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}Dn(d,m,p,t,r,i,!1,u,c,s),h!==v&&(Be(h),Re(v,d,c))}function Mn(e,n,r,i,l,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=J(on(n,i));kn(m,g,r,i,l,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Vn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,o,i,l,a,u,c){for(var f,s,d=i>l?l:i,p=0;pl)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=Q(g)),kn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)je(e[h++],t,f);else In(e,n,r,i,l,p,v,h,t,o,a,u,c,f)}function In(e,n,t,r,o,i,l,a,u,c,f,s,d,p){var v,h,m=0,g=0,y=a,b=a,C=i-a+1,x=l-a+1,$=new Int32Array(x+1),N=C===r,S=!1,U=0,D=0;if(o<4||(C|x)<32)for(g=y;g<=i;++g)if(v=e[g],Da?S=!0:U=a,16384&h.flags&&(n[a]=h=Q(h)),kn(v,h,u,t,c,f,d,p),++D;break}!N&&a>l&&je(v,u,p)}else N||je(v,u,p);else{var F={};for(g=b;g<=l;++g)F[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],Dy;)je(e[y++],u,p);$[a-b]=g+1,U>a?S=!0:U=a,16384&(h=n[a]).flags&&(n[a]=h=Q(h)),kn(v,h,u,t,c,f,d,p),++D}else N||je(v,u,p);else N||je(v,u,p)}if(N)qe(u,s,e,p),sn(n,u,t,c,f,d,p);else if(S){var M=Wn($);for(a=M.length-1,g=x-1;g>=0;g--)0===$[g]?(16384&(h=n[U=g+b]).flags&&(n[U]=h=Q(h)),ln(h,u,t,c,(m=U+1)0&&w(p.componentWillMove)}else if(D!==x)for(g=x-1;g>=0;g--)0===$[g]&&(16384&(h=n[U=g+b]).flags&&(n[U]=h=Q(h)),ln(h,u,t,c,(m=U+1)Tn&&(Tn=u,Ve=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ve[i-1]),Ve[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Ve[i-1];i-- >0;)c[i]=l,l=Le[l],Ve[i]=0;return c}function On(e,n,r,i){var l=[],a=new s,u=n.$V;D.v=!0,t(u)?t(e)||(16384&e.flags&&(e=Q(e)),ln(e,n,i,!1,null,l,a),n.$V=e,u=e):t(e)?(je(u,n,a),n.$V=null):(16384&e.flags&&(e=Q(e)),kn(u,e,n,i,!1,null,l,a),u=n.$V=e),y(l),C(a.componentDidAppear),D.v=!1,o(r)&&r(),o(F.renderComplete)&&F.renderComplete(u,n)}function En(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),On(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var _n=[],Bn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Rn=!1;function jn(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(!D.v&&0===_n.length)return Qn(e,i),void(o(r)&&r.call(e));if(-1===_n.indexOf(e)&&_n.push(e),i&&(e.$F=!0),Rn||(Rn=!0,Bn(zn)),o(r)){var c=e.$QU;c||(c=e.$QU=[]),c.push(r)}}}function Hn(e){for(var n=e.$QU,t=0;t0?ln(v,n,r,o,t,i,l):t=(t=it(v,n,t,r,o,i,l))?t.nextSibling:null,s=(16&v.flags)>0}if(0===(8192&f))for(var h=null;t;)h=t.nextSibling,n.removeChild(t),t=h}else Gn(n.firstChild)||Zn(n,c)||(n.textContent="",448&f&&(n.defaultValue=""))}function tt(e,n,t,r,o,i,l){var a,u=e.props,c=e.className,f=e.flags,s=e.ref;return o=o||(32&f)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(fn(e,null,r,o,null,i,l),n.replaceChild(e.dom,t)):(e.dom=t,nt(e,t,t.firstChild,r,o,i,l),Gn(u)||nn(e,f,u,t,o,l),void 0===(a=c)||null===a?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",c):t.className=c,Re(s,t,i)),e.dom}function rt(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 ot(e,n,t,r,o,i,l){var a=e.children;if(2===e.childFlags)return rt(a,n,t),a.dom;return nt(e,n,t,r,o,i,l),Yn(a[a.length-1])}function it(e,n,t,r,o,i,l){var a=e.flags|=16384;if(14&a)return et(e,n,t,r,o,(4&a)>0,i,l);if(481&a)return tt(e,n,t,r,o,i,l);if(16&a)return rt(e,n,t);if(8192&a)return ot(e,n,t,r,o,i,l);return Kn(),null}function lt(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 at(e,n,t){var r=e.flags,o=14&r?e.props&&e.props.children:e.children,i=arguments.length-2,l=e.className,a=e.key,u=e.ref;if(n?(void 0!==n.className&&(l=n.className),void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(a=n.key),void 0!==n.children&&(o=n.children)):n={},1===i)o=t;else if(i>1)for(o=[];i-- >0;)o[i]=arguments[i+2];if(n.children=o,14&r)return B(r,e.type,e.props||n?lt(e.props,n):f,a,u);if(16&r)return R(o);if(8192&r)return j(1===i?[o]:o,0,a);return H(W(r,e.type,l,null,1,lt(e.props,n),a,u))}function ut(e){throw e||(e="a runtime error occured! Use Inferno in development environment to find the error."),new Error("Inferno Error: "+e)}function ct(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ft(e,n){return ft=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},ft(e,n)}Xn.defaultProps=null;var st={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function dt(e,n){for(var t in n)e[t]=n[t];return e}function pt(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||st[n]||((e[n]=t.bind(e)).__bound=!0)}}function vt(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if(!kt(e)){if(u=2,Ct(r)||(n||(n={}),n.children=r),!bt(n))for(var f in o={},n)"key"===f?l=n.key:"ref"===f?i=n.ref:1===wt[f]?(i||(i={}),i[f]=n[f]):o[f]=n[f];return B(u,e,o,l,i)}if(u=G(e),!bt(n))for(var s in o={},n)"className"===s||"class"===s?a=n[s]:"key"===s?l=n.key:"children"===s&&Ct(r)?r=n.children:"ref"===s?i=n.ref:("contenteditable"===s&&(u|=4096),o[s]=n[s]);if(8192&u)return j(1===c?[r]:r,0,l);return W(u,e,a,r,0,o,l,i)}var $t=Array.isArray;function Nt(e){return void 0===e||null===e}function St(e){return"string"===typeof e}function Pt(e){return null===e}function Ut(){}Ut.isRequired=Ut;var Dt=function(){return Ut},Ft={any:Dt,array:Ut,arrayOf:Dt,bool:Ut,checkPropTypes:function(){return null},element:Dt,func:Ut,instanceOf:Dt,node:Dt,number:Ut,object:Ut,objectOf:Dt,oneOf:Dt,oneOfType:Dt,shape:Dt,string:Ut,symbol:Ut},Mt={htmlFor:"for",onDoubleClick:"onDblClick"},Vt=/[\-:]([a-z])/g,Lt=function(e){return e[1].toUpperCase()};function At(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(Vt,Lt);Mt[n]=e}));var It=/[A-Z]/g;function Tt(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Wt(e,n)}function Wt(e,n){return Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Wt(e,n)}function Ot(e,n){for(var t=0,r=e.length;t0)for(var a;void 0!==(a=i.shift());)a()}n.$V=e,qn(t)&&t()},isValidElement:function(e){if("object"!==typeof e||Pt(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:H,options:F,render:er,rerender:zn,unmountComponentAtNode:function(e){return On(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){er(B(4,Zt,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:Bt};window.React=nr,window.ReactDOM=nr}function tr(e){return W(1,"li","TreeLeaf",R(e.children),0,null,null,null)}function rr(e,n){return e!==n}function or(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0?w(t.componentWillDisappear,N(e,n)):$(e,n,!1)}function P(e,n,t,r,o,i,l,a){e.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(n,o,r):8&l&&t.onComponentWillMove(n,o,r,a)},next:i,parent:o})}function U(e,n,r,i,l){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?h(r,n.dom,i):P(l,e,a,n.dom,r,i,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=l(d),h=i(d)&&d[0]===T;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=X(s)),(v||h)&&(s.key=T+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function Y(t){if(r(t)||n(t))return j(t,null);if(e(t))return H(t,0,null);return 16384&t.flags?X(t):t}var Z="http://www.w3.org/1999/xlink",ee="http://www.w3.org/XML/1998/namespace",ne={"xlink:actuate":Z,"xlink:arcrole":Z,"xlink:href":Z,"xlink:role":Z,"xlink:show":Z,"xlink:title":Z,"xlink:type":Z,"xml:base":ee,"xml:lang":ee,"xml:space":ee};function te(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 re=te(0),oe=te(null),ie=te(!0);function le(e,n){var t=n.$EV;return t||(t=n.$EV=te(null)),t[e]||1===++re[e]&&(oe[e]=ge(e)),t}function ae(e,n){var t=n.$EV;t&&t[e]&&(0===--re[e]&&(document.removeEventListener(p(e),oe[e]),oe[e]=null),t[e]=null)}function ue(e,n,t,r){if(o(t))le(e,r)[e]=t;else if(c(t)){if(L(n,t))return;le(e,r)[e]=t}else ae(e,r)}function ce(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function fe(e,n,t,r){var o=ce(e);do{if(n&&o.disabled)return;var i=o.$EV;if(i){var a=i[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!l(o))}function se(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function de(){return this.defaultPrevented}function pe(){return this.cancelBubble}function ve(e){var n={dom:document};return e.isDefaultPrevented=de,e.isPropagationStopped=pe,e.stopPropagation=se,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function he(e){return function(n){if(0!==n.button)return void n.stopPropagation();fe(n,!0,e,ve(n))}}function me(e){return function(n){fe(n,!1,e,ve(n))}}function ge(e){var n="onClick"===e||"onDblClick"===e?he(e):me(e);return document.addEventListener(p(e),n),n}function ye(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function be(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 ke(e,n){var t=function(t){var r=this.$V;if(!r)return;var l=r.props||f,a=r.dom;if(i(e))be(l,e,t);else for(var u=0;u-1&&n.options[l]&&(a=n.options[l].value),r&&t(a)&&(a=e.defaultValue),Ue(o,a)}}var Le,Ae,Ie=ke("onInput",Oe),Te=ke("onChange");function We(e,n){Ce(e,"input",Ie),n.onChange&&Ce(e,"change",Te)}function Oe(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 Ee(e,n,t,r,o,i){64&e?Pe(r,t):256&e?Ve(r,t,o,n):128&e&&Oe(r,t,o),i&&(t.$V=n)}function _e(e,n,t){64&e?Se(n,t):256&e?Fe(n):128&e&&We(n,t)}function Be(e){return e.type&&we(e.type)?!t(e.checked):!t(e.value)}function Re(e){e&&!I(e,null)&&e.current&&(e.current=null)}function je(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){I(e,n)||void 0===e.current||(e.current=n)}))}function He(e,n,t){ze(e,t),S(e,n,t)}function ze(e,n){var r,i=e.flags,a=e.children;if(481&i){r=e.ref;var u=e.props;Re(r);var c=e.childFlags;if(!l(u))for(var s=Object.keys(u),p=0,v=s.length;p0?w(t.componentWillDisappear,Xe(n,e)):e.textContent=""}function Ge(e,n,t,r){Qe(t,r),8192&n.flags?S(n,e,r):qe(e,t,r)}function Ke(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function Je(e){var n=e.event;return function(t){n(e.data,t)}}function Ye(e,n,t,r){if(c(t)){if(L(n,t))return;t=Je(t)}Ce(r,p(e),t)}function Ze(e,n,r){if(t(n))return void r.removeAttribute("style");var o,l,a=r.style;if(i(n))return void(a.cssText=n);if(t(e)||i(e))for(o in n)l=n[o],a.setProperty(o,l);else{for(o in n)(l=n[o])!==e[o]&&a.setProperty(o,l);for(o in e)t(n[o])&&a.removeProperty(o)}}function en(e,n,r,o,i){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ye(o,u)||(l(r)||(12&r.childFlags?Qe(r.children,i):2===r.childFlags&&ze(r.children,i),r.children=null,r.childFlags=1),o.innerHTML=u))}function nn(e,n,r,o,i,l,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Ze(n,r,o);break;case"dangerouslySetInnerHTML":en(n,r,a,o,u);break;default:ie[e]?ue(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ye(e,n,r,o):t(r)?o.removeAttribute(e):i&&ne[e]?o.setAttributeNS(ne[e],e,r):o.setAttribute(e,r)}}function tn(e,n,t,r,o,i){var l=!1,a=(448&n)>0;for(var u in a&&(l=Be(t))&&_e(n,r,t),t)nn(u,null,t[u],r,o,l,null,i);a&&Ee(n,e,r,t,!0,l)}function rn(e,n,t){var r=Y(e.render(n,e.state,t)),i=t;return o(e.getChildContext)&&(i=a(t,e.getChildContext())),e.$CX=i,r}function on(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=D(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=rn(u,t,r),u}function ln(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function an(e,n,t,r,o,i,l){var a=e.flags|=16384;481&a?sn(e,n,t,r,o,i,l):4&a?pn(e,n,t,r,o,i,l):8&a?vn(e,n,t,r,o,i,l):16&a?fn(e,n,o):8192&a?cn(e,t,n,r,o,i,l):1024&a&&un(e,t,n,o,i,l)}function un(e,n,t,r,o,i){an(e.children,e.ref,n,!1,null,o,i);var l=q();fn(l,t,r),e.dom=l.dom}function cn(e,n,t,r,o,i,l){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=q()),2===u?an(a,t,n,r,o,i,l):dn(a,t,n,r,o,i,l)}function fn(e,n,t){var r=e.dom=document.createTextNode(e.children);l(n)||h(n,r,t)}function sn(e,n,r,o,i,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=m(e.type,o=o||(32&c)>0),v=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)V(p,v);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&v.flags&&(e.children=v=X(v)),an(v,p,r,g,null,a,u)):8!==d&&4!==d||dn(v,p,r,g,null,a,u)}l(n)||h(n,p,i),l(f)||tn(e,c,f,p,o,u),je(e.ref,p,a)}function dn(e,n,t,r,o,i,l){for(var a=0;ap)&&(s=C(a[p-1],!1).nextSibling)}Un(c,f,a,u,t,r,o,s,e,i,l)}function Nn(e,n,t,o,i){var l=e.ref,a=n.ref,u=n.children;if(Un(e.childFlags,n.childFlags,e.children,u,l,t,!1,null,e,o,i),n.dom=e.dom,l!==a&&!r(u)){var c=u.dom;y(l,c),v(a,c)}}function Sn(e,n,r,o,i,l,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&i)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&i)>0)&&(v=Be(u)),u){var g=h[m],y=u[m];g!==y&&nn(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&nn(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&i?xn(c,k):Un(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,l,a),p&&Ee(i,n,c,u,!1,v);var w=n.ref,x=e.ref;x!==w&&(Re(x),je(w,c,l))}function Pn(e,n,t,r,o,i,l){ze(e,l),dn(n,t,r,o,C(e,!0),i,l),S(e,t,l)}function Un(e,n,t,r,o,i,l,a,u,c,f){switch(e){case 2:switch(n){case 2:Cn(t,r,o,i,l,a,c,f);break;case 1:He(t,o,f);break;case 16:ze(t,f),V(o,r);break;default:Pn(t,r,o,i,l,c,f)}break;case 1:switch(n){case 2:an(r,o,i,l,a,c,f);break;case 1:break;case 16:V(o,r);break;default:dn(r,o,i,l,a,c,f)}break;case 16:switch(n){case 16:wn(t,r,o);break;case 2:qe(o,t,f),an(r,o,i,l,a,c,f);break;case 1:qe(o,t,f);break;default:qe(o,t,f),dn(r,o,i,l,a,c,f)}break;default:switch(n){case 16:Qe(t,f),V(o,r);break;case 2:Ge(o,u,t,f),an(r,o,i,l,a,c,f);break;case 1:Ge(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&dn(r,o,i,l,a,c,f):0===d?Ge(o,u,t,f):8===n&&8===e?In(t,r,o,i,l,s,d,a,u,c,f):An(t,r,o,i,l,s,d,a,c,f)}}}function Dn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function Mn(e,n,t,r,i,l,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=D(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,i)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,i),e.props=t,e.state=n,e.context=i;var m=null,g=rn(e,t,i);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),Cn(e.$LI,g,r,e.$CX,l,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Dn(e,p,d,m,f)}else e.props=t,e.state=n,e.context=i}function Fn(e,n,t,r,i,u,c,s){var d=n.children=e.children;if(l(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}l(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}Mn(d,m,p,t,r,i,!1,u,c,s),h!==v&&(Re(h),je(v,d,c))}function Vn(e,n,r,i,l,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=Y(ln(n,i));Cn(m,g,r,i,l,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Ln(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function An(e,n,t,r,o,i,l,a,u,c){for(var f,s,d=i>l?l:i,p=0;pl)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),Cn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)He(e[h++],t,f);else Tn(e,n,r,i,l,p,v,h,t,o,a,u,c,f)}function Tn(e,n,t,r,o,i,l,a,u,c,f,s,d,p){var v,h,m=0,g=0,y=a,b=a,k=i-a+1,w=l-a+1,$=new Int32Array(w+1),N=k===r,S=!1,P=0,D=0;if(o<4||(k|w)<32)for(g=y;g<=i;++g)if(v=e[g],Da?S=!0:P=a,16384&h.flags&&(n[a]=h=X(h)),Cn(v,h,u,t,c,f,d,p),++D;break}!N&&a>l&&He(v,u,p)}else N||He(v,u,p);else{var M={};for(g=b;g<=l;++g)M[n[g].key]=g;for(g=y;g<=i;++g)if(v=e[g],Dy;)He(e[y++],u,p);$[a-b]=g+1,P>a?S=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),Cn(v,h,u,t,c,f,d,p),++D}else N||He(v,u,p);else N||He(v,u,p)}if(N)Ge(u,s,e,p),dn(n,u,t,c,f,d,p);else if(S){var F=On($);for(a=F.length-1,g=w-1;g>=0;g--)0===$[g]?(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),an(h,u,t,c,(m=P+1)0&&x(p.componentWillMove)}else if(D!==w)for(g=w-1;g>=0;g--)0===$[g]&&(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),an(h,u,t,c,(m=P+1)Wn&&(Wn=u,Le=new Int32Array(u),Ae=new Int32Array(u));t>1]]0&&(Ae[t]=Le[i-1]),Le[i]=t)}i=o+1;var c=new Int32Array(i);for(l=Le[i-1];i-- >0;)c[i]=l,l=Ae[l],Le[i]=0;return c}function En(e,n,r,i){var l=[],a=new d,u=n.$V;M.v=!0,t(u)?t(e)||(16384&e.flags&&(e=X(e)),an(e,n,i,!1,null,l,a),n.$V=e,u=e):t(e)?(He(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),Cn(u,e,n,i,!1,null,l,a),u=n.$V=e),b(l),w(a.componentDidAppear),M.v=!1,o(r)&&r(),o(F.renderComplete)&&F.renderComplete(u,n)}function _n(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),En(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Bn=[],Rn="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},jn=!1;function Hn(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(!M.v&&0===Bn.length)return Xn(e,i),void(o(r)&&r.call(e));if(-1===Bn.indexOf(e)&&Bn.push(e),i&&(e.$F=!0),jn||(jn=!0,Rn(Qn)),o(r)){var c=e.$QU;c||(c=e.$QU=[]),c.push(r)}}}function zn(e){for(var n=e.$QU,t=0;t0?an(v,n,r,o,t,i,l):t=(t=at(v,n,t,r,o,i,l))?t.nextSibling:null,s=(16&v.flags)>0}if(0===(8192&f))for(var h=null;t;)h=t.nextSibling,n.removeChild(t),t=h}else Jn(n.firstChild)||nt(n,c)||(n.textContent="",448&f&&(n.defaultValue=""))}function ot(e,n,t,r,o,i,l){var a,u=e.props,c=e.className,f=e.flags,s=e.ref;return o=o||(32&f)>0,1!==t.nodeType||t.tagName.toLowerCase()!==e.type?(sn(e,null,r,o,null,i,l),n.replaceChild(e.dom,t)):(e.dom=t,rt(e,t,t.firstChild,r,o,i,l),Jn(u)||tn(e,f,u,t,o,l),void 0===(a=c)||null===a?""!==t.className&&t.removeAttribute("class"):o?t.setAttribute("class",c):t.className=c,je(s,t,i)),e.dom}function it(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 lt(e,n,t,r,o,i,l){var a=e.children;if(2===e.childFlags)return it(a,n,t),a.dom;return rt(e,n,t,r,o,i,l),et(a[a.length-1])}function at(e,n,t,r,o,i,l){var a=e.flags|=16384;if(14&a)return tt(e,n,t,r,o,(4&a)>0,i,l);if(481&a)return ot(e,n,t,r,o,i,l);if(16&a)return it(e,n,t);if(8192&a)return lt(e,n,t,r,o,i,l);return Yn(),null}function ut(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 ct(e,n,t){var r=e.flags,o=14&r?e.props&&e.props.children:e.children,i=arguments.length-2,l=e.className,a=e.key,u=e.ref;if(n?(void 0!==n.className&&(l=n.className),void 0!==n.ref&&(u=n.ref),void 0!==n.key&&(a=n.key),void 0!==n.children&&(o=n.children)):n={},1===i)o=t;else if(i>1)for(o=[];i-- >0;)o[i]=arguments[i+2];if(n.children=o,14&r)return R(r,e.type,e.props||n?ut(e.props,n):f,a,u);if(16&r)return j(o);if(8192&r)return H(1===i?[o]:o,0,a);return z(O(r,e.type,l,null,1,ut(e.props,n),a,u))}var ft="a runtime error occured! Use Inferno in development environment to find the error.";function st(e){throw e||(e=ft),new Error("Inferno Error: "+e)}function dt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e,n){return pt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},pt(e,n)}var vt={componentDidMount:1,componentDidUnmount:1,componentDidUpdate:1,componentWillMount:1,componentWillUnmount:1,componentWillUpdate:1,constructor:1,render:1,shouldComponentUpdate:1};function ht(e,n){for(var t in n)e[t]=n[t];return e}function mt(e){for(var n in e){var t=e[n];"function"!==typeof t||t.__bound||vt[n]||((e[n]=t.bind(e)).__bound=!0)}}function gt(e,n){void 0===n&&(n={});for(var t=0,r=e.length;t1)for(r=[];c-- >0;)r[c]=arguments[c+2];if("string"!==typeof e){if(u=2,xt(r)||(n||(n={}),n.children=r),!wt(n))for(var f in o={},n)"key"===f?l=n.key:"ref"===f?i=n.ref:1===$t[f]?(i||(i={}),i[f]=n[f]):o[f]=n[f];return R(u,e,o,l,i)}if(u=K(e),!wt(n))for(var s in o={},n)"className"===s||"class"===s?a=n[s]:"key"===s?l=n.key:"children"===s&&xt(r)?r=n.children:"ref"===s?i=n.ref:("contenteditable"===s&&(u|=4096),o[s]=n[s]);if(8192&u)return H(1===c?[r]:r,0,l);return O(u,e,a,r,0,o,l,i)}var St=Array.isArray;function Pt(e){return void 0===e||null===e}function Ut(e){return"string"===typeof e}function Dt(e){return null===e}function Mt(){}Mt.isRequired=Mt;var Ft=function(){return Mt},Vt={any:Ft,array:Mt,arrayOf:Ft,bool:Mt,checkPropTypes:function(){return null},element:Ft,func:Mt,instanceOf:Ft,node:Ft,number:Mt,object:Mt,objectOf:Ft,oneOf:Ft,oneOfType:Ft,shape:Ft,string:Mt,symbol:Mt},Lt={htmlFor:"for",onDoubleClick:"onDblClick"},At=/[\-:]([a-z])/g,It=function(e){return e[1].toUpperCase()};function Tt(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(At,It);Lt[n]=e}));var Wt=/[A-Z]/g;function Ot(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Et(e,n)}function Et(e,n){return Et=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},Et(e,n)}function _t(e,n){for(var t=0,r=e.length;t0)for(var a;void 0!==(a=i.shift());)a()}n.$V=e,Kn(t)&&t()},isValidElement:function(e){if("object"!==typeof e||Dt(e))return!1;return(495&e.flags)>0},linkEvent:u,normalizeProps:z,options:F,render:tr,rerender:Qn,unmountComponentAtNode:function(e){return En(null,e,null,null),!0},unstable_renderSubtreeIntoContainer:function(e,n,t,r){tr(R(4,nr,{children:n,context:e.context}),t,null);var o=n.children;return r&&r.call(o),o},version:jt};window.React=rr,window.ReactDOM=rr}function or(e){return O(1,"li","TreeLeaf",j(e.children),0,null,null,null)}function ir(e,n){return e!==n}function lr(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0?C(t.componentWillDisappear,D(e,n)):$(e,n,!1)}function x(e,n,t,r,o,l,i,a){e.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(n,o,r):8&i&&t.onComponentWillMove(n,o,r,a)},next:l,parent:o})}function A(e,n,r,l,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,l):x(i,e,a,n.dom,r,l,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=i(d),h=l(d)&&d[0]===V;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=X(s)),(v||h)&&(s.key=V+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function z(t){if(r(t)||n(t))return R(t,null);if(e(t))return j(t,0,null);return 16384&t.flags?X(t):t}var G="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":G,"xlink:arcrole":G,"xlink:href":G,"xlink:role":G,"xlink:show":G,"xlink:title":G,"xlink:type":G,"xml:base":J,"xml:lang":J,"xml:space":J};function Y(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 Z=Y(0),ee=Y(null),ne=Y(!0);function te(e,n){var t=n.$EV;return t||(t=n.$EV=Y(null)),t[e]||1===++Z[e]&&(ee[e]=pe(e)),t}function re(e,n){var t=n.$EV;t&&t[e]&&(0===--Z[e]&&(document.removeEventListener(d(e),ee[e]),ee[e]=null),t[e]=null)}function oe(e,n,t,r){if(o(t))te(e,r)[e]=t;else if(c(t)){if(U(n,t))return;te(e,r)[e]=t}else re(e,r)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ie(e,n,t,r){var o=le(e);do{if(n&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ue(){return this.defaultPrevented}function ce(){return this.cancelBubble}function fe(e){var n={dom:document};return e.isDefaultPrevented=ue,e.isPropagationStopped=ce,e.stopPropagation=ae,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function se(e){return function(n){if(0!==n.button)return void n.stopPropagation();ie(n,!0,e,fe(n))}}function de(e){return function(n){ie(n,!1,e,fe(n))}}function pe(e){var n="onClick"===e||"onDblClick"===e?se(e):de(e);return document.addEventListener(d(e),n),n}function ve(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function he(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 me(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(e))he(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),De(o,a)}}var Se,We,Ue=me("onInput",Ve),Le=me("onChange");function Me(e,n){ge(e,"input",Ue),n.onChange&&ge(e,"change",Le)}function Ve(e,n,r){var o=e.value,l=n.value;if(t(o)){if(r){var i=e.defaultValue;t(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==o&&(n.defaultValue=o,n.value=o)}function Ie(e,n,t,r,o,l){64&e?$e(r,t):256&e?Pe(r,t,o,n):128&e&&Ve(r,t,o),l&&(t.$V=n)}function Ne(e,n,t){64&e?we(n,t):256&e?Ae(n):128&e&&Me(n,t)}function Te(e){return e.type&&ye(e.type)?!t(e.checked):!t(e.value)}function Be(e){e&&!M(e,null)&&e.current&&(e.current=null)}function Ee(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){M(e,n)||void 0===e.current||(e.current=n)}))}function Oe(e,n,t){Re(e,t),F(e,n,t)}function Re(e,n){var r,l=e.flags,a=e.children;if(481&l){r=e.ref;var u=e.props;Be(r);var c=e.childFlags;if(!i(u))for(var d=Object.keys(u),p=0,v=d.length;p0?C(t.componentWillDisappear,He(n,e)):e.textContent=""}function _e(e,n,t,r){je(t,r),8192&n.flags?F(n,e,r):Xe(e,t,r)}function Ke(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function qe(e){var n=e.event;return function(t){n(e.data,t)}}function ze(e,n,t,r){if(c(t)){if(U(n,t))return;t=qe(t)}ge(r,d(e),t)}function Ge(e,n,r){if(t(n))return void r.removeAttribute("style");var o,i,a=r.style;if(l(n))return void(a.cssText=n);if(t(e)||l(e))for(o in n)i=n[o],a.setProperty(o,i);else{for(o in n)(i=n[o])!==e[o]&&a.setProperty(o,i);for(o in e)t(n[o])&&a.removeProperty(o)}}function Je(e,n,r,o,l){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ve(o,u)||(i(r)||(12&r.childFlags?je(r.children,l):2===r.childFlags&&Re(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Qe(e,n,r,o,l,i,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Ge(n,r,o);break;case"dangerouslySetInnerHTML":Je(n,r,a,o,u);break;default:ne[e]?oe(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?ze(e,n,r,o):t(r)?o.removeAttribute(e):l&&Q[e]?o.setAttributeNS(Q[e],e,r):o.setAttribute(e,r)}}function Ye(e,n,t,r,o,l){var i=!1,a=(448&n)>0;for(var u in a&&(i=Te(t))&&Ne(n,r,t),t)Qe(u,null,t[u],r,o,i,null,l);a&&Ie(n,e,r,t,!0,i)}function Ze(e,n,t){var r=z(e.render(n,e.state,t)),l=t;return o(e.getChildContext)&&(l=a(t,e.getChildContext())),e.$CX=l,r}function en(e,n,t,r,l,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=P(u,t,u.state);else if(o(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=Ze(u,t,r),u}function nn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function tn(e,n,t,r,o,l,i){var a=e.flags|=16384;481&a?an(e,n,t,r,o,l,i):4&a?cn(e,n,t,r,o,l,i):8&a?fn(e,n,t,r,o,l,i):16&a?ln(e,n,o):8192&a?on(e,t,n,r,o,l,i):1024&a&&rn(e,t,n,o,l,i)}function rn(e,n,t,r,o,l){tn(e.children,e.ref,n,!1,null,o,l);var i=_();ln(i,t,r),e.dom=i.dom}function on(e,n,t,r,o,l,i){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=_()),2===u?tn(a,t,n,r,o,l,i):un(a,t,n,r,o,l,i)}function ln(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||v(n,r,t)}function an(e,n,r,o,l,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)W(p,m);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&m.flags&&(e.children=m=X(m)),tn(m,p,r,g,null,a,u)):8!==d&&4!==d||un(m,p,r,g,null,a,u)}i(n)||v(n,p,l),i(f)||Ye(e,c,f,p,o,u),Ee(e.ref,p,a)}function un(e,n,t,r,o,l,i){for(var a=0;ap)&&(s=k(a[p-1],!1).nextSibling)}Dn(c,f,a,u,t,r,o,s,e,l,i)}function Cn(e,n,t,o,l){var i=e.ref,a=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,o,l),n.dom=e.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),p(a,c)}}function wn(e,n,r,o,l,i,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&l)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&l)>0)&&(v=Te(u)),u){var g=h[m],y=u[m];g!==y&&Qe(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Qe(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&l?bn(c,k):Dn(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,i,a),p&&Ie(l,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Be($),Ee(w,c,i))}function $n(e,n,t,r,o,l,i){Re(e,i),un(n,t,r,o,k(e,!0),l,i),F(e,t,i)}function Dn(e,n,t,r,o,l,i,a,u,c,f){switch(e){case 2:switch(n){case 2:gn(t,r,o,l,i,a,c,f);break;case 1:Oe(t,o,f);break;case 16:Re(t,f),W(o,r);break;default:$n(t,r,o,l,i,c,f)}break;case 1:switch(n){case 2:tn(r,o,l,i,a,c,f);break;case 1:break;case 16:W(o,r);break;default:un(r,o,l,i,a,c,f)}break;case 16:switch(n){case 16:yn(t,r,o);break;case 2:Xe(o,t,f),tn(r,o,l,i,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),un(r,o,l,i,a,c,f)}break;default:switch(n){case 16:je(t,f),W(o,r);break;case 2:_e(o,u,t,f),tn(r,o,l,i,a,c,f);break;case 1:_e(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&un(r,o,l,i,a,c,f):0===d?_e(o,u,t,f):8===n&&8===e?Un(t,r,o,l,i,s,d,a,u,c,f):Wn(t,r,o,l,i,s,d,a,c,f)}}}function Fn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,l,i,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=P(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,l)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,l),e.props=t,e.state=n,e.context=l;var m=null,g=Ze(e,t,l);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),gn(e.$LI,g,r,e.$CX,i,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Fn(e,p,d,m,f)}else e.props=t,e.state=n,e.context=l}function An(e,n,t,r,l,u,c,s){var d=n.children=e.children;if(i(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}i(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}xn(d,m,p,t,r,l,!1,u,c,s),h!==v&&(Be(h),Ee(v,d,c))}function Pn(e,n,r,l,i,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=z(nn(n,l));gn(m,g,r,l,i,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Sn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Wn(e,n,t,r,o,l,i,a,u,c){for(var f,s,d=l>i?i:l,p=0;pi)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),gn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)Oe(e[h++],t,f);else Ln(e,n,r,l,i,p,v,h,t,o,a,u,c,f)}function Ln(e,n,t,r,o,l,i,a,u,c,f,s,d,p){var v,h,m=0,g=0,y=a,b=a,C=l-a+1,$=i-a+1,D=new Int32Array($+1),F=C===r,x=!1,P=0,S=0;if(o<4||(C|$)<32)for(g=y;g<=l;++g)if(v=e[g],S<$){for(a=b;a<=i;a++)if(h=n[a],v.key===h.key){if(D[a-b]=g+1,F)for(F=!1;ya?x=!0:P=a,16384&h.flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++S;break}!F&&a>i&&Oe(v,u,p)}else F||Oe(v,u,p);else{var W={};for(g=b;g<=i;++g)W[n[g].key]=g;for(g=y;g<=l;++g)if(v=e[g],S<$)if(void 0!==(a=W[v.key])){if(F)for(F=!1;g>y;)Oe(e[y++],u,p);D[a-b]=g+1,P>a?x=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++S}else F||Oe(v,u,p);else F||Oe(v,u,p)}if(F)_e(u,s,e,p),un(n,u,t,c,f,d,p);else if(x){var U=Vn(D);for(a=U.length-1,g=$-1;g>=0;g--)0===D[g]?(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),tn(h,u,t,c,(m=P+1)0&&w(p.componentWillMove)}else if(S!==$)for(g=$-1;g>=0;g--)0===D[g]&&(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),tn(h,u,t,c,(m=P+1)Mn&&(Mn=u,Se=new Int32Array(u),We=new Int32Array(u));t>1]]0&&(We[t]=Se[l-1]),Se[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Se[l-1];l-- >0;)c[l]=i,i=We[i],Se[l]=0;return c}function In(e,n,r,l){var i=[],a=new s,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=X(e)),tn(e,n,l,!1,null,i,a),n.$V=e,u=e):t(e)?(Oe(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),gn(u,e,n,l,!1,null,i,a),u=n.$V=e),y(i),C(a.componentDidAppear),o(r)&&r(),o(S.renderComplete)&&S.renderComplete(u,n)}function Nn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),In(e,n,t,r)}function Tn(e){return N(1,"li","TreeLeaf",e.children,0,null,null,null)}function Bn(e,n){return e!==n}function En(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0?C(t.componentWillDisappear,D(e,n)):$(e,n,!1)}function x(e,n,t,r,o,l,i,a){e.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(n,o,r):8&i&&t.onComponentWillMove(n,o,r,a)},next:l,parent:o})}function A(e,n,r,l,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,l):x(i,e,a,n.dom,r,l,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=i(d),h=l(d)&&d[0]===V;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=X(s)),(v||h)&&(s.key=V+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function z(t){if(r(t)||n(t))return R(t,null);if(e(t))return j(t,0,null);return 16384&t.flags?X(t):t}var G="http://www.w3.org/1999/xlink",J="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":G,"xlink:arcrole":G,"xlink:href":G,"xlink:role":G,"xlink:show":G,"xlink:title":G,"xlink:type":G,"xml:base":J,"xml:lang":J,"xml:space":J};function Y(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 Z=Y(0),ee=Y(null),ne=Y(!0);function te(e,n){var t=n.$EV;return t||(t=n.$EV=Y(null)),t[e]||1===++Z[e]&&(ee[e]=pe(e)),t}function re(e,n){var t=n.$EV;t&&t[e]&&(0===--Z[e]&&(document.removeEventListener(d(e),ee[e]),ee[e]=null),t[e]=null)}function oe(e,n,t,r){if(o(t))te(e,r)[e]=t;else if(c(t)){if(U(n,t))return;te(e,r)[e]=t}else re(e,r)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ie(e,n,t,r){var o=le(e);do{if(n&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ue(){return this.defaultPrevented}function ce(){return this.cancelBubble}function fe(e){var n={dom:document};return e.isDefaultPrevented=ue,e.isPropagationStopped=ce,e.stopPropagation=ae,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function se(e){return function(n){if(0!==n.button)return void n.stopPropagation();ie(n,!0,e,fe(n))}}function de(e){return function(n){ie(n,!1,e,fe(n))}}function pe(e){var n="onClick"===e||"onDblClick"===e?se(e):de(e);return document.addEventListener(d(e),n),n}function ve(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function he(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 me(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(e))he(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),De(o,a)}}var Se,We,Ue=me("onInput",Ve),Le=me("onChange");function Me(e,n){ge(e,"input",Ue),n.onChange&&ge(e,"change",Le)}function Ve(e,n,r){var o=e.value,l=n.value;if(t(o)){if(r){var i=e.defaultValue;t(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==o&&(n.defaultValue=o,n.value=o)}function Ie(e,n,t,r,o,l){64&e?$e(r,t):256&e?Pe(r,t,o,n):128&e&&Ve(r,t,o),l&&(t.$V=n)}function Ne(e,n,t){64&e?we(n,t):256&e?Ae(n):128&e&&Me(n,t)}function Te(e){return e.type&&ye(e.type)?!t(e.checked):!t(e.value)}function Be(e){e&&!M(e,null)&&e.current&&(e.current=null)}function Ee(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){M(e,n)||void 0===e.current||(e.current=n)}))}function Oe(e,n,t){Re(e,t),F(e,n,t)}function Re(e,n){var r,l=e.flags,a=e.children;if(481&l){r=e.ref;var u=e.props;Be(r);var c=e.childFlags;if(!i(u))for(var d=Object.keys(u),p=0,v=d.length;p0?C(t.componentWillDisappear,He(n,e)):e.textContent=""}function _e(e,n,t,r){je(t,r),8192&n.flags?F(n,e,r):Xe(e,t,r)}function Ke(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function qe(e){var n=e.event;return function(t){n(e.data,t)}}function ze(e,n,t,r){if(c(t)){if(U(n,t))return;t=qe(t)}ge(r,d(e),t)}function Ge(e,n,r){if(t(n))return void r.removeAttribute("style");var o,i,a=r.style;if(l(n))return void(a.cssText=n);if(t(e)||l(e))for(o in n)i=n[o],a.setProperty(o,i);else{for(o in n)(i=n[o])!==e[o]&&a.setProperty(o,i);for(o in e)t(n[o])&&a.removeProperty(o)}}function Je(e,n,r,o,l){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ve(o,u)||(i(r)||(12&r.childFlags?je(r.children,l):2===r.childFlags&&Re(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Qe(e,n,r,o,l,i,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Ge(n,r,o);break;case"dangerouslySetInnerHTML":Je(n,r,a,o,u);break;default:ne[e]?oe(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?ze(e,n,r,o):t(r)?o.removeAttribute(e):l&&Q[e]?o.setAttributeNS(Q[e],e,r):o.setAttribute(e,r)}}function Ye(e,n,t,r,o,l){var i=!1,a=(448&n)>0;for(var u in a&&(i=Te(t))&&Ne(n,r,t),t)Qe(u,null,t[u],r,o,i,null,l);a&&Ie(n,e,r,t,!0,i)}function Ze(e,n,t){var r=z(e.render(n,e.state,t)),l=t;return o(e.getChildContext)&&(l=a(t,e.getChildContext())),e.$CX=l,r}function en(e,n,t,r,l,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,u.$L=a,e.children=u,u.$BS=!1,u.context=r,u.props===f&&(u.props=t),c)u.state=P(u,t,u.state);else if(o(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=Ze(u,t,r),u}function nn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function tn(e,n,t,r,o,l,i){var a=e.flags|=16384;481&a?an(e,n,t,r,o,l,i):4&a?cn(e,n,t,r,o,l,i):8&a?fn(e,n,t,r,o,l,i):16&a?ln(e,n,o):8192&a?on(e,t,n,r,o,l,i):1024&a&&rn(e,t,n,o,l,i)}function rn(e,n,t,r,o,l){tn(e.children,e.ref,n,!1,null,o,l);var i=_();ln(i,t,r),e.dom=i.dom}function on(e,n,t,r,o,l,i){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=_()),2===u?tn(a,t,n,r,o,l,i):un(a,t,n,r,o,l,i)}function ln(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||v(n,r,t)}function an(e,n,r,o,l,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)W(p,m);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&m.flags&&(e.children=m=X(m)),tn(m,p,r,g,null,a,u)):8!==d&&4!==d||un(m,p,r,g,null,a,u)}i(n)||v(n,p,l),i(f)||Ye(e,c,f,p,o,u),Ee(e.ref,p,a)}function un(e,n,t,r,o,l,i){for(var a=0;ap)&&(s=k(a[p-1],!1).nextSibling)}Dn(c,f,a,u,t,r,o,s,e,l,i)}function Cn(e,n,t,o,l){var i=e.ref,a=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,o,l),n.dom=e.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),p(a,c)}}function wn(e,n,r,o,l,i,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&l)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&l)>0)&&(v=Te(u)),u){var g=h[m],y=u[m];g!==y&&Qe(m,g,y,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Qe(b,h[b],null,c,o,v,e,a)}var k=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&l?bn(c,k):Dn(e.childFlags,n.childFlags,e.children,k,c,r,o&&"foreignObject"!==n.type,null,e,i,a),p&&Ie(l,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Be($),Ee(w,c,i))}function $n(e,n,t,r,o,l,i){Re(e,i),un(n,t,r,o,k(e,!0),l,i),F(e,t,i)}function Dn(e,n,t,r,o,l,i,a,u,c,f){switch(e){case 2:switch(n){case 2:gn(t,r,o,l,i,a,c,f);break;case 1:Oe(t,o,f);break;case 16:Re(t,f),W(o,r);break;default:$n(t,r,o,l,i,c,f)}break;case 1:switch(n){case 2:tn(r,o,l,i,a,c,f);break;case 1:break;case 16:W(o,r);break;default:un(r,o,l,i,a,c,f)}break;case 16:switch(n){case 16:yn(t,r,o);break;case 2:Xe(o,t,f),tn(r,o,l,i,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),un(r,o,l,i,a,c,f)}break;default:switch(n){case 16:je(t,f),W(o,r);break;case 2:_e(o,u,t,f),tn(r,o,l,i,a,c,f);break;case 1:_e(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&un(r,o,l,i,a,c,f):0===d?_e(o,u,t,f):8===n&&8===e?Un(t,r,o,l,i,s,d,a,u,c,f):Wn(t,r,o,l,i,s,d,a,c,f)}}}function Fn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,l,i,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=P(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,l)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,l),e.props=t,e.state=n,e.context=l;var m=null,g=Ze(e,t,l);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),gn(e.$LI,g,r,e.$CX,i,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Fn(e,p,d,m,f)}else e.props=t,e.state=n,e.context=l}function An(e,n,t,r,l,u,c,s){var d=n.children=e.children;if(i(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}i(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}xn(d,m,p,t,r,l,!1,u,c,s),h!==v&&(Be(h),Ee(v,d,c))}function Pn(e,n,r,l,i,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=z(nn(n,l));gn(m,g,r,l,i,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function Sn(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Wn(e,n,t,r,o,l,i,a,u,c){for(var f,s,d=l>i?i:l,p=0;pi)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),gn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)Oe(e[h++],t,f);else Ln(e,n,r,l,i,p,v,h,t,o,a,u,c,f)}function Ln(e,n,t,r,o,l,i,a,u,c,f,s,d,p){var v,h,m=0,g=0,y=a,b=a,C=l-a+1,$=i-a+1,D=new Int32Array($+1),F=C===r,x=!1,P=0,S=0;if(o<4||(C|$)<32)for(g=y;g<=l;++g)if(v=e[g],S<$){for(a=b;a<=i;a++)if(h=n[a],v.key===h.key){if(D[a-b]=g+1,F)for(F=!1;ya?x=!0:P=a,16384&h.flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++S;break}!F&&a>i&&Oe(v,u,p)}else F||Oe(v,u,p);else{var W={};for(g=b;g<=i;++g)W[n[g].key]=g;for(g=y;g<=l;++g)if(v=e[g],S<$)if(void 0!==(a=W[v.key])){if(F)for(F=!1;g>y;)Oe(e[y++],u,p);D[a-b]=g+1,P>a?x=!0:P=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++S}else F||Oe(v,u,p);else F||Oe(v,u,p)}if(F)_e(u,s,e,p),un(n,u,t,c,f,d,p);else if(x){var U=Vn(D);for(a=U.length-1,g=$-1;g>=0;g--)0===D[g]?(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),tn(h,u,t,c,(m=P+1)0&&w(p.componentWillMove)}else if(S!==$)for(g=$-1;g>=0;g--)0===D[g]&&(16384&(h=n[P=g+b]).flags&&(n[P]=h=X(h)),tn(h,u,t,c,(m=P+1)Mn&&(Mn=u,Se=new Int32Array(u),We=new Int32Array(u));t>1]]0&&(We[t]=Se[l-1]),Se[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Se[l-1];l-- >0;)c[l]=i,i=We[i],Se[l]=0;return c}function In(e,n,r,l){var i=[],a=new s,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=X(e)),tn(e,n,l,!1,null,i,a),n.$V=e,u=e):t(e)?(Oe(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),gn(u,e,n,l,!1,null,i,a),u=n.$V=e),y(i),C(a.componentDidAppear),o(r)&&r(),o(S.renderComplete)&&S.renderComplete(u,n)}function Nn(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),In(e,n,t,r)}function Tn(e){return N(1,"li","TreeLeaf",e.children,0,null,null,null)}function Bn(e,n){return e!==n}function En(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0?w(t.componentWillDisappear,P(n,e)):U(n,e,!1)}function F(n,e,t,r,o,i,l,a){n.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(e,o,r):8&l&&t.onComponentWillMove(e,o,r,a)},next:i,parent:o})}function D(n,e,t,r,o){var l,u,c=e.flags;do{var s=e.flags;if(1521&s)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?m(t,e.dom,r):F(o,n,l,e.dom,t,r,c,u));var f=e.children;if(4&s)l=e.children,u=e.props,e=f.$LI;else if(8&s)l=e.ref,u=e.props,e=f;else if(8192&s){if(2!==e.childFlags){for(var p=0,d=f.length;p0,h=c(p),v=u(p)&&p[0]===B;d||h||v?(t=t||e.slice(0,s),(d||v)&&(f=G(f)),(h||v)&&(f.key=B+s),t.push(f)):t&&t.push(f),f.flags|=65536}}i=0===(t=t||e).length?1:8}else(t=e).flags|=65536,81920&e.flags&&(t=G(e)),i=2;return n.children=t,n.childFlags=i,n}function z(n){if(l(n)||o(n))return H(n,null);if(r(n))return Q(n,0,null);return 16384&n.flags?G(n):n}var Y="http://www.w3.org/1999/xlink",Z="http://www.w3.org/XML/1998/namespace",nn={"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 en(n){return{onClick:n,onDblClick:n,onFocusIn:n,onFocusOut:n,onKeyDown:n,onKeyPress:n,onKeyUp:n,onMouseDown:n,onMouseMove:n,onMouseUp:n,onTouchEnd:n,onTouchMove:n,onTouchStart:n}}var tn=en(0),rn=en(null),on=en(!0);function ln(n,e){var t=e.$EV;return t||(t=e.$EV=en(null)),t[n]||1===++tn[n]&&(rn[n]=gn(n)),t}function an(n,e){var t=e.$EV;t&&t[n]&&(0===--tn[n]&&(document.removeEventListener(h(n),rn[n]),rn[n]=null),t[n]=null)}function un(n,e,t,r){if(a(t))ln(n,r)[n]=t;else if(f(t)){if(M(e,t))return;ln(n,r)[n]=t}else an(n,r)}function cn(n){return a(n.composedPath)?n.composedPath()[0]:n.target}function sn(n,e,t,r){var o=cn(n);do{if(e&&o.disabled)return;var i=o.$EV;if(i){var l=i[t];if(l&&(r.dom=o,l.event?l.event(l.data,n):l(n),n.cancelBubble))return}o=o.parentNode}while(!c(o))}function fn(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pn(){return this.defaultPrevented}function dn(){return this.cancelBubble}function hn(n){var e={dom:document};return n.isDefaultPrevented=pn,n.isPropagationStopped=dn,n.stopPropagation=fn,Object.defineProperty(n,"currentTarget",{configurable:!0,get:function(){return e.dom}}),e}function vn(n){return function(e){if(0!==e.button)return void e.stopPropagation();sn(e,!0,n,hn(e))}}function mn(n){return function(e){sn(e,!1,n,hn(e))}}function gn(n){var e="onClick"===n||"onDblClick"===n?vn(n):mn(n);return document.addEventListener(h(n),e),e}function yn(n,e){var t=document.createElement("i");return t.innerHTML=e,t.innerHTML===n.innerHTML}function bn(n,e,t){if(n[e]){var r=n[e];r.event?r.event(r.data,t):r(t)}else{var o=e.toLowerCase();n[o]&&n[o](t)}}function $n(n,e){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||p,i=r.dom;if(u(n))bn(o,n,t);else for(var l=0;l-1&&e.options[l]&&(a=e.options[l].value),t&&i(a)&&(a=n.defaultValue),Fn(r,a)}}var An,Mn,Vn=$n("onInput",Tn),In=$n("onChange");function Bn(n,e){kn(n,"input",Vn),e.onChange&&kn(n,"change",In)}function Tn(n,e,t){var r=n.value,o=e.value;if(i(r)){if(t){var l=n.defaultValue;i(l)||l===o||(e.defaultValue=l,e.value=l)}}else o!==r&&(e.defaultValue=r,e.value=r)}function On(n,e,t,r,o,i){64&n?Sn(r,t):256&n?Wn(r,t,o,e):128&n&&Tn(r,t,o),i&&(t.$V=e)}function En(n,e,t){64&n?Pn(e,t):256&n?Nn(e):128&n&&Bn(e,t)}function Rn(n){return n.type&&Cn(n.type)?!i(n.checked):!i(n.value)}function jn(n){n&&!I(n,null)&&n.current&&(n.current=null)}function _n(n,e,t){n&&(a(n)||void 0!==n.current)&&t.push((function(){I(n,e)||void 0===n.current||(n.current=e)}))}function Hn(n,e,t){Qn(n,t),S(n,e,t)}function Qn(n,e){var t,r=n.flags,o=n.children;if(481&r){t=n.ref;var l=n.props;jn(t);var u=n.childFlags;if(!c(l))for(var s=Object.keys(l),f=0,h=s.length;f0?w(t.componentWillDisappear,Gn(e,n)):n.textContent=""}function qn(n,e,t,r){Xn(t,r),8192&e.flags?S(e,n,r):Kn(n,t,r)}function Jn(n,e,t,r,o){n.componentWillDisappear.push((function(n){4&r?e.componentWillDisappear(t,n):8&r&&e.onComponentWillDisappear(t,o,n)}))}function zn(n){var e=n.event;return function(t){e(n.data,t)}}function Yn(n,e,t,r){if(f(t)){if(M(e,t))return;t=zn(t)}kn(r,h(n),t)}function Zn(n,e,t){if(i(e))return void t.removeAttribute("style");var r,o,l=t.style;if(u(e))return void(l.cssText=e);if(i(n)||u(n))for(r in e)o=e[r],l.setProperty(r,o);else{for(r in e)(o=e[r])!==n[r]&&l.setProperty(r,o);for(r in n)i(e[r])&&l.removeProperty(r)}}function ne(n,e,t,r,o){var l=n&&n.__html||"",a=e&&e.__html||"";l!==a&&(i(a)||yn(r,a)||(c(t)||(12&t.childFlags?Xn(t.children,o):2===t.childFlags&&Qn(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=a))}function ee(n,e,t,r,o,l,a,u){switch(n){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[n]=!!t;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===n)break;var c=i(t)?"":t;r[n]!==c&&(r[n]=c);break;case"style":Zn(e,t,r);break;case"dangerouslySetInnerHTML":ne(e,t,a,r,u);break;default:on[n]?un(n,e,t,r):111===n.charCodeAt(0)&&110===n.charCodeAt(1)?Yn(n,e,t,r):i(t)?r.removeAttribute(n):o&&nn[n]?r.setAttributeNS(nn[n],n,t):r.setAttribute(n,t)}}function te(n,e,t,r,o,i){var l=!1,a=(448&e)>0;for(var u in a&&(l=Rn(t))&&En(e,r,t),t)ee(u,null,t[u],r,o,l,null,i);a&&On(e,n,r,t,!0,l)}function re(n,e,t){var r=z(n.render(e,n.state,t)),o=t;return a(n.getChildContext)&&(o=s(t,n.getChildContext())),n.$CX=o,r}function oe(n,e,t,r,o,i){var l=new e(t,r),u=l.$N=Boolean(e.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=i,n.children=l,l.$BS=!1,l.context=r,l.props===p&&(l.props=t),u)l.state=L(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var s=l.$PS;if(!c(s)){var f=l.state;if(c(f))l.state=s;else for(var d in s)f[d]=s[d];l.$PS=null}l.$BR=!1}return l.$LI=re(l,t,r),l}function ie(n,e){var t=n.props||p;return 32768&n.flags?n.type.render(t,n.ref,e):n.type(t,e)}function le(n,e,t,r,o,i,l){var a=n.flags|=16384;481&a?se(n,e,t,r,o,i,l):4&a?pe(n,e,t,r,o,i,l):8&a?de(n,e,t,r,o,i,l):16&a?ce(n,e,o):8192&a?ue(n,t,e,r,o,i,l):1024&a&&ae(n,t,e,o,i,l)}function ae(n,e,t,r,o,i){le(n.children,n.ref,e,!1,null,o,i);var l=K();ce(l,t,r),n.dom=l.dom}function ue(n,e,t,r,o,i,l){var a=n.children,u=n.childFlags;12&u&&0===a.length&&(u=n.childFlags=2,a=n.children=K()),2===u?le(a,t,e,r,o,i,l):fe(a,t,e,r,o,i,l)}function ce(n,e,t){var r=n.dom=document.createTextNode(n.children);c(e)||m(e,r,t)}function se(n,e,t,r,o,l,a){var u=n.flags,s=n.props,f=n.className,p=n.childFlags,d=n.dom=g(n.type,r=r||(32&u)>0),h=n.children;if(i(f)||""===f||(r?d.setAttribute("class",f):d.className=f),16===p)A(d,h);else if(1!==p){var v=r&&"foreignObject"!==n.type;2===p?(16384&h.flags&&(n.children=h=G(h)),le(h,d,t,v,null,l,a)):8!==p&&4!==p||fe(h,d,t,v,null,l,a)}c(e)||m(e,d,o),c(s)||te(n,u,s,d,r,a),_n(n.ref,d,l)}function fe(n,e,t,r,o,i,l){for(var a=0;ad)&&(f=C(a[d-1],!1).nextSibling)}Se(c,s,a,u,t,r,o,f,n,i,l)}function xe(n,e,t,r,o){var i=n.ref,a=e.ref,u=e.children;if(Se(n.childFlags,e.childFlags,n.children,u,i,t,!1,null,n,r,o),e.dom=n.dom,i!==a&&!l(u)){var c=u.dom;b(i,c),v(a,c)}}function Ue(n,e,t,r,o,l,a){var u,c=e.dom=n.dom,s=n.props,f=e.props,d=!1,h=!1;if(r=r||(32&o)>0,s!==f){var v=s||p;if((u=f||p)!==p)for(var m in(d=(448&o)>0)&&(h=Rn(u)),u){var g=v[m],y=u[m];g!==y&&ee(m,g,y,c,r,h,n,a)}if(v!==p)for(var b in v)i(u[b])&&!i(v[b])&&ee(b,v[b],null,c,r,h,n,a)}var $=e.children,k=e.className;n.className!==k&&(i(k)?c.removeAttribute("class"):r?c.setAttribute("class",k):c.className=k),4096&o?Ce(c,$):Se(n.childFlags,e.childFlags,n.children,$,c,t,r&&"foreignObject"!==e.type,null,n,l,a),d&&On(o,e,c,u,!1,h);var C=e.ref,w=n.ref;w!==C&&(jn(w),_n(C,c,l))}function Pe(n,e,t,r,o,i,l){Qn(n,l),fe(e,t,r,o,C(n,!0),i,l),S(n,t,l)}function Se(n,e,t,r,o,i,l,a,u,c,s){switch(n){case 2:switch(e){case 2:$e(t,r,o,i,l,a,c,s);break;case 1:Hn(t,o,s);break;case 16:Qn(t,s),A(o,r);break;default:Pe(t,r,o,i,l,c,s)}break;case 1:switch(e){case 2:le(r,o,i,l,a,c,s);break;case 1:break;case 16:A(o,r);break;default:fe(r,o,i,l,a,c,s)}break;case 16:switch(e){case 16:ke(t,r,o);break;case 2:Kn(o,t,s),le(r,o,i,l,a,c,s);break;case 1:Kn(o,t,s);break;default:Kn(o,t,s),fe(r,o,i,l,a,c,s)}break;default:switch(e){case 16:Xn(t,s),A(o,r);break;case 2:qn(o,u,t,s),le(r,o,i,l,a,c,s);break;case 1:qn(o,u,t,s);break;default:var f=0|t.length,p=0|r.length;0===f?p>0&&fe(r,o,i,l,a,c,s):0===p?qn(o,u,t,s):8===e&&8===n?Me(t,r,o,i,l,f,p,a,u,c,s):Ae(t,r,o,i,l,f,p,a,c,s)}}}function Fe(n,e,t,r,o){o.push((function(){n.componentDidUpdate(e,t,r)}))}function De(n,e,t,r,o,i,l,u,c,f){var p=n.state,d=n.props,h=Boolean(n.$N),v=a(n.shouldComponentUpdate);if(h&&(e=L(n,t,e!==p?s(p,e):e)),l||!v||v&&n.shouldComponentUpdate(t,e,o)){!h&&a(n.componentWillUpdate)&&n.componentWillUpdate(t,e,o),n.props=t,n.state=e,n.context=o;var m=null,g=re(n,t,o);h&&a(n.getSnapshotBeforeUpdate)&&(m=n.getSnapshotBeforeUpdate(d,p)),$e(n.$LI,g,r,n.$CX,i,u,c,f),n.$LI=g,a(n.componentDidUpdate)&&Fe(n,d,p,m,c)}else n.props=t,n.state=e,n.context=o}function Le(n,e,t,r,o,i,l,u){var f=e.children=n.children;if(c(f))return;f.$L=l;var d=e.props||p,h=e.ref,v=n.ref,m=f.state;if(!f.$N){if(a(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(d,r),f.$UN)return;f.$BR=!1}c(f.$PS)||(m=s(m,f.$PS),f.$PS=null)}De(f,m,d,t,r,o,!1,i,l,u),v!==h&&(jn(v),_n(h,f,l))}function Ne(n,e,t,r,o,l,u,c){var s=!0,f=e.props||p,d=e.ref,h=n.props,v=!i(d),m=n.children;if(v&&a(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(h,f)),!1!==s){v&&a(d.onComponentWillUpdate)&&d.onComponentWillUpdate(h,f);var g=z(ie(e,r));$e(m,g,t,r,o,l,u,c),e.children=g,v&&a(d.onComponentDidUpdate)&&d.onComponentDidUpdate(h,f)}else e.children=m}function We(n,e){var t=e.children,r=e.dom=n.dom;t!==n.children&&(r.nodeValue=t)}function Ae(n,e,t,r,o,i,l,a,u,c){for(var s,f,p=i>l?l:i,d=0;dl)for(d=p;dd||v>h)break n;m=n[v],g=e[v]}for(m=n[d],g=e[h];m.key===g.key;){if(16384&g.flags&&(e[h]=g=G(g)),$e(m,g,t,r,o,a,c,s),n[d]=g,h--,v>--d||v>h)break n;m=n[d],g=e[h]}}if(v>d){if(v<=h)for(p=(f=h+1)h)for(;v<=d;)Hn(n[v++],t,s);else Ve(n,e,r,i,l,d,h,v,t,o,a,u,c,s)}function Ve(n,e,t,r,o,i,l,a,u,c,s,f,p,d){var h,v,m=0,g=0,y=a,b=a,$=i-a+1,k=l-a+1,w=new Int32Array(k+1),U=$===r,P=!1,S=0,F=0;if(o<4||($|k)<32)for(g=y;g<=i;++g)if(h=n[g],Fa?P=!0:S=a,16384&v.flags&&(e[a]=v=G(v)),$e(h,v,u,t,c,s,p,d),++F;break}!U&&a>l&&Hn(h,u,d)}else U||Hn(h,u,d);else{var L={};for(g=b;g<=l;++g)L[e[g].key]=g;for(g=y;g<=i;++g)if(h=n[g],Fy;)Hn(n[y++],u,d);w[a-b]=g+1,S>a?P=!0:S=a,16384&(v=e[a]).flags&&(e[a]=v=G(v)),$e(h,v,u,t,c,s,p,d),++F}else U||Hn(h,u,d);else U||Hn(h,u,d)}if(U)qn(u,f,n,d),fe(e,u,t,c,s,p,d);else if(P){var N=Be(w);for(a=N.length-1,g=k-1;g>=0;g--)0===w[g]?(16384&(v=e[S=g+b]).flags&&(e[S]=v=G(v)),le(v,u,t,c,(m=S+1)0&&x(d.componentWillMove)}else if(F!==k)for(g=k-1;g>=0;g--)0===w[g]&&(16384&(v=e[S=g+b]).flags&&(e[S]=v=G(v)),le(v,u,t,c,(m=S+1)Ie&&(Ie=u,An=new Int32Array(u),Mn=new Int32Array(u));t>1]]0&&(Mn[t]=An[i-1]),An[i]=t)}i=o+1;var c=new Int32Array(i);for(l=An[i-1];i-- >0;)c[i]=l,l=Mn[l],An[i]=0;return c}function Te(n,e,t,r){var o=[],l=new d,u=e.$V;N.v=!0,i(u)?i(n)||(16384&n.flags&&(n=G(n)),le(n,e,r,!1,null,o,l),e.$V=n,u=n):i(n)?(Hn(u,e,l),e.$V=null):(16384&n.flags&&(n=G(n)),$e(u,n,e,r,!1,null,o,l),u=e.$V=n),$(o),w(l.componentDidAppear),N.v=!1,a(t)&&t(),a(W.renderComplete)&&W.renderComplete(u,e)}function Oe(n,e,t,r){void 0===t&&(t=null),void 0===r&&(r=p),Te(n,e,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Ee=[],Re="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(n){window.setTimeout(n,0)},je=!1;function _e(n,e,t,r){var o=n.$PS;if(a(e)&&(e=e(o?s(n.state,o):n.state,n.props,n.context)),i(o))n.$PS=e;else for(var l in e)o[l]=e[l];if(n.$BR)a(t)&&n.$L.push(t.bind(n));else{if(!N.v&&0===Ee.length)return Xe(n,r),void(a(t)&&t.call(n));if(-1===Ee.indexOf(n)&&Ee.push(n),r&&(n.$F=!0),je||(je=!0,Re(Qe)),a(t)){var u=n.$QU;u||(u=n.$QU=[]),u.push(t)}}}function He(n){for(var e=n.$QU,t=0;t0?w(t.componentWillDisappear,P(n,e)):U(n,e,!1)}function F(n,e,t,r,o,i,l,a){n.componentWillMove.push({dom:r,fn:function(){4&l?t.componentWillMove(e,o,r):8&l&&t.onComponentWillMove(e,o,r,a)},next:i,parent:o})}function D(n,e,t,r,o){var l,u,c=e.flags;do{var s=e.flags;if(1521&s)return void(i(l)||!a(l.componentWillMove)&&!a(l.onComponentWillMove)?m(t,e.dom,r):F(o,n,l,e.dom,t,r,c,u));var f=e.children;if(4&s)l=e.children,u=e.props,e=f.$LI;else if(8&s)l=e.ref,u=e.props,e=f;else if(8192&s){if(2!==e.childFlags){for(var p=0,d=f.length;p0,h=c(p),v=u(p)&&p[0]===B;d||h||v?(t=t||e.slice(0,s),(d||v)&&(f=G(f)),(h||v)&&(f.key=B+s),t.push(f)):t&&t.push(f),f.flags|=65536}}i=0===(t=t||e).length?1:8}else(t=e).flags|=65536,81920&e.flags&&(t=G(e)),i=2;return n.children=t,n.childFlags=i,n}function z(n){if(l(n)||o(n))return H(n,null);if(r(n))return Q(n,0,null);return 16384&n.flags?G(n):n}var Y="http://www.w3.org/1999/xlink",Z="http://www.w3.org/XML/1998/namespace",nn={"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 en(n){return{onClick:n,onDblClick:n,onFocusIn:n,onFocusOut:n,onKeyDown:n,onKeyPress:n,onKeyUp:n,onMouseDown:n,onMouseMove:n,onMouseUp:n,onTouchEnd:n,onTouchMove:n,onTouchStart:n}}var tn=en(0),rn=en(null),on=en(!0);function ln(n,e){var t=e.$EV;return t||(t=e.$EV=en(null)),t[n]||1===++tn[n]&&(rn[n]=gn(n)),t}function an(n,e){var t=e.$EV;t&&t[n]&&(0===--tn[n]&&(document.removeEventListener(h(n),rn[n]),rn[n]=null),t[n]=null)}function un(n,e,t,r){if(a(t))ln(n,r)[n]=t;else if(f(t)){if(M(e,t))return;ln(n,r)[n]=t}else an(n,r)}function cn(n){return a(n.composedPath)?n.composedPath()[0]:n.target}function sn(n,e,t,r){var o=cn(n);do{if(e&&o.disabled)return;var i=o.$EV;if(i){var l=i[t];if(l&&(r.dom=o,l.event?l.event(l.data,n):l(n),n.cancelBubble))return}o=o.parentNode}while(!c(o))}function fn(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function pn(){return this.defaultPrevented}function dn(){return this.cancelBubble}function hn(n){var e={dom:document};return n.isDefaultPrevented=pn,n.isPropagationStopped=dn,n.stopPropagation=fn,Object.defineProperty(n,"currentTarget",{configurable:!0,get:function(){return e.dom}}),e}function vn(n){return function(e){if(0!==e.button)return void e.stopPropagation();sn(e,!0,n,hn(e))}}function mn(n){return function(e){sn(e,!1,n,hn(e))}}function gn(n){var e="onClick"===n||"onDblClick"===n?vn(n):mn(n);return document.addEventListener(h(n),e),e}function yn(n,e){var t=document.createElement("i");return t.innerHTML=e,t.innerHTML===n.innerHTML}function bn(n,e,t){if(n[e]){var r=n[e];r.event?r.event(r.data,t):r(t)}else{var o=e.toLowerCase();n[o]&&n[o](t)}}function $n(n,e){var t=function(t){var r=this.$V;if(!r)return;var o=r.props||p,i=r.dom;if(u(n))bn(o,n,t);else for(var l=0;l-1&&e.options[l]&&(a=e.options[l].value),t&&i(a)&&(a=n.defaultValue),Fn(r,a)}}var An,Mn,Vn=$n("onInput",Tn),In=$n("onChange");function Bn(n,e){kn(n,"input",Vn),e.onChange&&kn(n,"change",In)}function Tn(n,e,t){var r=n.value,o=e.value;if(i(r)){if(t){var l=n.defaultValue;i(l)||l===o||(e.defaultValue=l,e.value=l)}}else o!==r&&(e.defaultValue=r,e.value=r)}function On(n,e,t,r,o,i){64&n?Sn(r,t):256&n?Wn(r,t,o,e):128&n&&Tn(r,t,o),i&&(t.$V=e)}function En(n,e,t){64&n?Pn(e,t):256&n?Nn(e):128&n&&Bn(e,t)}function Rn(n){return n.type&&Cn(n.type)?!i(n.checked):!i(n.value)}function jn(n){n&&!I(n,null)&&n.current&&(n.current=null)}function _n(n,e,t){n&&(a(n)||void 0!==n.current)&&t.push((function(){I(n,e)||void 0===n.current||(n.current=e)}))}function Hn(n,e,t){Qn(n,t),S(n,e,t)}function Qn(n,e){var t,r=n.flags,o=n.children;if(481&r){t=n.ref;var l=n.props;jn(t);var u=n.childFlags;if(!c(l))for(var s=Object.keys(l),f=0,h=s.length;f0?w(t.componentWillDisappear,Gn(e,n)):n.textContent=""}function qn(n,e,t,r){Xn(t,r),8192&e.flags?S(e,n,r):Kn(n,t,r)}function Jn(n,e,t,r,o){n.componentWillDisappear.push((function(n){4&r?e.componentWillDisappear(t,n):8&r&&e.onComponentWillDisappear(t,o,n)}))}function zn(n){var e=n.event;return function(t){e(n.data,t)}}function Yn(n,e,t,r){if(f(t)){if(M(e,t))return;t=zn(t)}kn(r,h(n),t)}function Zn(n,e,t){if(i(e))return void t.removeAttribute("style");var r,o,l=t.style;if(u(e))return void(l.cssText=e);if(i(n)||u(n))for(r in e)o=e[r],l.setProperty(r,o);else{for(r in e)(o=e[r])!==n[r]&&l.setProperty(r,o);for(r in n)i(e[r])&&l.removeProperty(r)}}function ne(n,e,t,r,o){var l=n&&n.__html||"",a=e&&e.__html||"";l!==a&&(i(a)||yn(r,a)||(c(t)||(12&t.childFlags?Xn(t.children,o):2===t.childFlags&&Qn(t.children,o),t.children=null,t.childFlags=1),r.innerHTML=a))}function ee(n,e,t,r,o,l,a,u){switch(n){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":r.autofocus=!!t;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":r[n]=!!t;break;case"defaultChecked":case"value":case"volume":if(l&&"value"===n)break;var c=i(t)?"":t;r[n]!==c&&(r[n]=c);break;case"style":Zn(e,t,r);break;case"dangerouslySetInnerHTML":ne(e,t,a,r,u);break;default:on[n]?un(n,e,t,r):111===n.charCodeAt(0)&&110===n.charCodeAt(1)?Yn(n,e,t,r):i(t)?r.removeAttribute(n):o&&nn[n]?r.setAttributeNS(nn[n],n,t):r.setAttribute(n,t)}}function te(n,e,t,r,o,i){var l=!1,a=(448&e)>0;for(var u in a&&(l=Rn(t))&&En(e,r,t),t)ee(u,null,t[u],r,o,l,null,i);a&&On(e,n,r,t,!0,l)}function re(n,e,t){var r=z(n.render(e,n.state,t)),o=t;return a(n.getChildContext)&&(o=s(t,n.getChildContext())),n.$CX=o,r}function oe(n,e,t,r,o,i){var l=new e(t,r),u=l.$N=Boolean(e.getDerivedStateFromProps||l.getSnapshotBeforeUpdate);if(l.$SVG=o,l.$L=i,n.children=l,l.$BS=!1,l.context=r,l.props===p&&(l.props=t),u)l.state=L(l,t,l.state);else if(a(l.componentWillMount)){l.$BR=!0,l.componentWillMount();var s=l.$PS;if(!c(s)){var f=l.state;if(c(f))l.state=s;else for(var d in s)f[d]=s[d];l.$PS=null}l.$BR=!1}return l.$LI=re(l,t,r),l}function ie(n,e){var t=n.props||p;return 32768&n.flags?n.type.render(t,n.ref,e):n.type(t,e)}function le(n,e,t,r,o,i,l){var a=n.flags|=16384;481&a?se(n,e,t,r,o,i,l):4&a?pe(n,e,t,r,o,i,l):8&a?de(n,e,t,r,o,i,l):16&a?ce(n,e,o):8192&a?ue(n,t,e,r,o,i,l):1024&a&&ae(n,t,e,o,i,l)}function ae(n,e,t,r,o,i){le(n.children,n.ref,e,!1,null,o,i);var l=K();ce(l,t,r),n.dom=l.dom}function ue(n,e,t,r,o,i,l){var a=n.children,u=n.childFlags;12&u&&0===a.length&&(u=n.childFlags=2,a=n.children=K()),2===u?le(a,t,e,r,o,i,l):fe(a,t,e,r,o,i,l)}function ce(n,e,t){var r=n.dom=document.createTextNode(n.children);c(e)||m(e,r,t)}function se(n,e,t,r,o,l,a){var u=n.flags,s=n.props,f=n.className,p=n.childFlags,d=n.dom=g(n.type,r=r||(32&u)>0),h=n.children;if(i(f)||""===f||(r?d.setAttribute("class",f):d.className=f),16===p)A(d,h);else if(1!==p){var v=r&&"foreignObject"!==n.type;2===p?(16384&h.flags&&(n.children=h=G(h)),le(h,d,t,v,null,l,a)):8!==p&&4!==p||fe(h,d,t,v,null,l,a)}c(e)||m(e,d,o),c(s)||te(n,u,s,d,r,a),_n(n.ref,d,l)}function fe(n,e,t,r,o,i,l){for(var a=0;ad)&&(f=C(a[d-1],!1).nextSibling)}Se(c,s,a,u,t,r,o,f,n,i,l)}function xe(n,e,t,r,o){var i=n.ref,a=e.ref,u=e.children;if(Se(n.childFlags,e.childFlags,n.children,u,i,t,!1,null,n,r,o),e.dom=n.dom,i!==a&&!l(u)){var c=u.dom;b(i,c),v(a,c)}}function Ue(n,e,t,r,o,l,a){var u,c=e.dom=n.dom,s=n.props,f=e.props,d=!1,h=!1;if(r=r||(32&o)>0,s!==f){var v=s||p;if((u=f||p)!==p)for(var m in(d=(448&o)>0)&&(h=Rn(u)),u){var g=v[m],y=u[m];g!==y&&ee(m,g,y,c,r,h,n,a)}if(v!==p)for(var b in v)i(u[b])&&!i(v[b])&&ee(b,v[b],null,c,r,h,n,a)}var $=e.children,k=e.className;n.className!==k&&(i(k)?c.removeAttribute("class"):r?c.setAttribute("class",k):c.className=k),4096&o?Ce(c,$):Se(n.childFlags,e.childFlags,n.children,$,c,t,r&&"foreignObject"!==e.type,null,n,l,a),d&&On(o,e,c,u,!1,h);var C=e.ref,w=n.ref;w!==C&&(jn(w),_n(C,c,l))}function Pe(n,e,t,r,o,i,l){Qn(n,l),fe(e,t,r,o,C(n,!0),i,l),S(n,t,l)}function Se(n,e,t,r,o,i,l,a,u,c,s){switch(n){case 2:switch(e){case 2:$e(t,r,o,i,l,a,c,s);break;case 1:Hn(t,o,s);break;case 16:Qn(t,s),A(o,r);break;default:Pe(t,r,o,i,l,c,s)}break;case 1:switch(e){case 2:le(r,o,i,l,a,c,s);break;case 1:break;case 16:A(o,r);break;default:fe(r,o,i,l,a,c,s)}break;case 16:switch(e){case 16:ke(t,r,o);break;case 2:Kn(o,t,s),le(r,o,i,l,a,c,s);break;case 1:Kn(o,t,s);break;default:Kn(o,t,s),fe(r,o,i,l,a,c,s)}break;default:switch(e){case 16:Xn(t,s),A(o,r);break;case 2:qn(o,u,t,s),le(r,o,i,l,a,c,s);break;case 1:qn(o,u,t,s);break;default:var f=0|t.length,p=0|r.length;0===f?p>0&&fe(r,o,i,l,a,c,s):0===p?qn(o,u,t,s):8===e&&8===n?Me(t,r,o,i,l,f,p,a,u,c,s):Ae(t,r,o,i,l,f,p,a,c,s)}}}function Fe(n,e,t,r,o){o.push((function(){n.componentDidUpdate(e,t,r)}))}function De(n,e,t,r,o,i,l,u,c,f){var p=n.state,d=n.props,h=Boolean(n.$N),v=a(n.shouldComponentUpdate);if(h&&(e=L(n,t,e!==p?s(p,e):e)),l||!v||v&&n.shouldComponentUpdate(t,e,o)){!h&&a(n.componentWillUpdate)&&n.componentWillUpdate(t,e,o),n.props=t,n.state=e,n.context=o;var m=null,g=re(n,t,o);h&&a(n.getSnapshotBeforeUpdate)&&(m=n.getSnapshotBeforeUpdate(d,p)),$e(n.$LI,g,r,n.$CX,i,u,c,f),n.$LI=g,a(n.componentDidUpdate)&&Fe(n,d,p,m,c)}else n.props=t,n.state=e,n.context=o}function Le(n,e,t,r,o,i,l,u){var f=e.children=n.children;if(c(f))return;f.$L=l;var d=e.props||p,h=e.ref,v=n.ref,m=f.state;if(!f.$N){if(a(f.componentWillReceiveProps)){if(f.$BR=!0,f.componentWillReceiveProps(d,r),f.$UN)return;f.$BR=!1}c(f.$PS)||(m=s(m,f.$PS),f.$PS=null)}De(f,m,d,t,r,o,!1,i,l,u),v!==h&&(jn(v),_n(h,f,l))}function Ne(n,e,t,r,o,l,u,c){var s=!0,f=e.props||p,d=e.ref,h=n.props,v=!i(d),m=n.children;if(v&&a(d.onComponentShouldUpdate)&&(s=d.onComponentShouldUpdate(h,f)),!1!==s){v&&a(d.onComponentWillUpdate)&&d.onComponentWillUpdate(h,f);var g=z(ie(e,r));$e(m,g,t,r,o,l,u,c),e.children=g,v&&a(d.onComponentDidUpdate)&&d.onComponentDidUpdate(h,f)}else e.children=m}function We(n,e){var t=e.children,r=e.dom=n.dom;t!==n.children&&(r.nodeValue=t)}function Ae(n,e,t,r,o,i,l,a,u,c){for(var s,f,p=i>l?l:i,d=0;dl)for(d=p;dd||v>h)break n;m=n[v],g=e[v]}for(m=n[d],g=e[h];m.key===g.key;){if(16384&g.flags&&(e[h]=g=G(g)),$e(m,g,t,r,o,a,c,s),n[d]=g,h--,v>--d||v>h)break n;m=n[d],g=e[h]}}if(v>d){if(v<=h)for(p=(f=h+1)h)for(;v<=d;)Hn(n[v++],t,s);else Ve(n,e,r,i,l,d,h,v,t,o,a,u,c,s)}function Ve(n,e,t,r,o,i,l,a,u,c,s,f,p,d){var h,v,m=0,g=0,y=a,b=a,$=i-a+1,k=l-a+1,w=new Int32Array(k+1),U=$===r,P=!1,S=0,F=0;if(o<4||($|k)<32)for(g=y;g<=i;++g)if(h=n[g],Fa?P=!0:S=a,16384&v.flags&&(e[a]=v=G(v)),$e(h,v,u,t,c,s,p,d),++F;break}!U&&a>l&&Hn(h,u,d)}else U||Hn(h,u,d);else{var L={};for(g=b;g<=l;++g)L[e[g].key]=g;for(g=y;g<=i;++g)if(h=n[g],Fy;)Hn(n[y++],u,d);w[a-b]=g+1,S>a?P=!0:S=a,16384&(v=e[a]).flags&&(e[a]=v=G(v)),$e(h,v,u,t,c,s,p,d),++F}else U||Hn(h,u,d);else U||Hn(h,u,d)}if(U)qn(u,f,n,d),fe(e,u,t,c,s,p,d);else if(P){var N=Be(w);for(a=N.length-1,g=k-1;g>=0;g--)0===w[g]?(16384&(v=e[S=g+b]).flags&&(e[S]=v=G(v)),le(v,u,t,c,(m=S+1)0&&x(d.componentWillMove)}else if(F!==k)for(g=k-1;g>=0;g--)0===w[g]&&(16384&(v=e[S=g+b]).flags&&(e[S]=v=G(v)),le(v,u,t,c,(m=S+1)Ie&&(Ie=u,An=new Int32Array(u),Mn=new Int32Array(u));t>1]]0&&(Mn[t]=An[i-1]),An[i]=t)}i=o+1;var c=new Int32Array(i);for(l=An[i-1];i-- >0;)c[i]=l,l=Mn[l],An[i]=0;return c}function Te(n,e,t,r){var o=[],l=new d,u=e.$V;N.v=!0,i(u)?i(n)||(16384&n.flags&&(n=G(n)),le(n,e,r,!1,null,o,l),e.$V=n,u=n):i(n)?(Hn(u,e,l),e.$V=null):(16384&n.flags&&(n=G(n)),$e(u,n,e,r,!1,null,o,l),u=e.$V=n),$(o),w(l.componentDidAppear),N.v=!1,a(t)&&t(),a(W.renderComplete)&&W.renderComplete(u,e)}function Oe(n,e,t,r){void 0===t&&(t=null),void 0===r&&(r=p),Te(n,e,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var Ee=[],Re="undefined"!==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(n){window.setTimeout(n,0)},je=!1;function _e(n,e,t,r){var o=n.$PS;if(a(e)&&(e=e(o?s(n.state,o):n.state,n.props,n.context)),i(o))n.$PS=e;else for(var l in e)o[l]=e[l];if(n.$BR)a(t)&&n.$L.push(t.bind(n));else{if(!N.v&&0===Ee.length)return Xe(n,r),void(a(t)&&t.call(n));if(-1===Ee.indexOf(n)&&Ee.push(n),r&&(n.$F=!0),je||(je=!0,Re(Qe)),a(t)){var u=n.$QU;u||(u=n.$QU=[]),u.push(t)}}}function He(n){for(var e=n.$QU,t=0;t0?C(t.componentWillDisappear,D(e,n)):$(e,n,!1)}function x(e,n,t,r,o,l,i,a){e.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(n,o,r):8&i&&t.onComponentWillMove(n,o,r,a)},next:l,parent:o})}function P(e,n,r,l,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,l):x(i,e,a,n.dom,r,l,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=i(d),h=l(d)&&d[0]===I;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=X(s)),(v||h)&&(s.key=I+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function G(t){if(r(t)||n(t))return O(t,null);if(e(t))return R(t,0,null);return 16384&t.flags?X(t):t}var J="http://www.w3.org/1999/xlink",z="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":z,"xml:lang":z,"xml:space":z};function Y(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 Z=Y(0),ee=Y(null),ne=Y(!0);function te(e,n){var t=n.$EV;return t||(t=n.$EV=Y(null)),t[e]||1===++Z[e]&&(ee[e]=pe(e)),t}function re(e,n){var t=n.$EV;t&&t[e]&&(0===--Z[e]&&(document.removeEventListener(d(e),ee[e]),ee[e]=null),t[e]=null)}function oe(e,n,t,r){if(o(t))te(e,r)[e]=t;else if(c(t)){if(M(n,t))return;te(e,r)[e]=t}else re(e,r)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ie(e,n,t,r){var o=le(e);do{if(n&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ue(){return this.defaultPrevented}function ce(){return this.cancelBubble}function fe(e){var n={dom:document};return e.isDefaultPrevented=ue,e.isPropagationStopped=ce,e.stopPropagation=ae,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function se(e){return function(n){if(0!==n.button)return void n.stopPropagation();ie(n,!0,e,fe(n))}}function de(e){return function(n){ie(n,!1,e,fe(n))}}function pe(e){var n="onClick"===e||"onDblClick"===e?se(e):de(e);return document.addEventListener(d(e),n),n}function ve(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function he(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 me(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(e))he(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),De(o,a)}}var Ae,Le,Me=me("onInput",Ie),Se=me("onChange");function Ve(e,n){ge(e,"input",Me),n.onChange&&ge(e,"change",Se)}function Ie(e,n,r){var o=e.value,l=n.value;if(t(o)){if(r){var i=e.defaultValue;t(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==o&&(n.defaultValue=o,n.value=o)}function Ne(e,n,t,r,o,l){64&e?$e(r,t):256&e?We(r,t,o,n):128&e&&Ie(r,t,o),l&&(t.$V=n)}function Ue(e,n,t){64&e?we(n,t):256&e?Pe(n):128&e&&Ve(n,t)}function Te(e){return e.type&&ke(e.type)?!t(e.checked):!t(e.value)}function Be(e){e&&!V(e,null)&&e.current&&(e.current=null)}function Ee(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){V(e,n)||void 0===e.current||(e.current=n)}))}function He(e,n,t){Oe(e,t),F(e,n,t)}function Oe(e,n){var r,l=e.flags,a=e.children;if(481&l){r=e.ref;var u=e.props;Be(r);var c=e.childFlags;if(!i(u))for(var d=Object.keys(u),p=0,v=d.length;p0?C(t.componentWillDisappear,je(n,e)):e.textContent=""}function _e(e,n,t,r){Re(t,r),8192&n.flags?F(n,e,r):Xe(e,t,r)}function Ke(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function qe(e){var n=e.event;return function(t){n(e.data,t)}}function Ge(e,n,t,r){if(c(t)){if(M(n,t))return;t=qe(t)}ge(r,d(e),t)}function Je(e,n,r){if(t(n))return void r.removeAttribute("style");var o,i,a=r.style;if(l(n))return void(a.cssText=n);if(t(e)||l(e))for(o in n)i=n[o],a.setProperty(o,i);else{for(o in n)(i=n[o])!==e[o]&&a.setProperty(o,i);for(o in e)t(n[o])&&a.removeProperty(o)}}function ze(e,n,r,o,l){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ve(o,u)||(i(r)||(12&r.childFlags?Re(r.children,l):2===r.childFlags&&Oe(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Qe(e,n,r,o,l,i,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Je(n,r,o);break;case"dangerouslySetInnerHTML":ze(n,r,a,o,u);break;default:ne[e]?oe(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ge(e,n,r,o):t(r)?o.removeAttribute(e):l&&Q[e]?o.setAttributeNS(Q[e],e,r):o.setAttribute(e,r)}}function Ye(e,n,t,r,o,l){var i=!1,a=(448&n)>0;for(var u in a&&(i=Te(t))&&Ue(n,r,t),t)Qe(u,null,t[u],r,o,i,null,l);a&&Ne(n,e,r,t,!0,i)}function Ze(e,n,t){var r=G(e.render(n,e.state,t)),l=t;return o(e.getChildContext)&&(l=a(t,e.getChildContext())),e.$CX=l,r}function en(e,n,t,r,l,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,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(!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=Ze(u,t,r),u}function nn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function tn(e,n,t,r,o,l,i){var a=e.flags|=16384;481&a?an(e,n,t,r,o,l,i):4&a?cn(e,n,t,r,o,l,i):8&a?fn(e,n,t,r,o,l,i):16&a?ln(e,n,o):8192&a?on(e,t,n,r,o,l,i):1024&a&&rn(e,t,n,o,l,i)}function rn(e,n,t,r,o,l){tn(e.children,e.ref,n,!1,null,o,l);var i=_();ln(i,t,r),e.dom=i.dom}function on(e,n,t,r,o,l,i){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=_()),2===u?tn(a,t,n,r,o,l,i):un(a,t,n,r,o,l,i)}function ln(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||v(n,r,t)}function an(e,n,r,o,l,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)L(p,m);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&m.flags&&(e.children=m=X(m)),tn(m,p,r,g,null,a,u)):8!==d&&4!==d||un(m,p,r,g,null,a,u)}i(n)||v(n,p,l),i(f)||Ye(e,c,f,p,o,u),Ee(e.ref,p,a)}function un(e,n,t,r,o,l,i){for(var a=0;ap)&&(s=y(a[p-1],!1).nextSibling)}Dn(c,f,a,u,t,r,o,s,e,l,i)}function Cn(e,n,t,o,l){var i=e.ref,a=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,o,l),n.dom=e.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),p(a,c)}}function wn(e,n,r,o,l,i,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&l)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&l)>0)&&(v=Te(u)),u){var g=h[m],k=u[m];g!==k&&Qe(m,g,k,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Qe(b,h[b],null,c,o,v,e,a)}var y=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&l?bn(c,y):Dn(e.childFlags,n.childFlags,e.children,y,c,r,o&&"foreignObject"!==n.type,null,e,i,a),p&&Ne(l,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Be($),Ee(w,c,i))}function $n(e,n,t,r,o,l,i){Oe(e,i),un(n,t,r,o,y(e,!0),l,i),F(e,t,i)}function Dn(e,n,t,r,o,l,i,a,u,c,f){switch(e){case 2:switch(n){case 2:gn(t,r,o,l,i,a,c,f);break;case 1:He(t,o,f);break;case 16:Oe(t,f),L(o,r);break;default:$n(t,r,o,l,i,c,f)}break;case 1:switch(n){case 2:tn(r,o,l,i,a,c,f);break;case 1:break;case 16:L(o,r);break;default:un(r,o,l,i,a,c,f)}break;case 16:switch(n){case 16:kn(t,r,o);break;case 2:Xe(o,t,f),tn(r,o,l,i,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),un(r,o,l,i,a,c,f)}break;default:switch(n){case 16:Re(t,f),L(o,r);break;case 2:_e(o,u,t,f),tn(r,o,l,i,a,c,f);break;case 1:_e(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&un(r,o,l,i,a,c,f):0===d?_e(o,u,t,f):8===n&&8===e?Mn(t,r,o,l,i,s,d,a,u,c,f):Ln(t,r,o,l,i,s,d,a,c,f)}}}function Fn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,l,i,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=W(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,l)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,l),e.props=t,e.state=n,e.context=l;var m=null,g=Ze(e,t,l);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),gn(e.$LI,g,r,e.$CX,i,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Fn(e,p,d,m,f)}else e.props=t,e.state=n,e.context=l}function Pn(e,n,t,r,l,u,c,s){var d=n.children=e.children;if(i(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}i(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}xn(d,m,p,t,r,l,!1,u,c,s),h!==v&&(Be(h),Ee(v,d,c))}function Wn(e,n,r,l,i,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=G(nn(n,l));gn(m,g,r,l,i,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function An(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,o,l,i,a,u,c){for(var f,s,d=l>i?i:l,p=0;pi)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),gn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)He(e[h++],t,f);else Sn(e,n,r,l,i,p,v,h,t,o,a,u,c,f)}function Sn(e,n,t,r,o,l,i,a,u,c,f,s,d,p){var v,h,m=0,g=0,k=a,b=a,C=l-a+1,$=i-a+1,D=new Int32Array($+1),F=C===r,x=!1,W=0,A=0;if(o<4||(C|$)<32)for(g=k;g<=l;++g)if(v=e[g],A<$){for(a=b;a<=i;a++)if(h=n[a],v.key===h.key){if(D[a-b]=g+1,F)for(F=!1;ka?x=!0:W=a,16384&h.flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++A;break}!F&&a>i&&He(v,u,p)}else F||He(v,u,p);else{var L={};for(g=b;g<=i;++g)L[n[g].key]=g;for(g=k;g<=l;++g)if(v=e[g],A<$)if(void 0!==(a=L[v.key])){if(F)for(F=!1;g>k;)He(e[k++],u,p);D[a-b]=g+1,W>a?x=!0:W=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++A}else F||He(v,u,p);else F||He(v,u,p)}if(F)_e(u,s,e,p),un(n,u,t,c,f,d,p);else if(x){var M=In(D);for(a=M.length-1,g=$-1;g>=0;g--)0===D[g]?(16384&(h=n[W=g+b]).flags&&(n[W]=h=X(h)),tn(h,u,t,c,(m=W+1)0&&w(p.componentWillMove)}else if(A!==$)for(g=$-1;g>=0;g--)0===D[g]&&(16384&(h=n[W=g+b]).flags&&(n[W]=h=X(h)),tn(h,u,t,c,(m=W+1)Vn&&(Vn=u,Ae=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ae[l-1]),Ae[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Ae[l-1];l-- >0;)c[l]=i,i=Le[i],Ae[l]=0;return c}function Nn(e,n,r,l){var i=[],a=new s,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=X(e)),tn(e,n,l,!1,null,i,a),n.$V=e,u=e):t(e)?(He(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),gn(u,e,n,l,!1,null,i,a),u=n.$V=e),k(i),C(a.componentDidAppear),o(r)&&r(),o(A.renderComplete)&&A.renderComplete(u,n)}function Un(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Nn(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve()),uibench.init("Inferno","8.0.5");var Tn={onComponentShouldUpdate:function(e,n){return e!==n}};function Bn(e){return U(1,"li","TreeLeaf",e.children,16,null,null,null)}function En(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o0?C(t.componentWillDisappear,D(e,n)):$(e,n,!1)}function x(e,n,t,r,o,l,i,a){e.componentWillMove.push({dom:r,fn:function(){4&i?t.componentWillMove(n,o,r):8&i&&t.onComponentWillMove(n,o,r,a)},next:l,parent:o})}function P(e,n,r,l,i){var a,u,c=n.flags;do{var f=n.flags;if(1521&f)return void(t(a)||!o(a.componentWillMove)&&!o(a.onComponentWillMove)?v(r,n.dom,l):x(i,e,a,n.dom,r,l,c,u));var s=n.children;if(4&f)a=n.children,u=n.props,n=s.$LI;else if(8&f)a=n.ref,u=n.props,n=s;else if(8192&f){if(2!==n.childFlags){for(var d=0,p=s.length;d0,v=i(d),h=l(d)&&d[0]===I;p||v||h?(a=a||o.slice(0,f),(p||h)&&(s=X(s)),(v||h)&&(s.key=I+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=X(o)),u=2;return t.children=a,t.childFlags=u,t}function G(t){if(r(t)||n(t))return O(t,null);if(e(t))return R(t,0,null);return 16384&t.flags?X(t):t}var J="http://www.w3.org/1999/xlink",z="http://www.w3.org/XML/1998/namespace",Q={"xlink:actuate":J,"xlink:arcrole":J,"xlink:href":J,"xlink:role":J,"xlink:show":J,"xlink:title":J,"xlink:type":J,"xml:base":z,"xml:lang":z,"xml:space":z};function Y(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 Z=Y(0),ee=Y(null),ne=Y(!0);function te(e,n){var t=n.$EV;return t||(t=n.$EV=Y(null)),t[e]||1===++Z[e]&&(ee[e]=pe(e)),t}function re(e,n){var t=n.$EV;t&&t[e]&&(0===--Z[e]&&(document.removeEventListener(d(e),ee[e]),ee[e]=null),t[e]=null)}function oe(e,n,t,r){if(o(t))te(e,r)[e]=t;else if(c(t)){if(M(n,t))return;te(e,r)[e]=t}else re(e,r)}function le(e){return o(e.composedPath)?e.composedPath()[0]:e.target}function ie(e,n,t,r){var o=le(e);do{if(n&&o.disabled)return;var l=o.$EV;if(l){var a=l[t];if(a&&(r.dom=o,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}o=o.parentNode}while(!i(o))}function ae(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function ue(){return this.defaultPrevented}function ce(){return this.cancelBubble}function fe(e){var n={dom:document};return e.isDefaultPrevented=ue,e.isPropagationStopped=ce,e.stopPropagation=ae,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return n.dom}}),n}function se(e){return function(n){if(0!==n.button)return void n.stopPropagation();ie(n,!0,e,fe(n))}}function de(e){return function(n){ie(n,!1,e,fe(n))}}function pe(e){var n="onClick"===e||"onDblClick"===e?se(e):de(e);return document.addEventListener(d(e),n),n}function ve(e,n){var t=document.createElement("i");return t.innerHTML=n,t.innerHTML===e.innerHTML}function he(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 me(e,n){var t=function(t){var r=this.$V;if(!r)return;var i=r.props||f,a=r.dom;if(l(e))he(i,e,t);else for(var u=0;u-1&&n.options[i]&&(a=n.options[i].value),r&&t(a)&&(a=e.defaultValue),De(o,a)}}var Ae,Le,Me=me("onInput",Ie),Se=me("onChange");function Ve(e,n){ge(e,"input",Me),n.onChange&&ge(e,"change",Se)}function Ie(e,n,r){var o=e.value,l=n.value;if(t(o)){if(r){var i=e.defaultValue;t(i)||i===l||(n.defaultValue=i,n.value=i)}}else l!==o&&(n.defaultValue=o,n.value=o)}function Ne(e,n,t,r,o,l){64&e?$e(r,t):256&e?We(r,t,o,n):128&e&&Ie(r,t,o),l&&(t.$V=n)}function Ue(e,n,t){64&e?we(n,t):256&e?Pe(n):128&e&&Ve(n,t)}function Te(e){return e.type&&ke(e.type)?!t(e.checked):!t(e.value)}function Be(e){e&&!V(e,null)&&e.current&&(e.current=null)}function Ee(e,n,t){e&&(o(e)||void 0!==e.current)&&t.push((function(){V(e,n)||void 0===e.current||(e.current=n)}))}function He(e,n,t){Oe(e,t),F(e,n,t)}function Oe(e,n){var r,l=e.flags,a=e.children;if(481&l){r=e.ref;var u=e.props;Be(r);var c=e.childFlags;if(!i(u))for(var d=Object.keys(u),p=0,v=d.length;p0?C(t.componentWillDisappear,je(n,e)):e.textContent=""}function _e(e,n,t,r){Re(t,r),8192&n.flags?F(n,e,r):Xe(e,t,r)}function Ke(e,n,t,r,o){e.componentWillDisappear.push((function(e){4&r?n.componentWillDisappear(t,e):8&r&&n.onComponentWillDisappear(t,o,e)}))}function qe(e){var n=e.event;return function(t){n(e.data,t)}}function Ge(e,n,t,r){if(c(t)){if(M(n,t))return;t=qe(t)}ge(r,d(e),t)}function Je(e,n,r){if(t(n))return void r.removeAttribute("style");var o,i,a=r.style;if(l(n))return void(a.cssText=n);if(t(e)||l(e))for(o in n)i=n[o],a.setProperty(o,i);else{for(o in n)(i=n[o])!==e[o]&&a.setProperty(o,i);for(o in e)t(n[o])&&a.removeProperty(o)}}function ze(e,n,r,o,l){var a=e&&e.__html||"",u=n&&n.__html||"";a!==u&&(t(u)||ve(o,u)||(i(r)||(12&r.childFlags?Re(r.children,l):2===r.childFlags&&Oe(r.children,l),r.children=null,r.childFlags=1),o.innerHTML=u))}function Qe(e,n,r,o,l,i,a,u){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!r;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":o[e]=!!r;break;case"defaultChecked":case"value":case"volume":if(i&&"value"===e)break;var c=t(r)?"":r;o[e]!==c&&(o[e]=c);break;case"style":Je(n,r,o);break;case"dangerouslySetInnerHTML":ze(n,r,a,o,u);break;default:ne[e]?oe(e,n,r,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?Ge(e,n,r,o):t(r)?o.removeAttribute(e):l&&Q[e]?o.setAttributeNS(Q[e],e,r):o.setAttribute(e,r)}}function Ye(e,n,t,r,o,l){var i=!1,a=(448&n)>0;for(var u in a&&(i=Te(t))&&Ue(n,r,t),t)Qe(u,null,t[u],r,o,i,null,l);a&&Ne(n,e,r,t,!0,i)}function Ze(e,n,t){var r=G(e.render(n,e.state,t)),l=t;return o(e.getChildContext)&&(l=a(t,e.getChildContext())),e.$CX=l,r}function en(e,n,t,r,l,a){var u=new n(t,r),c=u.$N=Boolean(n.getDerivedStateFromProps||u.getSnapshotBeforeUpdate);if(u.$SVG=l,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(!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=Ze(u,t,r),u}function nn(e,n){var t=e.props||f;return 32768&e.flags?e.type.render(t,e.ref,n):e.type(t,n)}function tn(e,n,t,r,o,l,i){var a=e.flags|=16384;481&a?an(e,n,t,r,o,l,i):4&a?cn(e,n,t,r,o,l,i):8&a?fn(e,n,t,r,o,l,i):16&a?ln(e,n,o):8192&a?on(e,t,n,r,o,l,i):1024&a&&rn(e,t,n,o,l,i)}function rn(e,n,t,r,o,l){tn(e.children,e.ref,n,!1,null,o,l);var i=_();ln(i,t,r),e.dom=i.dom}function on(e,n,t,r,o,l,i){var a=e.children,u=e.childFlags;12&u&&0===a.length&&(u=e.childFlags=2,a=e.children=_()),2===u?tn(a,t,n,r,o,l,i):un(a,t,n,r,o,l,i)}function ln(e,n,t){var r=e.dom=document.createTextNode(e.children);i(n)||v(n,r,t)}function an(e,n,r,o,l,a,u){var c=e.flags,f=e.props,s=e.className,d=e.childFlags,p=e.dom=h(e.type,o=o||(32&c)>0),m=e.children;if(t(s)||""===s||(o?p.setAttribute("class",s):p.className=s),16===d)L(p,m);else if(1!==d){var g=o&&"foreignObject"!==e.type;2===d?(16384&m.flags&&(e.children=m=X(m)),tn(m,p,r,g,null,a,u)):8!==d&&4!==d||un(m,p,r,g,null,a,u)}i(n)||v(n,p,l),i(f)||Ye(e,c,f,p,o,u),Ee(e.ref,p,a)}function un(e,n,t,r,o,l,i){for(var a=0;ap)&&(s=y(a[p-1],!1).nextSibling)}Dn(c,f,a,u,t,r,o,s,e,l,i)}function Cn(e,n,t,o,l){var i=e.ref,a=n.ref,u=n.children;if(Dn(e.childFlags,n.childFlags,e.children,u,i,t,!1,null,e,o,l),n.dom=e.dom,i!==a&&!r(u)){var c=u.dom;g(i,c),p(a,c)}}function wn(e,n,r,o,l,i,a){var u,c=n.dom=e.dom,s=e.props,d=n.props,p=!1,v=!1;if(o=o||(32&l)>0,s!==d){var h=s||f;if((u=d||f)!==f)for(var m in(p=(448&l)>0)&&(v=Te(u)),u){var g=h[m],k=u[m];g!==k&&Qe(m,g,k,c,o,v,e,a)}if(h!==f)for(var b in h)t(u[b])&&!t(h[b])&&Qe(b,h[b],null,c,o,v,e,a)}var y=n.children,C=n.className;e.className!==C&&(t(C)?c.removeAttribute("class"):o?c.setAttribute("class",C):c.className=C),4096&l?bn(c,y):Dn(e.childFlags,n.childFlags,e.children,y,c,r,o&&"foreignObject"!==n.type,null,e,i,a),p&&Ne(l,n,c,u,!1,v);var w=n.ref,$=e.ref;$!==w&&(Be($),Ee(w,c,i))}function $n(e,n,t,r,o,l,i){Oe(e,i),un(n,t,r,o,y(e,!0),l,i),F(e,t,i)}function Dn(e,n,t,r,o,l,i,a,u,c,f){switch(e){case 2:switch(n){case 2:gn(t,r,o,l,i,a,c,f);break;case 1:He(t,o,f);break;case 16:Oe(t,f),L(o,r);break;default:$n(t,r,o,l,i,c,f)}break;case 1:switch(n){case 2:tn(r,o,l,i,a,c,f);break;case 1:break;case 16:L(o,r);break;default:un(r,o,l,i,a,c,f)}break;case 16:switch(n){case 16:kn(t,r,o);break;case 2:Xe(o,t,f),tn(r,o,l,i,a,c,f);break;case 1:Xe(o,t,f);break;default:Xe(o,t,f),un(r,o,l,i,a,c,f)}break;default:switch(n){case 16:Re(t,f),L(o,r);break;case 2:_e(o,u,t,f),tn(r,o,l,i,a,c,f);break;case 1:_e(o,u,t,f);break;default:var s=0|t.length,d=0|r.length;0===s?d>0&&un(r,o,l,i,a,c,f):0===d?_e(o,u,t,f):8===n&&8===e?Mn(t,r,o,l,i,s,d,a,u,c,f):Ln(t,r,o,l,i,s,d,a,c,f)}}}function Fn(e,n,t,r,o){o.push((function(){e.componentDidUpdate(n,t,r)}))}function xn(e,n,t,r,l,i,u,c,f,s){var d=e.state,p=e.props,v=Boolean(e.$N),h=o(e.shouldComponentUpdate);if(v&&(n=W(e,t,n!==d?a(d,n):n)),u||!h||h&&e.shouldComponentUpdate(t,n,l)){!v&&o(e.componentWillUpdate)&&e.componentWillUpdate(t,n,l),e.props=t,e.state=n,e.context=l;var m=null,g=Ze(e,t,l);v&&o(e.getSnapshotBeforeUpdate)&&(m=e.getSnapshotBeforeUpdate(p,d)),gn(e.$LI,g,r,e.$CX,i,c,f,s),e.$LI=g,o(e.componentDidUpdate)&&Fn(e,p,d,m,f)}else e.props=t,e.state=n,e.context=l}function Pn(e,n,t,r,l,u,c,s){var d=n.children=e.children;if(i(d))return;d.$L=c;var p=n.props||f,v=n.ref,h=e.ref,m=d.state;if(!d.$N){if(o(d.componentWillReceiveProps)){if(d.$BR=!0,d.componentWillReceiveProps(p,r),d.$UN)return;d.$BR=!1}i(d.$PS)||(m=a(m,d.$PS),d.$PS=null)}xn(d,m,p,t,r,l,!1,u,c,s),h!==v&&(Be(h),Ee(v,d,c))}function Wn(e,n,r,l,i,a,u,c){var s=!0,d=n.props||f,p=n.ref,v=e.props,h=!t(p),m=e.children;if(h&&o(p.onComponentShouldUpdate)&&(s=p.onComponentShouldUpdate(v,d)),!1!==s){h&&o(p.onComponentWillUpdate)&&p.onComponentWillUpdate(v,d);var g=G(nn(n,l));gn(m,g,r,l,i,a,u,c),n.children=g,h&&o(p.onComponentDidUpdate)&&p.onComponentDidUpdate(v,d)}else n.children=m}function An(e,n){var t=n.children,r=n.dom=e.dom;t!==e.children&&(r.nodeValue=t)}function Ln(e,n,t,r,o,l,i,a,u,c){for(var f,s,d=l>i?i:l,p=0;pi)for(p=d;pp||h>v)break e;m=e[h],g=n[h]}for(m=e[p],g=n[v];m.key===g.key;){if(16384&g.flags&&(n[v]=g=X(g)),gn(m,g,t,r,o,a,c,f),e[p]=g,v--,h>--p||h>v)break e;m=e[p],g=n[v]}}if(h>p){if(h<=v)for(d=(s=v+1)v)for(;h<=p;)He(e[h++],t,f);else Sn(e,n,r,l,i,p,v,h,t,o,a,u,c,f)}function Sn(e,n,t,r,o,l,i,a,u,c,f,s,d,p){var v,h,m=0,g=0,k=a,b=a,C=l-a+1,$=i-a+1,D=new Int32Array($+1),F=C===r,x=!1,W=0,A=0;if(o<4||(C|$)<32)for(g=k;g<=l;++g)if(v=e[g],A<$){for(a=b;a<=i;a++)if(h=n[a],v.key===h.key){if(D[a-b]=g+1,F)for(F=!1;ka?x=!0:W=a,16384&h.flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++A;break}!F&&a>i&&He(v,u,p)}else F||He(v,u,p);else{var L={};for(g=b;g<=i;++g)L[n[g].key]=g;for(g=k;g<=l;++g)if(v=e[g],A<$)if(void 0!==(a=L[v.key])){if(F)for(F=!1;g>k;)He(e[k++],u,p);D[a-b]=g+1,W>a?x=!0:W=a,16384&(h=n[a]).flags&&(n[a]=h=X(h)),gn(v,h,u,t,c,f,d,p),++A}else F||He(v,u,p);else F||He(v,u,p)}if(F)_e(u,s,e,p),un(n,u,t,c,f,d,p);else if(x){var M=In(D);for(a=M.length-1,g=$-1;g>=0;g--)0===D[g]?(16384&(h=n[W=g+b]).flags&&(n[W]=h=X(h)),tn(h,u,t,c,(m=W+1)0&&w(p.componentWillMove)}else if(A!==$)for(g=$-1;g>=0;g--)0===D[g]&&(16384&(h=n[W=g+b]).flags&&(n[W]=h=X(h)),tn(h,u,t,c,(m=W+1)Vn&&(Vn=u,Ae=new Int32Array(u),Le=new Int32Array(u));t>1]]0&&(Le[t]=Ae[l-1]),Ae[l]=t)}l=o+1;var c=new Int32Array(l);for(i=Ae[l-1];l-- >0;)c[l]=i,i=Le[i],Ae[l]=0;return c}function Nn(e,n,r,l){var i=[],a=new s,u=n.$V;t(u)?t(e)||(16384&e.flags&&(e=X(e)),tn(e,n,l,!1,null,i,a),n.$V=e,u=e):t(e)?(He(u,n,a),n.$V=null):(16384&e.flags&&(e=X(e)),gn(u,e,n,l,!1,null,i,a),u=n.$V=e),k(i),C(a.componentDidAppear),o(r)&&r(),o(A.renderComplete)&&A.renderComplete(u,n)}function Un(e,n,t,r){void 0===t&&(t=null),void 0===r&&(r=f),Nn(e,n,t,r)}"undefined"!==typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null),"undefined"!==typeof Promise&&Promise.resolve().then.bind(Promise.resolve()),uibench.init("Inferno","8.0.6");var Tn={onComponentShouldUpdate:function(e,n){return e!==n}};function Bn(e){return U(1,"li","TreeLeaf",e.children,16,null,null,null)}function En(e){for(var n=e.data,t=n.children.length,r=new Array(t),o=0;o (https://terinstock.com/)", @@ -28,11 +28,11 @@ "directory": "packages/inferno-hyperscript" }, "dependencies": { - "inferno": "8.0.5" + "inferno": "8.0.6" }, "devDependencies": { - "inferno-shared": "8.0.5", - "inferno-vnode-flags": "8.0.5" + "inferno-shared": "8.0.6", + "inferno-vnode-flags": "8.0.6" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-mobx/package.json b/packages/inferno-mobx/package.json index 3e5c51fb0..4ca5bf3d1 100644 --- a/packages/inferno-mobx/package.json +++ b/packages/inferno-mobx/package.json @@ -1,6 +1,6 @@ { "name": "inferno-mobx", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "Official Inferno bindings for Mobx", "author": { @@ -40,13 +40,13 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "8.0.5" + "inferno": "8.0.6" }, "devDependencies": { - "inferno-create-class": "8.0.5", - "inferno-create-element": "8.0.5", - "inferno-shared": "8.0.5", - "inferno-vnode-flags": "8.0.5", + "inferno-create-class": "8.0.6", + "inferno-create-element": "8.0.6", + "inferno-shared": "8.0.6", + "inferno-vnode-flags": "8.0.6", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-redux/package.json b/packages/inferno-redux/package.json index 1938926e4..42eb9d6d9 100644 --- a/packages/inferno-redux/package.json +++ b/packages/inferno-redux/package.json @@ -1,6 +1,6 @@ { "name": "inferno-redux", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "Official Inferno bindings for Redux", "author": { @@ -40,12 +40,12 @@ }, "dependencies": { "hoist-non-inferno-statics": "^1.1.3", - "inferno": "8.0.5" + "inferno": "8.0.6" }, "devDependencies": { - "inferno-create-class": "8.0.5", - "inferno-create-element": "8.0.5", - "inferno-shared": "8.0.5", + "inferno-create-class": "8.0.6", + "inferno-create-element": "8.0.6", + "inferno-shared": "8.0.6", "redux": "^4" }, "rollup": { diff --git a/packages/inferno-router/package.json b/packages/inferno-router/package.json index f8cbf38fa..2aac291f3 100644 --- a/packages/inferno-router/package.json +++ b/packages/inferno-router/package.json @@ -1,6 +1,6 @@ { "name": "inferno-router", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "Provides routing functionality for Inferno", "author": { @@ -42,11 +42,11 @@ "dependencies": { "history": "^5.3.0", "hoist-non-inferno-statics": "^1.1.3", - "inferno": "8.0.5", + "inferno": "8.0.6", "path-to-regexp-es6": "1.7.0" }, "devDependencies": { - "inferno-vnode-flags": "8.0.5", + "inferno-vnode-flags": "8.0.6", "mobx": "*" }, "rollup": { diff --git a/packages/inferno-server/package.json b/packages/inferno-server/package.json index cec54bb9e..039dcb8d9 100644 --- a/packages/inferno-server/package.json +++ b/packages/inferno-server/package.json @@ -1,6 +1,6 @@ { "name": "inferno-server", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "Provides methods to render HTML strings from Inferno elements", "author": { @@ -45,15 +45,15 @@ "node": ">=8" }, "devDependencies": { - "inferno-create-class": "8.0.5", - "inferno-create-element": "8.0.5", - "inferno-hydrate": "8.0.5", - "inferno-shared": "8.0.5", - "inferno-vnode-flags": "8.0.5", + "inferno-create-class": "8.0.6", + "inferno-create-element": "8.0.6", + "inferno-hydrate": "8.0.6", + "inferno-shared": "8.0.6", + "inferno-vnode-flags": "8.0.6", "mobx": "*" }, "dependencies": { - "inferno": "8.0.5" + "inferno": "8.0.6" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-shared/package.json b/packages/inferno-shared/package.json index 2f1ddd5c6..7f536f409 100644 --- a/packages/inferno-shared/package.json +++ b/packages/inferno-shared/package.json @@ -1,6 +1,6 @@ { "name": "inferno-shared", - "version": "8.0.5", + "version": "8.0.6", "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 98e9354ab..2d6f1f1b3 100644 --- a/packages/inferno-test-utils/package.json +++ b/packages/inferno-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "inferno-test-utils", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "Suite of utilities for testing Inferno applications", "author": { @@ -21,11 +21,11 @@ "utils" ], "devDependencies": { - "inferno-shared": "8.0.5", - "inferno-vnode-flags": "8.0.5" + "inferno-shared": "8.0.6", + "inferno-vnode-flags": "8.0.6" }, "dependencies": { - "inferno": "8.0.5" + "inferno": "8.0.6" }, "rollup": { "bundledDependencies": [ diff --git a/packages/inferno-utils/package.json b/packages/inferno-utils/package.json index c4602dbd3..9662aa472 100644 --- a/packages/inferno-utils/package.json +++ b/packages/inferno-utils/package.json @@ -1,6 +1,6 @@ { "name": "inferno-utils", - "version": "8.0.5", + "version": "8.0.6", "description": "Meta test utilities which are not for userland", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" @@ -11,8 +11,8 @@ "directory": "packages/inferno-utils" }, "devDependencies": { - "inferno-shared": "8.0.5", - "inferno-vnode-flags": "8.0.5" + "inferno-shared": "8.0.6", + "inferno-vnode-flags": "8.0.6" }, "keywords": [], "author": "", diff --git a/packages/inferno-vnode-flags/package.json b/packages/inferno-vnode-flags/package.json index a46a0d20d..6c23f8e37 100644 --- a/packages/inferno-vnode-flags/package.json +++ b/packages/inferno-vnode-flags/package.json @@ -1,6 +1,6 @@ { "name": "inferno-vnode-flags", - "version": "8.0.5", + "version": "8.0.6", "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 ea856f3c8..feb439712 100644 --- a/packages/inferno/package.json +++ b/packages/inferno/package.json @@ -1,6 +1,6 @@ { "name": "inferno", - "version": "8.0.5", + "version": "8.0.6", "license": "MIT", "description": "An extremely fast, React-like JavaScript library for building modern user interfaces", "author": { @@ -61,12 +61,12 @@ "directory": "packages/inferno" }, "devDependencies": { - "inferno-shared": "8.0.5", - "inferno-utils": "8.0.5" + "inferno-shared": "8.0.6", + "inferno-utils": "8.0.6" }, "dependencies": { "csstype": "^3.1.1", - "inferno-vnode-flags": "8.0.5", + "inferno-vnode-flags": "8.0.6", "opencollective-postinstall": "^2.0.3" } }