{"size": 29270, "ext": "js", "max_stars_repo_path": "dist/react-lite.min.js", "max_stars_repo_name": "liyikun/react-lite", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/react-lite.min.js", "max_issues_repo_name": "liyikun/react-lite", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/react-lite.min.js", "max_forks_repo_name": "liyikun/react-lite", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 4878.3333333333, "max_line_length": 29181, "alphanum_fraction": 0.7203963102}
/*!
 * react-lite.js v0.15.39
 * (c) 2017 Jade Gu
 * Released under the MIT License.
 */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.React=t()}(this,function(){"use strict";function e(e,t,n,r,o){var i={vtype:e,type:t,props:n,refs:Ge,key:r,ref:o};return e!==_e&&e!==We||(i.uid=le()),i}function t(e,t,n){var r=e.vtype,o=null;return r?r===Be?o=s(e,t,n):r===We?o=x(e,t,n):r===_e?o=v(e,t,n):r===qe&&(o=document.createComment("react-text: "+(e.uid||le()))):o=document.createTextNode(e),o}function n(e,t,n,o){var i=e.vtype;if(i===We)return k(e,t,n,o);if(i===_e)return m(e,t,n,o);if(i!==Be)return n;var a=e.props[$e]&&e.props[$e].__html;return null!=a?(f(e,t,n,o),c(t,n,o)):(r(e,t,n,o),f(e,t,n,o)),n}function r(e,t,n,r){var l={removes:[],updates:[],creates:[]};d(l,e,t,n,r),ie(l.removes,i),ie(l.updates,o),ie(l.creates,a)}function o(e){if(e){var t=e.vnode,n=e.node;e.shouldIgnore||(t.vtype?t.vtype===Be?f(t,e.newVnode,n,e.parentContext):t.vtype===_e?n=m(t,e.newVnode,n,e.parentContext):t.vtype===We&&(n=k(t,e.newVnode,n,e.parentContext)):n.replaceData(0,n.length,e.newVnode));var r=n.parentNode.childNodes[e.index];return r!==n&&n.parentNode.insertBefore(n,r),n}}function i(e){l(e.vnode,e.node),e.node.parentNode.removeChild(e.node)}function a(e){var n=t(e.vnode,e.parentContext,e.parentNode.namespaceURI);e.parentNode.insertBefore(n,e.parentNode.childNodes[e.index])}function l(e,t){var n=e.vtype;n===Be?h(e,t):n===We?b(e,t):n===_e&&y(e,t)}function s(e,t,n){var r=e.type,o=e.props,i=null;"svg"===r||n===ze?(i=document.createElementNS(ze,r),n=ze):i=document.createElement(r),c(e,i,t);var a=r.indexOf("-")>=0||null!=o.is;return pe(i,o,a),null!=e.ref&&(oe(Je,e),oe(Je,i)),i}function c(e,n,r){for(var o=n.vchildren=u(e),i=n.namespaceURI,a=0,l=o.length;a<l;a++)n.appendChild(t(o[a],r,i))}function u(e){var t=e.props.children,n=[];return wt(t)?ie(t,p,n):p(t,n),n}function p(e,t){if(null!=e&&"boolean"!=typeof e){if(!e.vtype){if(e.toJS)return e=e.toJS(),void(wt(e)?ie(e,p,t):p(e,t));e=""+e}t[t.length]=e}}function d(e,t,n,r,o){if(r.vchildren){var i=r.childNodes,a=r.vchildren,l=r.vchildren=u(n),s=a.length,c=l.length;if(0!==s)if(0!==c){for(var p=Array(c),f=null,h=null,v=0;v<s;v++)for(var m=a[v],y=0;y<c;y++)if(!p[y]){var g=l[y];if(m===g){p[y]={shouldIgnore:R(r),vnode:m,newVnode:g,node:i[v],parentContext:o,index:y},a[v]=null;break}}for(var v=0;v<s;v++){var x=a[v];if(null!==x){for(var k=!0,y=0;y<c;y++)if(!p[y]){var b=l[y];if(b.type===x.type&&b.key===x.key&&b.refs===x.refs){p[y]={vnode:x,newVnode:b,node:i[v],parentContext:o,index:y},k=!1;break}}k&&(f||(f=[]),oe(f,{vnode:x,node:i[v]}))}}for(var v=0;v<c;v++){var C=p[v];C?C.vnode.vtype===Be&&d(e,C.vnode,C.newVnode,C.node,C.parentContext):(h||(h=[]),oe(h,{vnode:l[v],parentNode:r,parentContext:o,index:v}))}f&&oe(e.removes,f),h&&oe(e.creates,h),oe(e.updates,p)}else for(var v=0;v<s;v++)oe(e.removes,{vnode:a[v],node:i[v]});else if(c>0)for(var v=0;v<c;v++)oe(e.creates,{vnode:l[v],parentNode:r,parentContext:o,index:v})}}function f(e,t,n){var r=e.type.indexOf("-")>=0||null!=e.props.is;return de(n,e.props,t.props,r),e.ref!==t.ref&&(U(e.refs,e.ref,n),A(t.refs,t.ref,n)),n}function h(e,t){var n=(e.props,t.vchildren),r=t.childNodes;if(n)for(var o=0,i=n.length;o<i;o++)l(n[o],r[o]);U(e.refs,e.ref,t),t.eventStore=t.vchildren=null}function v(e,n,r){var o=g(e,n),i=t(o,n,r);return i.cache=i.cache||{},i.cache[e.uid]=o,i}function m(e,t,n,r){var o=e.uid,i=n.cache[o];delete n.cache[o];var a=g(t,r),l=T(i,a,n,r);return l.cache=l.cache||{},l.cache[t.uid]=a,l!==n&&M(l.cache,n.cache,l),l}function y(e,t){var n=e.uid,r=t.cache[n];delete t.cache[n],l(r,t)}function g(t,n){var r=t.type,o=t.props,i=C(n,r.contextTypes),a=r(o,i);if(a&&a.render&&(a=a.render()),null===a||a===!1)a=e(qe);else if(!a||!a.vtype)throw new Error("@"+r.name+"#render:You may have returned undefined, an array or some other invalid object");return a}function x(e,n,r){var o=e.type,i=e.props,a=e.uid,l=C(n,o.contextTypes),s=new o(i,l),c=s.$updater,u=s.$cache;u.parentContext=n,c.isPending=!0,s.props=s.props||i,s.context=s.context||l,s.componentWillMount&&(s.componentWillMount(),s.state=c.getState());var p=w(s),d=t(p,P(s,n),r);return d.cache=d.cache||{},d.cache[a]=s,u.vnode=p,u.node=d,u.isMounted=!0,oe(Ze,s),null!=e.ref&&(oe(Je,e),oe(Je,s)),d}function k(e,t,n,r){var o=e.uid,i=n.cache[o],a=i.$updater,l=i.$cache,s=t.type,c=t.props,u=C(r,s.contextTypes);if(delete n.cache[o],n.cache[t.uid]=i,l.parentContext=r,i.componentWillReceiveProps){var p=!a.isPending;p&&(a.isPending=!0),i.componentWillReceiveProps(c,u),p&&(a.isPending=!1)}return e.ref!==t.ref&&(U(e.refs,e.ref,i),A(t.refs,t.ref,i)),a.emitUpdate(c,u),l.node}function b(e,t){var n=e.uid,r=t.cache[n],o=r.$cache;delete t.cache[n],U(e.refs,e.ref,r),r.setState=r.forceUpdate=te,r.componentWillUnmount&&r.componentWillUnmount(),l(o.vnode,t),delete r.setState,o.isMounted=!1,o.node=o.parentContext=o.vnode=r.refs=r.context=null}function C(e,t){var n={};if(!t||!e)return n;for(var r in t)t.hasOwnProperty(r)&&(n[r]=e[r]);return n}function w(t,n){Ge=t.refs;var r=t.render();if(null===r||r===!1)r=e(qe);else if(!r||!r.vtype)throw new Error("@"+t.constructor.name+"#render:You may have returned undefined, an array or some other invalid object");return Ge=null,r}function P(e,t){if(e.getChildContext){var n=e.getChildContext();n&&(t=ae(ae({},t),n))}return t}function S(){var e=Ze.length;if(e){var t=Ze;Ze=[];for(var n=-1;e--;){var r=t[++n],o=r.$updater;r.componentDidMount&&r.componentDidMount(),o.isPending=!1,o.emitUpdate()}}}function O(){var e=Je.length;if(e){var t=Je;Je=[];for(var n=0;n<e;n+=2){var r=t[n],o=t[n+1];A(r.refs,r.ref,o)}}}function N(){O(),S()}function T(e,r,o,i){var a=o;return null==r?(l(e,o),o.parentNode.removeChild(o)):e.type!==r.type||e.key!==r.key?(l(e,o),a=t(r,i,o.namespaceURI),o.parentNode.replaceChild(a,o)):(e!==r||i)&&(a=n(e,r,o,i)),a}function E(){return this}function A(e,t,n){null!=t&&n&&(n.nodeName&&!n.getDOMNode&&(n.getDOMNode=E),ee(t)?t(n):e&&(e[t]=n))}function U(e,t,n){null!=t&&(ee(t)?t(null):e&&e[t]===n&&delete e[t])}function M(e,t,n){for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];e[r]=o,o.forceUpdate&&(o.$cache.node=n)}}function R(e){var t=e.vchildren,n=e.children;if(t)for(var r=0;r<t.length;r++){var o=t[r];if((o.vtype===We||o.vtype===_e)&&o.type.contextTypes)return!1}if(n)for(var r=0;r<n.length;r++)if(!R(n[r]))return!1;return!0}function D(e){this.instance=e,this.pendingStates=[],this.pendingCallbacks=[],this.isPending=!1,this.nextProps=this.nextContext=null,this.clearCallbacks=this.clearCallbacks.bind(this)}function F(e,t){this.$updater=new D(this),this.$cache={isMounted:!1},this.props=e,this.state={},this.refs={},this.context=t}function I(e,t,n,r,o){var i=!0;if(e.shouldComponentUpdate&&(i=e.shouldComponentUpdate(t,n,r)),i===!1)return e.props=t,e.state=n,void(e.context=r||{});var a=e.$cache;a.props=t,a.state=n,a.context=r||{},e.forceUpdate(o)}function L(e){return"onDoubleClick"===e?e="ondblclick":"onTouchTap"===e&&(e="onclick"),e.toLowerCase()}function V(e,t,n){t=L(t);var r=e.eventStore||(e.eventStore={});if(r[t]=n,1===et[t])return void(e[t]=j);if(ot[t]||(document.addEventListener(t.substr(2),z,!1),ot[t]=!0),tt&&t===rt)return void e.addEventListener("click",nt,!1);e.nodeName;"onchange"===t&&_(e)&&V(e,"oninput",n)}function $(e,t){t=L(t);var n=e.eventStore||(e.eventStore={});if(delete n[t],1===et[t])return void(e[t]=null);if(tt&&t===rt)return void e.removeEventListener("click",nt,!1);e.nodeName;"onchange"===t&&_(e)&&delete n.oninput}function z(e){var t=e.target,n=e.type,r="on"+n,o=void 0;for(Ke.isPending=!0;t;){var i=t,a=i.eventStore,l=a&&a[r];if(l){if(o||(o=B(e)),o.currentTarget=t,l.call(t,o),o.$cancelBubble)break;t=t.parentNode}else t=t.parentNode}Ke.isPending=!1,Ke.batchUpdate()}function j(e){var t=e.currentTarget||e.target,n="on"+e.type,r=B(e);r.currentTarget=t,Ke.isPending=!0;var o=t.eventStore,i=o&&o[n];i&&i.call(t,r),Ke.isPending=!1,Ke.batchUpdate()}function B(e){var t={},n=function(){return t.$cancelBubble=!0};t.nativeEvent=e,t.persist=te;for(var r in e)"function"!=typeof e[r]?t[r]=e[r]:"stopPropagation"===r||"stopImmediatePropagation"===r?t[r]=n:t[r]=e[r].bind(e);return t}function _(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"!==t&&!("input"===t&&"file"===e.type)}function W(e,t){for(var n in t)t.hasOwnProperty(n)&&Y(e,n,t[n])}function q(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]="")}function H(e,t,n){if(t!==n){if(!n&&t)return void q(e,t);if(n&&!t)return void W(e,n);for(var r in t)n.hasOwnProperty(r)?n[r]!==t[r]&&Y(e,r,n[r]):e[r]="";for(var r in n)t.hasOwnProperty(r)||Y(e,r,n[r])}}function X(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function Y(e,t,n){return!it[t]&&lt.test(n)?void(e[t]=n+"px"):("float"===t&&(t="cssFloat"),null!=n&&"boolean"!=typeof n||(n=""),void(e[t]=n))}function G(e){var t=e.props,n=e.attrNS,r=e.domAttrs,o=e.domProps;for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];dt[i]={attributeName:r.hasOwnProperty(i)?r[i]:i.toLowerCase(),propertyName:o.hasOwnProperty(i)?o[i]:i,attributeNamespace:n.hasOwnProperty(i)?n[i]:null,mustUseProperty:Z(a,ft),hasBooleanValue:Z(a,ht),hasNumericValue:Z(a,vt),hasPositiveNumericValue:Z(a,mt),hasOverloadedBooleanValue:Z(a,yt)}}}function Z(e,t){return(e&t)===t}function J(e,t,n){var r=dt.hasOwnProperty(t)&&dt[t];if(r)if(null==n||r.hasBooleanValue&&!n||r.hasNumericValue&&isNaN(n)||r.hasPositiveNumericValue&&n<1||r.hasOverloadedBooleanValue&&n===!1)K(e,t);else if(r.mustUseProperty)e[r.propertyName]=n;else{var o=r.attributeName,i=r.attributeNamespace;i?e.setAttributeNS(i,o,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(o,""):e.setAttribute(o,""+n)}else pt(t)&&ut.test(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))}function K(e,t){var n=dt.hasOwnProperty(t)&&dt[t];if(n)if(n.mustUseProperty){var r=n.propertyName;n.hasBooleanValue?e[r]=!1:e[r]=""}else e.removeAttribute(n.attributeName);else pt(t)&&e.removeAttribute(t)}function Q(e,t,n){var r,o,i=e.options;if(t){if(e.multiple=!0,!Array.isArray(n))throw new Error("The value prop supplied to <select> must be an array if `multiple` is true");for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<i.length;o++){var a=r.hasOwnProperty(i[o].value);i[o].selected!==a&&(i[o].selected=a)}}else{if(e.multiple=!1,Array.isArray(n))throw new Error("The value prop supplied to <select> must be a scalar value if `multiple` is false.");for(r=""+n,o=0;o<i.length;o++){var l=i[o];l.value===r?l.selected||(l.selected=!0):l.selected&&(l.selected=!1)}i.selectedIndex<0&&i.length&&(i[0].selected=!0)}}function ee(e){return"function"==typeof e}function te(){}function ne(e){return e}function re(e,t){return function(){return e.apply(this,arguments),t.apply(this,arguments)}}function oe(e,t){e[e.length]=t}function ie(e,t,n){for(var r=e.length,o=-1;r--;){var i=e[++o];wt(i)?ie(i,t,n):t(i,n)}}function ae(e,t){if(!t)return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function le(){return++Pt}function se(e,t,n,r){St.test(t)?V(e,t,n):"style"===t?W(e.style,n):t===$e?n&&null!=n.__html&&(e.innerHTML=n.__html):r?null==n?e.removeAttribute(t):e.setAttribute(t,""+n):J(e,t,n)}function ce(e,t,n,r){St.test(t)?$(e,t):"style"===t?q(e.style,n):t===$e?e.innerHTML="":r?e.removeAttribute(t):K(e,t)}function ue(e,t,n,r,o){if("value"!==t&&"checked"!==t||(r=e[t]),n!==r)return void 0===n?void ce(e,t,r,o):void("style"===t?H(e.style,r,n):se(e,t,n,o))}function pe(e,t,n){var r="SELECT"===e.nodeName;for(var o in t)"children"!==o&&(!r||"value"!==o&&"defaultValue"!==o?se(e,o,t[o],n):Q(e,t.multiple,t[o]))}function de(e,t,n,r){var o="SELECT"===e.nodeName;for(var i in t)"children"!==i&&(n.hasOwnProperty(i)?!o||"value"!==i&&"defaultValue"!==i?ue(e,i,n[i],t[i],r):Q(e,n.multiple,n[i]):ce(e,i,t[i],r));for(var i in n)"children"===i||t.hasOwnProperty(i)||(!o||"value"!==i&&"defaultValue"!==i?se(e,i,n[i],r):Q(e,n.multiple,n[i]))}function fe(e){return!(!e||e.nodeType!==He&&e.nodeType!==Xe&&e.nodeType!==Ye)}function he(e,n,r,o){if(!e.vtype)throw new Error("cannot render "+e+" to container");if(!fe(n))throw new Error("container "+n+" is not a DOM element");var i=n[je]||(n[je]=le()),a=Ot[i];if(a)return void(a===!0?Ot[i]=a={vnode:e,callback:r,parentContext:o}:(a.vnode=e,a.parentContext=o,a.callback=a.callback?re(a.callback,r):r));Ot[i]=!0;var l=null,s=null;if(l=Nt[i])s=T(l,e,n.firstChild,o);else{s=t(e,o,n.namespaceURI);for(var c=null;c=n.lastChild;)n.removeChild(c);n.appendChild(s)}Nt[i]=e;var u=Ke.isPending;Ke.isPending=!0,N(),a=Ot[i],delete Ot[i];var p=null;return"object"==typeof a?p=he(a.vnode,n,a.callback,a.parentContext):e.vtype===Be?p=s:e.vtype===We&&(p=s.cache[e.uid]),u||(Ke.isPending=!1,Ke.batchUpdate()),r&&r.call(p),p}function ve(e,t,n){return he(e,t,n)}function me(e,t,n,r){var o=e.$cache.parentContext;return he(t,n,r,o)}function ye(e){if(!e.nodeName)throw new Error("expect node");var t=e[je],n=null;return!!(n=Nt[t])&&(l(n,e.firstChild),e.removeChild(e.firstChild),delete Nt[t],!0)}function ge(e){if(null==e)return null;if(e.nodeName)return e;var t=e;if(t.getDOMNode&&t.$cache.isMounted)return t.getDOMNode();throw new Error("findDOMNode can not find Node")}function xe(t,n,r){var o=null;if("string"==typeof t)o=Be;else{if("function"!=typeof t)throw new Error("React.createElement: unexpect type [ "+t+" ]");o=t.prototype&&t.prototype.isReactComponent?We:_e}var i=null,a=null,l={};if(null!=n)for(var s in n)n.hasOwnProperty(s)&&("key"===s?void 0!==n.key&&(i=""+n.key):"ref"===s?void 0!==n.ref&&(a=n.ref):l[s]=n[s]);var c=t.defaultProps;if(c)for(var s in c)void 0===l[s]&&(l[s]=c[s]);var u=arguments.length,p=r;if(u>3){p=Array(u-2);for(var d=2;d<u;d++)p[d-2]=arguments[d]}return void 0!==p&&(l.children=p),e(o,t,l,i,a)}function ke(e){return null!=e&&!!e.vtype}function be(e,t){for(var n=e.type,r=e.key,o=e.ref,i=ae(ae({key:r,ref:o},e.props),t),a=arguments.length,l=Array(a>2?a-2:0),s=2;s<a;s++)l[s-2]=arguments[s];var c=xe.apply(void 0,[n,i].concat(l));return c.ref===e.ref&&(c.refs=e.refs),c}function Ce(e){var t=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return xe.apply(void 0,[e].concat(n))};return t.type=e,t}function we(e){if(ke(e))return e;throw new Error("expect only one child")}function Pe(e,t,n){if(null==e)return e;var r=0;if(wt(e))ie(e,function(e){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null),t.call(n,e,r++)});else{var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null),t.call(n,e,r)}}function Se(e,t,n){if(null==e)return e;var r=[],o={};Pe(e,function(e,i){var a={};a.child=t.call(n,e,i)||e,a.isEqual=a.child===e;var l=a.key=Te(e,i);o.hasOwnProperty(l)?o[l]+=1:o[l]=0,a.index=o[l],oe(r,a)});var i=[];return r.forEach(function(e){var t=e.child,n=e.key,r=e.index,a=e.isEqual;if(null!=t&&"boolean"!=typeof t){if(!ke(t)||null==n)return void oe(i,t);0!==o[n]&&(n+=":"+r),a||(n=Ee(t.key||"")+"/"+n),t=be(t,{key:n}),oe(i,t)}}),i}function Oe(e){var t=0;return Pe(e,function(){t++}),t}function Ne(e){return Se(e,ne)||[]}function Te(e,t){var n=void 0;return n=ke(e)&&"string"==typeof e.key?".$"+e.key:"."+t.toString(36)}function Ee(e){return(""+e).replace(Rt,"//")}function Ae(e,t){e.forEach(function(e){e&&(wt(e.mixins)&&Ae(e.mixins,t),t(e))})}function Ue(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if("getInitialState"!==n){var o=e[n];ee(o)&&ee(r)?e[n]=re(o,r):e[n]=r}else oe(e.$getInitialStates,r)}}function Me(e,t){t.propTypes&&(e.propTypes=e.propTypes||{},ae(e.propTypes,t.propTypes)),t.contextTypes&&(e.contextTypes=e.contextTypes||{},ae(e.contextTypes,t.contextTypes)),ae(e,t.statics),ee(t.getDefaultProps)&&(e.defaultProps=e.defaultProps||{},ae(e.defaultProps,t.getDefaultProps()))}function Re(e,t){for(var n in t)t.hasOwnProperty(n)&&ee(t[n])&&(e[n]=t[n].bind(e))}function De(){var e=this,t={},n=this.setState;return this.setState=Ft,this.$getInitialStates.forEach(function(n){ee(n)&&ae(t,n.call(e))}),this.setState=n,t}function Fe(e){function t(n,r){F.call(this,n,r),this.constructor=t,e.autobind!==!1&&Re(this,t.prototype),this.state=this.getInitialState()||this.state}if(!ee(e.render))throw new Error("createClass: spec.render is not function");var n=e.mixins||[],r=n.concat(e);e.mixins=null,t.displayName=e.displayName;var o=t.prototype=new Ft;return o.$getInitialStates=[],Ae(r,function(e){Ue(o,e),Me(t,e)}),o.getInitialState=De,e.mixins=n,t}function Ie(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!t.hasOwnProperty(n[o])||e[n[o]]!==t[n[o]])return!1;return!0}function Le(e,t){F.call(this,e,t)}function Ve(e,t){return!Ie(this.props,e)||!Ie(this.state,t)}var $e="dangerouslySetInnerHTML",ze="http://www.w3.org/2000/svg",je="liteid",Be=2,_e=3,We=4,qe=5,He=1,Xe=9,Ye=11,Ge=null,Ze=[],Je=[],Ke={updaters:[],isPending:!1,add:function(e){oe(this.updaters,e)},batchUpdate:function(){if(!this.isPending){this.isPending=!0;for(var e=this.updaters,t=void 0;t=e.pop();)t.updateComponent();this.isPending=!1}}};D.prototype={emitUpdate:function(e,t){this.nextProps=e,this.nextContext=t,e||!Ke.isPending?this.updateComponent():Ke.add(this)},updateComponent:function(){var e=this.instance,t=this.pendingStates,n=this.nextProps,r=this.nextContext;(n||t.length>0)&&(n=n||e.props,r=r||e.context,this.nextProps=this.nextContext=null,I(e,n,this.getState(),r,this.clearCallbacks))},addState:function(e){e&&(oe(this.pendingStates,e),this.isPending||this.emitUpdate())},replaceState:function(e){var t=this.pendingStates;t.pop(),oe(t,[e])},getState:function(){var e=this.instance,t=this.pendingStates,n=e.state,r=e.props;return t.length&&(n=ae({},n),t.forEach(function(t){var o=wt(t);o&&(t=t[0]),ee(t)&&(t=t.call(e,n,r)),o?n=ae({},t):ae(n,t)}),t.length=0),n},clearCallbacks:function(){var e=this.pendingCallbacks,t=this.instance;e.length>0&&(this.pendingCallbacks=[],e.forEach(function(e){return e.call(t)}))},addCallback:function(e){ee(e)&&oe(this.pendingCallbacks,e)}};var Qe={};F.prototype={constructor:F,isReactComponent:Qe,forceUpdate:function(e){var t=this.$updater,n=this.$cache,r=this.props,o=this.state,i=this.context;if(n.isMounted){if(t.isPending)return void t.addState(o);var a=n.props||r,l=n.state||o,s=n.context||i,c=n.parentContext,u=n.node,p=n.vnode;n.props=n.state=n.context=null,t.isPending=!0,this.componentWillUpdate&&this.componentWillUpdate(a,l,s),this.state=l,this.props=a,this.context=s;var d=w(this),f=T(p,d,u,P(this,c));f!==u&&(f.cache=f.cache||{},M(f.cache,u.cache,f)),n.vnode=d,n.node=f,N(),this.componentDidUpdate&&this.componentDidUpdate(r,o,i),e&&e.call(this),t.isPending=!1,t.emitUpdate()}},setState:function(e,t){var n=this.$updater;n.addCallback(t),n.addState(e)},replaceState:function(e,t){var n=this.$updater;n.addCallback(t),n.replaceState(e)},getDOMNode:function(){var e=this.$cache.node;return e&&"#comment"===e.nodeName?null:e},isMounted:function(){return this.$cache.isMounted}};var et={onmousemove:1,ontouchmove:1,onmouseleave:1,onmouseenter:1,onload:1,onunload:1,onscroll:1,onfocus:1,onblur:1,onrowexit:1,onbeforeunload:1,onstop:1,ondragdrop:1,ondragenter:1,ondragexit:1,ondraggesture:1,ondragover:1,oncontextmenu:1,onerror:1,onabort:1,oncanplay:1,oncanplaythrough:1,ondurationchange:1,onemptied:1,onended:1,onloadeddata:1,onloadedmetadata:1,onloadstart:1,onencrypted:1,onpause:1,onplay:1,onplaying:1,onprogress:1,onratechange:1,onseeking:1,onseeked:1,onstalled:1,onsuspend:1,ontimeupdate:1,onvolumechange:1,onwaiting:1},tt="ontouchstart"in document,nt=function(){},rt="onclick",ot={},it={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridColumn:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},at=["Webkit","ms","Moz","O"];Object.keys(it).forEach(function(e){at.forEach(function(t){it[X(t,e)]=1})});var lt=/^-?\d+(\.\d+)?$/,st=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ct=st+"\\-.0-9\\uB7\\u0300-\\u036F\\u203F-\\u2040",ut=new RegExp("^["+st+"]["+ct+"]*$"),pt=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+ct+"]*$")),dt={},ft=1,ht=4,vt=8,mt=24,yt=32,gt={props:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:ht,allowTransparency:0,alt:0,async:ht,autoComplete:0,autoFocus:ht,autoPlay:ht,capture:ht,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:ft|ht,cite:0,classID:0,className:0,cols:mt,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:ht,coords:0,crossOrigin:0,data:0,dateTime:0,default:ht,defaultValue:ft,defaultChecked:ft|ht,defer:ht,dir:0,disabled:ht,download:yt,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:ht,formTarget:0,frameBorder:0,headers:0,height:0,hidden:ht,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:ht,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:ft|ht,muted:ft|ht,name:0,nonce:0,noValidate:ht,open:ht,optimum:0,pattern:0,placeholder:0,poster:0,preload:0,profile:0,radioGroup:0,readOnly:ht,referrerPolicy:0,rel:0,required:ht,reversed:ht,role:0,rows:mt,rowSpan:vt,sandbox:0,scope:0,scoped:ht,scrolling:0,seamless:ht,selected:ft|ht,shape:0,size:mt,sizes:0,span:mt,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:vt,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:ft,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,playsInline:ht,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:ht,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},attrNS:{},domAttrs:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},domProps:{}},xt="http://www.w3.org/1999/xlink",kt="http://www.w3.org/XML/1998/namespace",bt={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},Ct={props:{},attrNS:{xlinkActuate:xt,xlinkArcrole:xt,xlinkHref:xt,xlinkRole:xt,xlinkShow:xt,xlinkTitle:xt,xlinkType:xt,xmlBase:kt,xmlLang:kt,xmlSpace:kt},domAttrs:{},domProps:{}};Object.keys(bt).map(function(e){Ct.props[e]=0,bt[e]&&(Ct.domAttrs[e]=bt[e])}),G(gt),G(Ct);var wt=Array.isArray,Pt=0,St=/^on/i;Object.freeze||(Object.freeze=ne);var Ot={},Nt={},Tt=Object.freeze({render:ve,unstable_renderSubtreeIntoContainer:me,unmountComponentAtNode:ye,findDOMNode:ge}),Et="a|abbr|address|area|article|aside|audio|b|base|bdi|bdo|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|data|datalist|dd|del|details|dfn|dialog|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|main|map|mark|menu|menuitem|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strong|style|sub|summary|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|track|u|ul|var|video|wbr|circle|clipPath|defs|ellipse|g|image|line|linearGradient|mask|path|pattern|polygon|polyline|radialGradient|rect|stop|svg|text|tspan",At={};Et.split("|").forEach(function(e){At[e]=Ce(e)});var Ut=function e(){return e};Ut.isRequired=Ut;var Mt={array:Ut,bool:Ut,func:Ut,number:Ut,object:Ut,string:Ut,any:Ut,arrayOf:Ut,element:Ut,instanceOf:Ut,node:Ut,objectOf:Ut,oneOf:Ut,oneOfType:Ut,shape:Ut},Rt=/\/(?!\/)/g,Dt=Object.freeze({only:we,forEach:Pe,map:Se,count:Oe,toArray:Ne}),Ft=function(){};Ft.prototype=F.prototype,Le.prototype=Object.create(F.prototype),Le.prototype.constructor=Le,Le.prototype.isPureReactComponent=!0,Le.prototype.shouldComponentUpdate=Ve;var It=ae({version:"0.15.1",cloneElement:be,isValidElement:ke,createElement:xe,createFactory:Ce,Component:F,PureComponent:Le,createClass:Fe,Children:Dt,PropTypes:Mt,DOM:At},Tt);return It.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tt,It});